diff -ruN --exclude=CVS /usr/ports/security/snort/Makefile /usr/ports/sunpoet/snort/Makefile --- /usr/ports/security/snort/Makefile 2010-07-10 00:28:37.000000000 +0800 +++ /usr/ports/sunpoet/snort/Makefile 2010-07-12 12:57:15.000000000 +0800 @@ -8,8 +8,7 @@ PORTNAME= snort PORTVERSION= 2.8.6 CATEGORIES= security -MASTER_SITES= http://www.snort.org/dl/ \ - http://dl.snort.org/snort-current/ +MASTER_SITES= # empty MAINTAINER= clsung@FreeBSD.org COMMENT= Lightweight network intrusion detection system @@ -126,14 +125,15 @@ .endif .if defined(WITH_SNORTSAM) +BUILD_DEPENDS+= automake>=1.10.1:${PORTSDIR}/devel/automake110 PATCH_SITES+=http://www.snortsam.net/files/snort-plugin/:snortsam PATCHFILES+=snortsam-2.8.6.diff.gz:snortsam .endif +pre-fetch: + @${FETCH_ENV} ${FETCH_BINARY} -Rr -o ${DISTDIR}/${DISTFILES} http://www.snort.org/downloads/14 + post-patch: -.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