ports/70304: [MAINTAINER] net-mgmt/netwox: update to 5.21.0
Janos Mohacsi
mohacsi at niif.hu
Wed Aug 11 15:30:31 UTC 2004
>Number: 70304
>Category: ports
>Synopsis: [MAINTAINER] net-mgmt/netwox: update to 5.21.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 11 15:30:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Aug 4 11:53:21 CEST
>Description:
Maintainer update: net-mgmt/netwox to version 5.21.0
Changes:
Added SHORTPORTVERSION
Added STRIP_CMD
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
Apply this diff.
>Fix:
--- netwox-5.21.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/netwox.orig/Makefile /usr/ports/net-mgmt/netwox/Makefile
--- /usr/ports/net-mgmt/netwox.orig/Makefile Sun Aug 1 11:37:04 2004
+++ /usr/ports/net-mgmt/netwox/Makefile Wed Aug 11 17:19:58 2004
@@ -6,7 +6,7 @@
#
PORTNAME= netwox
-PORTVERSION= 5.20.0
+PORTVERSION= 5.21.0
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwox/download/v5/ \
http://membres.lycos.fr/lauconstantin/common/netw/netwox/download/v5/ \
@@ -20,7 +20,10 @@
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
USE_REINPLACE= yes
-MAN1= netwox.1 netwox520.1
+SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
+MAN1= netwox.1 netwox${SHORTPORTVERSION}.1
+
+PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
do-configure:
@${REINPLACE_CMD} \
@@ -29,7 +32,7 @@
(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
post-install:
- strip ${PREFIX}/bin/${PORTNAME}
+ ${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/net-mgmt/netwox.orig/distinfo /usr/ports/net-mgmt/netwox/distinfo
--- /usr/ports/net-mgmt/netwox.orig/distinfo Sun Aug 1 11:37:04 2004
+++ /usr/ports/net-mgmt/netwox/distinfo Wed Aug 11 16:55:10 2004
@@ -1,4 +1,4 @@
-MD5 (netwox-5.20.0-src.tgz) = 4785cec8b11099e51f457ef9b2cbe915
-SIZE (netwox-5.20.0-src.tgz) = 341139
-MD5 (netwox-5.20.0-doc_html.tgz) = 6e776f08f7d4b59f8d44d84c4aece421
-SIZE (netwox-5.20.0-doc_html.tgz) = 60685
+MD5 (netwox-5.21.0-src.tgz) = a3b2dac361a577bd5f03d1b309eba85d
+SIZE (netwox-5.21.0-src.tgz) = 358301
+MD5 (netwox-5.21.0-doc_html.tgz) = 546f20c6c85e4080c8d4573c5558a294
+SIZE (netwox-5.21.0-doc_html.tgz) = 60685
diff -ruN --exclude=CVS /usr/ports/net-mgmt/netwox.orig/pkg-plist /usr/ports/net-mgmt/netwox/pkg-plist
--- /usr/ports/net-mgmt/netwox.orig/pkg-plist Sun Aug 1 11:38:44 2004
+++ /usr/ports/net-mgmt/netwox/pkg-plist Wed Aug 11 17:07:54 2004
@@ -1,4 +1,4 @@
-bin/netwox520
+bin/netwox%%SHORTPORTVERSION%%
bin/netwox
%%PORTDOCS%%%%DOCSDIR%%/html/examples.html
%%PORTDOCS%%%%DOCSDIR%%/html/routerandfw.html
--- netwox-5.21.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list