mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Re-enable plugin snortsam
- bump PORTREVISION PR: ports/137765 Submitted by: Danton Dorati <danton_AT_freebsdbrasil dot com dot br>
This commit is contained in:
parent
8cbd3957fb
commit
4b29cd0030
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240003
@ -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," \
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user