Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dnsmasq: enable dnssec build option by default
@ 2023-01-21 21:49 rvighne
  2023-02-12 20:29 ` [PR PATCH] [Updated] " rvighne
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rvighne @ 2023-01-21 21:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

There is a new pull request by rvighne against master on the void-packages repository

https://github.com/rvighne/void-packages dnsmasq/enable-dnssec
https://github.com/void-linux/void-packages/pull/41786

dnsmasq: enable dnssec build option by default
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl

#### Notes
I uncommented these lines in `/etc/dnsmasq.conf`;
```
conf-file=/usr/share/dnsmasq/trust-anchors.conf
dnssec
```

Logs show it worked:
```
DNSSEC validation enabled
configured with trust anchor for <root> keytag 20326
```

A patch file from https://github.com/void-linux/void-packages/pull/41786.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dnsmasq/enable-dnssec-41786.patch --]
[-- Type: text/x-diff, Size: 969 bytes --]

From 38e1e3b10a427d631541cef5f58b95d6baf8a351 Mon Sep 17 00:00:00 2001
From: Rohit Vighne <rohit.vighne@gmail.com>
Date: Fri, 20 Jan 2023 21:19:53 -0500
Subject: [PATCH] dnsmasq: enable dnssec build option by default

---
 srcpkgs/dnsmasq/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/dnsmasq/template b/srcpkgs/dnsmasq/template
index ce8536b96140..df39285ca940 100644
--- a/srcpkgs/dnsmasq/template
+++ b/srcpkgs/dnsmasq/template
@@ -16,6 +16,7 @@ system_accounts="dnsmasq"
 dnsmasq_homedir="/var/chroot"
 
 build_options="dnssec"
+build_options_default="dnssec"
 desc_option_dnssec="Enable DNSSEC support via nettle"
 
 do_build() {
@@ -31,6 +32,8 @@ do_install() {
 	make PREFIX=/usr BINDIR=/usr/bin DESTDIR=${DESTDIR} install
 
 	vsv dnsmasq
+	vsconf dnsmasq.conf.example dnsmasq.conf
 	vconf dnsmasq.conf.example dnsmasq.conf
 	vinstall ${FILESDIR}/dbus.conf 644 etc/dbus-1/system.d
+	vinstall trust-anchors.conf 644 usr/share/dnsmasq
 }

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-25  2:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-21 21:49 [PR PATCH] dnsmasq: enable dnssec build option by default rvighne
2023-02-12 20:29 ` [PR PATCH] [Updated] " rvighne
2023-02-12 20:30 ` rvighne
2023-02-12 20:39 ` rvighne
2023-02-12 22:32 ` [PR REVIEW] " ahesford
2023-03-12 20:43 ` rvighne
2023-03-12 21:01 ` rvighne
2023-06-11  2:09 ` github-actions
2023-06-25  2:12 ` [PR PATCH] [Closed]: " github-actions
2023-06-25  2:14 ` [PR REVIEW] " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).