From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 10 16:40:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD3EA1065673 for ; Sat, 10 Jul 2010 16:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2658FC1B for ; Sat, 10 Jul 2010 16:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6AGe2pO034583 for ; Sat, 10 Jul 2010 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6AGe2fV034582; Sat, 10 Jul 2010 16:40:02 GMT (envelope-from gnats) Resent-Date: Sat, 10 Jul 2010 16:40:02 GMT Resent-Message-Id: <201007101640.o6AGe2fV034582@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF661065672; Sat, 10 Jul 2010 16:35:34 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7C18FC15; Sat, 10 Jul 2010 16:35:34 +0000 (UTC) Received: by pwj9 with SMTP id 9so1436756pwj.13 for ; Sat, 10 Jul 2010 09:35:23 -0700 (PDT) Received: by 10.142.223.12 with SMTP id v12mr14510511wfg.86.1278779721927; Sat, 10 Jul 2010 09:35:21 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id w8sm2553858wfd.19.2010.07.10.09.35.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Jul 2010 09:35:21 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id 9F86A2AEC61F; Sun, 11 Jul 2010 00:35:48 +0800 (CST) Message-Id: <20100710163548.9F86A2AEC61F@sunpoet.net> Date: Sun, 11 Jul 2010 00:35:48 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clsung@FreeBSD.org Subject: ports/148484: [PATCH] security/snort: fix WITH_SNORTSAM knob X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 16:40:03 -0000 >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: