#! /usr/bin/make -f #export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all # set and export all variables from dpkg-architecture # and using DEB_HOST_MULTIARCH include /usr/share/dpkg/architecture.mk %: dh $@ override_dh_auto_configure: # Use --with-systemd=/lib/systemd/system if backporting to bookworm or earlier dh_auto_configure -- \ --mandir='$${prefix}/share/man' \ --enable-libmount-mount \ --enable-junction \ --enable-svcgss \ --with-pluginpath=/usr/lib/$(DEB_HOST_MULTIARCH)/libnfsidmap \ --with-tcp-wrappers \ --with-systemd \ --disable-sbin-override override_dh_bugfiles: dh_bugfiles install -m 0644 debian/nfs-utils.bug-control debian/nfs-common/usr/share/bug/nfs-utils/control install -m 0644 debian/nfs-utils.bug-presubj debian/nfs-common/usr/share/bug/nfs-utils/presubj override_dh_fixperms: dh_fixperms chmod u+s debian/nfs-common/usr/sbin/mount.nfs override_dh_install: # we will let the generator produce these units, see LP: #1971935 # and https://bugs.debian.org/1014429 dh_install -Xvar-lib-nfs-rpc_pipefs.mount -Xrpc_pipefs.target override_dh_installinit: dh_installinit -pnfs-common -R install -m 0755 debian/nfs-kernel-server.init debian/nfs-kernel-server/etc/init.d/nfs-kernel-server override_dh_md5sums: dh_md5sums -Xvar/lib override_dh_missing: dh_missing --list-missing