pkgsrc-Bugs archive

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

pkg/55449: Include the trustanchor in net/dnsmasq package when using the dnssec option.



>Number:         55449
>Category:       pkg
>Synopsis:       Include the trustanchor in net/dnsmasq package when using the dnssec option.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 03 00:30:00 +0000 2020
>Originator:     Ben Gergely
>Release:        current
>Organization:
>Environment:
>Description:
Include the trustanchor in the package when using the dnssec option.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnsmasq/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile    22 May 2020 10:56:26 -0000      1.42
+++ Makefile    3 Jul 2020 00:17:17 -0000
@@ -51,5 +51,8 @@
        ${INSTALL_DATA} ${WRKSRC}/dbus/dnsmasq.conf \
                ${DESTDIR}${EGDIR}/dnsmasq-dbus.conf
 .endif
+.if !empty(PKG_OPTIONS:Mdnssec)
+       ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/trust-anchors.conf ${DESTDIR}${EGDIR}
+.endif

 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnsmasq/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- PLIST       2 Jun 2017 08:37:49 -0000       1.5
+++ PLIST       3 Jul 2020 00:17:17 -0000
@@ -3,3 +3,4 @@
 sbin/dnsmasq
 ${PLIST.dbus}share/examples/dnsmasq/dnsmasq-dbus.conf
 share/examples/dnsmasq/dnsmasq.conf.example
+${PLIST.dnssec}share/examples/dnsmasq/trust-anchors.conf
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnsmasq/options.mk,v
retrieving revision 1.5
diff -u -r1.5 options.mk
--- options.mk  27 Oct 2018 07:57:10 -0000      1.5
+++ options.mk  3 Jul 2020 00:17:17 -0000
@@ -6,7 +6,7 @@

 .include "../../mk/bsd.options.mk"

-PLIST_VARS+=   dbus
+PLIST_VARS+=   dbus dnssec

 .if !empty(PKG_OPTIONS:Mdbus)
 USE_TOOLS+=    pkg-config
@@ -24,6 +24,7 @@
 .if !empty(PKG_OPTIONS:Mdnssec)
 USE_TOOLS+=    pkg-config
 CFLAGS+=       -DHAVE_DNSSEC
+PLIST.dnssec=  yes
 .include "../../security/nettle/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
 .endif


Home | Main Index | Thread Index | Old Index