diff --git a/debian/changelog b/debian/changelog index e6d4336..83ac5f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ dnsmasq (2.63-1) unstable; urgency=low * New upstream. + * Move /etc/dbus-1/system.d/dnsmasq.conf from dnsmasq to dnsmasq-base. -- Simon Kelley Mon, 11 Jun 2012 21:55:35 +0000 diff --git a/debian/conffiles b/debian/conffiles index 2fb5b1d..f7e9d66 100644 --- a/debian/conffiles +++ b/debian/conffiles @@ -2,5 +2,4 @@ /etc/default/dnsmasq /etc/dnsmasq.conf /etc/resolvconf/update.d/dnsmasq -/etc/dbus-1/system.d/dnsmasq.conf /etc/insserv.conf.d/dnsmasq diff --git a/debian/control b/debian/control index 6328a3e..343ad7f 100644 --- a/debian/control +++ b/debian/control @@ -23,7 +23,8 @@ Description: Small caching DNS proxy and DHCP/TFTP server Package: dnsmasq-base Architecture: any Depends: ${shlibs:Depends} -Conflicts: dnsmasq (<<2.41) +Breaks: dnsmasq (<< 2.62-3) +Replaces: dnsmasq (<< 2.62-3) Description: Small caching DNS proxy and DHCP/TFTP server This package contains the dnsmasq executable and documentation, but not the infrastructure required to run it as a system daemon. For diff --git a/debian/rules b/debian/rules index 762b089..5d68937 100755 --- a/debian/rules +++ b/debian/rules @@ -85,7 +85,6 @@ binary-indep: checkroot -d debian/daemon/etc/resolvconf/update.d \ -d debian/daemon/usr/lib/resolvconf/dpkg-event.d \ -d debian/daemon/etc/default \ - -d debian/daemon/etc/dbus-1/system.d \ -d debian/daemon/lib/systemd/system \ -d debian/daemon/etc/insserv.conf.d install -m 644 debian/conffiles debian/daemon/DEBIAN @@ -96,7 +95,6 @@ binary-indep: checkroot install -m 644 debian/default debian/daemon/etc/default/dnsmasq install -m 644 dnsmasq.conf.example debian/daemon/etc/dnsmasq.conf install -m 644 debian/readme.dnsmasq.d debian/daemon/etc/dnsmasq.d/README - install -m 644 debian/dbus.conf debian/daemon/etc/dbus-1/system.d/dnsmasq.conf install -m 644 debian/systemd.service debian/daemon/lib/systemd/system/dnsmasq.service install -m 644 debian/insserv debian/daemon/etc/insserv.conf.d/dnsmasq ln -s $(package) debian/daemon/usr/share/doc/dnsmasq @@ -111,6 +109,7 @@ binary-arch: checkroot rm -rf debian/base install -m 755 \ -d debian/base/DEBIAN \ + -d debian/base/etc/dbus-1/system.d \ -d debian/base/usr/share/doc/$(package) \ -d debian/base/usr/share/doc/$(package)/examples \ -d debian/base/var/run \ @@ -129,10 +128,12 @@ ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS))) install -m 644 dbus/DBus-interface debian/base/usr/share/doc/$(package)/. gzip -9 debian/base/usr/share/doc/$(package)/DBus-interface endif + install -m 644 debian/dnsmasq-base.conffiles debian/base/DEBIAN/conffiles install -m 644 debian/changelog debian/base/usr/share/doc/$(package)/changelog.Debian gzip -9 debian/base/usr/share/doc/$(package)/changelog.Debian install -m 644 debian/readme debian/base/usr/share/doc/$(package)/README.Debian install -m 644 debian/copyright debian/base/usr/share/doc/$(package)/copyright + install -m 644 debian/dbus.conf debian/base/etc/dbus-1/system.d/dnsmasq.conf gzip -9 debian/base/usr/share/man/man8/dnsmasq.8 for f in debian/base/usr/share/man/*; do \ if [ -f $$f/man8/dnsmasq.8 ]; then \