diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
commit | edd02aa960301b52f94c88efb6fae0d3ca79b548 (patch) | |
tree | 5cec2df47f338a42883a0e6189028df4f4ec6077 /debian/rules | |
parent | Adding upstream version 1:2.6.4. (diff) | |
download | nfs-utils-edd02aa960301b52f94c88efb6fae0d3ca79b548.tar.xz nfs-utils-edd02aa960301b52f94c88efb6fae0d3ca79b548.zip |
Adding debian version 1:2.6.4-3.debian/1%2.6.4-3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e3fe8a0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,48 @@ +#! /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 |