From 184c492346431b598f31baf1d961d061165bd359 Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 10 Feb 2010 14:38:27 +0000 Subject: - Update to 0.5.5 PR: 143585 Submitted by: Mirko Zinn (maintainer) --- sysutils/istatd/Makefile | 2 +- sysutils/istatd/distinfo | 6 +++--- sysutils/istatd/files/patch-main.cpp | 29 +++++++++++++---------------- 3 files changed, 17 insertions(+), 20 deletions(-) (limited to 'sysutils/istatd') diff --git a/sysutils/istatd/Makefile b/sysutils/istatd/Makefile index 726ee562c0cd..70b9771db940 100644 --- a/sysutils/istatd/Makefile +++ b/sysutils/istatd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= istatd -PORTVERSION= 0.5.4 +PORTVERSION= 0.5.5 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE diff --git a/sysutils/istatd/distinfo b/sysutils/istatd/distinfo index f9ed01ecb83c..aaa26012ec0b 100644 --- a/sysutils/istatd/distinfo +++ b/sysutils/istatd/distinfo @@ -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 diff --git a/sysutils/istatd/files/patch-main.cpp b/sysutils/istatd/files/patch-main.cpp index 3760c679fdfc..ee439853896d 100644 --- a/sysutils/istatd/files/patch-main.cpp +++ b/sysutils/istatd/files/patch-main.cpp @@ -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")); -- cgit