ports/148484: [PATCH] security/snort: fix WITH_SNORTSAM knob
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Sat Jul 10 16:40:03 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list