aboutsummaryrefslogtreecommitdiffstats
path: root/net/spread
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-27 00:58:27 +0800
committerrafan <rafan@FreeBSD.org>2006-12-27 00:58:27 +0800
commit9ebfbd5e372e420a1ebd7eb0b157f918bbc64954 (patch)
tree2647315ef52dce227ef91aa10ba5be2f86b62d4c /net/spread
parent70df1e02a4e69a2ddcf8270c1e9bc18e68c89f61 (diff)
downloadfreebsd-ports-gnome-9ebfbd5e372e420a1ebd7eb0b157f918bbc64954.tar.gz
freebsd-ports-gnome-9ebfbd5e372e420a1ebd7eb0b157f918bbc64954.tar.zst
freebsd-ports-gnome-9ebfbd5e372e420a1ebd7eb0b157f918bbc64954.zip
- Handle configuration files according to PH
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/spread/pkg-plist b/net/spread/pkg-plist
index e934a4121a4d..6046292721a7 100644
--- a/net/spread/pkg-plist
+++ b/net/spread/pkg-plist
@@ -2,10 +2,12 @@ bin/spflooder
bin/spmonitor
bin/sptuser
bin/spuser
-etc/spread.access_ip
+@unexec if cmp -s %D/etc/spread.access_ip.sample %D/etc/spread.access_ip; then rm -f %D/etc/spread.access_ip; fi
etc/spread.access_ip.sample
-etc/spread.conf
+@exec if [ ! -f %D/etc/spread.access_ip ] ; then cp -p %D/%F %B/spread.access_ip; fi
+@unexec if cmp -s %D/etc/spread.conf.sample %D/etc/spread.conf; then rm -f %D/etc/spread.conf; fi
etc/spread.conf.sample
+@exec if [ ! -f %D/etc/spread.conf ] ; then cp -p %D/%F %B/spread.conf; fi
include/sp.h
include/sp_events.h
include/sp_func.h