- Update to 2.8.4.1

This commit is contained in:
Cheng-Lung Sung 2009-05-07 02:26:04 +00:00
parent 086927bf87
commit 6cb802ccfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233337
3 changed files with 22 additions and 24 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= snort
PORTVERSION= 2.8.2.2
PORTREVISION= 3
PORTVERSION= 2.8.4.1
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/current/
MASTER_SITES= http://www.snort.org/dl/
MAINTAINER= clsung@FreeBSD.org
COMMENT= Lightweight network intrusion detection system
@ -25,8 +24,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" off
PERPROFILE "Enable Performance Profiling" off
# SNORTSAM "Enable output plugin to SnortSam" on
USE_RC_SUBR= snort.sh
SUB_FILES= pkg-message
@ -123,23 +122,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.2.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," \

View File

@ -1,6 +1,3 @@
MD5 (snort-2.8.2.2.tar.gz) = 091494809f0e83f98208d62e74cdfaa2
SHA256 (snort-2.8.2.2.tar.gz) = 3d01c5d85c8d16954f4e083f80447fd8fceaca3231bf8e43c5c68de00cdfda61
SIZE (snort-2.8.2.2.tar.gz) = 4374606
MD5 (snortsam-2.8.2.1.diff) = 0d246e535cbe7b7d042879a188b2ce1c
SHA256 (snortsam-2.8.2.1.diff) = cb0b347a25ddc7bf8dc96203fab9b1823b8ccadbe67563b4746c2b080bfad476
SIZE (snortsam-2.8.2.1.diff) = 113845
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

View File

@ -61,6 +61,10 @@ etc/snort/unicode.map-sample
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dcerpc_preproc.la
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dcerpc_preproc.so
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dcerpc_preproc.so.0
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dce2_preproc.a
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dce2_preproc.la
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dce2_preproc.so
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dce2_preproc.so.0
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dns_preproc.a
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dns_preproc.la
%%DYNAMIC%%lib/snort/dynamicpreprocessor/libsf_dns_preproc.so
@ -117,12 +121,11 @@ etc/snort/unicode.map-sample
%%PORTDOCS%%%%DOCSDIR%%/README.csv
%%PORTDOCS%%%%DOCSDIR%%/README.database
%%PORTDOCS%%%%DOCSDIR%%/README.dcerpc
%%PORTDOCS%%%%DOCSDIR%%/README.dcerpc2
%%PORTDOCS%%%%DOCSDIR%%/README.decode
%%PORTDOCS%%%%DOCSDIR%%/README.decoder_preproc_rules
%%PORTDOCS%%%%DOCSDIR%%/README.dns
%%PORTDOCS%%%%DOCSDIR%%/README.event_queue
%%PORTDOCS%%%%DOCSDIR%%/README.flow
%%PORTDOCS%%%%DOCSDIR%%/README.flow-portscan
%%PORTDOCS%%%%DOCSDIR%%/README.flowbits
%%PORTDOCS%%%%DOCSDIR%%/README.frag3
%%PORTDOCS%%%%DOCSDIR%%/README.ftptelnet
@ -135,7 +138,6 @@ etc/snort/unicode.map-sample
%%PORTDOCS%%%%DOCSDIR%%/README.sfportscan
%%PORTDOCS%%%%DOCSDIR%%/README.ssh
%%PORTDOCS%%%%DOCSDIR%%/README.ssl
%%PORTDOCS%%%%DOCSDIR%%/README.stream4
%%PORTDOCS%%%%DOCSDIR%%/README.stream5
%%PORTDOCS%%%%DOCSDIR%%/README.tag
%%PORTDOCS%%%%DOCSDIR%%/README.thresholding