aboutsummaryrefslogtreecommitdiffstats
path: root/net/cactid/files
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-10-30 20:53:24 +0800
committerclement <clement@FreeBSD.org>2005-10-30 20:53:24 +0800
commit03a0fec8d6df1155359ad7987f04d03224b9c90d (patch)
treec6e0145a554fcb9d3d752d4913c755e3efc22870 /net/cactid/files
parent1029ddb61839262961fbb14d9eae1fc1d3b5b90a (diff)
downloadfreebsd-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/cactid/files')
-rw-r--r--net/cactid/files/patch-cactid.h20
-rw-r--r--net/cactid/files/patch-php.c30
2 files changed, 9 insertions, 41 deletions
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);