Bug 182122 - dns/bind99: Make GSSAPI support optional
Summary: dns/bind99: Make GSSAPI support optional
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Erwin Lansing
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-15 19:30 UTC by gemini
Modified: 2013-09-17 12:40 UTC (History)
0 users

See Also:


Attachments
file.diff (777 bytes, patch)
2013-09-15 19:30 UTC, gemini
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gemini 2013-09-15 19:30:01 UTC
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.

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:
How-To-Repeat: The quickest way IMHO would be to look with "ldd" at what the various bind binaries are linked with.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-15 19:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->erwin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-17 12:31:57 UTC
Author: erwin
Date: Tue Sep 17 11:31:49 2013
New Revision: 327469
URL: http://svnweb.freebsd.org/changeset/ports/327469

Log:
  Make GSSAPI support optional
  
  PR:		182122
  Submitted by:	Uwe Doering <gemini@geminix.org>

Modified:
  head/dns/bind98/Makefile
  head/dns/bind99/Makefile

Modified: head/dns/bind98/Makefile
==============================================================================
--- head/dns/bind98/Makefile	Tue Sep 17 10:12:32 2013	(r327468)
+++ head/dns/bind98/Makefile	Tue Sep 17 11:31:49 2013	(r327469)
@@ -27,7 +27,7 @@ CONFLICTS=	bind9*-9.[45679].* bind9*-sdb
 OPTIONS_DEFAULT=	IPV6 SSL LINKS XML THREADS
 OPTIONS_DEFINE=		SSL LINKS XML IDN REPLACE_BASE LARGE_FILE \
 			FIXED_RRSET RPZ_NSIP RPZ_NSDNAME RPZRRL_PATCH \
-			SIGCHASE IPV6 THREADS
+			SIGCHASE IPV6 THREADS GSSAPI
 OPTIONS_GROUP=		DLZ
 OPTIONS_GROUP_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
 			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -148,6 +148,12 @@ CONFIGURE_ARGS+=	--enable-threads
 CONFIGURE_ARGS+=	--disable-threads
 .endif
 
+.if ${PORT_OPTIONS:MGSSAPI}
+CONFIGURE_ARGS+=	--with-gssapi
+.else
+CONFIGURE_ARGS+=	--without-gssapi
+.endif
+
 .if ${PORT_OPTIONS:MREPLACE_BASE}
 PKGNAMESUFFIX=	-base
 PREFIX=		/usr

Modified: head/dns/bind99/Makefile
==============================================================================
--- head/dns/bind99/Makefile	Tue Sep 17 10:12:32 2013	(r327468)
+++ head/dns/bind99/Makefile	Tue Sep 17 11:31:49 2013	(r327469)
@@ -28,7 +28,7 @@ CONFLICTS=	bind9*-9.[45678].* bind9*-sdb
 
 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
@@ -157,6 +157,12 @@ CONFIGURE_ARGS+=	--enable-threads
 CONFIGURE_ARGS+=	--disable-threads
 .endif
 
+.if ${PORT_OPTIONS:MGSSAPI}
+CONFIGURE_ARGS+=	--with-gssapi
+.else
+CONFIGURE_ARGS+=        --without-gssapi
+.endif
+
 .if ${PORT_OPTIONS:MREPLACE_BASE}
 PKGNAMESUFFIX=	-base
 PREFIX=		/usr
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Erwin Lansing freebsd_committer freebsd_triage 2013-09-17 12:32:05 UTC
State Changed
From-To: open->closed

Committed to both bind99 and bind98