aboutsummaryrefslogtreecommitdiff
path: root/security/snort/pkg-plist
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-10-12 07:37:21 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-10-12 07:37:21 +0000
commit08a10fb4a80a06e68ddbeec06988297c2a08472d (patch)
treef6911b55e9aba56d123159e857b03032f29ae8b8 /security/snort/pkg-plist
parent420144bebe91afd773d5f6bbb4454db6af8046e9 (diff)
downloadports-08a10fb4a80a06e68ddbeec06988297c2a08472d.tar.gz
ports-08a10fb4a80a06e68ddbeec06988297c2a08472d.zip
Notes
Diffstat (limited to 'security/snort/pkg-plist')
-rw-r--r--security/snort/pkg-plist5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/snort/pkg-plist b/security/snort/pkg-plist
index e18dd25e5902..94491e55ea2d 100644
--- a/security/snort/pkg-plist
+++ b/security/snort/pkg-plist
@@ -22,6 +22,7 @@ etc/rc.d/snort.sh
%%PORTDOCS%%%%DOCSDIR%%/README.UNSOCK
%%PORTDOCS%%%%DOCSDIR%%/README.WIN32
%%PORTDOCS%%%%DOCSDIR%%/README.alert_order
+%%PORTDOCS%%%%DOCSDIR%%/README.asn1
%%PORTDOCS%%%%DOCSDIR%%/README.csv
%%PORTDOCS%%%%DOCSDIR%%/README.database
%%PORTDOCS%%%%DOCSDIR%%/README.event_queue
@@ -54,7 +55,9 @@ etc/rc.d/snort.sh
%%DATADIR%%/icmp.rules
%%DATADIR%%/imap.rules
%%DATADIR%%/info.rules
-%%DATADIR%%/local.rules
+@unexec if [ -f %B/local.rules ] && cmp -s %B/local.rules %B/local.rules-sample; then rm -f %B/local.rules; fi
+%%DATADIR%%/local.rules-sample
+@exec [ -f %B/local.rules ] || cp %B/%f %B/local.rules
%%DATADIR%%/misc.rules
%%DATADIR%%/multimedia.rules
%%DATADIR%%/mysql.rules