blob: 2980f1daed82ab52590e016c3e958aded8fd0d40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $NetBSD: Makefile,v 1.9 2011/12/22 16:33:03 joerg Exp $
#
DISTNAME= dnssec-tools-1.10
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.dnssec-tools.org/download/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.dnssec-tools.org/
COMMENT= Toolkit to ease the deployment of DNSSEC related technologies
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-Net-DNS-SEC-[0-9]*:../../security/p5-Net-DNS-SEC
DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
BUILD_DEFS+= IPV6_READY
USE_TOOLS+= perl
REPLACE_PERL= tools/modules/rollrec.pm tools/modules/timetrans.pm
REPLACE_PERL+= tools/modules/tooloptions.pm
REPLACE_PERL+= tools/convertar/lib/Net/DNS/SEC/Tools/TrustAnchor/Makefile.PL
PERL5_PACKLIST= auto/Net/DNS/SEC/Tools/Dnspktflow/dnspktflow/.packlist
PERL5_PACKLIST+= auto/Net/DNS/SEC/Tools/Donuts/donuts/.packlist
PERL5_PACKLIST+= auto/Net/DNS/SEC/Tools/Drawvalmap/drawvalmap/.packlist
PERL5_PACKLIST+= auto/Net/DNS/SEC/Tools/Maketestzone/maketestzone/.packlist
PERL5_PACKLIST+= auto/Net/DNS/SEC/Tools/Mapper/mapper/.packlist
PERL5_PACKLIST+= auto/Net/DNS/SEC/Tools/conf/.packlist
PERL5_PACKLIST+= auto/convertar/.packlist
PERL5_PACKLIST+= auto/dnssec-tools/.packlist
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-nsec3
CONFIGURE_ARGS+= --with-resolv-conf=${PKG_SYSCONFDIR}/dnssec-tools/resolv.conf
CONFIGURE_ARGS+= --with-root-hints=${PKG_SYSCONFDIR}/dnssec-tools/root.hints
CONFIGURE_ARGS+= --with-perl-build-args=${MAKE_PARAMS:Q}
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
EGDIR= ${PREFIX}/share/examples/dnssec-tools
PKG_SYSCONFSUBDIR?= dnssec-tools
CONF_FILES= ${EGDIR}/dnsval.conf ${PKG_SYSCONFDIR}/dnsval.conf
CONF_FILES+= ${EGDIR}/resolv.conf ${PKG_SYSCONFDIR}/resolv.conf
CONF_FILES+= ${EGDIR}/root.hints ${PKG_SYSCONFDIR}/root.hints
INSTALLATION_DIRS= ${EGDIR}
.include "options.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/sbin/dnssec-keygen)
CONFIGURE_ARGS+= BIND_DNSSEC_KEYGEN=/usr/sbin/dnssec-keygen
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/validator/etc/dnsval.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/validator/etc/resolv.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/validator/etc/root.hints ${DESTDIR}${EGDIR}
PERL5_CONFIGURE= no
.include "../../lang/perl5/module.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|