ports/138253: [PATCH] net/cnupm: update to 3.12
Sylvio Cesar
scjamorim at bsd.com.br
Fri Aug 28 07:36:28 UTC 2009
>Number: 138253
>Category: ports
>Synopsis: [PATCH] net/cnupm: update to 3.12
>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: Fri Aug 28 07:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sylvio Cesar
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 3 22:10:47 BRT
>Description:
- Update to 3.12
- Added PORTDOCS and "for" to install DOCS
- Changed pkg-plist
You can see log in mine tinderbox:
7-stable - amd64
http://www.scjamorim.org/Home/cnupm-3.12_amd64.log
Port maintainer (null at 1system.ru) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- cnupm-3.12.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/cnupm/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile 23 Jan 2006 09:18:45 -0000 1.6
+++ Makefile 28 Aug 2009 02:03:20 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= cnupm
-PORTVERSION= 3.11
+PORTVERSION= 3.12
CATEGORIES= net ipv6
MASTER_SITES= http://pdp-11.org.ru/~form/cnupm/files/ \
ftp://cvs.1system.ru/pub/local/src/cnupm/
@@ -25,6 +25,8 @@
PLIST_SUB+= CNUPM_OWN="${CNUPM_OWN}" CNUPM_GRP="${CNUPM_GRP}"
+PORTDOCS= README
+
post-install:
${PW} groupshow ${CNUPM_GRP} 2>/dev/null || ${PW} groupadd \
-n ${CNUPM_GRP}
@@ -35,7 +37,9 @@
${PW} usermod -n ${CNUPM_OWN} -d ${PREFIX}/var/cnupm
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
.endif
@${CAT} ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/cnupm/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo 22 Dec 2005 10:09:14 -0000 1.4
+++ distinfo 28 Aug 2009 02:03:20 -0000
@@ -1,3 +1,3 @@
-MD5 (cnupm-3.11.tar.gz) = b409d12042cef1ceff85fb8823345d68
-SHA256 (cnupm-3.11.tar.gz) = 01e3278e91ea5b211a63b946c383e65a1e76948bb01756b8f005bc3b59d19b39
-SIZE (cnupm-3.11.tar.gz) = 35596
+MD5 (cnupm-3.12.tar.gz) = cea26036cad766968d29aa9771379b26
+SHA256 (cnupm-3.12.tar.gz) = 32f9c23eb7f32507a6a3963600be89269dd2392e57911e8fc30a3d768f6662a1
+SIZE (cnupm-3.12.tar.gz) = 36287
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/cnupm/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist 22 Jan 2006 02:45:48 -0000 1.2
+++ pkg-plist 28 Aug 2009 02:03:20 -0000
@@ -1,7 +1,5 @@
sbin/cnupm
sbin/cnupmstat
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm
--- cnupm-3.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list