ports/188822: [patch] Allow to build ftp/curl without GSSAPI support

Fabian Keil fk at fabiankeil.de
Sun Apr 20 10:50:01 UTC 2014


>Number:         188822
>Category:       ports
>Synopsis:       [patch] Allow to build ftp/curl without GSSAPI support
>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 Apr 20 10:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Fabian Keil
>Release:        HEAD
>Organization:
>Environment:
FreeBSD r500.local 11.0-CURRENT FreeBSD 11.0-CURRENT #634 r264294+3a7b962(fk): Wed Apr  9 14:19:05 CEST 2014     fk at r500.local:/usr/obj/usr/src/sys/ZOEY  amd64

>Description:
The attached patch makes GSSAPI support optional for ftp/curl.

In case of WITHOUT_GSSAPI, this allows to build curl without pulling in on one of the kerberos/heimdal ports.

This PR is somewhat related to ports/181004 but I have no opinion on what the default should be in case of WITHOUT_GSSAPI and am fine with having to disable GSSAPI support once.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

>From 1f6ed040d699bb849654a06616121a68c31f5e82 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk at fabiankeil.de>
Date: Sat, 19 Apr 2014 12:44:29 +0200
Subject: [PATCH] ftp/curl: Add an option to compile without GSSAPI support

---
 ftp/curl/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git ftp/curl/Makefile ftp/curl/Makefile
index 6c9e2b1..7d77d01 100644
--- ftp/curl/Makefile
+++ ftp/curl/Makefile
@@ -14,7 +14,7 @@ LICENSE=	MIT
 
 OPTIONS_DEFINE=	CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES HTTP2 IDN IPV6 LDAP LDAPS LIBSSH2 PROXY RTMP SPNEGO TLS_SRP
 OPTIONS_RADIO=	GSSAPI RESOLV SSL
-OPTIONS_RADIO_GSSAPI=	GSSAPI_BASE HEIMDAL_PORT KRB5_PORT
+OPTIONS_RADIO_GSSAPI=	GSSAPI_BASE HEIMDAL_PORT KRB5_PORT NO_GSSAPI
 OPTIONS_RADIO_RESOLV=	CARES THREADED_RESOLVER
 OPTIONS_RADIO_SSL=	CYASSL GNUTLS NSS OPENSSL POLARSSL
 OPTIONS_DEFAULT=CA_BUNDLE COOKIES GSSAPI_BASE IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER SSL TLS_SRP
@@ -24,6 +24,7 @@ CURL_DEBUG_DESC=cURL debug memory tracking
 GSSAPI_BASE_DESC=	GSSAPI support via base system
 HEIMDAL_PORT_DESC=	GSSAPI support via security/heimdal
 KRB5_PORT_DESC=	GSSAPI support via security/krb5
+NO_GSSAPI_DESC=	No GSSAPI support
 LIBSSH2_DESC=	SCP/SFTP support via libssh2
 RESOLV_DESC=	DNS resolving options
 SPNEGO_DESC=	SPNEGO (RFC 4178) support
-- 
1.9.0



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list