aboutsummaryrefslogtreecommitdiff
path: root/dns/bind910
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-06-17 15:01:24 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-06-17 15:01:24 +0000
commit249978131e6322e3c0641ef323b824ff281f5dfb (patch)
treefe1eeedeb43837aba443681b0eb8f285fbda9469 /dns/bind910
parent427e48f5debfab5d5b17c82fac38980c441dbb9f (diff)
downloadports-249978131e6322e3c0641ef323b824ff281f5dfb.tar.gz
ports-249978131e6322e3c0641ef323b824ff281f5dfb.zip
Notes
Diffstat (limited to 'dns/bind910')
-rw-r--r--dns/bind910/Makefile30
-rw-r--r--dns/bind910/files/patch-configure10
2 files changed, 32 insertions, 8 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile
index daf323d625d8..2828979a40a7 100644
--- a/dns/bind910/Makefile
+++ b/dns/bind910/Makefile
@@ -2,6 +2,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/}
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 910
@@ -31,10 +32,13 @@ CONFLICTS= bind9*-9.[456789].* bind9*-sdb-9.[456789].* bind-tools-9.*
SUB_FILES= pkg-message
+WITH=GSSAPI_HEIMDAL
+WITHOUT=GSSAPI_NONE
+
OPTIONS_SUB= yes
-OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN
+OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE
OPTIONS_DEFINE= IDN LARGE_FILE GOST \
- FIXED_RRSET SIGCHASE IPV6 THREADS GSSAPI FILTER_AAAA
+ FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA
OPTIONS_RADIO= CRYPTO
OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11
@@ -44,6 +48,8 @@ OPTIONS_DEFINE+= LINKS RPZ_NSIP RPZ_NSDNAME RRL DOCS NEWSTATS GEOIP
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
+OPTIONS_SINGLE= GSSAPI
+OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
.endif # BIND_TOOLS_SLAVE
SSL_DESC= Build with OpenSSL (Required for DNSSEC)
@@ -68,6 +74,10 @@ DLZ_BDB_DESC= DLZ BDB driver
DLZ_LDAP_DESC= DLZ LDAP driver
DLZ_FILESYSTEM_DESC= DLZ filesystem driver
DLZ_STUB_DESC= DLZ stub driver
+GSSAPI_BASE_DESC= ${GSSAPI_DESC} (Heimdal in base)
+GSSAPI_HEIMDAL_DESC= ${GSSAPI_DESC} (security/heimdal)
+GSSAPI_MIT_DESC= ${GSSAPI_DESC} (security/krb5)
+GSSAPI_NONE_DESC= No ${GSSAPI_DESC}
.if !defined(BIND_TOOLS_SLAVE)
CONFLICTS+= bind-tools-9.*
@@ -123,12 +133,16 @@ DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes
DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes
-.if defined(HEIMDAL_HOME)
-GSSAPI_CONFIGURE_ON= --with-gssapi=${HEIMDAL_HOME}
-GSSAPI_CONFIGURE_OFF= --without-gssapi
-.else
-GSSAPI_CONFIGURE_WITH= gssapi
-.endif
+GSSAPI_BASE_USES= gssapi
+GSSAPI_BASE_CONFIGURE_ON= \
+ --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
+GSSAPI_HEIMDAL_USES= gssapi:heimdal
+GSSAPI_HEIMDAL_CONFIGURE_ON= \
+ --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
+GSSAPI_MIT_USES= gssapi:mit
+GSSAPI_MIT_CONFIGURE_ON= \
+ --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
+GSSAPI_NONE_CONFIGURE_ON= --without-gssapi
.include <bsd.port.options.mk>
diff --git a/dns/bind910/files/patch-configure b/dns/bind910/files/patch-configure
new file mode 100644
index 000000000000..e4a1689912cf
--- /dev/null
+++ b/dns/bind910/files/patch-configure
@@ -0,0 +1,10 @@
+--- ./configure.orig 2014-05-27 06:45:53.000000000 +0200
++++ ./configure 2014-06-16 13:05:38.000000000 +0200
+@@ -13899,6 +13899,7 @@
+ "-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv" \
+ "-lgssapi" \
+ "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \
++ "-lkrb5 -lgssapi_krb5 -lkrb5support -lk5crypto -lcom_err" \
+ "-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \
+ "-lgssapi -lkrb5 -lgssapi_krb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \
+ "-lgssapi -lkrb5 -lhx509 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \