View | Details | Raw Unified | Return to bug 138253
Collapse All | Expand All

(-)Makefile (-2 / +6 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	cnupm
8
PORTNAME=	cnupm
9
PORTVERSION=	3.11
9
PORTVERSION=	3.12
10
CATEGORIES=	net ipv6
10
CATEGORIES=	net ipv6
11
MASTER_SITES=	http://pdp-11.org.ru/~form/cnupm/files/ \
11
MASTER_SITES=	http://pdp-11.org.ru/~form/cnupm/files/ \
12
		ftp://cvs.1system.ru/pub/local/src/cnupm/
12
		ftp://cvs.1system.ru/pub/local/src/cnupm/
Lines 25-30 Link Here
25
25
26
PLIST_SUB+=	CNUPM_OWN="${CNUPM_OWN}" CNUPM_GRP="${CNUPM_GRP}"
26
PLIST_SUB+=	CNUPM_OWN="${CNUPM_OWN}" CNUPM_GRP="${CNUPM_GRP}"
27
27
28
PORTDOCS=	README
29
28
post-install:
30
post-install:
29
	${PW} groupshow ${CNUPM_GRP} 2>/dev/null || ${PW} groupadd \
31
	${PW} groupshow ${CNUPM_GRP} 2>/dev/null || ${PW} groupadd \
30
		-n ${CNUPM_GRP}
32
		-n ${CNUPM_GRP}
Lines 35-41 Link Here
35
	${PW} usermod -n ${CNUPM_OWN} -d ${PREFIX}/var/cnupm
37
	${PW} usermod -n ${CNUPM_OWN} -d ${PREFIX}/var/cnupm
36
.if !defined(NOPORTDOCS)
38
.if !defined(NOPORTDOCS)
37
	@${MKDIR} ${DOCSDIR}
39
	@${MKDIR} ${DOCSDIR}
38
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
40
.for docs in ${PORTDOCS}
41
	@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
42
.endfor
39
.endif
43
.endif
40
44
41
	@${CAT} ${PKGMESSAGE}
45
	@${CAT} ${PKGMESSAGE}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cnupm-3.11.tar.gz) = b409d12042cef1ceff85fb8823345d68
1
MD5 (cnupm-3.12.tar.gz) = cea26036cad766968d29aa9771379b26
2
SHA256 (cnupm-3.11.tar.gz) = 01e3278e91ea5b211a63b946c383e65a1e76948bb01756b8f005bc3b59d19b39
2
SHA256 (cnupm-3.12.tar.gz) = 32f9c23eb7f32507a6a3963600be89269dd2392e57911e8fc30a3d768f6662a1
3
SIZE (cnupm-3.11.tar.gz) = 35596
3
SIZE (cnupm-3.12.tar.gz) = 36287
(-)pkg-plist (-2 lines)
Lines 1-7 Link Here
1
sbin/cnupm
1
sbin/cnupm
2
sbin/cnupmstat
2
sbin/cnupmstat
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%
5
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
3
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
6
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
4
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
7
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm
5
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm

Return to bug 138253