pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/bind918



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

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

Log Message:
bind918: 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.2 -r1.3 pkgsrc/net/bind918/buildlink3.mk \
    pkgsrc/net/bind918/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/bind918/buildlink3.mk
diff -u pkgsrc/net/bind918/buildlink3.mk:1.2 pkgsrc/net/bind918/buildlink3.mk:1.3
--- pkgsrc/net/bind918/buildlink3.mk:1.2        Fri Jan  5 01:53:35 2024
+++ pkgsrc/net/bind918/buildlink3.mk    Mon Jul 22 18:09:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2024/01/05 01:53:35 taca Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2024/07/22 18:09:01 adam Exp $
 
 BUILDLINK_TREE+=       bind
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        bind
 BIND_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.bind+=   bind>=9.18.0
-BUILDLINK_ABI_DEPENDS.bind?=   bind>=9.18.21
+BUILDLINK_ABI_DEPENDS.bind+=   bind>=9.18.21
 BUILDLINK_PKGSRCDIR.bind?=     ../../net/bind918
 .endif # BIND_BUILDLINK3_MK
 
Index: pkgsrc/net/bind918/options.mk
diff -u pkgsrc/net/bind918/options.mk:1.2 pkgsrc/net/bind918/options.mk:1.3
--- pkgsrc/net/bind918/options.mk:1.2   Mon Apr 24 13:48:06 2023
+++ pkgsrc/net/bind918/options.mk       Mon Jul 22 18:09:01 2024
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.2 2023/04/24 13:48:06 taca Exp $
+# $NetBSD: options.mk,v 1.3 2024/07/22 18:09:01 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.bind
 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
+PKG_SUPPORTED_OPTIONS+=        geoip gssapi tuning dnstap
 PKG_SUGGESTED_OPTIONS+=        readline
 
 PLIST_VARS+=   dnstap lmdb
@@ -89,6 +89,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:Mtuning)
 CONFIGURE_ARGS+=       --with-tuning=large
 .endif



Home | Main Index | Thread Index | Old Index