blob: ae023a7dab677afc1e464c34eb2716f5ccde4792 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@ --with gir,systemd,autoreconf
autoreconf:
gtkdocize --copy
autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
override_dh_autoreconf:
dh_autoreconf debian/rules -- autoreconf
override_dh_auto_configure:
dh_auto_configure -- \
--libexecdir=/usr/lib/NetworkManager \
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.6 \
--with-pppd=/usr/sbin/pppd \
--with-pppoe=/usr/sbin/pppoe \
--with-resolvconf=/sbin/resolvconf \
--with-dhclient=/sbin/dhclient \
--with-iptables=/sbin/iptables \
--with-dnsmasq=/usr/sbin/dnsmasq \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-crypto=gnutls \
--with-session-tracking=systemd \
--with-suspend-resume=systemd \
--with-modem-manager-1 \
--with-nmtui \
--disable-more-warnings \
--disable-modify-system \
--enable-polkit \
--enable-ppp \
--enable-ifupdown \
--enable-introspection \
--enable-gtk-doc \
--enable-concheck \
--enable-teamdctl
override_dh_install:
dh_install -X.la --list-missing
install -m 755 debian/network-manager-dispatcher.script \
debian/network-manager/etc/NetworkManager/dispatcher.d/01ifupdown
install -m 755 debian/ifblacklist_migrate.sh \
debian/network-manager/usr/lib/NetworkManager
override_dh_installinit:
dh_installinit -pnetwork-manager --restart-after-upgrade
override_dh_makeshlibs:
dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/NetworkManager/ -X/usr/lib/pppd/
override_dh_strip:
dh_strip --dbg-package=network-manager-dbg
override_dh_systemd_enable:
dh_systemd_enable -pnetwork-manager NetworkManager-dispatcher.service
dh_systemd_enable -pnetwork-manager --no-enable NetworkManager-wait-online.service
dh_systemd_enable -pnetwork-manager NetworkManager.service
override_dh_systemd_start:
dh_link lib/systemd/system/NetworkManager.service \
lib/systemd/system/network-manager.service
dh_systemd_start -pnetwork-manager --no-start NetworkManager-dispatcher.service
dh_systemd_start -pnetwork-manager --no-start NetworkManager-wait-online.service
dh_systemd_start -pnetwork-manager --restart-after-upgrade NetworkManager.service
override_dh_auto_test:
|