Subject: pkg/36144: add gssapi option to www/curl
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Todd Kover <kovert@omniscient.com>
List: pkgsrc-bugs
Date: 04/12/2007 23:05:00
>Number: 36144
>Category: pkg
>Synopsis: www/curl can link against gssapi but does not
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Thu Apr 12 23:05:00 +0000 2007
>Originator: Todd Kover
>Release: NetBSD 4.0_BETA2
>Organization:
Omniscient Technologies
>Environment:
NetBSD cuendillar.omniscient.com 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC.MP) #6: Tue Apr 3 15:50:14 EDT 2007 kovert@saidin.omniscient.com:/usr/obj/4.0-stable/i386/omniscient/os/NetBSD-4.0-branch/src/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
curl can link against NetBSD's native gssapi libraries and use the
GSS-Negotiate extention, but it doesn't and there's no option to do
so.
>How-To-Repeat:
build it. :)
>Fix:
I've attached a patch that adds this as an option. I don't
think it's a problem to make it this by default, but I'm not sure
when that is/is not done for gssapi support. (It seems to be
somewhat inconstant).
--- options.mk 10 Aug 2006 14:18:16 -0000 1.1
+++ options.mk 12 Apr 2007 22:56:51 -0000
@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.1 2006/08/10 14:18:16 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
-PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUPPORTED_OPTIONS= inet6 gssapi
.include "../../mk/bsd.options.mk"
@@ -10,3 +10,9 @@
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+CONFIGURE_ARGS+= --with-gssapi=/usr
+CONFIGURE_ARGS+= --with-gssapi-includes=/usr/include/gssapi
+.else
+.endif