ports/162740: [UPDATE] security/snort: add snortsam patches
Michael Scheidell
scheidell at FreeBSD.org
Mon Nov 21 22:30:10 UTC 2011
>Number: 162740
>Category: ports
>Synopsis: [UPDATE] security/snort: add snortsam patches
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 21 22:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Michael Scheidell
>Release: FreeBSD 6.4-RELEASE-p3 i386
>Organization:
SECNAP Network Security Corp
>Environment:
System: FreeBSD scanner.secnap.net 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #1: Thu May 7 14:59:07 EDT 2009 jscheidell at scanner.secnap.net:/usr/obj/usr/src/sys/IONHACKER i386
>Description:
patch adds snortsam back into snort 2.9.1.2.
Currently, snortsam patch resides on an unoffical site, but first site in list is official one
for when it is updated. tested on amd64/7.4 in production envirnoment. builds, package builds
package uninstalls.
>How-To-Repeat:
select snortsam in make.conf
>Fix:
patches, based on unofficial snortsam patches for 2.9.1
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/snort/Makefile,v
retrieving revision 1.141
diff -u -r1.141 Makefile
--- Makefile 25 Oct 2011 20:11:35 -0000 1.141
+++ Makefile 21 Nov 2011 21:58:04 -0000
@@ -7,6 +7,7 @@
PORTNAME= snort
PORTVERSION= 2.9.1.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/snort/snort \
http://people.rit.edu/rpsfa/distfiles/
@@ -175,10 +176,10 @@
.endif
.if defined(WITH_SNORTSAM)
-BROKEN= snortsam patches not available for 2.9.1 yet
USE_AUTOTOOLS+= automake
-PATCH_SITES+= http://www.snortsam.net/files/snort-plugin/:snortsam
-PATCHFILES+= snortsam-2.9.1.diff.gz:snortsam
+PATCH_SITES+= http://www.snortsam.net/files/snort-plugin/:snortsam \
+ http://www.secnap.com/downloads/:snortsam
+PATCHFILES+= snortsam-2.9.1.2.diff.gz:snortsam
.endif
post-patch:
@@ -227,6 +228,7 @@
@cd ${LOCALBASE}/lib && ${MV} snort_dynamicpreprocessor/* snort/dynamicpreprocessor
@cd ${LOCALBASE}/lib && ${RMDIR} snort_dynamic*
@${MKDIR} ${LOCALBASE}/libdata/pkgconfig/ && ${MV} ${LOCALBASE}/lib/pkgconfig/snort.pc ${LOCALBASE}/libdata/pkgconfig/snort.pc
+ ${MV} ${LOCALBASE}/lib/pkgconfig/snort_preproc.pc ${LOCALBASE}/libdata/pkgconfig/
@${RMDIR} ${LOCALBASE}/lib/pkgconfig
.endif
@${LIBTOOL} --finish ${LOCALBASE}/lib/snort/dynamicpreprocessor
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/snort/distinfo,v
retrieving revision 1.74
diff -u -r1.74 distinfo
--- distinfo 21 Nov 2011 18:27:00 -0000 1.74
+++ distinfo 21 Nov 2011 21:58:04 -0000
@@ -1,2 +1,4 @@
-SHA256 (snort-2.9.1.2.tar.gz) = 04727150f7cd85719d62ce87f9792582d641adf9d7d4b357bb362c8322095d25
+SHA256 (snort-2.9.1.2.tar.gz) = eac98be8138f9debdcc8f77061dab1950e88fa40c18311ddbab0a329852375f5
SIZE (snort-2.9.1.2.tar.gz) = 6282888
+SHA256 (snortsam-2.9.1.2.diff.gz) = 712017ee8155c28469de81d7a579899034b2965617fd3c29bac03c1a1484067e
+SIZE (snortsam-2.9.1.2.diff.gz) = 28902
______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.spammertrap.com/
______________________________________________________________________
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list