diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-12-26 16:58:27 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-12-26 16:58:27 +0000 |
commit | 6a5fdc7d0b27af5f2acb24d7bd865ebb8a22b21b (patch) | |
tree | acd0981c3a35eae08e82b299a5f76b99bf50f168 /net | |
parent | 6045490c48252ca77be701b3746080c8daf12aeb (diff) | |
download | ports-6a5fdc7d0b27af5f2acb24d7bd865ebb8a22b21b.tar.gz ports-6a5fdc7d0b27af5f2acb24d7bd865ebb8a22b21b.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/spread/pkg-plist | 6 | ||||
-rw-r--r-- | net/spread4/pkg-plist | 6 |
2 files changed, 8 insertions, 4 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 diff --git a/net/spread4/pkg-plist b/net/spread4/pkg-plist index e934a4121a4d..6046292721a7 100644 --- a/net/spread4/pkg-plist +++ b/net/spread4/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 |