1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Update to 3.12

PR:		138253
Submitted by:	Sylvio Cesar <scjamorim@bsd.com.br>
Approved by:	maintainer timeout
This commit is contained in:
Martin Wilke 2009-09-12 23:29:12 +00:00
parent 58ab04602d
commit 229a315681
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241306
3 changed files with 9 additions and 7 deletions

View File

@ -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}

View File

@ -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

View File

@ -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