pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nsd



Module Name:    pkgsrc
Committed By:   hauke
Date:           Wed Mar 12 22:08:56 UTC 2025

Modified Files:
        pkgsrc/net/nsd: 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.129 -r1.130 pkgsrc/net/nsd/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/nsd/Makefile
diff -u pkgsrc/net/nsd/Makefile:1.129 pkgsrc/net/nsd/Makefile:1.130
--- pkgsrc/net/nsd/Makefile:1.129       Mon Mar  3 20:29:28 2025
+++ pkgsrc/net/nsd/Makefile     Wed Mar 12 22:08:55 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.129 2025/03/03 20:29:28 wiz Exp $
+# $NetBSD: Makefile,v 1.130 2025/03/12 22:08:55 hauke Exp $
 
 DISTNAME=      nsd-4.11.1
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://www.nlnetlabs.nl/downloads/nsd/
 
@@ -9,13 +10,15 @@ HOMEPAGE=    https://www.nlnetlabs.nl/proje
 COMMENT=       Authoritative-only DNS server
 LICENSE=       modified-bsd
 
-BUILD_DEFS+=   VARBASE NSD_USER NSD_GROUP
+BUILD_DEFS+=   VARBASE NSD_USER NSD_GROUP NSD_LOG_FACILITY
 FILES_SUBST+=  NSD_USER=${NSD_USER} NSD_GROUP=${NSD_GROUP}
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nsd
 PKG_SUPPORTED_OPTIONS= inet6 rrl
 PKG_SUGGESTED_OPTIONS= inet6
 
+NSD_LOG_FACILITY?=     LOG_DAEMON
+
 .include "../../mk/bsd.options.mk"
 
 USE_LANGUAGES= c c++
@@ -30,9 +33,9 @@ GNU_CONFIGURE=        yes
 
 PKG_SYSCONFSUBDIR=     nsd
 
-CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 CONFIGURE_ARGS+=       --with-configdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --with-facility=${NSD_LOG_FACILITY}
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --enable-ipv6
 .else



Home | Main Index | Thread Index | Old Index