ports/98773: Update Port security/snort to 2.4.5
Linh Pham
question+fbsdports at closedsrc.org
Sat Jun 10 00:40:20 UTC 2006
>Number: 98773
>Category: ports
>Synopsis: Update Port security/snort to 2.4.5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 10 00:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Linh Pham
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 6.1-RELEASE FreeBSD 6.1-RELEASE #9: Mon May 15 19:51:35 PDT 2006 question at q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
Update security/snort to 2.4.5; also include fix for ports/98592, which was
also sent to edwin@ for feedback.
>How-To-Repeat:
>Fix:
--- snort-2.4.5.diff begins here ---
diff -ruN /usr/ports/security/snort/Makefile ./snort/Makefile
--- /usr/ports/security/snort/Makefile Mon May 15 16:28:50 2006
+++ ./snort/Makefile Tue Jun 6 10:00:36 2006
@@ -6,8 +6,7 @@
#
PORTNAME= snort
-PORTVERSION= 2.4.4
-PORTREVISION= 1
+PORTVERSION= 2.4.5
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/current/
@@ -33,6 +32,8 @@
CONFIG_DIR?= ${PREFIX}/etc/snort
CONFIG_FILES= classification.config gen-msg.map generators reference.config \
sid sid-msg.map snort.conf threshold.conf unicode.map
+RULES_DIR= ${PREFIX}/etc/snort/rules
+LOGS_DIR= /var/log/snort
MAN8= snort.8
DOCS= RELEASE.NOTES doc/AUTHORS doc/BUGS doc/CREDITS \
@@ -87,10 +88,13 @@
post-install:
[ -d ${CONFIG_DIR} ] || ${MKDIR} ${CONFIG_DIR}
+ [ -d ${EXAMPLESDIR} ] || ${MKDIR} ${EXAMPLESDIR}
+ [ -d ${RULES_DIR} ] || ${MKDIR} ${RULES_DIR}
+ [ -d ${LOGS_DIR} ] || ${MKDIR} ${LOGS_DIR}
.for f in ${CONFIG_FILES}
- ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${CONFIG_DIR}/${f}-sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${CONFIG_DIR}/${f}.default
+ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${EXAMPLESDIR}/${f}-sample
.endfor
- @${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/schemas/create* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff -ruN /usr/ports/security/snort/distinfo ./snort/distinfo
--- /usr/ports/security/snort/distinfo Sun Apr 30 18:30:19 2006
+++ ./snort/distinfo Tue Jun 6 09:03:34 2006
@@ -1,6 +1,6 @@
-MD5 (snort-2.4.4.tar.gz) = 37415bc9db02063ce421e3cd3f59c6c8
-SHA256 (snort-2.4.4.tar.gz) = 1f573e5a7e44c94ec509cea05c4345591a4ba76d0d1b25dcfcb0cdc4d3239c6c
-SIZE (snort-2.4.4.tar.gz) = 2800651
-MD5 (snort-2.4.4.tar.gz.sig) = 99ec42b85aafc13db7b74b406a1ca409
-SHA256 (snort-2.4.4.tar.gz.sig) = e0e055cc290c831216df437f1417f32859e94e87a75286093654fdbed30b1b91
-SIZE (snort-2.4.4.tar.gz.sig) = 65
+MD5 (snort-2.4.5.tar.gz) = 108b3c20dcbaf3cdb17ea9203342eaaa
+SHA256 (snort-2.4.5.tar.gz) = 84eb84da542d23e9f1c29b8eb319614c509fb19a745f1fa2a88d07c740645184
+SIZE (snort-2.4.5.tar.gz) = 2817837
+MD5 (snort-2.4.5.tar.gz.sig) = c2baa96bfbdfab407aa1e0dbf84414fb
+SHA256 (snort-2.4.5.tar.gz.sig) = df263b8853292d2f581de044ca407a2f9e715d9c54795e6c7a00571e27f504dd
+SIZE (snort-2.4.5.tar.gz.sig) = 65
diff -ruN /usr/ports/security/snort/pkg-plist ./snort/pkg-plist
--- /usr/ports/security/snort/pkg-plist Tue Jan 24 10:05:09 2006
+++ ./snort/pkg-plist Tue Jun 6 09:49:41 2006
@@ -1,14 +1,15 @@
@comment $FreeBSD: ports/security/snort/pkg-plist,v 1.22 2006/01/22 02:50:53 edwin Exp $
bin/snort
-etc/snort/classification.config-sample
-etc/snort/gen-msg.map-sample
-etc/snort/generators-sample
-etc/snort/reference.config-sample
-etc/snort/sid-sample
-etc/snort/sid-msg.map-sample
-etc/snort/snort.conf-sample
-etc/snort/threshold.conf-sample
-etc/snort/unicode.map-sample
+etc/snort/classification.config.default
+etc/snort/gen-msg.map.default
+etc/snort/generators.default
+etc/snort/reference.config.default
+etc/snort/sid.default
+etc/snort/sid-msg.map.default
+etc/snort/snort.conf.default
+etc/snort/threshold.conf.default
+etc/snort/unicode.map.default
+ at dirrmtry etc/snort/rules
@dirrmtry etc/snort
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
@@ -38,8 +39,17 @@
%%PORTDOCS%%%%DOCSDIR%%/snort_manual.pdf
%%PORTDOCS%%%%DOCSDIR%%/snort_schema_v106.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/classification.config-sample
%%EXAMPLESDIR%%/create_mssql
%%EXAMPLESDIR%%/create_mysql
%%EXAMPLESDIR%%/create_oracle.sql
%%EXAMPLESDIR%%/create_postgresql
+%%EXAMPLESDIR%%/gen-msg.map-sample
+%%EXAMPLESDIR%%/generators-sample
+%%EXAMPLESDIR%%/reference.config-sample
+%%EXAMPLESDIR%%/sid-msg.map-sample
+%%EXAMPLESDIR%%/sid-sample
+%%EXAMPLESDIR%%/snort.conf-sample
+%%EXAMPLESDIR%%/threshold.conf-sample
+%%EXAMPLESDIR%%/unicode.map-sample
@dirrm %%EXAMPLESDIR%%
--- snort-2.4.5.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list