pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/djbdns-run Get a copy of dnsroots.global from djbd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3548fa7b453c
branches:  trunk
changeset: 389741:3548fa7b453c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jan 07 19:45:48 2019 +0000

description:
Get a copy of dnsroots.global from djbdns and use the copy as
CONF_FILES. Fixes build on NetBSD that somehow wasn't broken on OS X.

diffstat:

 net/djbdns-run/Makefile   |  7 ++++---
 net/djbdns-run/PLIST      |  3 ++-
 net/djbdns-run/options.mk |  4 +++-
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 5cd982f966d0 -r 3548fa7b453c net/djbdns-run/Makefile
--- a/net/djbdns-run/Makefile   Mon Jan 07 18:52:36 2019 +0000
+++ b/net/djbdns-run/Makefile   Mon Jan 07 19:45:48 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/01/07 14:01:55 schmonz Exp $
+# $NetBSD: Makefile,v 1.32 2019/01/07 19:45:48 schmonz Exp $
 #
 
 DISTNAME=              djbdns-run-20190107
@@ -41,9 +41,9 @@
 BUILD_DEFS+=           DJBDNS_RBL_USER DJBDNS_TINY_USER
 BUILD_DEFS+=           DJBDNS_DJBDNS_GROUP
 
-CONF_FILES+=           ${PKG_SYSCONFDIR}/dnsroots.global \
+CONF_FILES+=           ${PREFIX}/share/examples/${PKGBASE}/dnsroots.global \
                        ${PKG_SYSCONFDIR}/dnscache/servers/@
-CONF_FILES+=           ${PREFIX}/share/examples/djbdns-run/axfrdns-tcp \
+CONF_FILES+=           ${PREFIX}/share/examples/${PKGBASE}/axfrdns-tcp \
                        ${PKG_SYSCONFDIR}/axfrdns/tcp
 
 .include "options.mk"
@@ -67,5 +67,6 @@
        ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/djbdns-run
        ${INSTALL_DATA} ${FILESDIR}/axfrdns-tcp ${DESTDIR}${PREFIX}/share/examples/djbdns-run
        ${INSTALL_DATA} ${FILESDIR}/dnscache-ip ${DESTDIR}${PREFIX}/share/examples/djbdns-run
+       ${INSTALL_DATA} ${PREFIX}/${DNSROOTS_GLOBAL} ${DESTDIR}${PREFIX}/share/examples/djbdns-run
 
 .include "../../mk/bsd.pkg.mk"
diff -r 5cd982f966d0 -r 3548fa7b453c net/djbdns-run/PLIST
--- a/net/djbdns-run/PLIST      Mon Jan 07 18:52:36 2019 +0000
+++ b/net/djbdns-run/PLIST      Mon Jan 07 19:45:48 2019 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.7 2019/01/07 14:01:55 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.8 2019/01/07 19:45:48 schmonz Exp $
 share/doc/djbdns-run/README.pkgsrc
 share/examples/djbdns-run/axfrdns-tcp
 share/examples/djbdns-run/dnscache-ip
+share/examples/djbdns-run/dnsroots.global
diff -r 5cd982f966d0 -r 3548fa7b453c net/djbdns-run/options.mk
--- a/net/djbdns-run/options.mk Mon Jan 07 18:52:36 2019 +0000
+++ b/net/djbdns-run/options.mk Mon Jan 07 19:45:48 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2019/01/07 14:01:55 schmonz Exp $
+# $NetBSD: options.mk,v 1.3 2019/01/07 19:45:48 schmonz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.djbdns-run
 PKG_SUPPORTED_OPTIONS+=        inet6
@@ -12,6 +12,7 @@
 .if !empty(PKG_OPTIONS:Minet6)
 DEPENDS_DJBDNS=                djbdnscurve6-[0-9]*:../../net/djbdnscurve6
 DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
+DNSROOTS_GLOBAL=       share/examples/djbdnscurve6/dnsroots.global
 TINYDNS_LISTENIP=      ::
 DNSCACHE_LISTENIP=     ::1
 DNSCACHE_SENDIP=       ::
@@ -20,6 +21,7 @@
 .else
 DEPENDS_DJBDNS=                djbdns>=1.05nb5:../../net/djbdns
 DEPENDS+=              ucspi-tcp-[0-9]*:../../net/ucspi-tcp
+DNSROOTS_GLOBAL=       share/examples/djbdns/dnsroots.global
 TINYDNS_LISTENIP=      0.0.0.0
 DNSCACHE_LISTENIP=     127.0.0.1
 DNSCACHE_SENDIP=       0.0.0.0



Home | Main Index | Thread Index | Old Index