View | Details | Raw Unified | Return to bug 137765
Collapse All | Expand All

(-)Makefile-patch (-12 / +13 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	snort
8
PORTNAME=	snort
9
PORTVERSION=	2.8.4.1
9
PORTVERSION=	2.8.4.1
10
PORTREVISION=	1
10
CATEGORIES=	security
11
CATEGORIES=	security
11
MASTER_SITES=	http://www.snort.org/dl/
12
MASTER_SITES=	http://www.snort.org/dl/
12
13
Lines 24-31 Link Here
24
		ODBC "Enable ODBC support" off \
25
		ODBC "Enable ODBC support" off \
25
		POSTGRESQL "Enable PostgreSQL support" off \
26
		POSTGRESQL "Enable PostgreSQL support" off \
26
		PRELUDE "Enable Prelude NIDS integration" off \
27
		PRELUDE "Enable Prelude NIDS integration" off \
27
		PERPROFILE "Enable Performance Profiling" off
28
		PERPROFILE "Enable Performance Profiling" off \
28
#		SNORTSAM "Enable output plugin to SnortSam" on
29
		SNORTSAM "Enable output plugin to SnortSam" off
29
30
30
USE_RC_SUBR=	snort.sh
31
USE_RC_SUBR=	snort.sh
31
SUB_FILES=	pkg-message
32
SUB_FILES=	pkg-message
Lines 122-144 Link Here
122
CONFIGURE_ARGS+=	--enable-perfprofiling
123
CONFIGURE_ARGS+=	--enable-perfprofiling
123
.endif
124
.endif
124
125
125
#.if defined(WITH_SNORTSAM)
126
.if defined(WITH_SNORTSAM)
126
#PATCH_SITES+=http://www.freebsdbrasil.com.br/~urisso/files/snort/:snortsam
127
PATCH_SITES+=http://www.freebsdbrasil.com.br/~urisso/files/snort/:snortsam
127
#PATCHFILES+=snortsam-2.8.2.1.diff:snortsam
128
PATCHFILES+=snortsam-2.8.4.1.diff:snortsam
128
#.endif
129
.endif
129
130
130
post-patch:
131
post-patch:
131
#.if defined(WITH_SNORTSAM)
132
.if defined(WITH_SNORTSAM)
132
#BUILD_DEPENDS+=		automake>=1.10.1:${PORTSDIR}/devel/automake110
133
BUILD_DEPENDS+=		automake>=1.10.1:${PORTSDIR}/devel/automake110
133
#.endif
134
.endif
134
.if defined(NOPORTDOCS)
135
.if defined(NOPORTDOCS)
135
	@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in
136
	@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in
136
.endif
137
.endif
137
138
138
pre-configure:
139
pre-configure:
139
#.if defined(WITH_SNORTSAM)
140
.if defined(WITH_SNORTSAM)
140
#	@cd ${WRKSRC} && ${SH} ${WRKSRC}/autojunk.sh
141
	@cd ${WRKSRC} && ${SH} ${WRKSRC}/autojunk.sh
141
#.endif
142
.endif
142
	${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
143
	${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
143
	    's|lib/snort_|lib/snort/|g'
144
	    's|lib/snort_|lib/snort/|g'
144
	${REINPLACE_CMD} "s,/etc/snort.conf,${CONFIG_DIR}/snort.conf," \
145
	${REINPLACE_CMD} "s,/etc/snort.conf,${CONFIG_DIR}/snort.conf," \
(-)distinfo-patch (+3 lines)
Lines 1-3 Link Here
1
MD5 (snort-2.8.4.1.tar.gz) = 63f4e76ae96a2d133f4c7b741bad5458
1
MD5 (snort-2.8.4.1.tar.gz) = 63f4e76ae96a2d133f4c7b741bad5458
2
SHA256 (snort-2.8.4.1.tar.gz) = ee7f790eb3df4e6156a7c865f1ba22855394c9e3c13fdc57d60a8647267fc209
2
SHA256 (snort-2.8.4.1.tar.gz) = ee7f790eb3df4e6156a7c865f1ba22855394c9e3c13fdc57d60a8647267fc209
3
SIZE (snort-2.8.4.1.tar.gz) = 4567713
3
SIZE (snort-2.8.4.1.tar.gz) = 4567713
4
MD5 (snortsam-2.8.4.1.diff) = 510d016676d0469d9124aa46c42a8986
5
SHA256 (snortsam-2.8.4.1.diff) = f56a68256e1ec6f936b6c8f5780eb8f5691d12aca34219e7a9f0a11bcb740d4f
6
SIZE (snortsam-2.8.4.1.diff) = 115095

Return to bug 137765