From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 11 23:10:05 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 5BEFD1065696 for ; Mon, 11 Jan 2010 23:10:05 +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 37C368FC1B for ; Mon, 11 Jan 2010 23:10:05 +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 o0BNA4e9061348 for ; Mon, 11 Jan 2010 23:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0BNA4lX061347; Mon, 11 Jan 2010 23:10:04 GMT (envelope-from gnats) Resent-Date: Mon, 11 Jan 2010 23:10:04 GMT Resent-Message-Id: <201001112310.o0BNA4lX061347@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 7B5B4106568B for ; Mon, 11 Jan 2010 23:07:44 +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 E20D18FC08 for ; Mon, 11 Jan 2010 23:07:43 +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 o0BN3p2A002622; Mon, 11 Jan 2010 23:03:51 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 o0BN3pQl002621; Mon, 11 Jan 2010 23:03:51 GMT (envelope-from sevan) Message-Id: <201001112303.o0BN3pQl002621@newbie.thingamajig-systems.co.uk> Date: Mon, 11 Jan 2010 23:03:51 GMT From: Sevan Janiyan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/142730: [PATCH] mail/couriergraph: use $SUB_FILES to adjust pkg-message dynamically 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: Mon, 11 Jan 2010 23:10:05 -0000 >Number: 142730 >Category: ports >Synopsis: [PATCH] mail/couriergraph: use $SUB_FILES to adjust pkg-message dynamically >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 Jan 11 23:10:04 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: there's no need to invoke sed manually Added file(s): - files/pkg-message.in Removed file(s): - pkg-message Port maintainer (kiwi@oav.net) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- couriergraph-20060202_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/couriergraph/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 24 Jun 2008 12:34:51 -0000 1.6 +++ Makefile 11 Jan 2010 23:03:05 -0000 @@ -31,8 +31,7 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/couriergraph.sh -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKSRC}/pkg-message +SUB_FILES= pkg-message pre-everything:: @${ECHO_MSG} @@ -46,7 +45,6 @@ post-patch: @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.cgi @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.pl - @${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE} do-install: ${MKDIR} ${PREFIX}/www/cgi-bin Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 28 Dec 2005 20:51:50 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,8 +0,0 @@ -Make sure this script should be invoked with privilege to read -/var/log/maillog. - - -*** WARNING *** - -The rrd database has been moved to %%DATADIR%%. -If you have previous ones, please move them to %%DATADIR%%. 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 11 Jan 2010 23:03:05 -0000 @@ -0,0 +1,8 @@ +Make sure this script should be invoked with privilege to read +/var/log/maillog. + + +*** WARNING *** + +The rrd database has been moved to %%DATADIR%%. +If you have previous ones, please move them to %%DATADIR%%. --- couriergraph-20060202_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: