Lines 6-38
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= opendnssec |
8 |
PORTNAME= opendnssec |
9 |
PORTVERSION= 1.3.2 |
9 |
PORTVERSION= 1.3.3 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= dns |
10 |
CATEGORIES= dns |
12 |
MASTER_SITES= http://www.opendnssec.org/files/source/ |
11 |
MASTER_SITES= http://www.opendnssec.org/files/source/ |
13 |
|
12 |
|
14 |
MAINTAINER= jaap@NLnetLabs.nl |
13 |
MAINTAINER= jaap@NLnetLabs.nl |
15 |
COMMENT= Tool suite for maintaining DNSSEC |
14 |
COMMENT= Tool suite for maintaining DNSSEC |
16 |
|
15 |
|
17 |
BUILD_DEPENDS= ldns>=1.6.9:${PORTSDIR}/dns/ldns \ |
16 |
BUILD_DEPENDS= ldns>=1.6.9:${PORTSDIR}/dns/ldns |
18 |
rubygem-dnsruby>=1.52:${PORTSDIR}/dns/rubygem-dnsruby |
|
|
19 |
LIB_DEPENDS= ldns:${PORTSDIR}/dns/ldns |
17 |
LIB_DEPENDS= ldns:${PORTSDIR}/dns/ldns |
20 |
|
18 |
|
21 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
22 |
USE_RC_SUBR= opendnssec |
20 |
USE_RC_SUBR= opendnssec |
23 |
USE_GNOME= libxml2 |
21 |
USE_GNOME= libxml2 |
24 |
USE_OPENSSL= yes |
|
|
25 |
USE_PERL5= yes |
22 |
USE_PERL5= yes |
26 |
USE_RUBY= yes |
23 |
USE_OPENSSL= yes |
27 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
28 |
|
25 |
|
29 |
MAN1= ods-auditor.1 ods-hsmspeed.1 ods-hsmutil.1 ods-kaspcheck.1 \ |
26 |
MAN1= ods-hsmspeed.1 ods-hsmutil.1 ods-ksmutil.1 |
30 |
ods-ksmutil.1 |
|
|
31 |
MAN5= ods-timing.5 |
27 |
MAN5= ods-timing.5 |
32 |
MAN7= opendnssec.7 |
28 |
MAN7= opendnssec.7 |
33 |
MAN8= ods-control.8 ods-enforcerd.8 ods-signer.8 ods-signerd.8 |
29 |
MAN8= ods-control.8 ods-enforcerd.8 ods-signer.8 ods-signerd.8 |
34 |
|
30 |
|
35 |
OPTIONS= SOFTHSM "Build/update SOFTHSM as well." Off \ |
31 |
OPTIONS= SOFTHSM "Build/update SOFTHSM as well." Off \ |
|
|
32 |
AUDITOR "Build with Auditor." On \ |
36 |
MYSQL "Use with (experimental) MYSQL support" Off |
33 |
MYSQL "Use with (experimental) MYSQL support" Off |
37 |
|
34 |
|
38 |
.include <bsd.port.options.mk> |
35 |
.include <bsd.port.options.mk> |
Lines 40-46
Link Here
|
40 |
.if defined(WITH_MYSQL) |
37 |
.if defined(WITH_MYSQL) |
41 |
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} |
38 |
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} |
42 |
CONFIGURE_ARGS+= --with-database-backend=mysql |
39 |
CONFIGURE_ARGS+= --with-database-backend=mysql |
43 |
BUILD_DEPENDS+= mysql-client>=5.0.3:${PORTSDIR}/databases/mysql50-client |
40 |
USE_MYSQL= compat |
|
|
41 |
IGNORE_WITH_MYSQL= 323 40 41 |
44 |
PLIST_SUB+= SQLITE="@comment " |
42 |
PLIST_SUB+= SQLITE="@comment " |
45 |
PLIST_SUB+= MYSQL="" |
43 |
PLIST_SUB+= MYSQL="" |
46 |
.else |
44 |
.else |
Lines 50-55
Link Here
|
50 |
PLIST_SUB+= MYSQL="@comment " |
48 |
PLIST_SUB+= MYSQL="@comment " |
51 |
.endif |
49 |
.endif |
52 |
|
50 |
|
|
|
51 |
.if defined(WITH_AUDITOR) |
52 |
BUILD_DEPENDS+= rubygem-dnsruby>=1.53:${PORTSDIR}/dns/rubygem-dnsruby |
53 |
USE_RUBY= yes |
54 |
PLIST_SUB+= AUDITOR="" |
55 |
MAN1+= ods-auditor.1 ods-kaspcheck.1 |
56 |
.else |
57 |
CONFIGURE_ARGS+= --disable-auditor |
58 |
PLIST_SUB+= AUDITOR="@comment " |
59 |
.endif |
60 |
|
53 |
.if defined(WITH_SOFTHSM) |
61 |
.if defined(WITH_SOFTHSM) |
54 |
CONFIGURE_ARGS+= --with-softhsm |
62 |
CONFIGURE_ARGS+= --with-softhsm |
55 |
CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/libsofthsm.so |
63 |
CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/libsofthsm.so |
Lines 64-70
Link Here
|
64 |
.endif |
72 |
.endif |
65 |
|
73 |
|
66 |
.include <bsd.port.pre.mk> |
74 |
.include <bsd.port.pre.mk> |
67 |
.if ${RUBY_VER} == 1.9 |
75 |
.if defined(WITH_AUDITOR) && ${RUBY_VER} == 1.9 |
68 |
BROKEN= does not work with ruby 1.9 |
76 |
BROKEN= does not work with ruby 1.9 |
69 |
.endif |
77 |
.endif |
70 |
.include <bsd.port.post.mk> |
78 |
.include <bsd.port.post.mk> |