diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-31 23:41:31 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-31 23:41:31 +0000 |
commit | 9af4a02c285fd27c2d55f82ea576561e41ab4fd9 (patch) | |
tree | d6e78e787f1e36905946dda6aa0f7a3c6daa0f7c /net-mgmt | |
parent | 3c88f73251e84f079172143364fdf989d29c4f3e (diff) | |
download | ports-9af4a02c285fd27c2d55f82ea576561e41ab4fd9.tar.gz ports-9af4a02c285fd27c2d55f82ea576561e41ab4fd9.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/collectd5/pkg-plist | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/net-mgmt/collectd5/pkg-plist b/net-mgmt/collectd5/pkg-plist index fe27b5e5eb54..6cf28ebaedb5 100644 --- a/net-mgmt/collectd5/pkg-plist +++ b/net-mgmt/collectd5/pkg-plist @@ -1,14 +1,8 @@ -@stopdaemon collectd sbin/collectd sbin/collectdmon -@unexec if cmp -s %D/etc/collectd.conf.sample %D/etc/collectd.conf; then rm -f %D/etc/collectd.conf; fi -etc/collectd.conf.sample -@exec if [ ! -f %B/collectd.conf ] ; then cp -p %B/%f %B/collectd.conf; fi +@sample etc/collectd.conf.sample %%CGI%%%%WWWDIR%%/collection.cgi -%%CGI%%@unexec if cmp -s %B/collection.conf.sample %B/collection.conf; then rm -f %B/collection.conf; fi -%%CGI%%%%WWWDIR%%/collection.conf.sample -%%CGI%%@exec if [ ! -f %B/collection.conf ] ; then cp -p %B/%f %B/collection.conf; fi -%%CGI%%@dirrmtry %%WWWDIR%% +@sample %%CGI%%%%WWWDIR%%/collection.conf.sample bin/collectd-nagios bin/collectd-tg bin/collectdctl @@ -119,15 +113,6 @@ man/man5/collectd-threshold.5.gz man/man5/collectd-unixsock.5.gz man/man5/collectd.conf.5.gz man/man5/types.db.5.gz -@dirrm lib/collectd -@dirrm include/collectd -@dirrm %%DATADIR%% -%%PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Collectd -%%PERL%%@dirrmtry %%SITE_PERL%%/Collectd/Plugins -%%PERL%%@dirrmtry %%SITE_PERL%%/Collectd -@exec mkdir -p /var/db/collectd -@cwd / -@dirrmtry var/db/collectd -@dirrmtry var/lib/collectd -@dirrmtry var/lib -@cwd %%RESETPREFIX%% +@dir /var/db/collectd +@dir /var/lib/collectd +@dir /var/lib |