diff options
author | clement <clement@FreeBSD.org> | 2005-10-30 20:53:24 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2005-10-30 20:53:24 +0800 |
commit | 03a0fec8d6df1155359ad7987f04d03224b9c90d (patch) | |
tree | c6e0145a554fcb9d3d752d4913c755e3efc22870 /net | |
parent | 1029ddb61839262961fbb14d9eae1fc1d3b5b90a (diff) | |
download | freebsd-ports-gnome-03a0fec8d6df1155359ad7987f04d03224b9c90d.tar.gz freebsd-ports-gnome-03a0fec8d6df1155359ad7987f04d03224b9c90d.tar.zst freebsd-ports-gnome-03a0fec8d6df1155359ad7987f04d03224b9c90d.zip |
- Update to 0.8.6f-1
- try to make it LOCALBASE/PREFIX compliant [1]
Reported by: kris [1]
Diffstat (limited to 'net')
-rw-r--r-- | net/cactid/Makefile | 6 | ||||
-rw-r--r-- | net/cactid/distinfo | 4 | ||||
-rw-r--r-- | net/cactid/files/patch-cactid.h | 20 | ||||
-rw-r--r-- | net/cactid/files/patch-php.c | 30 |
4 files changed, 15 insertions, 45 deletions
diff --git a/net/cactid/Makefile b/net/cactid/Makefile index 3267e3ed492a..1cbda3d470ce 100644 --- a/net/cactid/Makefile +++ b/net/cactid/Makefile @@ -6,10 +6,11 @@ # PORTNAME= cactid -PORTVERSION= 0.8.6.e +PORTVERSION= 0.8.6.f +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.cacti.net/downloads/cactid/ -DISTNAME= cacti-${PORTNAME}-0.8.6e +DISTNAME= cacti-${PORTNAME}-0.8.6f-${PORTREVISION} MAINTAINER= clement@FreeBSD.org COMMENT= A multithreaded poller for Cacti written in C @@ -17,6 +18,7 @@ COMMENT= A multithreaded poller for Cacti written in C LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp GNU_CONFIGURE= YES +CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE} USE_MYSQL= YES USE_OPENSSL= YES USE_REINPLACE= YES diff --git a/net/cactid/distinfo b/net/cactid/distinfo index 2e4c1518e681..316273fd4101 100644 --- a/net/cactid/distinfo +++ b/net/cactid/distinfo @@ -1,2 +1,2 @@ -MD5 (cacti-cactid-0.8.6e.tar.gz) = c63baf6be89ea3591e8aac0e44792cd2 -SIZE (cacti-cactid-0.8.6e.tar.gz) = 132059 +MD5 (cacti-cactid-0.8.6f-1.tar.gz) = 95fe2d67c630dca9fe64a27c6ab2aff1 +SIZE (cacti-cactid-0.8.6f-1.tar.gz) = 136217 diff --git a/net/cactid/files/patch-cactid.h b/net/cactid/files/patch-cactid.h index 4d63e0ec5b73..d0c0743ebc19 100644 --- a/net/cactid/files/patch-cactid.h +++ b/net/cactid/files/patch-cactid.h @@ -1,13 +1,11 @@ ---- cactid.h.orig Sat Feb 26 21:46:10 2005 -+++ cactid.h Sat Feb 26 21:46:34 2005 -@@ -45,8 +45,8 @@ - +--- cactid.h.orig Tue Oct 11 23:13:48 2005 ++++ cactid.h Sun Oct 30 14:15:22 2005 +@@ -55,7 +55,7 @@ /* locations to search for the config file */ - #define CONFIG_PATHS 5 --#define CONFIG_PATH_1 "" + #define CONFIG_PATHS 2 + #define CONFIG_PATH_1 "" -#define CONFIG_PATH_2 "/etc/" -+#define CONFIG_PATH_1 "%%PREFIX%%/etc/" -+#define CONFIG_PATH_2 "" - #define CONFIG_PATH_3 "/cygdrive/c/wwwroot/cacti" - #define CONFIG_PATH_4 "/cygdrive/c/webroot/cacti" - #define CONFIG_PATH_5 "/cygdrive/c/inetpub/wwwroot/cacti" ++#define CONFIG_PATH_2 "%%PREFIX%%/etc/" + + /* config file defaults */ + #define DEFAULT_CONF_FILE "cactid.conf" diff --git a/net/cactid/files/patch-php.c b/net/cactid/files/patch-php.c deleted file mode 100644 index fdbae348c836..000000000000 --- a/net/cactid/files/patch-php.c +++ /dev/null @@ -1,30 +0,0 @@ ---- php.c.orig Tue Jul 19 10:58:48 2005 -+++ php.c Tue Jul 19 10:59:01 2005 -@@ -149,27 +149,9 @@ - int cancel_state; - char *result_string; - -- /* variable to set/get environment limitations */ -- struct rlimit ResourceLimits; -- struct rusage Usage; -- - /* initialize the php process id */ - set.php_sspid = 0; - -- if (getrlimit(RLIMIT_STACK,&ResourceLimits) == 0) { -- if (set.verbose == POLLER_VERBOSITY_DEBUG) { -- printf("DEBUG: Current Max Memory Allocation is '%i' bytes\n", ResourceLimits.rlim_cur); -- printf("DEBUG: Maximum Max Memory Allocation is '%i' bytes\n", ResourceLimits.rlim_max); -- } -- } -- -- if (getrlimit(RLIMIT_AS,&ResourceLimits) == 0) { -- if (set.verbose == POLLER_VERBOSITY_DEBUG) { -- printf("DEBUG: Current Address Space Allocation is '%i' bytes\n", ResourceLimits.rlim_cur); -- printf("DEBUG: Maximum Address Space Allocation is '%i' bytes\n", ResourceLimits.rlim_max); -- } -- } -- - if (set.verbose == POLLER_VERBOSITY_DEBUG) { - snprintf(logmessage, LOGSIZE-1, "DEBUG: PHP Script Server Routine Starting\n"); - cacti_log(logmessage); |