diff options
| -rw-r--r-- | debian/changelog | 7 | ||||
| -rw-r--r-- | debian/control | 6 | ||||
| -rwxr-xr-x | debian/rules | 9 |
3 files changed, 17 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 15b618b4..2ecccad3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +network-manager (1.0.8-2) UNRELEASED; urgency=medium + + * Use dh_ppp to generate Breaks for ppp and find the path to the plugin + directory. (Closes: #805565) + + -- Chris Boot <debian@bootc.net> Thu, 19 Nov 2015 11:30:43 +0000 + network-manager (1.0.8-1) unstable; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index 5c1e5a8f..62165164 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9), libnl-3-dev (>= 3.2.8), libnl-route-3-dev (>= 3.2.8), libnl-genl-3-dev (>= 3.2.8), - ppp-dev (>= 2.4.6), + ppp-dev (>= 2.4.7-1+1), libpolkit-gobject-1-dev, libpolkit-agent-1-dev (>= 0.97), libgnutls28-dev (>= 2.12), @@ -55,7 +55,7 @@ Depends: ${shlibs:Depends}, isc-dhcp-client (>= 4.1.1-P1-4), libpam-systemd, policykit-1 -Recommends: ppp (>= 2.4.6), +Recommends: ppp, dnsmasq-base, iptables, modemmanager, @@ -63,7 +63,7 @@ Recommends: ppp (>= 2.4.6), iputils-arping Suggests: avahi-autoipd, libteam-utils -Breaks: ppp (<< 2.4.6) +Breaks: ${misc:Breaks} Description: network management framework (daemon and userspace tools) NetworkManager is a system network service that manages your network devices and connections, attempting to keep active network connectivity when diff --git a/debian/rules b/debian/rules index 9922b71a..5a493f38 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,10 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir) + %: - dh $@ --with gir,systemd,autoreconf + dh $@ --with gir,systemd,autoreconf,ppp autoreconf: gtkdocize --copy @@ -16,7 +18,7 @@ override_dh_autoreconf: override_dh_auto_configure: dh_auto_configure -- \ --libexecdir=/usr/lib/NetworkManager \ - --with-pppd-plugin-dir=/usr/lib/pppd/2.4.6 \ + --with-pppd-plugin-dir=$(PPPD_PLUGIN_DIR) \ --with-pppd=/usr/sbin/pppd \ --with-pppoe=/usr/sbin/pppoe \ --with-resolvconf=/sbin/resolvconf \ @@ -70,4 +72,7 @@ override_dh_systemd_start: dh_systemd_start -pnetwork-manager --no-start NetworkManager-wait-online.service dh_systemd_start -pnetwork-manager --restart-after-upgrade NetworkManager.service +override_dh_ppp: + dh_ppp --breaks + override_dh_auto_test: |