ports/182122: dns/bind99: Make GSSAPI support optional
Uwe Doering
gemini at geminix.org
Sun Sep 15 18:30:02 UTC 2013
>Number: 182122
>Category: ports
>Synopsis: dns/bind99: Make GSSAPI support optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 15 18:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Uwe Doering
>Release: 8.4
>Organization:
>Environment:
>Description:
Bind has grown GSSAPI support at some point in the past. It is enabled by default if the necessary libs are found. This is the case for at least dns/bind99 in ports, and AFAIK it was not yet in dns/bind96. I have not checked the versions in between.
As is the case for tons of other ports already, I propose to make GSSAPI support optional in Bind, too.
>How-To-Repeat:
The quickest way IMHO would be to look with "ldd" at what the various bind binaries are linked with.
>Fix:
Attached please find my quick Makefile hack which may need work, though, with regard to style guides and such. It works for me.
Patch attached with submission follows:
--- dns/bind99/Makefile-old 2013-08-31 17:49:15.000000000 +0200
+++ dns/bind99/Makefile 2013-09-01 00:49:13.000000000 +0200
@@ -28,7 +28,7 @@
OPTIONS_DEFAULT= IPV6 SSL LINKS XML THREADS
OPTIONS_DEFINE= SSL IDN REPLACE_BASE LARGE_FILE \
- FIXED_RRSET SIGCHASE IPV6 THREADS
+ FIXED_RRSET SIGCHASE IPV6 THREADS GSSAPI
.if !defined(BIND_TOOLS_SLAVE)
OPTIONS_DEFINE+= LINKS XML RPZ_NSIP RPZ_NSDNAME RPZRRL_PATCH
OPTIONS_GROUP= DLZ
@@ -73,6 +73,12 @@
CONFIGURE_ARGS+= --without-openssl
.endif
+.if ${PORT_OPTIONS:MGSSAPI}
+CONFIGURE_ARGS+= --with-gssapi
+.else
+CONFIGURE_ARGS+= --without-gssapi
+.endif
+
.if ${PORT_OPTIONS:MXML} && !defined(BIND_TOOLS_SLAVE)
CONFIGURE_ARGS+= --with-libxml2=${LOCALBASE}
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list