From d18625a079fe010869fdb07a9da5952e629891b8 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 12 Sep 2009 23:29:12 +0000 Subject: - Update to 3.12 PR: 138253 Submitted by: Sylvio Cesar Approved by: maintainer timeout --- net/cnupm/Makefile | 8 ++++++-- net/cnupm/distinfo | 6 +++--- net/cnupm/pkg-plist | 2 -- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'net/cnupm') diff --git a/net/cnupm/Makefile b/net/cnupm/Makefile index e7504684dca4..a36744c5505f 100644 --- a/net/cnupm/Makefile +++ b/net/cnupm/Makefile @@ -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 @@ PW= /usr/sbin/pw 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 @@ post-install: ${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} diff --git a/net/cnupm/distinfo b/net/cnupm/distinfo index 10c82d41f97c..185460fdd9b3 100644 --- a/net/cnupm/distinfo +++ b/net/cnupm/distinfo @@ -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 diff --git a/net/cnupm/pkg-plist b/net/cnupm/pkg-plist index 6074f09129e5..51d7f43efb67 100644 --- a/net/cnupm/pkg-plist +++ b/net/cnupm/pkg-plist @@ -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 -- cgit