blob: 50dd4abe8099428a83d640630ba9def4766141a1 (
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
include /usr/share/dpkg/architecture.mk
# Disable lto here regardless of whether we enable the configure flag
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1070
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
export PYTHON=/usr/bin/python3
PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir)
%:
dh $@ --with ppp --without autoreconf --buildsystem=meson
override_dh_auto_configure:
dh_auto_configure -- \
-Druntime_dir=/run \
-Dpppd_plugin_dir=$(PPPD_PLUGIN_DIR) \
-Dpppd=/usr/sbin/pppd \
-Dresolvconf=/usr/sbin/resolvconf \
-Ddhclient=/usr/sbin/dhclient \
-Dmodprobe=/usr/sbin/modprobe \
-Ddhcpcanon=false \
-Ddhcpcd=false \
-Diptables=/usr/sbin/iptables \
-Dnft=/usr/sbin/nft \
-Ddnsmasq=/usr/sbin/dnsmasq \
-Dpolkit_agent_helper_1=/usr/lib/policykit-1/polkit-agent-helper-1 \
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
-Dudev_dir=/usr/lib/udev \
-Ddbus_conf_dir=/usr/share/dbus-1/system.d \
-Dcrypto=gnutls \
-Dsession_tracking=systemd \
-Dsuspend_resume=systemd \
-Dmodem_manager=true \
-Dnmtui=true \
-Dnmcli=true \
-Dselinux=true \
-Dsystemd_journal=true \
-Dlibaudit=yes \
-Dwext=true \
-Dwifi=true \
-Diwd=true \
-Dppp=true \
-Dpolkit=true \
-Dintrospection=true \
-Ddocs=true \
-Dconcheck=true \
-Dteamdctl=true \
-Dbluez5_dun=true \
-Dvapi=true \
-Difupdown=true \
-Difcfg_rh=false \
-Dnm_cloud_setup=false \
-Dmodify_system=false \
-Dovs=false \
-Dqt=false \
-Debpf=false \
-Dofono=false
override_dh_makeshlibs:
dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/NetworkManager/ -X/usr/lib/pppd/
override_dh_installsystemd:
dh_installsystemd -pnetwork-manager --no-start NetworkManager-dispatcher.service NetworkManager-wait-online.service nm-priv-helper.service
dh_installsystemd -pnetwork-manager --no-also NetworkManager.service
override_dh_ppp:
dh_ppp --breaks
|