ports/137774: [PATCH] security/snort: Enable again feature to output plugin snortsam

Danton Dorati danton at freebsdbrasil.com.br
Fri Aug 14 16:10:07 UTC 2009


>Number:         137774
>Category:       ports
>Synopsis:       [PATCH] security/snort: Enable again feature to output plugin snortsam
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 14 16:10:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Danton Dorati
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
FreeBSD Brasil LTDA.
>Environment:
System: FreeBSD capeta.freebsdbrasil.com.br 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue May 5 15:50:41 BRT
>Description:
Re-enable plugin snortsam

Port maintainer (clsung at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
diff -uNr Makefile Makefile.patch
--- Makefile	2009-08-02 16:35:33.000000000 -0300
+++ Makefile-patch	2009-08-14 09:11:41.000000000 -0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	snort
 PORTVERSION=	2.8.4.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.snort.org/dl/
 
@@ -24,8 +25,8 @@
 		ODBC "Enable ODBC support" off \
 		POSTGRESQL "Enable PostgreSQL support" off \
 		PRELUDE "Enable Prelude NIDS integration" off \
-		PERPROFILE "Enable Performance Profiling" off
-#		SNORTSAM "Enable output plugin to SnortSam" on
+		PERPROFILE "Enable Performance Profiling" off \
+		SNORTSAM "Enable output plugin to SnortSam" off
 
 USE_RC_SUBR=	snort.sh
 SUB_FILES=	pkg-message
@@ -122,23 +123,23 @@
 CONFIGURE_ARGS+=	--enable-perfprofiling
 .endif
 
-#.if defined(WITH_SNORTSAM)
-#PATCH_SITES+=http://www.freebsdbrasil.com.br/~urisso/files/snort/:snortsam
-#PATCHFILES+=snortsam-2.8.2.1.diff:snortsam
-#.endif
+.if defined(WITH_SNORTSAM)
+PATCH_SITES+=http://www.freebsdbrasil.com.br/~urisso/files/snort/:snortsam
+PATCHFILES+=snortsam-2.8.4.1.diff:snortsam
+.endif
 
 post-patch:
-#.if defined(WITH_SNORTSAM)
-#BUILD_DEPENDS+=		automake>=1.10.1:${PORTSDIR}/devel/automake110
-#.endif
+.if defined(WITH_SNORTSAM)
+BUILD_DEPENDS+=		automake>=1.10.1:${PORTSDIR}/devel/automake110
+.endif
 .if defined(NOPORTDOCS)
 	@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in
 .endif
 
 pre-configure:
-#.if defined(WITH_SNORTSAM)
-#	@cd ${WRKSRC} && ${SH} ${WRKSRC}/autojunk.sh
-#.endif
+.if defined(WITH_SNORTSAM)
+	@cd ${WRKSRC} && ${SH} ${WRKSRC}/autojunk.sh
+.endif
 	${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
 	    's|lib/snort_|lib/snort/|g'
 	${REINPLACE_CMD} "s,/etc/snort.conf,${CONFIG_DIR}/snort.conf," \
diff -uNr distinfo distinfo-patch
--- distinfo	2009-05-06 23:26:04.000000000 -0300
+++ distinfo-patch	2009-08-13 18:43:26.000000000 -0300
@@ -1,3 +1,6 @@
 MD5 (snort-2.8.4.1.tar.gz) = 63f4e76ae96a2d133f4c7b741bad5458
 SHA256 (snort-2.8.4.1.tar.gz) = ee7f790eb3df4e6156a7c865f1ba22855394c9e3c13fdc57d60a8647267fc209
 SIZE (snort-2.8.4.1.tar.gz) = 4567713
+MD5 (snortsam-2.8.4.1.diff) = 510d016676d0469d9124aa46c42a8986
+SHA256 (snortsam-2.8.4.1.diff) = f56a68256e1ec6f936b6c8f5780eb8f5691d12aca34219e7a9f0a11bcb740d4f
+SIZE (snortsam-2.8.4.1.diff) = 115095
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list