ports/143174: [PATCH] net-mgmt/ipaudit: use $SUB_FILES to dynamically update pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 24 16:10:03 UTC 2010
>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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list