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
|
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_BUILD_OPTIONS+=nocheck
%:
dh $@ --with python3
override_dh_auto_configure:
dh_auto_configure -- \
-Dbash-completion=enabled \
-Dopenvpn_username=_openvpn \
-Dopenvpn_group=_openvpn \
-Dasio_path=/usr/ \
-Dunit_tests=disabled \
-Daddon-deviceposture=enabled
# dh_ needs to be called in the arch independent build. It is only part
# of the default sequence from compat level 14
override_dh_auto_install:
dh_installsysusers
dh_auto_install
# delete the installed header file, this is not a library
$(RM) -r $(CURDIR)/debian/openvpn3-client/usr/include
# allow the directory to be created with tmpfiles.d with the
# correct owner/permissions
$(RM) -r $(CURDIR)/debian/openvpn3-client/var/lib/openvpn3/configs
|