Date: Mon, 12 Jul 2010 16:56:22 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@FreeBSD.org Subject: ports/148516: [PATCH] security/snort: fetch the source tarball Message-ID: <20100712085622.D974F2AEC61F@sunpoet.net> Resent-Message-ID: <201007120900.o6C90KvW081693@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148516 >Category: ports >Synopsis: [PATCH] security/snort: fetch the source tarball >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 12 09:00:20 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.1-PRERELEASE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sun Jun 20 12:49:47 CST 2010 >Description: As source tarball has been moved to Amazon S3, 'make fetch' fails. Thus, we download the source in pre-fetch: section. This PR also includes the patch in PR/148484. Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- snort-2.8.6.patch begins here --- 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 --- snort-2.8.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100712085622.D974F2AEC61F>