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
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--disable-dsa-tests \
--htmldir=/usr/share/doc/openconnect/html \
--with-gnutls \
--without-gnutls-version-check \
--with-vpnc-script=/usr/share/vpnc-scripts/vpnc-script
$(MAKE) version.c
sed -i -e 's|".*"|"v$(DEB_VERSION)"|' version.c
override_dh_installchangelogs:
dh_installchangelogs www/changelog.html
override_dh_compress:
dh_compress -Xhtml/changelog.html
# buildd's environment is sometimes broken and doesn't provide
# ipv4 localhost, so the tests cannot work
override_dh_auto_test:
|