pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl add an option to enable gssapi, for GSS-Negot...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a62ec8848c7c
branches:  trunk
changeset: 539325:a62ec8848c7c
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Mar 03 18:48:21 2008 +0000

description:
add an option to enable gssapi, for GSS-Negotiate, from Todd Kover
per PR pkg/36144
(just compile-tested because I don't have a Kerberos installation)

diffstat:

 www/curl/options.mk |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r cd469e091093 -r a62ec8848c7c www/curl/options.mk
--- a/www/curl/options.mk       Mon Mar 03 18:25:52 2008 +0000
+++ b/www/curl/options.mk       Mon Mar 03 18:48:21 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2008/03/02 14:40:26 bjs Exp $
+# $NetBSD: options.mk,v 1.3 2008/03/03 18:48:21 drochner Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.curl
-PKG_SUPPORTED_OPTIONS= inet6 libssh2
+PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi
 
 .include "../../mk/bsd.options.mk"
 
@@ -17,3 +17,11 @@
 .else
 CONFIGURE_ARGS+=       --without-libssh2
 .endif
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+.include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+=       --with-gssapi-includes=${KRB5BASE}/include/gssapi
+.else
+CONFIGURE_ARGS+=       --without-gssapi
+.endif



Home | Main Index | Thread Index | Old Index