pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/unbound



Module Name:    pkgsrc
Committed By:   hauke
Date:           Wed Mar 12 23:02:16 UTC 2025

Modified Files:
        pkgsrc/net/unbound: Makefile

Log Message:
Allow to set the syslog facility for the build -- this should really
be a config file option.

While here, pkglint.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/net/unbound/Makefile

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

Modified files:

Index: pkgsrc/net/unbound/Makefile
diff -u pkgsrc/net/unbound/Makefile:1.120 pkgsrc/net/unbound/Makefile:1.121
--- pkgsrc/net/unbound/Makefile:1.120   Sun Feb  9 14:44:08 2025
+++ pkgsrc/net/unbound/Makefile Wed Mar 12 23:02:16 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.120 2025/02/09 14:44:08 wiz Exp $
+# $NetBSD: Makefile,v 1.121 2025/03/12 23:02:16 hauke Exp $
 
 DISTNAME=      unbound-1.22.0
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    net
 MASTER_SITES=  https://nlnetlabs.nl/downloads/unbound/
 
@@ -10,15 +10,19 @@ HOMEPAGE=   https://nlnetlabs.nl/projects/
 COMMENT=       DNS resolver and recursive server
 LICENSE=       modified-bsd
 
-BUILD_DEFS+=   VARBASE UNBOUND_USER UNBOUND_GROUP
+BUILD_DEFS+=   PKG_SYSCONFBASE VARBASE
+BUILD_DEFS+=   UNBOUND_USER UNBOUND_GROUP UNBOUND_LOG_FACILITY
 FILES_SUBST+=  UNBOUND_USER=${UNBOUND_USER} UNBOUND_GROUP=${UNBOUND_GROUP}
 
+UNBOUND_LOG_FACILITY?= LOG_DAEMON
+
 USE_LIBTOOL=           yes
 CONFIGURE_ARGS+=       --enable-allsymbols
 CONFIGURE_ARGS+=       --with-libexpat=${BUILDLINK_PREFIX.expat}
 CONFIGURE_ARGS+=       --with-libevent=${BUILDLINK_PREFIX.libevent}
 CONFIGURE_ARGS+=       --enable-event-api
 CONFIGURE_ARGS+=       --with-ssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+=       --with-syslog-facility=${UNBOUND_LOG_FACILITY}
 CONFIGURE_ARGS+=       --with-pidfile=${VARBASE}/run/unbound/unbound.pid
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
 GNU_CONFIGURE=         yes



Home | Main Index | Thread Index | Old Index