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

(-)Makefile (-3 / +4 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	opendnssec
4
PORTNAME=	opendnssec
5
PORTVERSION=	1.4.5
5
PORTVERSION=	1.4.5
6
PORTREVISION=	1
6
CATEGORIES=	dns
7
CATEGORIES=	dns
7
MASTER_SITES=	http://dist.opendnssec.org/source/
8
MASTER_SITES=	http://dist.opendnssec.org/source/
8
9
Lines 47-59 Link Here
47
.if ${PORT_OPTIONS:MMYSQL}
48
.if ${PORT_OPTIONS:MMYSQL}
48
CONFIGURE_ARGS+=	--with-database-backend=mysql
49
CONFIGURE_ARGS+=	--with-database-backend=mysql
49
USE_MYSQL=	compat
50
USE_MYSQL=	compat
50
PORTDATA=	migrate_adapters_1.mysql migrate_keyshare_mysql.pl \
51
SCRIPTDATA=	migrate_adapters_1.mysql migrate_keyshare_mysql.pl \
51
		migrate_zone_delete.mysql migrate_id_mysql.pl migrate_to_ng_mysql.pl
52
		migrate_zone_delete.mysql migrate_id_mysql.pl migrate_to_ng_mysql.pl
52
.endif
53
.endif
53
54
54
.if ${PORT_OPTIONS:MSQLITE}
55
.if ${PORT_OPTIONS:MSQLITE}
55
BUILD_DEPENDS+=	sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3
56
BUILD_DEPENDS+=	sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3
56
PORTDATA=	database_create.sqlite3 migrate_keyshare_sqlite3.pl \
57
SCRIPTDATA=	database_create.sqlite3 migrate_keyshare_sqlite3.pl \
57
		migrate_adapters_1.sqlite3 migrate_to_ng_sqlite.pl
58
		migrate_adapters_1.sqlite3 migrate_to_ng_sqlite.pl
58
.endif
59
.endif
59
60
Lines 77-83 Link Here
77
.if !defined(BATCH)
78
.if !defined(BATCH)
78
	@${CAT} ${PKGMESSAGE}
79
	@${CAT} ${PKGMESSAGE}
79
.endif
80
.endif
80
	${INSTALL_DATA} ${PORTDATA:S|^|${WRKSRC}/enforcer/utils/|} ${STAGEDIR}${DATADIR}
81
	${INSTALL_DATA} ${SCRIPTDATA:S|^|${WRKSRC}/enforcer/utils/|} ${STAGEDIR}${DATADIR}
81
#	${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/opendnssec
82
#	${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/opendnssec
82
83
83
.include <bsd.port.mk>
84
.include <bsd.port.mk>
(-)pkg-plist (-13 / +21 lines)
Lines 3-16 Link Here
3
bin/ods-kaspcheck
3
bin/ods-kaspcheck
4
bin/ods-ksmutil
4
bin/ods-ksmutil
5
bin/ods-kasp2html
5
bin/ods-kasp2html
6
@unexec if cmp -s %D/etc/opendnssec/addns.xml %D/etc/opendnssec/addns.xml.sample; then rm -f %D/etc/opendnssec/addns.xml; fi
6
@sample %%ETCDIR%%/addns.xml.sample
7
%%ETCDIR%%/addns.xml.sample
7
@sample %%ETCDIR%%/conf.xml.sample
8
@unexec if cmp -s %D/etc/opendnssec/conf.xml %D/etc/opendnssec/conf.xml.sample; then rm -f %D/etc/opendnssec/conf.xml; fi
8
@sample %%ETCDIR%%/kasp.xml.sample
9
%%ETCDIR%%/conf.xml.sample
9
@sample %%ETCDIR%%/zonelist.xml.sample
10
@unexec if cmp -s %D/etc/opendnssec/kasp.xml %D/etc/opendnssec/kasp.xml.sample; then rm -f %D/etc/opendnssec/kasp.xml; fi
11
%%ETCDIR%%/kasp.xml.sample
12
@unexec if cmp -s %D/etc/opendnssec/zonelist.xml %D/etc/opendnssec/zonelist.xml.sample; then rm -f %D/etc/opendnssec/zonelist.xml; fi
13
%%ETCDIR%%/zonelist.xml.sample
14
sbin/ods-control
10
sbin/ods-control
15
sbin/ods-enforcerd
11
sbin/ods-enforcerd
16
sbin/ods-signer
12
sbin/ods-signer
Lines 26-31 Link Here
26
%%DATADIR%%/kasp.rnc
22
%%DATADIR%%/kasp.rnc
27
%%DATADIR%%/kasp.rng
23
%%DATADIR%%/kasp.rng
28
%%DATADIR%%/kasp2html.xsl
24
%%DATADIR%%/kasp2html.xsl
25
%%SQLITE%%%%DATADIR%%/migrate_adapters_1.sqlite3
26
%%SQLITE%%%%DATADIR%%/migrate_keyshare_sqlite3.pl
27
%%SQLITE%%%%DATADIR%%/migrate_to_ng_sqlite.pl
28
%%MYSQL%%%%DATADIR%%/migrate_adapters_1.mysql
29
%%MYSQL%%%%DATADIR%%/migrate_keyshare_mysql.pl
30
%%MYSQL%%%%DATADIR%%/migrate_zone_delete.mysql
31
%%MYSQL%%%%DATADIR%%/migrate_id_mysql.pl
32
%%MYSQL%%%%DATADIR%%/migrate_to_ng_mysql.pl
29
%%DATADIR%%/signconf.rnc
33
%%DATADIR%%/signconf.rnc
30
%%DATADIR%%/signconf.rng
34
%%DATADIR%%/signconf.rng
31
%%DATADIR%%/zonelist.rnc
35
%%DATADIR%%/zonelist.rnc
Lines 40-57 Link Here
40
man/man8/ods-enforcerd.8.gz
44
man/man8/ods-enforcerd.8.gz
41
man/man8/ods-signer.8.gz
45
man/man8/ods-signer.8.gz
42
man/man8/ods-signerd.8.gz
46
man/man8/ods-signerd.8.gz
43
@exec chown opendnssec:opendnssec %D/var/opendnssec/unsigned
47
@owner opendnssec
44
@exec chown opendnssec:opendnssec %D/var/opendnssec/tmp
48
@group opendnssec
45
@exec chown opendnssec:opendnssec %D/var/opendnssec/signed
49
@exec install -d -o opendnssec -g opendnssec %D/var/opendnssec/unsigned
46
@exec chown opendnssec:opendnssec %D/var/opendnssec/signconf
50
@exec install -d -o opendnssec -g opendnssec %D/var/opendnssec/tmp
47
@dirrm var/opendnssec
51
@exec install -d -o opendnssec -g opendnssec %D/var/opendnssec/signed
52
@exec install -d -o opendnssec -g opendnssec %D/var/opendnssec/signconf
48
@dirrm var/opendnssec/unsigned
53
@dirrm var/opendnssec/unsigned
49
@dirrm var/opendnssec/tmp
54
@dirrm var/opendnssec/tmp
50
@dirrm var/opendnssec/signed
55
@dirrm var/opendnssec/signed
51
@dirrm var/opendnssec/signconf
56
@dirrm var/opendnssec/signconf
52
@dirrm var/opendnssec
57
@dirrm var/opendnssec
58
@owner root
59
@group wheel
53
@dirrm %%DATADIR%%
60
@dirrm %%DATADIR%%
54
@dirrm %%ETCDIR%%
61
@dirrm %%ETCDIR%%
62
@exec mkdir -p %D/var/run/opendnssec
55
@dirrmtry var/run/opendnssec
63
@dirrmtry var/run/opendnssec
56
@dirrmtry var/run
64
@dirrmtry var/run
57
@dirrmtry var
65
@dirrmtry var

Return to bug 189823