aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2009-08-21 09:34:33 +0800
committerclsung <clsung@FreeBSD.org>2009-08-21 09:34:33 +0800
commitf6c321ae62fab00ac3797ced8c5c4ba630b17821 (patch)
treec97c20f6bd071836b6851948a73c319ca116501a /security
parent73d0b16c67e280e9655ea7f967c23dd3ce18cda7 (diff)
downloadfreebsd-ports-gnome-f6c321ae62fab00ac3797ced8c5c4ba630b17821.tar.gz
freebsd-ports-gnome-f6c321ae62fab00ac3797ced8c5c4ba630b17821.tar.zst
freebsd-ports-gnome-f6c321ae62fab00ac3797ced8c5c4ba630b17821.zip
- Re-enable plugin snortsam
- bump PORTREVISION PR: ports/137765 Submitted by: Danton Dorati <danton_AT_freebsdbrasil dot com dot br>
Diffstat (limited to 'security')
-rw-r--r--security/snort/Makefile25
-rw-r--r--security/snort/distinfo3
2 files changed, 16 insertions, 12 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 08be8a45ef11..6b137b5645b4 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snort
PORTVERSION= 2.8.4.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/ \
http://dl.snort.org/snort-current/
@@ -25,8 +26,8 @@ OPTIONS= DYNAMIC "Enable dynamic plugin support" on \
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
@@ -123,23 +124,23 @@ PLIST_SUB+= PRELUDE="@comment "
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 --git a/security/snort/distinfo b/security/snort/distinfo
index 297d72321a9b..909b62f7a14b 100644
--- a/security/snort/distinfo
+++ b/security/snort/distinfo
@@ -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 \ No newline at end of file