From a5ca7b464d6acc8826473be76415043c7c8d85dd Mon Sep 17 00:00:00 2001 From: chip Date: Mon, 2 Apr 2001 02:47:04 +0000 Subject: [PATCH] 2001-04-01 Chip Salzenberg * debian/changelog: Version 0.3.2-1. * debian/*{pre,post}*: Let debhelper handle doc symlinks. * debian/rules: Eliminate dh_suidregister. Rename ChangeLog on installation, per policy. --- debian/changelog | 12 ++++++++++++ debian/nfs-common.postinst | 6 ++---- debian/nfs-common.prerm | 4 ++-- debian/nfs-kernel-server.postinst | 6 ++---- debian/nfs-kernel-server.prerm | 4 ++-- debian/nhfsstone.postinst | 8 +------- debian/nhfsstone.prerm | 2 +- debian/rules | 5 ++--- 8 files changed, 24 insertions(+), 23 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0ee769e..ecb9197 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +nfs-utils (1:0.3.2-1) unstable; urgency=low + + * Upstream changes to statd: + > Recognize long options. + > On startup, close std{in,out,err}. + > Updated man page. + * Let debhelper handle doc symlinks. (closes: #74094) + * Rename upstream changelog, per policy. + * Get rid of suidregister call. + + -- Chip Salzenberg Sun, 1 Apr 2001 19:21:26 -0700 + nfs-utils (1:0.3.1-1) unstable; urgency=medium * New upstream version. diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst index 9814bc5..d4bfa87 100755 --- a/debian/nfs-common.postinst +++ b/debian/nfs-common.postinst @@ -1,11 +1,9 @@ #!/bin/sh -e +#DEBHELPER# + case "$1" in configure) - test ! -d /usr/share/doc/nfs-common || - test -L /usr/doc/nfs-common || - ln -sf ../share/doc/nfs-common /usr/doc/nfs-common - update-rc.d nfs-common defaults 19 81 >/dev/null 2>&1 /etc/init.d/nfs-common start diff --git a/debian/nfs-common.prerm b/debian/nfs-common.prerm index fbdc65a..77e3af8 100755 --- a/debian/nfs-common.prerm +++ b/debian/nfs-common.prerm @@ -1,7 +1,7 @@ #!/bin/sh -[ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop +#DEBHELPER# -rm -f /usr/doc/nfs-common +[ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop exit 0 diff --git a/debian/nfs-kernel-server.postinst b/debian/nfs-kernel-server.postinst index cc035fa..6a343fc 100755 --- a/debian/nfs-kernel-server.postinst +++ b/debian/nfs-kernel-server.postinst @@ -1,11 +1,9 @@ #!/bin/sh -e +#DEBHELPER# + case "$1" in configure) - test ! -d /usr/share/doc/nfs-kernel-server || - test -L /usr/doc/nfs-kernel-server || - ln -sf ../share/doc/nfs-kernel-server /usr/doc/nfs-kernel-server - mkdir -p /var/lib/nfs touch /var/lib/nfs/xtab /var/lib/nfs/etab /var/lib/nfs/rmtab if test -s /etc/exports diff --git a/debian/nfs-kernel-server.prerm b/debian/nfs-kernel-server.prerm index f4b4be3..893848d 100755 --- a/debian/nfs-kernel-server.prerm +++ b/debian/nfs-kernel-server.prerm @@ -1,7 +1,7 @@ #!/bin/sh -[ -x /etc/init.d/nfs-kernel-server ] && /etc/init.d/nfs-kernel-server stop +#DEBHELPER# -rm -f /usr/doc/nfs-kernel-server +[ -x /etc/init.d/nfs-kernel-server ] && /etc/init.d/nfs-kernel-server stop exit 0 diff --git a/debian/nhfsstone.postinst b/debian/nhfsstone.postinst index 39c3096..07fe0c2 100644 --- a/debian/nhfsstone.postinst +++ b/debian/nhfsstone.postinst @@ -1,9 +1,3 @@ #!/bin/sh -e -case "$1" in - configure) - test ! -d /usr/share/doc/nhfsstone || - test -L /usr/doc/nhfsstone || - ln -sf ../share/doc/nhfsstone /usr/doc/nhfsstone - ;; -esac +#DEBHELPER# diff --git a/debian/nhfsstone.prerm b/debian/nhfsstone.prerm index 00a899e..42faf6a 100644 --- a/debian/nhfsstone.prerm +++ b/debian/nhfsstone.prerm @@ -1,5 +1,5 @@ #!/bin/sh -rm -f /usr/doc/nhfsstone +#DEBHELPER# exit 0 diff --git a/debian/rules b/debian/rules index 58eb43a..fa1fc0a 100755 --- a/debian/rules +++ b/debian/rules @@ -53,16 +53,15 @@ binary-arch: build rm -f tmp/usr/share/man/man8/*quota*; \ rm -rf tmp/var/lib/nfs/* # Fixups End Here # - dh_installdocs ChangeLog README + dh_installdocs -A README dh_installexamples # dh_installmenu dh_installinit -n # dh_installcron # dh_installmanpages # dh_undocumented - dh_installchangelogs + dh_installchangelogs ChangeLog dh_strip - dh_suidregister dh_compress dh_fixperms dh_installdeb -- 2.39.5