1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 0.5.5

PR:		143585
Submitted by:	Mirko Zinn <mail@derzinn.de> (maintainer)
This commit is contained in:
Martin Wilke 2010-02-10 14:38:27 +00:00
parent c5f87f56d2
commit dd021c00b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249536
3 changed files with 17 additions and 20 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= istatd
PORTVERSION= 0.5.4
PORTVERSION= 0.5.5
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE

View File

@ -1,3 +1,3 @@
MD5 (istatd-0.5.4.tar.gz) = e2906d3b71a003c2e06bf1cfa99d34e1
SHA256 (istatd-0.5.4.tar.gz) = 454a5d9a04e8af4c22875adf962e52d7e4a35b808ccc3e249dd45b7e3b716f0a
SIZE (istatd-0.5.4.tar.gz) = 147932
MD5 (istatd-0.5.5.tar.gz) = 0e37a66ec7a759a4c812df3c75905ae6
SHA256 (istatd-0.5.5.tar.gz) = c75d252c081060b978d61819ff8ebf40cc28a05c800686e3f5f8951de75d5cb9
SIZE (istatd-0.5.5.tar.gz) = 152700

View File

@ -3,19 +3,16 @@ $FreeBSD$
--- main.cpp.orig
+++ main.cpp
@@ -97,11 +97,11 @@
string cf_network_addr = arguments.get("a", config.get("network_addr", "0.0.0.0"));
string cf_network_port = arguments.get("p", config.get("network_port", "5109"));
- string cf_server_user = arguments.get("u", config.get("server_user", "istat"));
- string cf_server_group = arguments.get("g", config.get("server_group", "istat"));
- string cf_server_pid = arguments.get("pid", config.get("server_pid", "/var/run/istat/istatd.pid"));
+ string cf_server_user = arguments.get("u", config.get("server_user", "nobody"));
+ string cf_server_group = arguments.get("g", config.get("server_group", "nobody"));
+ string cf_server_pid = arguments.get("pid", config.get("server_pid", "/var/run/istatd.pid"));
string cf_server_socket = arguments.get("socket", config.get("server_socket", "/tmp/istatd.sock"));
- string cf_cache_dir = arguments.get("cache", config.get("cache_dir", "/var/cache/istat"));
+ string cf_cache_dir = arguments.get("cache", config.get("cache_dir", "/var/db/istatd"));
#ifdef HAVE_LIBKSTAT
if(-1 == kstat_init()) return 1;
@@ -99,10 +99,10 @@
bool arg_d = arguments.isset("d");
string cf_network_addr = arguments.get("a", config.get("network_addr", "0.0.0.0"));
string cf_network_port = arguments.get("p", config.get("network_port", "5109"));
- string cf_server_user = arguments.get("u", config.get("server_user", "istat"));
- string cf_server_group = arguments.get("g", config.get("server_group", "istat"));
- string cf_server_pid = arguments.get("pid", config.get("server_pid", ""));
- string cf_cache_dir = arguments.get("cache", config.get("cache_dir", "/var/cache/istat"));
+ string cf_server_user = arguments.get("u", config.get("server_user", "nobody"));
+ string cf_server_group = arguments.get("g", config.get("server_group", "nobody"));
+ string cf_server_pid = arguments.get("pid", config.get("server_pid", "/var/run/istatd.pid"));
+ string cf_cache_dir = arguments.get("cache", config.get("cache_dir", "/var/db/istatd"));
string cf_server_socket = arguments.get("socket", config.get("server_socket", "/tmp/istatd.sock"));