ports/131813: [UPDATE] Update net-mgmt/pftabled to 1.07

Chifeng Qu chifeng at gmail.com
Wed Feb 18 11:40:04 UTC 2009


>Number:         131813
>Category:       ports
>Synopsis:       [UPDATE] Update net-mgmt/pftabled to 1.07
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 18 11:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Chifeng Qu
>Release:        FreeBSD 7.0-BETA2
>Organization:
Extmail Team
>Environment:
FreeBSD chifeng.asia.corp.platform.com 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Fri Nov  2 16:47:33 UTC 2007     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Please update net-mgmt/pftabled to 1.07, Thanks!


>How-To-Repeat:
NONE.
>Fix:
apply this patch.

Patch attached with submission follows:

diff -ruN pftabled.bak/Makefile pftabled/Makefile
--- pftabled.bak/Makefile	2008-12-18 11:27:38.000000000 +0800
+++ pftabled/Makefile	2009-02-18 09:33:15.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pftabled
-PORTVERSION=	1.06
+PORTVERSION=	1.07
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.wolfermann.org/
 
@@ -14,7 +14,6 @@
 COMMENT=	The pftabled is a tool to manage your pf tables remotely
 
 USE_RC_SUBR=	pftabled
-
 MAN1=	pftabled.0
 
 PLIST_FILES=	bin/pftabled-client sbin/pftabled
@@ -22,4 +21,7 @@
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|cat1/pftabled.0|man1/pftabled.0|' ${WRKSRC}/Makefile.in
+
 .include <bsd.port.mk>
diff -ruN pftabled.bak/distinfo pftabled/distinfo
--- pftabled.bak/distinfo	2006-11-23 20:02:28.000000000 +0800
+++ pftabled/distinfo	2009-02-18 09:16:04.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (pftabled-1.06.tar.gz) = 27946f75ae8c5f93b8c0c9232215a21c
-SHA256 (pftabled-1.06.tar.gz) = 46a82e70433fca3513600c1f70f7d9e488b8b756a3cfe124f32b103b79becc7b
-SIZE (pftabled-1.06.tar.gz) = 45174
+MD5 (pftabled-1.07.tar.gz) = 009734bd7c3d3eccc887abc356707b74
+SHA256 (pftabled-1.07.tar.gz) = bbfa3eb7ab99ff23568066c18d42939f4558484a66434f5c87444ad92c87f816
+SIZE (pftabled-1.07.tar.gz) = 51071
diff -ruN pftabled.bak/files/patch-Makefile.in pftabled/files/patch-Makefile.in
--- pftabled.bak/files/patch-Makefile.in	2006-11-23 20:02:29.000000000 +0800
+++ pftabled/files/patch-Makefile.in	1970-01-01 08:00:00.000000000 +0800
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Tue Nov 21 14:31:41 2006
-+++ Makefile.in	Tue Nov 21 14:33:13 2006
-@@ -35,7 +35,7 @@
- 
- server-install: pftabled pftabled.cat1
- 	${INSTALL} -s -m 555 pftabled ${sbindir}
--	${INSTALL} -m 444 pftabled.cat1 ${mandir}/cat1/pftabled.0
-+	${INSTALL} -m 444 pftabled.cat1 ${mandir}/man1/pftabled.0
- 
- client-install: pftabled-client
- 	${INSTALL} -s -m 555 pftabled-client ${bindir}
diff -ruN pftabled.bak/files/pftabled.in pftabled/files/pftabled.in
--- pftabled.bak/files/pftabled.in	2006-11-23 20:02:29.000000000 +0800
+++ pftabled/files/pftabled.in	2009-02-18 11:18:52.000000000 +0800
@@ -22,7 +22,7 @@
 load_rc_config $name
 
 : ${pftabled_enable="NO"}
-: ${pftabled_flags=""}
+: ${pftabled_flags="-d "}
 
 command="%%PREFIX%%/sbin/${name}"
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list