- Update to 2.6.1.4

- Fix initial copy of configuration files.

PR:		ports/111533
Submitted by:	Robin Gruyters <r dot gruyters_AT_yirdis dot nl>
This commit is contained in:
Cheng-Lung Sung
2007-04-18 06:42:12 +00:00
parent dc779871b3
commit 611ebd2e10
3 changed files with 11 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
#
PORTNAME= snort
PORTVERSION= 2.6.1.3
PORTVERSION= 2.6.1.4
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/current/

View File

@@ -1,3 +1,3 @@
MD5 (snort-2.6.1.3.tar.gz) = 8b46997afd728fbdaafdc9b1d0278b07
SHA256 (snort-2.6.1.3.tar.gz) = 8cc112d6e0a55b0a7e0802428abbd1b7815e0d01a1240c84a726ecc563629a79
SIZE (snort-2.6.1.3.tar.gz) = 3700149
MD5 (snort-2.6.1.4.tar.gz) = 70e7f297c9fcf1f46d6fa3e1bb4aae49
SHA256 (snort-2.6.1.4.tar.gz) = 5f830d3c95b6fb96b8abaa5539e71c3cdcfd8df95b376c77323149436f7bbf70
SIZE (snort-2.6.1.4.tar.gz) = 3716052

View File

@@ -2,16 +2,16 @@
bin/snort
@unexec if cmp -s %D/etc/snort/classification.config-sample %D/etc/snort/classification.config; then rm -f %D/etc/snort/classification.config; fi
etc/snort/classification.config-sample
@exec if [ ! -f %D/etc/snort/classification.config ] ; then cp -p %D/%F %B/snort/classification.config; fi
@exec if [ ! -f %D/etc/snort/classification.config ] ; then cp -p %D/%F %B/classification.config; fi
@unexec if cmp -s %D/etc/snort/gen-msg.map-sample %D/etc/snort/gen-msg.map; then rm -f %D/etc/snort/gen-msg.map; fi
etc/snort/gen-msg.map-sample
@exec if [ ! -f %D/etc/snort/gen-msg.map ] ; then cp -p %D/%F %B/snort/gen-msg.map; fi
@exec if [ ! -f %D/etc/snort/gen-msg.map ] ; then cp -p %D/%F %B/gen-msg.map; fi
@unexec if cmp -s %D/etc/snort/generators-sample %D/etc/snort/generators; then rm -f %D/etc/snort/generators; fi
etc/snort/generators-sample
@exec if [ ! -f %D/etc/snort/generators ] ; then cp -p %D/%F %B/snort/generators; fi
@exec if [ ! -f %D/etc/snort/generators ] ; then cp -p %D/%F %B/generators; fi
@unexec if cmp -s %D/etc/snort/reference.config-sample %D/etc/snort/reference.config; then rm -f %D/etc/snort/reference.config; fi
etc/snort/reference.config-sample
@exec if [ ! -f %D/etc/snort/reference.config ] ; then cp -p %D/%F %B/snort/reference.config; fi
@exec if [ ! -f %D/etc/snort/reference.config ] ; then cp -p %D/%F %B/reference.config; fi
@unexec if cmp -s %D/etc/snort/sid-sample %D/etc/snort/sid; then rm -f %D/etc/snort/sid; fi
etc/snort/sid-sample
@exec if [ ! -f %D/etc/snort/sid ] ; then cp -p %D/%F %B/sid; fi
@@ -20,13 +20,13 @@ etc/snort/sid-msg.map-sample
@exec if [ ! -f %D/etc/snort/sid-msg.map ] ; then cp -p %D/%F %B/sid-msg.map; fi
@unexec if cmp -s %D/etc/snort/snort.conf-sample %D/etc/snort/snort.conf; then rm -f %D/etc/snort/snort.conf; fi
etc/snort/snort.conf-sample
@exec if [ ! -f %D/etc/snort/snort.conf ] ; then cp -p %D/%F %B/snort/snort.conf; fi
@exec if [ ! -f %D/etc/snort/snort.conf ] ; then cp -p %D/%F %B/snort.conf; fi
@unexec if cmp -s %D/etc/snort/threshold.conf-sample %D/etc/snort/threshold.conf; then rm -f %D/etc/snort/threshold.conf; fi
etc/snort/threshold.conf-sample
@exec if [ ! -f %D/etc/snort/threshold.conf ] ; then cp -p %D/%F %B/snort/threshold.conf; fi
@exec if [ ! -f %D/etc/snort/threshold.conf ] ; then cp -p %D/%F %B/threshold.conf; fi
@unexec if cmp -s %D/etc/snort/unicode.map-sample %D/etc/snort/unicode.map; then rm -f %D/etc/snort/unicode.map; fi
etc/snort/unicode.map-sample
@exec if [ ! -f %D/etc/snort/unicode.map ] ; then cp -p %D/%F %B/snort/unicode.map; fi
@exec if [ ! -f %D/etc/snort/unicode.map ] ; then cp -p %D/%F %B/unicode.map; fi
@dirrmtry etc/snort/rules
@dirrmtry etc/snort
%%DYNAMIC%%src/snort_dynamicsrc/bitop.h