Date: Sun, 11 Jul 2010 00:35:48 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@FreeBSD.org Subject: ports/148484: [PATCH] security/snort: fix WITH_SNORTSAM knob Message-ID: <20100710163548.9F86A2AEC61F@sunpoet.net> Resent-Message-ID: <201007101640.o6AGe2fV034582@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148484 >Category: ports >Synopsis: [PATCH] security/snort: fix WITH_SNORTSAM knob >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: Sat Jul 10 16:40:02 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: BUILD_DEPENDS shall not be in post-patch: section. It breaks Makefile when WITH_SNORTSAM is set. Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: % cd /usr/ports/security/snort/ % make WITH_SNORTSAM=yes build-depends-list "Makefile", line 138: Unassociated shell command "@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in" make: fatal errors encountered -- cannot continue >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-11 00:27:44.000000000 +0800 @@ -126,14 +126,12 @@ .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 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?20100710163548.9F86A2AEC61F>