View | Details | Raw Unified | Return to bug 200050 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-4 / +6 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	credns
4
PORTNAME=	credns
5
PORTVERSION=	0.2.10
5
PORTVERSION=	0.2.10
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	dns security
7
CATEGORIES=	dns security
8
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/credns/
8
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/credns/
9
9
Lines 11-16 Link Here
11
COMMENT=	Verifier performing validation in the DNS notify/transfer-chain
11
COMMENT=	Verifier performing validation in the DNS notify/transfer-chain
12
12
13
LICENSE=	BSD3CLAUSE
13
LICENSE=	BSD3CLAUSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
15
USE_RC_SUBR=	credns
16
USE_RC_SUBR=	credns
16
17
Lines 27-38 Link Here
27
		--with-dbfile=${CREDNSDBDIR}/nsd.db \
28
		--with-dbfile=${CREDNSDBDIR}/nsd.db \
28
		--with-pidfile=${CREDNSRUNDIR}/nsd.pid
29
		--with-pidfile=${CREDNSRUNDIR}/nsd.pid
29
30
30
SUB_LIST=	CREDNSUSER=${USERS} \
31
PLIST_SUB=	CREDNSUSER=${USERS} \
31
		CREDNSGROUP=${GROUPS} \
32
		CREDNSGROUP=${GROUPS} \
32
		CREDNSDBDIR=${CREDNSDBDIR} \
33
		CREDNSDBDIR=${CREDNSDBDIR} \
33
		CREDNSRUNDIR=${CREDNSRUNDIR}
34
		CREDNSRUNDIR=${CREDNSRUNDIR}
34
PLIST_SUB=	CREDNSDBDIR=${CREDNSDBDIR} \
35
		CREDNSRUNDIR=${CREDNSRUNDIR}
36
35
37
USE_OPENSSL=	yes
36
USE_OPENSSL=	yes
38
37
Lines 52-57 Link Here
52
MAXIPS_CONFIGURE_ON=		--with-max-ips=${NSDMAX_IPS}
51
MAXIPS_CONFIGURE_ON=		--with-max-ips=${NSDMAX_IPS}
53
52
54
post-install:
53
post-install:
54
.for f in credns credns-checkconf credns-notify credns-patch credns-xfer
55
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${f}
56
.endfor
55
	${INSTALL_DATA} ${WRKSRC}/credns.conf.sample \
57
	${INSTALL_DATA} ${WRKSRC}/credns.conf.sample \
56
		${STAGEDIR}${PREFIX}/etc/credns/credns.conf.sample
58
		${STAGEDIR}${PREFIX}/etc/credns/credns.conf.sample
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
59
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)files/credns.in (-1 lines)
Lines 35-41 Link Here
35
35
36
credns_precmd()
36
credns_precmd()
37
{
37
{
38
	/usr/bin/install -d -o %%CREDNSUSER%% -g %%CREDNSGROUP%% %%CREDNSDBDIR%% %%CREDNSRUNDIR%%
39
	db=`%%PREFIX%%/sbin/credns-checkconf -o database %%PREFIX%%/etc/credns/credns.conf`
38
	db=`%%PREFIX%%/sbin/credns-checkconf -o database %%PREFIX%%/etc/credns/credns.conf`
40
	if [ ! -f "$db" ]; then
39
	if [ ! -f "$db" ]; then
41
		${command} rebuild
40
		${command} rebuild
(-)pkg-plist (+2 lines)
Lines 12-14 Link Here
12
sbin/credns-patch
12
sbin/credns-patch
13
sbin/credns-xfer
13
sbin/credns-xfer
14
sbin/crednsc
14
sbin/crednsc
15
@dir(%%CREDNSUSER%%,%%CREDNSGROUP%%,755) %%CREDNSRUNDIR%%
16
@dir(%%CREDNSUSER%%,%%CREDNSGROUP%%,755) %%CREDNSDBDIR%%

Return to bug 200050