pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/bind916



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 22 18:18:01 UTC 2024

Modified Files:
        pkgsrc/net/bind916: buildlink3.mk options.mk

Log Message:
bind916: use gssapi as an option; that fixes builds when krb5-config is installed but not buildlinked


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/bind916/buildlink3.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/bind916/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/bind916/buildlink3.mk
diff -u pkgsrc/net/bind916/buildlink3.mk:1.4 pkgsrc/net/bind916/buildlink3.mk:1.5
--- pkgsrc/net/bind916/buildlink3.mk:1.4        Mon Aug 14 05:24:58 2023
+++ pkgsrc/net/bind916/buildlink3.mk    Mon Jul 22 18:18:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2023/08/14 05:24:58 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2024/07/22 18:18:01 adam Exp $
 
 BUILDLINK_TREE+=       bind
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        bind
 BIND_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.bind+=   bind>=9.16.0<9.18
-BUILDLINK_ABI_DEPENDS.bind?=   bind>=9.16.42nb1
+BUILDLINK_ABI_DEPENDS.bind+=   bind>=9.16.42nb1
 BUILDLINK_PKGSRCDIR.bind?=     ../../net/bind916
 .endif # BIND_BUILDLINK3_MK
 

Index: pkgsrc/net/bind916/options.mk
diff -u pkgsrc/net/bind916/options.mk:1.5 pkgsrc/net/bind916/options.mk:1.6
--- pkgsrc/net/bind916/options.mk:1.5   Wed Jun 21 14:40:43 2023
+++ pkgsrc/net/bind916/options.mk       Mon Jul 22 18:18:01 2024
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.5 2023/06/21 14:40:43 taca Exp $
+# $NetBSD: options.mk,v 1.6 2024/07/22 18:18:01 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.bind916
 PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
 PKG_SUPPORTED_OPTIONS+=        bind-json-statistics-server blacklist blocklist
 PKG_SUPPORTED_OPTIONS+=        threads readline lmdb mysql pgsql ldap dlz-filesystem
-PKG_SUPPORTED_OPTIONS+=        geoip tuning dnstap pkcs11
+PKG_SUPPORTED_OPTIONS+=        gssapi geoip tuning dnstap pkcs11
 PKG_SUGGESTED_OPTIONS+=        readline
 
 PLIST_VARS+=   dnstap lmdb pkcs11
@@ -87,6 +87,13 @@ LDFLAGS+=            -lGeoIP
 .include "../../net/GeoIP/buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Mgssapi)
+CONFIGURE_ARGS+=       --with-gssapi=${KRB5BASE}/bin/krb5-config
+.include "../../mk/krb5.buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-gssapi
+.endif
+
 .if !empty(PKG_OPTIONS:Mpkcs11)
 CONFIGURE_ARGS+=       --enable-native-pkcs11
 PLIST.pkcs11=          yes



Home | Main Index | Thread Index | Old Index