Thanks for the patch, and apologies for taking so long to reply.
I've just committed a major overhaul to the Debian packaging which
eliminates the very ancient and crusty scripts in favour of debhelper.
Debhelper, predictably, gets this right, so the problem is moot.
Cheers,
Simon.
On 23/12/2023 14:47, Gioele Barabucci wrote:
Dear dnsmasq maintainer,
could you please merge this small patch related to the Debian packaging,
or point out any flaw that needs to be addressed?
Regards,
On 14/10/23 13:33, Gioele Barabucci wrote:
dnsmasq installs its D-Bus policy file in `/etc/dbus-1`.
Since Debian 9 the standard directory for package-installed
D-Bus policies is `/usr/share/dbus-1`.
See: https://bugs.debian.org/1006631
Fixes: lintian: dbus-policy-in-etc
Closes: #1040923
---
debian/dnsmasq-base.conffiles | 2 +-
debian/rules | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/dnsmasq-base.conffiles
b/debian/dnsmasq-base.conffiles
index 2f19194..04ca726 100644
--- a/debian/dnsmasq-base.conffiles
+++ b/debian/dnsmasq-base.conffiles
@@ -1 +1 @@
-/etc/dbus-1/system.d/dnsmasq.conf
+remove-on-upgrade /etc/dbus-1/system.d/dnsmasq.conf
diff --git a/debian/rules b/debian/rules
index 2354ea9..8d47449 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,7 +112,7 @@ define build_tree
rm -rf $1
install -m 755 \
-d $1/DEBIAN \
- -d $1/etc/dbus-1/system.d \
+ -d $1/usr/share/dbus-1/system.d \
-d $1/usr/share/doc/$(package) \
-d $1/usr/share/doc/$(package)/examples \
-d $1/usr/share/$(package) \
@@ -153,7 +153,7 @@ define add_files
gzip -9n $1/usr/share/doc/$(package)/changelog.Debian
install -m 644 debian/readme
$1/usr/share/doc/$(package)/README.Debian
install -m 644 debian/copyright
$1/usr/share/doc/$(package)/copyright
- install -m 644 debian/dbus.conf $1/etc/dbus-1/system.d/dnsmasq.conf
+ install -m 644 debian/dbus.conf
$1/usr/share/dbus-1/system.d/dnsmasq.conf
endef
clean:
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss