From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 24 16:10:02 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 D38A41065670 for ; Sun, 24 Jan 2010 16:10: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 ADC458FC20 for ; Sun, 24 Jan 2010 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OGA2ZQ001094 for ; Sun, 24 Jan 2010 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OGA2CP001093; Sun, 24 Jan 2010 16:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 24 Jan 2010 16:10:02 GMT Resent-Message-Id: <201001241610.o0OGA2CP001093@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, Sevan Janiyan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 021E61065670 for ; Sun, 24 Jan 2010 16:05:17 +0000 (UTC) (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx1.freebsd.org (Postfix) with ESMTP id 174E48FC15 for ; Sun, 24 Jan 2010 16:05:15 +0000 (UTC) Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1]) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0OG1f9j023285 for ; Sun, 24 Jan 2010 16:01:41 GMT (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: (from root@localhost) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0OG1erO023284; Sun, 24 Jan 2010 16:01:40 GMT (envelope-from sevan) Message-Id: <201001241601.o0OG1erO023284@newbie.thingamajig-systems.co.uk> Date: Sun, 24 Jan 2010 16:01:40 GMT From: Sevan Janiyan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143174: [PATCH] net-mgmt/ipaudit: use $SUB_FILES to dynamically update pkg-message 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: Sun, 24 Jan 2010 16:10:03 -0000 >Number: 143174 >Category: ports >Synopsis: [PATCH] net-mgmt/ipaudit: use $SUB_FILES to dynamically update pkg-message >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: Sun Jan 24 16:10:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC >Description: no need to invoke sed manually Added file(s): - files/pkg-message.in Removed file(s): - pkg-message Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- ipaudit-0.95.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/ipaudit/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 25 Dec 2008 03:13:49 -0000 1.4 +++ Makefile 24 Jan 2010 15:57:50 -0000 @@ -18,8 +18,7 @@ BIN= ipaudit ipstrings total -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message do-install: .for b in ${BIN} @@ -35,7 +34,6 @@ ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 13 Feb 2004 21:55:50 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ -*********************************************************** - - Please copy %%PREFIX%%/etc/ipaudit.conf.sample to - %%PREFIX%%/etc/ipaudit.conf by yourself and modify it, - then start ipaudit with - - 'ipaudit -g %%PREFIX%%/etc/ipaudit.conf' command. - - Thanks. - -*********************************************************** Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 24 Jan 2010 15:57:50 -0000 @@ -0,0 +1,11 @@ +*********************************************************** + + Please copy %%PREFIX%%/etc/ipaudit.conf.sample to + %%PREFIX%%/etc/ipaudit.conf by yourself and modify it, + then start ipaudit with + + 'ipaudit -g %%PREFIX%%/etc/ipaudit.conf' command. + + Thanks. + +*********************************************************** --- ipaudit-0.95.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: