summaryrefslogtreecommitdiff
path: root/net-mgmt/collectd5/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd5/files')
-rw-r--r--net-mgmt/collectd5/files/collectd.in26
-rw-r--r--net-mgmt/collectd5/files/collectdmon.in27
-rw-r--r--net-mgmt/collectd5/files/patch-src__collectd.h20
-rw-r--r--net-mgmt/collectd5/files/patch-src__dns.c18
4 files changed, 0 insertions, 91 deletions
diff --git a/net-mgmt/collectd5/files/collectd.in b/net-mgmt/collectd5/files/collectd.in
deleted file mode 100644
index 90abfad43a4d..000000000000
--- a/net-mgmt/collectd5/files/collectd.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: collectd
-# REQUIRE: LOGIN
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# collectd_enable (bool): Set to NO by default.
-# Set it to YES to enable collectd.
-# collectd_flags (string): Set to "" by default.
-# Additional flags to collectd, see manual page.
-#
-
-. %%RC_SUBR%%
-
-name="collectd"
-rcvar=${name}_enable
-
-command=%%PREFIX%%/sbin/${name}
-
-load_rc_config $name
-
-: ${collectd_enable="NO"}
-
-run_rc_command "$1"
diff --git a/net-mgmt/collectd5/files/collectdmon.in b/net-mgmt/collectd5/files/collectdmon.in
deleted file mode 100644
index 3d934e8223b2..000000000000
--- a/net-mgmt/collectd5/files/collectdmon.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: collectdmon
-# REQUIRE: LOGIN
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# collectdmon_enable (bool): Set to NO by default.
-# Set it to YES to enable collectd.
-# collectdmon_flags (string): Set to "-c %%PREFIX%%/sbin/collectd" by default.
-# Additional flags to collectdmon, see manual page.
-#
-
-. %%RC_SUBR%%
-
-name="collectdmon"
-rcvar=${name}_enable
-
-command=%%PREFIX%%/sbin/${name}
-
-load_rc_config $name
-
-: ${collectdmon_enable="NO"}
-: ${collectdmon_flags="-c %%PREFIX%%/sbin/collectd"}
-
-run_rc_command "$1"
diff --git a/net-mgmt/collectd5/files/patch-src__collectd.h b/net-mgmt/collectd5/files/patch-src__collectd.h
deleted file mode 100644
index 8058189613b1..000000000000
--- a/net-mgmt/collectd5/files/patch-src__collectd.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./src/collectd.h.orig 2007-09-28 17:55:34.000000000 +0300
-+++ ./src/collectd.h 2008-05-06 10:32:08.000000000 +0300
-@@ -183,7 +183,7 @@
- #endif
-
- #ifndef LOCALSTATEDIR
--#define LOCALSTATEDIR PREFIX "/var"
-+#define LOCALSTATEDIR "/var"
- #endif
-
- #ifndef PKGLOCALSTATEDIR
-@@ -191,7 +191,7 @@
- #endif
-
- #ifndef PIDFILE
--#define PIDFILE PREFIX "/var/run/" PACKAGE_NAME ".pid"
-+#define PIDFILE "/var/run/" PACKAGE_NAME ".pid"
- #endif
-
- #ifndef PLUGINDIR
diff --git a/net-mgmt/collectd5/files/patch-src__dns.c b/net-mgmt/collectd5/files/patch-src__dns.c
deleted file mode 100644
index fb045049b25a..000000000000
--- a/net-mgmt/collectd5/files/patch-src__dns.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/dns.c.orig 2008-09-05 15:26:02.000000000 +0000
-+++ src/dns.c 2008-09-05 15:25:55.000000000 +0000
-@@ -210,6 +210,15 @@
- pthread_sigmask (SIG_SETMASK, &sigmask, NULL);
- }
-
-+ /* Check for pcap_device, if needed */
-+#ifdef __sparc64__
-+ if (pcap_device == NULL)
-+ {
-+ ERROR ("dns plugin: Interface required");
-+ return (NULL);
-+ }
-+#endif
-+
- /* Passing `pcap_device == NULL' is okay and the same as passign "any" */
- DEBUG ("Creating PCAP object..");
- pcap_obj = pcap_open_live (pcap_device,