From: Ben Hutchings Date: Wed, 14 Jul 2010 02:01:57 +0000 (+0100) Subject: Merge branch 'upstream' X-Git-Tag: debian/1%1.1.3-1~1 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=ac06221bedbae2238e38fb8905e0234432ab7a14;hp=59506a24c2935681eeb5c47a59d734dc462c53e5 Merge branch 'upstream' Conflicts: Makefile.in aclocal.m4 configure depcomp install-sh linux-nfs/Makefile.in support/Makefile.in support/export/Makefile.in support/include/Makefile.in support/include/config.h.in support/include/nfs/Makefile.in support/include/rpcsvc/Makefile.in support/include/sys/Makefile.in support/include/sys/fs/Makefile.in support/misc/Makefile.in support/nfs/Makefile.in tools/Makefile.in tools/locktest/Makefile.in tools/nlmtest/Makefile.in tools/rpcdebug/Makefile.in tools/rpcgen/Makefile.in utils/Makefile.in utils/exportfs/Makefile.in utils/gssd/Makefile.in utils/idmapd/Makefile.in utils/mount/Makefile.in utils/mountd/Makefile.in utils/nfsd/Makefile.in utils/nfsstat/Makefile.in utils/showmount/Makefile.in utils/statd/Makefile.in --- diff --git a/debian/README.Debian.nfsv4 b/debian/README.Debian.nfsv4 new file mode 100644 index 0000000..453e2f8 --- /dev/null +++ b/debian/README.Debian.nfsv4 @@ -0,0 +1,71 @@ +NFSv4 in Debian +=============== + +NFSv4 support in Debian is rather new, and not fully supported yet. If you want +to experiment, make sure you have: + + - a recent 2.6 kernel on both client and server; newer is better. You might + even want to use CITI's patch set from + http://www.citi.umich.edu/projects/nfsv4/linux/ on the server, and/or Trond + Myklebust's patch set from http://client.linux-nfs.org/ . + - a recent enough version of nfs-utils on both client and server (you probably + have on at least one of them, since you're reading this file!). + - enabled idmapd on both sides (see /etc/default/nfs-common). + - The following lines in /etc/services on the client (if not, you will receive + the message "broken /etc/services" when starting rpc.gssd; this will usually + only happen if you upgrade netbase without letting it replace /etc/services + with the new version): + + nfs 2049/tcp # Network File System + nfs 2049/udp # Network File System + +The export structure might be a bit confusing if you're already familiar with +NFSv2 or NFSv3. The biggest difference is that you will need to export an +explicit root of your pseudofilesystem, like this /etc/exports fragment: + + /nfs4 hostname(rw,sync,fsid=0,crossmnt) + +(It doesn't need to be named "nfs4".) Then you can mount other volumes under +that, like: + + /nfs4/music hostname(rw,sync) + /nfs4/movies hostname(rw,sync) + +Then your client can mount shares like this: + + mount -t nfs4 server:/music /mnt/music + +Since you might not have everything under one root, you might want /nfs4/* on +the server to be bind mounts, ie.: + + mount --bind /srv/music /nfs4/music + +or in /etc/fstab: + + /srv/music /nfs4/music none bind 0 0 + +Note that this special export structure might be handled transparently by +rpc.mountd at some time in the future, in which case you will probably get the +traditional (NFSv3-style) behaviour if and only if you have no share with +fsid=0. + +If you do not wish to use host-based authentication, you can specify "gss/krb5" +instead of a hostname to get Kerberos-based authentication instead. For this, +you will need an "nfs/hostname@REALM" entry in /etc/krb5.keytab, as well as +rpc.gssd running on both client and rpc.svcgssd on the server (enable them +manually in /etc/default/nfs-common and /etc/default/nfs-kernel-server if the +autodetection fails). On the client, you will need to add "-o sec=krb5" to +the mount call. + +If you use "gss/krb5i" (and correspondingly "-o sec=krb5i" on the client), you +will also get integrity (ie. authentication), and with "gss/krb5p", you'll also +get privacy (ie. encryption). Make sure your kernel supports this; not all +kernels do. + +If you receive messages on the server complaining about "client ID already in +use" when mounting from more than one client, check that you have at least +mount version 2.12r-14. Also, connecting from behind different NATs could cause +this kind of issue currently, as two or more clients would believe they had the +same IP. + + -- Steinar H. Gunderson , Wed, 11 Oct 2006 15:18:03 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..66a5588 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,29 @@ +nfs-utils for Debian +==================== + +nfs-utils for Debian is packaged using quilt. To get started: + + sudo aptitude install quilt + export QUILT_PATCHES=debian/patches/ + +To get the complete source as built, use the "patch" target in debian/rules or, +equivalently: + + quilt push -a + +To make a new modification, first apply all patches as described above, and +then + + quilt new 99-my-local-patch.patch + quilt edit foo/bar.c + quilt edit baz/quux.c + quilt refresh + +To get the tree back in pristine form, use the "unpatch" target in debian/rules +or, equivalently: + + quilt pop -a + +Happy hacking! + + -- Steinar H. Gunderson , Mon, 14 Jul 2008 11:20:34 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1b7ab49 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,1750 @@ +nfs-utils (1:1.1.2-6) unstable; urgency=high + + * Load nfsd.ko before starting idmapd, to hopefully fix NFSv4 export issues. + (Closes: #490181) + * Bump to Standards-Version 3.8.0.1. + * Added README.source with basic information on use of quilt. + * Added (adapted from the example in Policy) debian/rules code to + parse DEB_BUILD_OPTIONS and support noopt and parallel= targets. + (nostrip is already handled by debhelper.) + * Remove DEB_HOST_ARCH setting from debian/rules, as it was not used + anywhere. + * Refresh 04-eacces-is-a-permanent-error.patch to get rid of the offset. + + -- Steinar H. Gunderson Mon, 14 Jul 2008 11:20:59 +0200 + +nfs-utils (1:1.1.2-5) unstable; urgency=high + + * 05-default-use-old-mount-interface.patch: New patch, disables the + text-mounting interface by default. It seems to be a bit shaky still, + causes problems for several users (some of which are only fixable with a + kernel update). It will be turned back on again after lenny's release, but + for now we're reverting to the safe option. + (Closes: #473171, #478824, #475274, #478831) + * 06-dont-check-exec-bit.patch: New patch, removes check for executable bit + on mount points. (Closes: #478499) + * 07-remove-duplicate-exports-paragraphs.patch: New patch from Antonio + Ospite, removes some duplicate paragraphs in the exports man page. + (Closes: #488009) + * Add "no_subtree_check" option to packaged /etc/exports. (Closes: #485658) + + -- Steinar H. Gunderson Fri, 11 Jul 2008 18:45:45 +0200 + +nfs-utils (1:1.1.2-4) unstable; urgency=low + + * 04-eacces-is-a-permanent-error.patch: New patch mirroring upstream git; + makes the text-based mounting interface (used with kernel >= 2.6.23) + treat "access denied" as a permanent instead of a temporary error. + (Closes: #476128) + + -- Steinar H. Gunderson Wed, 07 May 2008 20:49:14 +0200 + +nfs-utils (1:1.1.2-3) unstable; urgency=low + + * 02-fix-retry-option.patch: New patch from upstream, fixes interpretation + of the retry= option. (Closes: #476094) + * 03-handle-mtab-symlink.patch: New patch from Joey Hess, makes mount.nfs + handle symlinked /etc/mtab the way umount.nfs and util-linux handle it. + (Closes: #476577) + * Fix "pakage" typo in debian/copyright. + + -- Steinar H. Gunderson Fri, 25 Apr 2008 18:26:12 +0200 + +nfs-utils (1:1.1.2-2) unstable; urgency=low + + * Remove ${misc:Depends} from binary variables -- it is not used, and not + generated by anything, so all it does is generate warnings during build. + * Remove 02-document-debian-init-scripts.patch; upstream has a patch + replacing it. + * Rename 03-sm-notify-in-sbin.patch to 01-sm-notify-in-sbin.patch. + + -- Steinar H. Gunderson Sun, 30 Mar 2008 01:35:44 +0100 + +nfs-utils (1:1.1.2-1) unstable; urgency=low + + * New upstream release + * Move homepage to control header + * Standards-Versio bumped to 3.7.3 + * Added dwbian/watch + * Binary pakckages depend on ${misc:Depends} + * Build-depends on libldap2-dev + - /usr/bin/ld couldn't find -lldap + * The following patches were merged: + - 05-ignore-quota-option.patch + - 06-gssd-manpage-typo.patch + - 07-amd64-logging-segfault.patch + - 08-clarify-unexport.patch + - 09-fix-nfsstat-option.patch + - 10-no-flush-blkid-cache.patch + - 11-honor-credential-cache-dir.patch + - 12-fix-nfsmount-segfault.patch + + -- Anibal Monsalve Salazar Wed, 26 Mar 2008 18:40:09 +1100 + +nfs-utils (1:1.1.1-14) unstable; urgency=low + + * Another init dependency patch from Petter Reinholdtsen, this time for + nfs-common. (Closes: #468663) + * Stop before portmap stops. + * Start after local filesystems and network (normally $portmap should take + care of this, but it might not be installed for some reason). + * 10-no-flush-blkid-cache.patch: Rename from 10-no-flush-blkid-cache.diff, + for consistency. + * 11-honor-credential-cache-dir.patch: New patch from Vince Busam, honor -d + flag to rpc.gssd instead of always using /tmp for the credentials cache. + (Closes: #465796) + * 12-fix-nfsmount-segfault.patch: New patch from Jindrich Makovicka, fix so + the two tests for mount version are in sync, fixing a segfault in nfsmount. + (Closes: #466019) + * Remove outdated information about git snapshots from debian/copyright. + (Closes: #468773) + + -- Steinar H. Gunderson Mon, 03 Mar 2008 17:16:33 +0100 + +nfs-utils (1:1.1.1-13) unstable; urgency=low + + * Adjust nfs-kernel-server.init dependencies; patch from Petter + Reinholdtsen. (Closes: #464048) + * Depend on $remote_fs being started (and stop before it). + * Stop before nfs-common is stopped. + + -- Steinar H. Gunderson Mon, 04 Feb 2008 22:58:30 +0100 + +nfs-utils (1:1.1.1-12) unstable; urgency=medium + + * Comment in dh_strip again, which probably was commented out during a + debugging session at some point. + * Don't exclude mount.nfs from dh_fixperms; make it suid root manually after + dh_fixperms instead. Makes it world and group readable as it should be. + (Closes: #458239) + + -- Steinar H. Gunderson Sat, 29 Dec 2007 23:25:36 +0100 + +nfs-utils (1:1.1.1-11) unstable; urgency=low + + * 10-no-flush-blkid-cache.diff: New patch from Theodore Ts'o, removes + unneccessary flushing of the blkid cache, leading to lots of spurious + DM_* ioctls. (Closes: #431940) + * Sorted the list of patches in debian/patches/, and refreshed all patches + to fix hunk offsets. + + -- Steinar H. Gunderson Tue, 18 Dec 2007 00:06:10 +0100 + +nfs-utils (1:1.1.1-10) unstable; urgency=low + + * 09-fix-nfsstat-option.patch: New patch, fixes so nfsstat help and man + pages say --mounts instead of the wrong --mounted. (Closes: #451965) + + -- Steinar H. Gunderson Sat, 24 Nov 2007 18:16:51 +0100 + +nfs-utils (1:1.1.1-9) unstable; urgency=high + + * Re-add modprobing of the "nfs" module (leaving the sunrpc module, so as + not to break what the previous change fixed), as mount is not capable of + auto-loading it on demand. (Closes: #451782) + + -- Steinar H. Gunderson Sun, 18 Nov 2007 19:14:48 +0100 + +nfs-utils (1:1.1.1-8) unstable; urgency=low + + * When starting idmapd or gssd, load the sunrpc module instead of the + nfs/nfs4 modules; if the machine is server-only, it might not have + nfs/nfs4 (which are client-side modules) available. + (Closes: #449137) + * Revert NEED_MOUNTD patch; mountd is always needed, also for NFSv4. + + -- Steinar H. Gunderson Sun, 04 Nov 2007 13:05:57 +0000 + +nfs-utils (1:1.1.1-7) unstable; urgency=low + + * More init script breakage: Fix default value of NEED_STATD. + (Closes: #448688) + + -- Steinar H. Gunderson Wed, 31 Oct 2007 09:15:53 +0100 + +nfs-utils (1:1.1.1-6) unstable; urgency=low + + * Fix typo in init script. (Closes: #448538, #448607, #448564) + * In the init script, save the value of $? into a variable instead of using + $? over and over again, as it will get clobbered after the first command + using it. + + -- Steinar H. Gunderson Tue, 30 Oct 2007 17:18:12 +0100 + +nfs-utils (1:1.1.1-4) unstable; urgency=low + + * Remove broken hack introduced in 1.1.1-3. + * Fix init script to work if the package has been removed but not purged; + patch adapted from Morita Sho. (Closes: #448251) + * Patch init script to allow not running rpc.statd or rpc.mountd (via + settings in /etc/default/), since they are not needed for an NFSv4-only + setup; patch adapted from David Härdeman. (Closes: #448234) + * Clarify language in the exportfs man page; patch adapted from + David Liontooth. (Closes: #443591) + + -- Steinar H. Gunderson Mon, 29 Oct 2007 18:33:15 +0100 + +nfs-utils (1:1.1.1-3) unstable; urgency=low + + * Fixed "FTBFS: error: called object 'major' is not a function" by + defining the missing called objects only on arm. Closes: #447578. + + -- Anibal Monsalve Salazar Mon, 22 Oct 2007 19:16:49 +1000 + +nfs-utils (1:1.1.1-2) unstable; urgency=low + + * 07-amd64-logging-segfault.patch: New patch from Steve Langasek, fixes + segfault in logging code on amd64. (Closes: #447407, #447451) + + -- Steinar H. Gunderson Sun, 21 Oct 2007 12:52:01 +0200 + +nfs-utils (1:1.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Anibal Monsalve Salazar Fri, 19 Oct 2007 17:36:22 +1000 + +nfs-utils (1:1.1.1~git-20070929-1) unstable; urgency=low + + * New git snapshot. + * Update debian/copyright with new version information. + * 07-daemonize-instead-of-fork.patch: Now in upstream, removed. + * 08-libgssglue-changes.patch: Now in upstream, removed. + * 09-define-major-minor.patch: Now in upstream, removed. + + -- Steinar H. Gunderson Sat, 29 Sep 2007 15:03:21 +0200 + +nfs-utils (1:1.1.1~git-20070709-5) unstable; urgency=low + + * Fix totally broken export-detecting regex in the init script; patch by + Quentin Godfroy. (Closes: #444155) + + -- Steinar H. Gunderson Wed, 26 Sep 2007 17:50:40 +0200 + +nfs-utils (1:1.1.1~git-20070709-4) unstable; urgency=low + + * Replaced libgssapi-dev as build-dependency by libgssglue-dev. + - Added 08-libgssglue-changes.patch. + * Defined major and minor macros. Closes: #442122. + - Added 09-define-major-minor.patch. + + -- Anibal Monsalve Salazar Tue, 11 Sep 2007 20:12:50 +1000 + +nfs-utils (1:1.1.1~git-20070709-3) unstable; urgency=low + + * If there is no override present when running the post-removal script, do + not return exit status code 2. Closes: #436411. + * Fixed the following lintian message: + - W: nfs-utils source: debian-rules-ignores-make-clean-error line 23 + + -- Anibal Monsalve Salazar Sat, 11 Aug 2007 20:17:26 +1000 + +nfs-utils (1:1.1.1~git-20070709-2) unstable; urgency=low + + * 07-daemonize-instead-of-fork.patch: New patch from upstream, uses + daemon() instead of fork() and exit() for background mounts. Should + properly detach from the terminal and thus keep the kernel from SIGHUPing + mount during boot. (Closes: #144185, #156664) + + -- Steinar H. Gunderson Sat, 11 Aug 2007 09:27:53 +0200 + +nfs-utils (1:1.1.1~git-20070706-2) unstable; urgency=low + + * If there is no override present when running the post-removal script, do + not return exit status code 2. Closes: #436411. + + -- Anibal Monsalve Salazar Tue, 07 Aug 2007 17:34:47 +1000 + +nfs-utils (1:1.1.1~git-20070709-1) unstable; urgency=low + + * New upstream release. + * Update debian/copyright with the new date. + * No longer tries to build with -mno-fp-regs on Alpha, which should fix + FTBFS on that platform. (Closes: #436491) + + -- Steinar H. Gunderson Thu, 09 Aug 2007 17:30:29 +0200 + +nfs-utils (1:1.1.1~git-20070706-1) unstable; urgency=low + + * New upstream release. + * Fixes the "bg" mount option. (Closes: #301955) + * Update debian/copyright to tell that we're on git snapshots again. + * Remove 01-fix-hostent-memory-leak.diff and 04-umount-exit-status.patch, + as they are included in upstream now. + + -- Steinar H. Gunderson Mon, 06 Aug 2007 20:01:49 +0200 + +nfs-utils (1:1.1.0-14) unstable; urgency=low + + * Install mount.nfs setuid directly instead of doing dpkg-statoverride in + the postinst. Clear the dpkg-statoverride status in the postinst script + on upgrades from earlier versions for cleanness. (Closes: #435258) + + -- Steinar H. Gunderson Sun, 05 Aug 2007 20:06:53 +0200 + +nfs-utils (1:1.1.0-13) unstable; urgency=low + + * 06-gssd-manpage-typo.patch: New patch from A Costa, fixes a typo in the + gssd man page. (Closes: #434665) + * Sort debian/patches/series, so the patches are applied in the expected + order. This also fixes a hunk offset when applying the patches. + + -- Steinar H. Gunderson Wed, 25 Jul 2007 20:53:05 +0200 + +nfs-utils (1:1.1.0-12) unstable; urgency=low + + * Yet another round of fixing the boot issues, mostly in nfs-common.init: + * Be a bit smarter about setting AUTO_NEED_IDMAPD; check not only that + /etc/exports exists, but also that it contains things that look like + uncommented exports. + * Don't exit 0 immediately if statd, idmapd (if enabled) or gssd (if + enabled) can't be found, as we might need statd to get /usr up even if we + can't get to idmapd and gssd. (The AUTO_NEED_IDMAPD fix above should fix + the default situation, but it's good to take a bit of extra care.) + Instead, start statd regardless, and just skip idmapd and gssd starting + (set NEED_{IDMAPD,GSSD}=no) if it can't be found. + * Let nfs-common depend on initscripts (>= 2.86.ds1-38.1) to make sure we + have a version with the proper mountnfs logic. + + -- Steinar H. Gunderson Wed, 25 Jul 2007 01:27:48 +0200 + +nfs-utils (1:1.1.0-11) unstable; urgency=low + + * Include the nfs man page, which was also forgotten. The new nfs man page + fixes a few documentation bugs over the old one from util-linux: + * TCP is now the default if supported. (Closes: #414160) + * The default NFS version is now 3. (Closes: #289436) + * Add a replaces on pre-2.13 mount, since nfs(5) used to be there. + * 05-ignore-quota-option.patch: Properly ignore quota options in fstab. + (Closes: #329417) + + -- Steinar H. Gunderson Wed, 18 Jul 2007 19:04:44 +0200 + +nfs-utils (1:1.1.0-10) unstable; urgency=high + + * Start nfs-common in the /etc/rcS start-up sequence, making sure statd is + run before mountnfs runs, and finally obsoleting the hacks in mountnfs to + start nfs-common directly in some cases. S44 is used, which is right + between portmap (S43) and mountnfs (S45). As per discussion with Petter + Reinholdtsen on IRC. (Closes: #432511, #432750, #433119, #433133) + * Change the update-rc.d line in nfs-common.postinst to include the S + runlevel. + * Change the version check for the "update-rc.d -f nfs-common remove" line + to this version (1:1.1.0-10), so all older installations are properly + updated. + * In the LSB header for nfs-common.init, add $portmap to Required-Start. + Also add the S run level to Default-Start, to match the above change. + * Include {mount,umount}.nfs man pages in the nfs-common package -- thanks + to Neil Brown for spotting this. + + -- Steinar H. Gunderson Mon, 16 Jul 2007 18:04:52 +0200 + +nfs-utils (1:1.1.0-9) unstable; urgency=low + + * 04-umount-exit-status.patch: New patch, fixes the exit status from umount + so it's no longer inverted. (Closes: #432996) + + -- Steinar H. Gunderson Sat, 14 Jul 2007 11:15:24 +0200 + +nfs-utils (1:1.1.0-8) unstable; urgency=low + + * Move nfs-common from 21 to 20 in the startup sequence, to make sure it's + started before nfs-kernel-server (since it's nfs-common that loads the + right kernel modules). Leave the shutdown sequence alone; no changes + should be needed to it. Also update the LSB dependency information to make + nfs-kernel-server depend on nfs-common. (Closes: #432818) + + -- Steinar H. Gunderson Thu, 12 Jul 2007 13:43:49 +0200 + +nfs-utils (1:1.1.0-7) unstable; urgency=low + + * Add postinst fragment to make /sbin/mount setuid root, which should fix + problems with non-root mounting. (Closes: #432581) + + -- Steinar H. Gunderson Thu, 12 Jul 2007 01:40:18 +0200 + +nfs-utils (1:1.1.0-6) unstable; urgency=low + + * Enable {mount,umount}.{nfs,nfs4}, in line with util-linux 2.13 no longer + supporting NFS mounts. + + -- Steinar H. Gunderson Mon, 09 Jul 2007 12:54:09 +0200 + +nfs-utils (1:1.1.0-5) unstable; urgency=low + + * Install the sm-notify binary, as rpc.statd seems to want to run it at + boot. + * 03-sm-notify-in-sbin.patch: New patch, tell rpc.statd that we put + sm-notify in /sbin instead of /usr/sbin. + + -- Steinar H. Gunderson Sun, 08 Jul 2007 21:15:59 +0200 + +nfs-utils (1:1.1.0-4) unstable; urgency=low + + * Change the obsolete /proc/nfs/nfsd path in the init script so it matches + the current path; patch by Bart Cortooms. + + -- Steinar H. Gunderson Fri, 08 Jun 2007 12:18:07 +0200 + +nfs-utils (1:1.1.0-3) unstable; urgency=low + + * Fixed "nfs-common - fails to install without /etc/fstab". + Closes: #426508. + + -- Anibal Monsalve Salazar Tue, 29 May 2007 20:38:36 +1000 + +nfs-utils (1:1.1.0-2) unstable; urgency=low + + * Make sure rpcsec_gss_krb5 is loaded if needed in nfs-kernel-server. It + used not to be when NEED_SVCGSSD=true and NEED_GSSD=false. Per bug report + from Ubuntu. (LP: #104923) + + -- Steinar H. Gunderson Fri, 11 May 2007 16:51:31 +0200 + +nfs-utils (1:1.1.0-1) unstable; urgency=low + + * 01-fix-hostent-memory-leak.diff: New patch, fixes a memory leak related to + DNS lookups; thanks to Rik Theys for detailed bug report and scrutiny. + (Closes: #423108) + + -- Steinar H. Gunderson Fri, 11 May 2007 12:13:25 +0200 + +nfs-utils (1:1.1.0-0) unstable; urgency=low + + * New upstream release. + * debian/control: added libkeyutils-dev as build-dependency. + + -- Anibal Monsalve Salazar Fri, 11 May 2007 17:14:11 +1000 + +nfs-utils (1:1.1.0~rc2-1) unstable; urgency=low + + * New upstream release. + * Make build-dependency on libgssapi-dev versioned, since nfs-utils now + requires at least 0.11. + + -- Steinar H. Gunderson Thu, 26 Apr 2007 23:24:19 +0200 + +nfs-utils (1:1.1.0~rc1-1) unstable; urgency=low + + * New upstream release. + * Remove 03-fix-mountd-memory-leak.patch, which is now included in + upstream. + * rpc.lockd is gone, remove all references to it from debian/: + * Remove rpc.lockd from nfs-common.install. + * Remove NEED_LOCKD variable in nfs-common.default. + * Remove lockd handling from nfs-common.init. + * Remove lockd(8) manpage from nfs-common.manpages. + * Remove manpage link from nfs-common.links. + + -- Steinar H. Gunderson Thu, 12 Apr 2007 16:11:07 +0200 + +nfs-utils (1:1.0.12-4) unstable; urgency=high + + * Bump the versioned dependency on libblkid1 to require at least version + 1.39+1.40-WIP-2006.11.14+dfsg-2, which ensures that we get a version + that doesn't make mountd leak memory on every mount. + (Closes: #413429) + + -- Steinar H. Gunderson Wed, 7 Mar 2007 11:46:25 +0100 + +nfs-utils (1:1.0.12-3) unstable; urgency=low + + * 03-fix-mountd-memory-leak.patch: New patch which fixes a tiny memory leak + in mountd. There are huge memory leaks left, but they are in libblkid (see + #413661) so there's nothing we can do about them at this point. + + -- Steinar H. Gunderson Tue, 6 Mar 2007 16:10:43 +0100 + +nfs-utils (1:1.0.12-2) unstable; urgency=medium + + * Drop 11-root-on-krb5-mounts.patch, as it causes problems with backward + compatibility. (Closes: #407264, but also probably reopens it at the same + time...). + * Add an explicit versioned dependency on libblkid1, since the version in + sarge lacks the blkid_probe_all_new symbol and the shlibs does not add + the versioned dependency by itself. (Closes: #413057) + + -- Steinar H. Gunderson Fri, 2 Mar 2007 19:54:06 +0100 + +nfs-utils (1:1.0.12-1) unstable; urgency=high + + * New upstream release. + * Fixes mysterious mountd failure. (Closes: #412818) + + -- Steinar H. Gunderson Wed, 28 Feb 2007 23:57:40 +0100 + +nfs-utils (1:1.0.11-2) unstable; urgency=low + + * Fix the copyright file to indicate that this is no git snapshot. + + -- Steinar H. Gunderson Tue, 27 Feb 2007 11:44:44 +0100 + +nfs-utils (1:1.0.11-1) unstable; urgency=low + + * New upstream release; minimal changes from the last git snapshot. + * Update the long and short description for nfs-kernel-server to be a little + more descriptive. + * Add rpcbind as an alternative to portmap. + + -- Steinar H. Gunderson Sun, 25 Feb 2007 16:36:50 +0100 + +nfs-utils (1:1.0.11~git-20070212-1) experimental; urgency=low + + * New upstream snapshot. + * Update debian/copyright with the new version number and date. + * Add an extra backslash to debian/copyright. + * Add libblkid-dev as a build-dependency, as it's not required by + idmapd. + * Update patches for new upstream release: + * 01-bzero.patch: Now in upstream, removed. + * 02-document-debian-init-scripts.patch: Hunk offset, refreshed. + * 05-refuse-non-ident-maptypes.patch: Now in upstream, removed. + * 07-exports-default-options.patch: Now in upstream, removed. + * 08-dont-build-getkversion.patch: Obsoleted by upstream (getkversion + has been removed entirely), removed. + * 09-manpage-paths-fixup.patch: Obsoleted by upstream (paths no longer + used in the man pages), removed. + * 10-ccachedir-off-by-one.patch: Now in upstream, removed. + * 11-root-on-krb5-mounts.patch: Hunk offset, refreshed. + * Drop our custom clean hack in debian/rules, as distclean should now + remove generated files properly. + + -- Steinar H. Gunderson Mon, 12 Feb 2007 21:19:54 +0100 + +nfs-utils (1:1.0.11~git-20060117-2) experimental; urgency=low + + * Give --with-tcp-wrappers to configure; for some reason it is no longer the + default. (Closes: #408365) + + -- Steinar H. Gunderson Thu, 25 Jan 2007 11:38:01 +0100 + +nfs-utils (1:1.0.11~git-20060117-1) experimental; urgency=low + + * New upstream snapshot; only minor changes. + * Update debian/copyright with the new version number and date. + * Fix a typo in debian/copyright; we need () around the autogen.sh line. + * Remove an extraneous slash that git thinks shouldn't be there. + * Update patches for new upstream release: + * 05-refuse-non-ident-maptypes.patch: Hunk offset and fuzz, refreshed. + * 08-dont-build-getkversion.patch: Hunk offset, refreshed. + * debian/patches/11-root-on-krb5-mounts.patch: New patch (imported and + refreshed), from Antti Tapaninen (via Timo Aaltonen); changes root to map + to root/host@REALM instead of nfs/host@REALM on krb5-enabled mounts. Fixes + issues where root would get mapped to nobody. (Closes: #407264) + + -- Steinar H. Gunderson Wed, 17 Jan 2007 15:10:42 +0100 + +nfs-utils (1:1.0.11~git-20060105-2) experimental; urgency=low + + * 08-dont-build-getkversion.patch: We missed tools/Makefile.in on last + refresh, so it ended up in the .diff.gz. Fix. + + -- Steinar H. Gunderson Fri, 5 Jan 2007 13:38:07 +0100 + +nfs-utils (1:1.0.11~git-20060105-1) experimental; urgency=low + + * New upstream release. + * Removes nhfsstone. (Closes: #398058) + * Document the procedure used for taking the git snapshot in + debian/copyright. + * Update patches for new upstream release: + * 03-minor-manpage-fixes.patch: Now in upstream, removed. + * 04-document-sensitive-uids.patch: Now in upstream, removed. + * 05-refuse-non-ident-maptypes.patch: Hunk offset, refreshed. + * 06-fix-no-tcp-short-option.patch: Now in upstream, removed. + * 08-dont-build-getkversion.patch: Replace all hunks related to + autogenerated files, rerun autogen.sh after applying the other two, and + refresh the patch. + * 10-ccachedir-off-by-one.patch: Hunk offset, refreshed. + + -- Steinar H. Gunderson Fri, 5 Jan 2007 00:36:57 +0100 + +nfs-utils (1:1.0.10-6~quilt.7) experimental; urgency=low + + * 10-ccachedir-off-by-one.patch: Fixes an off-by-one in the parsing of the + -d option to rpc.gssd; patch from Liam Bedford, extracted from the Ubuntu + BTS. + + -- Steinar H. Gunderson Thu, 4 Jan 2007 20:40:49 +0100 + +nfs-utils (1:1.0.10-6~quilt.6) experimental; urgency=low + + * Make build depend on "patch build-stamp", not "build-stamp patch", which + would build without _any_ patches -- ouch. + + -- Steinar H. Gunderson Thu, 4 Jan 2007 15:56:42 +0100 + +nfs-utils (1:1.0.10-6~quilt.5) experimental; urgency=low + + * Make quilt build-dependency versioned to (>= 0.40), as per lintian + recommendation. + * Change a hyphen (-) to a minus (\-) in 07-exports-default-options.patch. + + -- Steinar H. Gunderson Thu, 4 Jan 2007 15:04:05 +0100 + +nfs-utils (1:1.0.10-6~quilt.4) experimental; urgency=low + + * 09-manpage-paths-fixup.patch: Fix up the paths to rpc.lockd and showmount + in the man pages; replaces the Perl one-liner we used to have in + debian/rules. + * Remove build-dependency on perl. + * Use $(CURDIR) instead of $(shell pwd) in debian/rules. + * Let build instead of build-stamp depend on patch; this makes sure we won't + be running configure and make every single time (since make sees that + "patch" does not exist, and thus thinks it needs to remake build-stamp). + + -- Steinar H. Gunderson Thu, 4 Jan 2007 14:16:47 +0100 + +nfs-utils (1:1.0.10-6~quilt.3) experimental; urgency=low + + * Remove obsolete DEB_* variables from debian/rules. + * Refresh 08-dont-build-getkversion.patch for consistency. + + -- Steinar H. Gunderson Thu, 4 Jan 2007 03:23:45 +0100 + +nfs-utils (1:1.0.10-6~quilt.2) experimental; urgency=low + + * 08-dont-build-getkversion.patch: Don't build getkversion, since it fails + when trying to build against newer kernel headers; it's not really used in + the package anyhow. Adapted from an Ubuntu patch by Tollef Fog Heen. + + -- Steinar H. Gunderson Tue, 2 Jan 2007 14:47:36 +0100 + +nfs-utils (1:1.0.10-6~quilt.1) experimental; urgency=low + + * 07-exports-default-options.patch: Support default options in exports(5), + like "/srv/www -rw,sync host1 host2 host3(ro)" (syntax borrowed from + OpenBSD). Also updates the exports(5) man page to explain the new syntax. + (Closes: #273188) + + -- Steinar H. Gunderson Tue, 26 Dec 2006 23:43:51 +0100 + +nfs-utils (1:1.0.10-6~quilt.0) experimental; urgency=low + + * Switch to quilt for patch management. + * Build-depend on quilt. + * Include /usr/share/quilt/quilt.make in debian/rules. + * Make the build target depend on "patch", and the clean target depend on + "unpatch". + * Replace debian/bzero.patch with debian/patches/01-bzero.patch (which + fixes the same issue but matches what we sent upstream), included + unconditionally. Also remove the debian/rules snippet to patch it. + * Split monolithic .diff.gz into diffs in debian/patches: + * 02-document-debian-init-scripts.patch: Make exports(5) man page + document that "/etc/init.d/nfs-kernel-server reload" works on Debian + and derivative distributions. + * 03-minor-manpage-fixes.patch: Misc. manpage fixes already sent + upstream, mostly with regard to - vs. \-. Will be included in 1.0.11. + * 04-document-sensitive-uids.patch: Document sensitive non-root uids and + gids. Will be included in 1.0.11. + * 05-refuse-non-ident-maptypes.patch: Give an error on non-ident map + types such as map_daemon. Pending inclusion upstream. + * 06-fix-no-tcp-short-option.patch: Fix the short option (-n) for + --no-tcp. Will be included in 1.0.11. + * Remove utils/rquotad/rquota.h and utils/rquotad/rquota_xdr.c on + debian/rules clean, to make sure they don't appear in the diff. + * Remove the nhfsstone package, as it is not fit for main; once upstream + removes it too (will happen in 1.0.11), this will fix #398058. + * Remove debian/nhfsstone.*. + * Remove nhfsstone section from debian/control. + * Remove the debhelper template copyright, as newer dh_make gives a + copyright exception. + * Change "#!/usr/bin/make -f" in debian/rules to "#! /usr/bin/make -f", for + good measure. + * Make indentation in debian/rules consistent. + + -- Steinar H. Gunderson Tue, 26 Dec 2006 21:03:50 +0100 + +nfs-utils (1:1.0.10-5) unstable; urgency=medium + + * The NFS kernel server does not support uid mappings, activated with flags + such as "map_daemon" in exports. There is already code that parses these + flags, and gives an error at mount time if an unsupported flag (ie. any + but the default) is given. However, at some point the kernel changed the + export interface, and the new code forgot to include the relevant check. + Thus, simply copy the check from the old to the new code, which makes + sure mountd behaves the same in this aspect regardless of kernel version, + and makes sure the admin does not inadvertedly use map_daemon and expect + it to work. (Closes: #403232) + + -- Steinar H. Gunderson Thu, 21 Dec 2006 12:13:10 +0100 + +nfs-utils (1:1.0.10-4) unstable; urgency=low + + * README.Debian.nfsv4 updates. + * Document how to mount using GSS; previously, we only documented server + setup. + * Change the section about setclientid in the light of the new util-linux + version. + * Fix a grammatical error in the exports(5) man page; patch from Joey + Schultze. (Closes: #396344) + + -- Steinar H. Gunderson Tue, 7 Nov 2006 02:57:21 +0100 + +nfs-utils (1:1.0.10-3) unstable; urgency=low + + * Copy the do_modprobe() definition from nfs-kernel-server.init to + nfs-common.init, fixing spurious warnings when running a non-modular + kernel. (Closes: #394810) + * Wrap README.Debian.nfsv4 at 80 columns. (Closes: #394916) + * In README.Debian.nfsv4, added a note about /etc/hosts entries containing + non-global IP addresses. + + -- Steinar H. Gunderson Wed, 25 Oct 2006 11:50:52 +0200 + +nfs-utils (1:1.0.10-2) unstable; urgency=low + + * Remove leftover log file from the .diff.gz. + * Build package with -O2; it got lost somewhere along the way. + * Replace - by \- in man pages (exports, nfsstat, showmount) where + appropriate. + * Add Required-Stop to the nfs-common and nfs-kernel-server init script + blocks to match the Required-Start directives. + * Finally remove DH_VERBOSE=1 from debian/rules. + * Add a reference to Trond Myklebust's client patch sets in + README.Debian.nfsv4. + * Handle issues with the nfs entries missing in /etc/services. (Closes: + #392276). + * Depend on netbase (>= 4.24), to make sure we have a version that has the + entries in the first place. + * Document that the entries might be missing still in README.Debian.nfsv4 + (in case the user refused to replace a modified version of + /etc/services), and that they might need re-adding. + * Make the init script check that the lines are there before starting + rpc.gssd, and refer to the README otherwise. + + -- Steinar H. Gunderson Wed, 11 Oct 2006 15:15:49 +0200 + +nfs-utils (1:1.0.10-1) unstable; urgency=low + + * New upstream release. + * Fixes issues with missing write_oid() function. (Closes: #386117) + * Drop versioned dependency on libnfsidmap1, now that libnfsidmap-dev has + fixed shlibs. This makes it possible to build against libnfsidmap2. + (Closes: #386116) + * Update README.Debian.nfsv4. + * Remove the part about a patched mount; the NFSv4 patch has been enabled + in mount for some time. + * Note that the special export structure might go away in the future. + * Note that you will need idmapd and possibly gssd/svcgssd enabled. + + -- Steinar H. Gunderson Wed, 6 Sep 2006 00:30:32 +0200 + +nfs-utils (1:1.0.9-12) unstable; urgency=low + + * Really remove dependency on sysvinit. + + -- Steinar H. Gunderson Tue, 5 Sep 2006 13:59:29 +0200 + +nfs-utils (1:1.0.9-11) unstable; urgency=low + + * In the exports man page, document that there might be sensitive non-root + gids as well as uids, for instance gid staff. (Closes: #385377) + * Remove unnecessary dependency on sysvinit, in line with the Ubuntu + packages. + * Change the versioned build-dependency on librpcsecgss-dev (>= 0.14-2) + to a build-conflict on 0.14-1, as that is the only version, and it's + easier for backports and other distributions without the new version of + librpcsecgss. + + -- Steinar H. Gunderson Thu, 31 Aug 2006 01:53:45 +0200 + +nfs-utils (1:1.0.9-10) unstable; urgency=low + + * The -n option (short option for --no-tcp) to rpc.mountd was set + to take a parameter, even though --no-tcp doesn't take any, the + parameter is never used and the help doesn't mention any. Remove + the colon after 'n' in the getopt string to fix it. + * Add a versioned dependency from nfs-common to libnfsidmap1 (>= 0.16-3) + temporarily, to work around #384688. + + -- Steinar H. Gunderson Sat, 26 Aug 2006 03:29:09 +0200 + +nfs-utils (1:1.0.9-9) unstable; urgency=medium + + * Patched svc_socket.c to define __bzero only on ia64. + Closes: #384552. + + -- Anibal Monsalve Salazar Fri, 25 Aug 2006 11:45:07 +1000 + +nfs-utils (1:1.0.9-8) unstable; urgency=medium + + * In the init scripts, don't attempt to use pid files; the daemons don't + leave them, and --make-pidfile gives wrong pid files since all the daemons + fork by themselves. Thus, multiple invocations of "start" could leave + multiple daemons lying around, which could cause all sorts of problems. + + -- Steinar H. Gunderson Thu, 17 Aug 2006 17:24:11 +0200 + +nfs-utils (1:1.0.9-7) unstable; urgency=low + + * New sourceful upload to force rebuild against librpcsecgss3, to get all + architectures in sync and make sure rpc.gssd actually has a proper library + to link against. + * Build-depend against librpcsecgss-dev (>= 0.14-2), since that's when + the package name bump happened. + + -- Steinar H. Gunderson Sat, 12 Aug 2006 19:55:35 +0200 + +nfs-utils (1:1.0.9-6) unstable; urgency=low + + * Enable idmapd by default if we find an /etc/exports file, as NFSv4 exports + need idmapd. (See the init script for the complete reasoning). Also start + nfs-common on initial installation of nfs-kernel-server, as we don't want + to reboot or restart nfs-common manually just to get idmapd working the + first time. (Closes: #381366) + + -- Steinar H. Gunderson Mon, 7 Aug 2006 21:27:37 +0200 + +nfs-utils (1:1.0.9-5) unstable; urgency=low + + * Put rpc.svcgssd back into place; removing it was obviously not what + upstream intended to do after all. (Closes: #378686) + * Add rpc.svcgssd to nfs-kernel-server.install. + * Add the svcgssd(8) man page, as well as the rpc.svcgssd(8) symlink. + * Add NEED_SVCGSSD and RPCSECGSSDOPTS options to nfs-kernel-server.default. + * Start and rpc.svcgssd in the nfs-kernel-server init script. Currently, + no autodetection is done; you'll need to enable it manually. (We can't + start it regardless, since it bombs out if there is no adequate nfs/* + entry in the keytab.) + * Remove obsolete RPCGSSDOPTS option from the nfs-kernel-server init script. + + -- Steinar H. Gunderson Wed, 19 Jul 2006 14:06:33 +0200 + +nfs-utils (1:1.0.9-4) unstable; urgency=low + + * Remove versioned dependency on coreutils, as we don't use it indirectly, + only via ucf (so the dependency should be there). This makes the package + somewhat easier to backport to sarge. + * Remove the word "Debian" from our patch against the exports(5) man page, + as Debian is not the only distribution using these packages. + + -- Steinar H. Gunderson Sun, 16 Jul 2006 01:59:13 +0200 + +nfs-utils (1:1.0.9-3) unstable; urgency=low + + * Don't automatically assume that the kernel is modular if /sbin/modprobe + is available, check for /proc/modules as well; patch from Nicolas + Trecourt. (Closes: #377685) + + -- Steinar H. Gunderson Thu, 13 Jul 2006 21:39:08 +0200 + +nfs-utils (1:1.0.9-2) unstable; urgency=low + + * Merge changes from 1.0.9-1 and 1.0.9pre1-4: + * Disable mount.nfs once again; it's not ready for regular use according + to upstream. + * Revert mount options patch to mount.nfs; it's irrelevant as long as we + don't install the binary. + * Install the new rpcdebug program. + * Remove the {mount,umount}.nfs manpages. + + -- Steinar H. Gunderson Sun, 9 Jul 2006 00:16:54 +0200 + +nfs-utils (1:1.0.9-1) unstable; urgency=high + + * Updated co-mantainer mail address. + * New upstream release. + - Added 'mount.nfs' utility which can be used as a mount helper + to mount nfs filesystems. It does not yet support 'user' mounts. + - Makefile/autoconf tidyups + - No compiles with no warnings + - deleted debian/* at request of debian maintainer + - deleted assorted other unused files + - mountd can be run multi-threaded for configurations with many hundreds + of clients (mountd -t 20). Default is single-threaded + - Support for selection NFS version to be exported, and protocol to + use. This requires kernel patches that should be in linux 2.6.19. + - Use 65534 rather than -2 for default anon. This makes no difference in many + cases, but is important in some. + - New utility 'rpcdebug' for controlled kernel 'debug' options for nfs and nfsd. + - nfsstat reports NFSv4 operation statistics that should be available in + linux 2.6.18. + - assorted other fixes + + -- Anibal Monsalve Salazar Sat, 08 Jul 2006 14:26:40 +1000 + + +nfs-utils (1:1.0.8+1.0.9pre1-4) unstable; urgency=low + + * Back out having separate mount.nfs; this is in line with upstream, who + wants to delay this to 1.0.10. + * No longer install {mount,umount}.{nfs,nfs4} to /sbin. + * Revert patch applied in -3. + + -- Steinar H. Gunderson Sat, 8 Jul 2006 16:43:38 +0200 + +nfs-utils (1:1.0.8+1.0.9pre1-3) unstable; urgency=high + + * Add patch from upstream to check for common mount options like "user" + or "noauto". (Closes: #376839) + * Remove obsolete copying of config.{sub,guess} in debian/rules. + + -- Steinar H. Gunderson Fri, 7 Jul 2006 21:12:06 +0200 + +nfs-utils (1:1.0.8+1.0.9pre1-2) unstable; urgency=low + + * Provide LSB dependency information in the nfs-common and nfs-kernel-server + init scripts; replaces the obsolete chkconfig info. (Closes: #376976) + * Update the long descriptions. + + -- Steinar H. Gunderson Thu, 6 Jul 2006 19:37:58 +0200 + +nfs-utils (1:1.0.8+1.0.9pre1-1) unstable; urgency=low + + * New upstream release. + * debian/ directory removed from upstream; no need to repack or do ugly + hacks in debian/rules anymore. + * Obsoletes most Debian-specific patches, as they are already included + upstream. For reference, the patches that are still Debian-specific are: + * Use 65534 instead of -2 for anonuid, update manpage accordingly. + * Debian-specific information in exports man page. + * Don't use -rpath for gssd. + * Hardcode default mapping in svcgssd. Adjust patch to use uid/gid + 65534 instead of -2, for consistency; also remove double error + message. + * Spelling fixes in nfsstat, showmount and statd man pages. + * Supports options to bind to specific IPs. (Closes: #246939, #312720) + * Include mount.nfs and friends, which will over time take over the job of + doing NFS mounting from util-linux. + * Complete sync with Ubuntu: + * Pull in changes to use LSB display functions in init scripts; adapted + to give output more like what was already in Debian, to fix a few bugs, + and use plain echo in "status" targets, where using LSB functions makes + no sense. + * Depend on lsb-base from nfs-common and nfs-kernel-server. + * Init script updates: + * Document "status" option in the nfs-common init script's help message. + * Drop "set -e"; it makes error checking wrt. the LSB functions harder. + * Drop obsolete "cd /". + * Fix syntax errors in "status" target. + * In the "status" target, don't check that the output of pidof matches the + pidfiles for gssd and idmapd, as they fork after start and thus get a + different pid. + * Include gss_clnt_send_err and gss_destroy_creds binaries. + + -- Steinar H. Gunderson Tue, 4 Jul 2006 18:55:51 +0200 + +nfs-utils (1:1.0.8-10) unstable; urgency=high + + * Added nfs-common dependency on coreutils (>= 5.93-1). The readlink + option -e was introduced since version 5.91 of coreutils. Closes: + #376285. + + -- Anibal Monsalve Salazar Sun, 02 Jul 2006 09:53:16 +1000 + +nfs-utils (1:1.0.8-9) unstable; urgency=high + + * svcgssd_proc.c: Temporary patch to do default mapping if we get an + error while trying to map a gss principal to the appropriate uid/gid. + This currently returns hardcoded values. Closes: #376258. + + -- Anibal Monsalve Salazar Sat, 01 Jul 2006 22:30:11 +1000 + +nfs-utils (1:1.0.8-8) unstable; urgency=low + + * Include yet more ucf md5sums for /etc/default/nfs-common and + /etc/default/nfs-kernel-server (/etc/exports was already OK); this time, + I've gone through the entire 1.0.7 series programmatically, so hopefully + there should finally be none left. + + -- Steinar H. Gunderson Wed, 14 Jun 2006 10:47:23 +0200 + +nfs-utils (1:1.0.8-7) unstable; urgency=low + + * For some odd reason (ie. human error) this package has branched into two + different versions from 1:1.0.8-5 on. This package rejoins the two branches. + The changelog from the other 1:1.0.8-5 (which was probably never accepted + except as part of 1:1.0.8-6) is repeated for convenience and automated bug + closing below: + * Patch nfs-common and nfs-kernel-server init scripts to make them more LSB + compatible, fixing issues with heartbeat2; based on patches by Kilian + CAVALOTTI. (Closes: #371084, #371085) + * Add --oknodo to start-stop-daemon in start targets, to make a second + "start" invocation return exit status 0. + * Add status targets to the two init scripts, with correct output and + exit codes. + + -- Steinar H. Gunderson Thu, 08 Jun 2006 17:31:28 +0200 + +nfs-utils (1:1.0.8-5) unstable; urgency=low + + * Make nfs-kernel-server depend on at least version 1.0.8 of nfs-common; + lots of stuff will break with an upstream version mismatch. + + -- Steinar H. Gunderson Wed, 7 Jun 2006 01:13:28 +0200 + +nfs-utils (1:1.0.8-4) unstable; urgency=low + + * Fix a few spelling errors in the man pages; patches from A Costa. + (Closes: #370561, #370562, #370563) + + -- Steinar H. Gunderson Tue, 6 Jun 2006 11:59:28 +0200 + +nfs-utils (1:1.0.8-3) unstable; urgency=low + + * The "what the heck, I uploaded an outdated 1:1.0.8-1 release without + the pkg-config fix and some other changes" release. + * Tweaks to debian/rules: + * Drop --sourcedir=debian/tmp from dh_install so we can also install files + directly from the debian/ directory. + * Minimize direct uses of install; move all the ucf installation into the + debhelper .install files. + * Remove some obsolete comments. + * Remove empty (modulo #DEBHELPER# tokens) nhfsstone.{postinst,prerm} + scripts. + * Clear out obsolete (pre-sarge) debconf and rc.d purging from postinst + script. (Same as in 1:1.0.7-10, but for nfs-kernel-server too, not just + nfs-common.) Minor style cleanup. + * Include the md5sum for /etc/default/nfs-kernel-server from 1:1.0.7-13, + to make ucf not complain when upgrading from that version. + + -- Steinar H. Gunderson Sat, 3 Jun 2006 11:00:14 +0200 + +nfs-utils (1:1.0.8-2) unstable; urgency=low + + * Added missing dependency on pkg-config. + + -- Anibal Monsalve Salazar Fri, 02 Jun 2006 19:08:11 +1000 + +nfs-utils (1:1.0.8-1) unstable; urgency=low + + * New upstream version. (Closes: #364902) + * Repack without the debian/ directory; remove ugly hacks in + debian/rules that as a result are no longer needed. This also makes + the permissions in debian/ right. + * Forward-port all relevant patches from the old Debian diff. + * rpc.svcgssd no longer exists (it's consolidated into rpc.gssd); remove + all references to it in from the debian/ directory. + * Build-depend on libgssapi-dev and librpcsecgss-dev, as both as now + needed to build nfs-utils. + * Give DESTDIR instead of install_prefix to "make install" (install_prefix + no longer works). + * No longer handle gssapi_mech.conf via ucf; it is now managed by the + librpcsecgss package. Remove all references to it in debian/rules. + * We no longer need to run autoconf as a part of debian/rules; its results + are parts of the diff instead, as per usual packaging practices. + * Drop the build-dependency on autoconf2.13 and autotools-dev. + * No longer rm various autotools-generated files in the clean target. + + -- Steinar H. Gunderson Thu, 1 Jun 2006 01:59:39 +0200 + +nfs-utils (1:1.0.7-19) unstable; urgency=low + + * Include the md5sum for /etc/default/nfs-common from 1:1.0.7-15, to + make ucf not complain when upgrading from that version. (Closes: #368982) + + -- Steinar H. Gunderson Sat, 27 May 2006 12:54:50 +0200 + +nfs-utils (1:1.0.7-18) unstable; urgency=low + + * Make /etc/exports, /etc/default/nfs-{common,kernel-server}, + /etc/idmapd.conf and /etc/gssapi_mech.conf be managed by ucf + instead of being conffiles. (Closes: #353501) + * Make directories /usr/share/nfs-{common,kernel-server}/conffiles, + and install files in there at debian/rules time. At the same time, + install the files with install instead of cp. + * Call ucf at postinst time to get the files in. + * Correspondingly, call ucf at purge time to remove them as needed (code + snippets lifted from autofs). + * Make nfs-common and nfs-kernel-server depend on ucf. + * Remove the call to dh_installinit -- since it was already not modifying + postinst/postrm/prerm scripts due to being called with -n (I must admit + I don't know why, but I assume this has a good reason :-) ) and we now + install the init script ourself (because we don't want dh_installinit + to install our .default files to /etc), it doesn't do anything useful + for us. + * Include .md5sum files with MD5 checksums of previous defaults shipped, + to ease the transition into ucf; at the moment, only checksums from + 1:1.0.7-17 (the last non-ucf version) and 1:1.0.6-3.1 (the version + shipped in sarge) are included, but I think that should actually cover + all the defaults shipped in the period between as well. + * Install the .md5sum files in debian/rules. + * Remove call to dh_installexamples in debian/rules; we don't install any + examples. + + -- Steinar H. Gunderson Mon, 22 May 2006 01:44:33 +0200 + +nfs-utils (1:1.0.7-17) unstable; urgency=low + + * The umounting of rpc_pipefs is non-critical and will fail if there are + any active NFS mounts during, say, a restart. Thus, send its stderr to + /dev/null, and ignore its error status. + * Build-Depend on perl, as it's used in debian/rules. + + -- Steinar H. Gunderson Sun, 14 May 2006 18:22:19 +0200 + +nfs-utils (1:1.0.7-16) unstable; urgency=high + + * urgency=high; fixes an RC bug. + * If one upgraded from 1:1.0.7-13, /var/lib/nfs might never be set as owned + by statd. Bump the version check, so everything before this version gets + chowned properly. (Closes: #367009) + * Add more detailed explanations and links to the Debian wiki for + /etc/defaults/nfs-{common,kernel-server}. (Closes: #366989, #366990) + + -- Steinar H. Gunderson Sat, 13 May 2006 16:06:08 +0200 + +nfs-utils (1:1.0.7-15) unstable; urgency=low + + * /var/lib/nfs/state is not a directory; it shouldn't really be mkdir-ed + or chowned (unless it already exists, in which case it should be + chowned). However, /var/lib/nfs should be owned by statd, so it can + create the file there. (Really Closes: #366654) + * umount /var/lib/nfs/rpc_pipefs on /etc/init.d/nfs-common stop; not doing + so could prevent purging of nfs-common. + + -- Steinar H. Gunderson Thu, 11 May 2006 12:42:13 +0200 + +nfs-utils (1:1.0.7-14) unstable; urgency=high + + * urgency=high; fixes RC bugs (or at least, bugs that should have been RC). + * Add /var/lib/nfs/state to nfs-common.dirs, since we chown it in the + postinst. This would prevent nfs-common from configuring on initial + install. (Closes: #366654) + * Grep after "init_nf(sd|)" instead of "init_nfsd" in kallsyms, to work + around some odd symbol mangling problems on some alpha kernels. + (Closes: #363932) + + -- Steinar H. Gunderson Wed, 10 May 2006 22:00:59 +0200 + +nfs-utils (1:1.0.7-13) unstable; urgency=low + + * Up the Standards-Version to 3.7.2; no changes needed. + * Tidy up after the /home/statd mess if there was a chance the user ever + had 1:1.0.7-10 installed; based on patch from Oskar Liljeblad. + (Closes: #366182) + * Fix the version check for the chown-ing of /var/lib/nfs/sm etc.; I + forgot to include the epoch, so only new installs ever got statd running + as non-root. (Due to this, the version number to test against is of course + also bumped.) + + -- Steinar H. Gunderson Sat, 6 May 2006 01:50:10 +0200 + +nfs-utils (1:1.0.7-12) unstable; urgency=low + + * Move the home directory again (by request), this time to /var/lib/nfs. + + -- Steinar H. Gunderson Wed, 3 May 2006 21:27:18 +0200 + +nfs-utils (1:1.0.7-11) unstable; urgency=low + + * When creating statd user, create it with a home directory of /nonexistant; + it doesn't really require a home directory. (Closes: #365514, #365721) + * Fix the signal number for USR1 (actually, use the name instead) in + nhfsrun. (Closes: #365657) + + -- Steinar H. Gunderson Wed, 3 May 2006 19:51:17 +0200 + +nfs-utils (1:1.0.7-10) unstable; urgency=low + + * Intermediate 1.0.7 release, waiting for librpcsecgss to be uploaded into + Debian so we can upload 1.0.8. + * Clarify what the NEED_* options in /etc/default/nfs-common mean. + (Closes: #364625) + * Make /var/lib/nfs/{sm,sm.bak,state,rpc_pipefs} be owned by a new "statd" + user (created in postinst), causing rpc.statd to be run as that user + instead of root. (Closes: #240689) + * Make nfs-common depend on adduser. + * Clear out obsolete (pre-sarge) debconf and rc.d purging from postinst + script. + * Use invoke-rc.d in nfs-common and nfs-kernel-server prerms instead of + calling the /etc/init.d script directly; fixes two lintian warnings. + + -- Steinar H. Gunderson Thu, 27 Apr 2006 00:32:27 +0200 + +nfs-utils (1:1.0.7-9) unstable; urgency=low + + * When checking for nfsd support in the kernel, check for init_nfsd + (which is a function) rather than nfsd_version (which is a variable); + kernels compiled without CONFIG_KALLSYMS_ALL=y have only the former. + (Closes: #361026) + + -- Steinar H. Gunderson Thu, 6 Apr 2006 13:31:48 +0200 + +nfs-utils (1:1.0.7-8) unstable; urgency=low + + * Don't complain about missing sync/async for a read-only export. + (Closes: #265409) + * Implement --state-directory-path for rpc.mountd; most code borrowed + from rpc.statd. (Closes: #352387) + * Update mountd.man accordingly. + + -- Steinar H. Gunderson Wed, 5 Apr 2006 22:54:09 +0200 + +nfs-utils (1:1.0.7-7) unstable; urgency=high + + * urgency=high, fixes an RC bug. + * Let the init script test for kernel support before trying to start + nfs-kernel-server. (Closes: #360420) + * Include help on how to activate /etc/exports changes; text from + Martin Pool. (Closes: #239286) + * Document sync option in exports man page. (Closes: #297135) + * Give an example in /etc/exports. (Closes: #345460) + * Write a mini-HOWTO on how to get NFSv4 up and running. (Closes: #294468) + * Install it in debian/rules. + + -- Steinar H. Gunderson Wed, 5 Apr 2006 18:15:20 +0200 + +nfs-utils (1:1.0.7-6) unstable; urgency=low + + * Let the man-page fixup script in debian/rules look for the man pages in + the right place. + * Modprobe nfs4 along with nfs in the nfs-common init script. Also modprobe + rpcsec_gss_krb5 before we start gssd. + * Implement autodetection for NEED_IDMAPD and NEED_GSSD, based on /etc/fstab. + * Add a note to the top of /etc/defaults/nfs-common that the default is to + autodetect. + * Move /var/lib/nfs/rpc_pipefs from nfs-kernel-server.dirs to + nfs-common.dirs; it's needed by the client as well. + * Let dh_install install from debian/tmp/ instead of debian/tmp; it fixes + minor aesthetic issues in the build log. + + -- Steinar H. Gunderson Sat, 1 Apr 2006 02:46:53 +0200 + +nfs-utils (1:1.0.7-5) unstable; urgency=low + + * Non-non-maintainer-upload this time, it seems. :-) + * Don't let the init script fail if there wasn't any lockd threads to kill; + this could cause the package to fail configuration. + * Move to debhelper compatibility level 5. + * Use dh_install instead of dh_movefiles (actually a combination was used + earlier). Move stuff from *.files accordingly into *.install. + * mkdir debian/tmp manually before doing make install, and remove it + in the clean target. + * Use straight cp -a instead of dh_install for the files that _don't_ + come from debian/tmp/ (the two /etc files). + * Fix the "fixups" part in debian/rules to reflect the behaviour of + dh_install compared to dh_movefiles (ie. don't rm lots of stuff in + debian/tmp, etc.). + * Make a debian/nfs-kernel-server.install listing explicitly the files + we want in that package; with dh_movefiles everything from make install + was implicitly put there. This has the side effect that the man pages + for rpc.gssd and idmap.conf are no longer put in nfs-kernel-server, but + in nfs-common, where they should be. + * Use dh_installman to install the manpages, to make sure they're in the + right place (and move the manpage lists from *.files to *.manpages + accordingly). List the rpc.* variants of the manpages in *.links, + instead of assuming dh_compress (!) will make them for us. Bonus points + for then not including the nonsensical rpc.* variants, such as + rpc.idmapd.conf(5). + * Don't mv lockd, statd and showmount manually from /usr/sbin to /sbin; + let the .install file do it for us. + * Remove *.conffiles; debhelper now sets everything in /etc as conffiles + automatically. + * Extend the debian/rules rm hack to the files we removed in this version + (ick). + * In debian/control, make nfs-common replace nfs-kernel-server + (<< 1:1.0.7-5), since the idmapd manpage switched packages. + * Remove old cruft in debian/rules file: + * Remove non-used dh_* programs. + * Remove obsolete source and diff targets. + * Remove SETGCC hack. + * Don't set rpath for rpc.gssd and rpc.svcgssd (fixes lintian warnings). + + -- Steinar H. Gunderson Tue, 28 Mar 2006 02:57:23 +0200 + +nfs-utils (1:1.0.7-4) unstable; urgency=low + + * Ack NMU. Thanks Steinar H. Gunderson. + Closes: #239230, #245449, #246904, #247473, #248300, #252081, + #287026, #294928, #303497, #310940, #323460, #326663, #332047, + #337836, #338292, #359024. + * Added Steinar H. Gunderson and Daniel Baumann as uploaders. + * Added homepage to package descriptions. + * Set Standards-Version to 3.6.2. + * Fixed outdated-autotools-helper-file. + + -- Anibal Monsalve Salazar Mon, 27 Mar 2006 13:22:51 +1100 + +nfs-utils (1:1.0.7-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Set u+w on all files in debian/, so dch etc. actually works. + * Add /var/lib/nfs/v4recovery to nfs-kernel-server.dirs. (Closes: #337836). + * Add /var/lib/nfs/rpc_pipefs to nfs-kernel-server.dirs. (Closes: #310940). + * Fix problems with exportfs -o when there are multiple entries of the same + type for the same path that match a given client; patch from Fumihiko + Kakuma. (Closes: #245449) + * Start nfs-kernel-server even if /etc/exports is empty, as long as it + exists; patch from Alexis Huxley. (Closes: #246904) This patch also + happens to fix and thus Closes: #338292. + * When stopping daemons, do it even if they do not run as root; based on a + patch from Andreas Schmidt. (Closes: #247473) + * SIGKILL kernel lockd thread on stop, to make the kernel release all its + locks; patch from Jeffrey Layton. (Closes: #252081) + * Flush the kernel export table on stop; patch from Jeffrey Layton + (Closes: #248300). + * Change default root-squashed uid from -2 to 65534; the former changes + depending of the size of uid_t, and we want it to match the user "nobody" + (which has uid 65534). (Closes: #323460) + * Remove dependency on debconf, as it's no longer used. Also, don't run + dh_installdebconf anymore. (Closes: #332047) + * Check for /sbin/modprobe before using it, for non-modular kernels; + patch from Vincent Crvt. (Closes: #294928) + * Replaced the rather emtpy nhfsstone long description by the one from + its manpage. (Closes: #303497) + * Don't ship upstream README anymore, as it's not relevant for our users. + (Closes: #326663) + * Add the ability to start nfs-kernel-server niced; patch from Kimmo + Tervinen. (Closes: #287026) + * Escape '#' when writing export entries, so they are not mistakenly parsed + as comments when re-reading them. (Closes: #239230) + * Also Closes: #359024 automatically by recompiling package. + + -- Steinar H. Gunderson Sun, 26 Mar 2006 14:57:50 +0200 + +nfs-utils (1:1.0.7-3) unstable; urgency=medium + + * New maintainer, closes: #303559. + + -- Anibal Monsalve Salazar Fri, 08 Apr 2005 11:25:17 +1000 + +nfs-utils (1:1.0.7-2) unstable; urgency=low + + * Orphaning package. + * Upstream CVS sync: + > Support "no_acl" export option, for the few specially patched + kernels that understand it. (Closes: #253824) + > Fix FTBTS on amd64. (Closes: #297729) + > Update config.{guess,sub}. (Closes: #300552) + + -- Chip Salzenberg Thu, 7 Apr 2005 09:07:24 -0400 + +nfs-utils (1:1.0.7-1) unstable; urgency=medium + + * Acknowledge NMU; thanks to joeyh. (closes: #287053) + * New upstream version: + > Add support for NFSv4. + > Ignore SIGPIPE, fixing a remote DOS. Note that the previous + NMU already fixed this bug. (CAN-2004-1014) + > At long last, fix "erroneous SM_UNMON" warnings. (closes: #165744) + + -- Chip Salzenberg Tue, 11 Jan 2005 23:31:05 -0500 + +nfs-utils (1:1.0.6-3) unstable; urgency=medium + + * Remove obsolete debconf-related files in debian/rules, because source + diffs don't implement removals. (closes: #239331) + + -- Chip Salzenberg Wed, 24 Mar 2004 18:09:21 -0500 + +nfs-utils (1:1.0.6-2) unstable; urgency=medium + + * Upstream CVS sync. + * Urgency "medium" to get debconf fix into testing. + * Remove debconf warning notes in favor of nfs-kernel-server.NEWS. + (closes: #228365) + * Make /etc/exports a conffile. (closes: #224557) + * Clean up /var/lib/nfs in postrm. + * Test kernel version in init script; all kernels from 2.4 forward + have a lockd thread, and don't need rpc.lockd. Probe older kernels + by checking for lockd-related symbols. When in doubt, go ahead and + run rpc.lockd; if it's not needed, it exits. (closes: #205867) + * Don't bother removing nfs-server's init links; it's long dead. + + -- Chip Salzenberg Thu, 18 Mar 2004 17:06:00 -0500 + +nfs-utils (1:1.0.6-1) unstable; urgency=low + + * New upstream version: + > Workaround glibc bug with large fd rlimits. + * Japanese debconf translation from Kenshi Muto . + (closes: #209370) + + -- Chip Salzenberg Fri, 12 Sep 2003 12:47:58 -0400 + +nfs-utils (1:1.0.5-3) unstable; urgency=high + + * Upstream CVS sync: + > Fix crash on invalid reverse DNS. (closes: #209318) + + -- Chip Salzenberg Tue, 9 Sep 2003 14:02:46 -0400 + +nfs-utils (1:1.0.5-2) unstable; urgency=low + + * Upstream CVS sync: + > Improve support for 2.6.0 /proc interface. + * Use po-debconf. Patch from Andre Luis Lopes , + with improved French from Christian Perrier . + (closes: #187866, #202196) + + -- Chip Salzenberg Wed, 20 Aug 2003 17:03:44 -0400 + +nfs-utils (1:1.0.5-1) unstable; urgency=high + + * New upstream version: + > Don't use freed memory. (closes: #201311, #201598, #201873) + > Fix mountd -o arg. (closes: #197355) + + -- Chip Salzenberg Thu, 24 Jul 2003 15:40:12 -0400 + +nfs-utils (1:1.0.3-2) unstable; urgency=high + + * Upstream CVS sync: + > Fix one-byte buffer overflow in logging code. + + -- Chip Salzenberg Tue, 10 Jun 2003 11:11:56 -0400 + +nfs-utils (1:1.0.3-1) unstable; urgency=low + + * New upstream version: + > Support reading and writing export cache in /proc/rpc/*/channel, + as current syscall interface may not survive into 2.6 on all archs. + + -- Chip Salzenberg Wed, 26 Mar 2003 11:38:52 -0500 + +nfs-utils (1:1.0.2-2) unstable; urgency=medium + + * Upstream CVS sync: + > Fix one-byte buffer overflow with no apparent security implications. + (It's a readlink on a path that should be writable only to root.) + * Make nfs-{common,kernel-server} depend on sysvinit 2.80-1 for invoke-rc.d. + * Make nfs-common depend on debconf (long overdue). + * Fix package description to name nfs-user-server as an alternative, rather + than "nfs-server" (which no longer exists). + + -- Chip Salzenberg Wed, 12 Feb 2003 21:27:24 -0500 + +nfs-utils (1:1.0.2-1) unstable; urgency=high + + * New upstream version: + > Allow program stdin to be a non-INET socket. (closes: #142557) + * Start nfs-common after nfs-kernel-server so that the server is running + when statd restarts; without this change, a rebooting server may make + clients lose mounts. (This postinst removes bad rc.d links from old + packages.) From Philippe Troin . (closes: #160800) + * Make init scripts exit with non-zero status when daemons don't start. + * Add titles to templates where I forgot them. (closes: #158489) + * Add /etc/default/{nfs-common,nfs-kernel-server} so setting random + parameters doesn't require editing init scripts. (closes: #131539) + * Split templates into separate files, and add French templates. + (closes: #134630) + * Use invoke-rc.d to avoid premature daemon starts. (closes: 158574) + * Change priority of nfs-kernel-server to 'optional'. + + -- Chip Salzenberg Sun, 15 Sep 2002 22:00:27 -0400 + +nfs-utils (1:1.0.1-1) unstable; urgency=low + + * New upstream version: + > BIG CHANGE: Exports default to "sync", that is, synchronous writes. + This is safer but MUCH SLOWER than the old default of "async". + All exports should be marked as either "sync" or "async" to avoid a + warning from exportfs. + * Patches from CVS through 2002-08-26. + * Let init script start statd on a specific port. (closes: #144344) + * Fix typo in debconf message about tcpwrappers. (closes: #128709) + * Fix typo in rpc.nfsd(8). (closes: #152556) + * Add Russian templates. (closes: #136599, #136932) + + -- Chip Salzenberg Mon, 26 Aug 2002 12:17:57 -0400 + +nfs-utils (1:1.0-2) unstable; urgency=low + + * Fail an export if its mapping option is unsupported. (closes: #85678) + + -- Chip Salzenberg Wed, 2 Jan 2002 15:52:37 -0800 + +nfs-utils (1:1.0-1) unstable; urgency=medium + + * New upstream version. (Version number is only change.) + * Urgency "medium" so woody users see the pretty new version number. + (Yeah, it's shallow... but, doggone it, this is mature code.) + + -- Chip Salzenberg Wed, 26 Dec 2001 20:21:15 -0800 + +nfs-utils (1:0.3.3-6) unstable; urgency=high + + * Upstream fixes: + > Ignore case when comparing host names. + > Use all addresses of multi-homed hosts in export processing. + > When reading /proc/fs/nfs/exports, assume noasync and nowgather; + older kernels did so, while newer kernels report them explicitly. + > Remove man page refs to "hosts_allow(5)". (closes: #122540) + > In exports.5: Emphasize the need for options to immediately follow + client names. Explain that wildcards don't usually work on addresses, + but may work when reverse DNS fails. (closes: #118040, #116039) + + -- Chip Salzenberg Wed, 26 Dec 2001 18:54:35 -0800 + +nfs-utils (1:0.3.3-5) unstable; urgency=high + + * Keep NFS fully operational during upgrade. (closes: #76544) + * When calling update-rc.d, send stdout to /dev/null, but not stderr. + + -- Chip Salzenberg Thu, 13 Dec 2001 18:50:47 -0800 + +nfs-utils (1:0.3.3-4) unstable; urgency=high + + * High priority due to changes in previous version. + * Upstream fixes: + > Close filehandles in nfsd before spawing kernel threads. This is a + workaround for a kernel bug. (closes: #121213) + > Document that both host names *and* addresses are checked with tcpwrappers. + This is a doc update, not a change. (closes: #108493) + > Don't assume that strings starting with digits are IP addresses; + host names are allowed to start with digits. (closes: #68977) + * German template for nfs-common. (closes: #120939) + + -- Chip Salzenberg Mon, 26 Nov 2001 11:50:43 -0800 + +nfs-utils (1:0.3.3-3) unstable; urgency=low + + * Upstream fixes: + > Accept obsolete mount option "crossmnt" for parsing old xtab files + after upgrade. (closes: #78801) + > Put filenames into more error messages. + * Stop debconf before starting nfsd to avoid a hang. Kernel threads + like nfsd aren't supposed to inherit open files from the programs that + start them, but nfsd does. See debconf tutorial. (closes: #115817) + * Rebuild with current glibc. (closes: #119545) + * Carefully account for ownership of /var/lib/nfs/*. (closes: #117258) + * Warn about statd using tcpwrappers. (closes: #92666) + * Only warn about mountd's tcpwrappers name change if the old name + appears in the tcpwrapper config files. + * German template for nfs-kernel-server. (closes: #117196) + + -- Chip Salzenberg Wed, 21 Nov 2001 18:30:36 -0800 + +nfs-utils (1:0.3.3-2) unstable; urgency=high + + * The "Test It Before Release, Stupid" release. + * Repair total failure of rpc.mountd. (closes: #115095) + + -- Chip Salzenberg Thu, 11 Oct 2001 13:03:45 -0700 + +nfs-utils (1:0.3.3-1) unstable; urgency=medium + + * The "Life Goes On" release. + * New upstream version. (closes: #113042) + > Avoid DNS when unexporting... important for shutdown. + > Recognize double-quote and \octal quoting in pathnames. + > Print pathnames with \octal quoting as necessary. + * Depend on a version of glibc that restores rpcinfo to its rightful + place. (closes: #102400) + * Fix pathname in mountd doc. (closes: #112088) + * debian/nfs-kernel-server.postinst: Remove rc.d symlinks to old + nfs-server init script, which doesn't realize when it's been removed. + (closes: #97099) + * Warn users about "rpc.mountd" -> "mountd" in /etc/hosts.{allow,deny}. + This marks my first use of debconf! W00T! (closes: #92671) + + -- Chip Salzenberg Mon, 8 Oct 2001 15:04:08 -0700 + +nfs-utils (1:0.3.2-2) unstable; urgency=low + + * Rebuild with new libc. (closes: #97252, #97455, #99829, #100317) + * Fix typo in nfs-kernel-server init script. (closes: #100380) + * Start all daemons in root directory. + + -- Chip Salzenberg Fri, 15 Jun 2001 15:57:18 -0700 + +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. + * Incorporate (but not all) Bug Party changes by David LaBissoniere + : + > Mention upstream source and license in copyright file. (closes: #79997) + > Add Build-Depends for debhelper and libwrap0-dev. (closes: #84131) + + -- Chip Salzenberg Mon, 26 Feb 2001 16:51:15 -0800 + +nfs-utils (1:0.3-2) unstable; urgency=low + + * Upstream: + > Don't modify socket buffer sizes. + + -- Chip Salzenberg Mon, 12 Feb 2001 20:46:22 -0800 + +nfs-utils (1:0.3-1) unstable; urgency=low + + * New upstream. + + -- Chip Salzenberg Sun, 28 Jan 2001 18:13:59 -0800 + +nfs-utils (1:0.2.1-5) unstable; urgency=low + + * Fix statd callback protection ("--secure-statd") to + 1. work with current kernels as far as possible, and + 2. allow for Trond's recent NFS patches, which change the + static callback RPC procedure. + * Store return values of getc and getopt in int variables: + they can return EOF, which requires an int. (From NMU) + + -- Chip Salzenberg Sat, 20 Jan 2001 20:03:07 -0800 + +nfs-utils (1:0.2.1-4) unstable; urgency=medium + + * Warn about common errors in /etc/exports. (closes: #66421) + * Fix line numbers in messages about /etc/exports. (closes: #59734) + * Let nhfsstone replace files from old server packages. (closes: #59261) + + -- Chip Salzenberg Sun, 3 Dec 2000 14:41:13 -0800 + +nfs-utils (1:0.2.1-3) unstable; urgency=low + + * Add portmap dependency. (closes: #75639) + * Upstream: + > mountd: New option "-n/--no-tcp". + + -- Chip Salzenberg Sun, 19 Nov 2000 09:22:19 -0800 + +nfs-utils (1:0.2.1-2) unstable; urgency=high + + * On shutdown, kill user-mode lockd, not kernel-mode lockd thread. + * Big upstream fix: + > statd: Repair memory leaks and corruptions. + * Other upstream patches: + > exportfs: Support CIDR netmasks (e.g. "1.2.3.4/24"). + > statd: Fix callbacks to local lockd; Be paranoid about IP addresses + when doing callbacks to local lockd; Add debugging features; Make + logs more readable. + + -- Chip Salzenberg Thu, 2 Nov 2000 18:10:36 -0800 + +nfs-utils (1:0.2.1-1) unstable; urgency=low + + * New upstream w/minor fixes. + + -- Chip Salzenberg Mon, 2 Oct 2000 17:32:00 -0700 + +nfs-utils (1:0.2-1) unstable; urgency=low + + * New upstream version number. + * Minor fixes. + + -- Chip Salzenberg Tue, 5 Sep 2000 11:30:00 -0700 + +nfs-utils (1:0.1.9.1-2) unstable; urgency=medium + + * Upstream addition of tcpwrapper support in statd and mountd. + * Upstream fixes from H.J. Lu and Neil Brown. + * Run exportfs first during startup (again). + + -- Chip Salzenberg Sat, 26 Aug 2000 17:30:00 -0700 + +nfs-utils (1:0.1.9.1-1) frozen unstable; urgency=high + + * New upstream version, fixes more logging errors. + * Fix Debian distribution list. + + -- Chip Salzenberg Wed, 5 Jul 2000 15:00:00 -0800 + +nfs-utils (1:0.1.8.2-2) unstable; urgency=high + + * Fix serious logging error in statd. + + -- Chip Salzenberg Wed, 28 Jun 2000 23:00:00 -0800 + +nfs-utils (1:0.1.8.2-1) unstable; urgency=low + + * New upstream version. + * During startup, start daemons before running exportfs. + + -- Chip Salzenberg Wed, 28 Jun 2000 15:00:00 -0800 + +nfs-utils (1:0.1.8.1-1) unstable; urgency=medium + + * New upstream version. + * Chdir to / before spawning daemons. (closes: #60837, #64857) + * Follow policy for init messages. (closes: #59184, #65519) + + -- Chip Salzenberg Mon, 12 Jun 2000 22:30:00 -0800 + +nfs-utils (1:0.1.8-1) unstable; urgency=low + + * New upstream version. + + -- Chip Salzenberg Sun, 4 Jun 2000 13:30:00 -0800 + +nfs-utils (1:0.1.7.1-1) unstable; urgency=medium + + * New upstream version. + * Use fewer sockets in mountd by sharing RPC transports, + even when it is run without '-p'. + + -- Chip Salzenberg Sat, 29 Apr 2000 20:45:00 -0800 + +nfs-utils (1:0.1.6-3) frozen unstable; urgency=medium + + * Fix kernel server shutdown order: mountd, nfsd, exportfs. + * Upstream: Fix 'mountd -p'. Use fewer UDP sockets + by sharing RPC transports. Display more mount flags. + + -- Chip Salzenberg Mon, 13 Mar 2000 14:45:00 -0800 + +nfs-utils (1:0.1.6-2) frozen unstable; urgency=medium + + * Split off nhfsstone into its own package, since it has + helper scripts and most people won't use it. + * Also include nhfsstone's helpers: nhfs{run,nums,graph}. + * Install man page for nhfsstone. (closes: #55194) + * Always run lockd on non-module kernels. (closes: #57841) + * Make init scripts config files. (closes: #55193) + * Handle "force-reload" in nfs-common's init script. (ditto) + * Fix line numbers in error messages. (closes: #57717) + * Write man page for rpc.lockd. (closes: #55192) + * Fix typo in exports(5) man page. (closes: #46933) + * Add /usr/doc -> /usr/share doc links. (closes: #54983) + * Add copyright file. (closes: #55195) + * Refresh sources from upstream. + * Refine dependencies. + + -- Chip Salzenberg Sat, 26 Feb 2000 02:00:00 -0800 + +nfs-utils (1:0.1.6-1) unstable; urgency=high + + * New upstream version. + * Make nfs-kernel-server conflict with and replace knfs. + + -- Chip Salzenberg Wed, 12 Jan 2000 19:30:00 -0800 + +nfs-utils (1:0.1.5-2) unstable; urgency=high + + * Rename packages to "nfs-common" and "nfs-kernel-server". + (Previous package names were only temporary anyway.) + * Prepend "1:" to version, to override existing nfs-common. + * Remove rpc.rquotad -- it's already packaged in "quota". + + -- Chip Salzenberg Wed, 29 Dec 1999 17:00:00 -0800 + +nfs-utils (0.1.5-1) unstable; urgency=medium + + * New upstream version. + * Allow for some kernels not requiring rpc.lockd. + + -- Chip Salzenberg Sun, 19 Dec 1999 11:40:00 -0800 + +nfs-utils (0.1.4-1) unstable; urgency=low + + * New upstream version. + * Don't disable NFSv3 by default. + + -- Chip Salzenberg Fri, 10 Dec 1999 23:00:00 -0800 + +nfs-utils (0.1.3-2) unstable; urgency=low + + * Conflict with standard NFS packages. + + -- Chip Salzenberg Fri, 3 Dec 1999 22:00:00 -0800 + +nfs-utils (0.1.3-1) unstable; urgency=low + + * New upstream version. + * Start following CVS tree at SourceForge. + + -- Chip Salzenberg Fri, 3 Dec 1999 20:00:00 -0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7062153 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: nfs-utils +Priority: standard +Section: net +Maintainer: Anibal Monsalve Salazar +Uploaders: Steinar H. Gunderson , Daniel Baumann +Build-Depends: debhelper (>= 5), libwrap0-dev, libevent-dev, libnfsidmap-dev, libkrb5-dev, libgssglue-dev (>= 0.1-1), librpcsecgss-dev (>= 0.16-1), libblkid-dev, libkeyutils-dev, pkg-config, quilt (>= 0.40), libldap2-dev +Standards-Version: 3.8.0.1 +Homepage: http://nfs.sourceforge.net/ + +Package: nfs-kernel-server +Priority: optional +Architecture: any +Depends: nfs-common (>= 1:1.0.8-1), ucf, lsb-base (>= 1.3-9ubuntu3), ${shlibs:Depends}, libblkid1 (>= 1.39+1.40-WIP-2006.11.14+dfsg-2) +Provides: knfs, nfs-server +Conflicts: knfs, nfs-server +Replaces: knfs, nfs-server +Description: support for NFS kernel server + The NFS kernel server is currently the recommended NFS server for use + with Linux, featuring features such as NFSv3 and NFSv4, Kerberos + support via GSS, and much more. It is also significantly faster and + usually more reliable than the user-space NFS servers (from the + unfs3 and nfs-user-server packages). However, it is more difficult to + debug than the user-space servers, and has a slightly different + feature set. + . + This package contains the user-space support needed to use the + NFS kernel server. Most administrators wishing to set up an NFS server + would want to install this package. + . + Upstream: SourceForge project "nfs", CVS module nfs-utils. + +Package: nfs-common +Architecture: any +Depends: portmap | rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), netbase (>= 4.24), initscripts (>= 2.86.ds1-38.1), ${shlibs:Depends} +Provides: nfs-client +Conflicts: nfs-client +Replaces: nfs-client, nfs-kernel-server (<< 1:1.0.7-5), mount (<< 2.13~) +Description: NFS support files common to client and server + Use this package on any machine that uses NFS, either as client or + server. Programs included: lockd, statd, showmount, nfsstat, gssd + and idmapd. + . + Upstream: SourceForge project "nfs", CVS module nfs-utils. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b011200 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Chip Salzenberg on Fri, 3 Dec 1999 20:00:00 -0800 + +The source package was downloaded from http://sourceforge.net/projects/nfs/. + +View individual source files for respective authors. + + +You are free to distribute this software under the terms of +the GNU General Public License, version 2 or later. +On Debian systems, the complete text of the GNU General Public +License can be found in the file /usr/share/common-licenses/GPL. diff --git a/debian/etc.exports b/debian/etc.exports new file mode 100644 index 0000000..9bff680 --- /dev/null +++ b/debian/etc.exports @@ -0,0 +1,10 @@ +# /etc/exports: the access control list for filesystems which may be exported +# to NFS clients. See exports(5). +# +# Example for NFSv2 and NFSv3: +# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) +# +# Example for NFSv4: +# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) +# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) +# diff --git a/debian/etc.exports.md5sum b/debian/etc.exports.md5sum new file mode 100644 index 0000000..d6ceaeb --- /dev/null +++ b/debian/etc.exports.md5sum @@ -0,0 +1,2 @@ +fa071681b8e7f4eff1d6f5c4f43bf1d8 nfs-utils-1.0.6/debian/etc.exports +d9037825e2fbe4e58d6176e7297830cb nfs-utils-1.0.7/debian/etc.exports diff --git a/debian/idmapd.conf b/debian/idmapd.conf new file mode 100644 index 0000000..8325982 --- /dev/null +++ b/debian/idmapd.conf @@ -0,0 +1,10 @@ +[General] + +Verbosity = 0 +Pipefs-Directory = /var/lib/nfs/rpc_pipefs +Domain = localdomain + +[Mapping] + +Nobody-User = nobody +Nobody-Group = nogroup diff --git a/debian/idmapd.conf.md5sum b/debian/idmapd.conf.md5sum new file mode 100644 index 0000000..6c05a8b --- /dev/null +++ b/debian/idmapd.conf.md5sum @@ -0,0 +1 @@ +3e94f238294cc61b047e7ae50115dffc nfs-utils-1.0.7/debian/idmapd.conf diff --git a/debian/nfs-common.default b/debian/nfs-common.default new file mode 100644 index 0000000..52f7f91 --- /dev/null +++ b/debian/nfs-common.default @@ -0,0 +1,19 @@ +# If you do not set values for the NEED_ options, they will be attempted +# autodetected; this should be sufficient for most people. Valid alternatives +# for the NEED_ options are "yes" and "no". + +# Do you want to start the statd daemon? It is not needed for NFSv4. +NEED_STATD= + +# Options for rpc.statd. +# Should rpc.statd listen on a specific port? This is especially useful +# when you have a port-based firewall. To use a fixed port, set this +# this variable to a statd argument like: "--port 4000 --outgoing-port 4001". +# For more information, see rpc.statd(8) or http://wiki.debian.org/?SecuringNFS +STATDOPTS= + +# Do you want to start the idmapd daemon? It is only needed for NFSv4. +NEED_IDMAPD= + +# Do you want to start the gssd daemon? It is required for Kerberos mounts. +NEED_GSSD= diff --git a/debian/nfs-common.default.md5sum b/debian/nfs-common.default.md5sum new file mode 100644 index 0000000..dfe4aa0 --- /dev/null +++ b/debian/nfs-common.default.md5sum @@ -0,0 +1,7 @@ +9409842759091e981d65a210e3e914cb nfs-utils-1.0.6/debian/nfs-common.default +e9765a19f6be408eb8a8afa0ee9677b9 nfs-utils-1.0.7-2/debian/nfs-common.default +04d838e3d6ce19ac7d0246740128e4a0 nfs-utils-1.0.7-6/debian/nfs-common.default +e460b95b3b808e55ec7dcba8e605ab14 nfs-utils-1.0.7-10/debian/nfs-common.default +bf979c79c0eca8c114c5388bf7225b4f nfs-utils-1.0.7-16/debian/nfs-common.default +d41d8cd98f00b204e9800998ecf8427e nfs-utils-1.0.7-18/debian/nfs-common.default + diff --git a/debian/nfs-common.dirs b/debian/nfs-common.dirs new file mode 100644 index 0000000..795c6e7 --- /dev/null +++ b/debian/nfs-common.dirs @@ -0,0 +1,8 @@ +etc/init.d +sbin +usr/sbin +var/lib/nfs +var/lib/nfs/sm +var/lib/nfs/sm.bak +var/lib/nfs/rpc_pipefs +usr/share/nfs-common/conffiles diff --git a/debian/nfs-common.init b/debian/nfs-common.init new file mode 100644 index 0000000..dc93bea --- /dev/null +++ b/debian/nfs-common.init @@ -0,0 +1,275 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: nfs-common +# Required-Start: $portmap $time +# Required-Stop: $time +# Default-Start: 2 3 4 5 S +# Default-Stop: 0 1 6 +# Short-Description: NFS support files common to client and server +# Description: NFS is a popular protocol for file sharing across +# TCP/IP networks. This service provides various +# support functions for NFS mounts. +### END INIT INFO + +# What is this? +DESC="NFS common utilities" + +# Read config +DEFAULTFILE=/etc/default/nfs-common +PREFIX= +NEED_STATD= +NEED_IDMAPD= +NEED_GSSD= +PIPEFS_MOUNTPOINT=/var/lib/nfs/rpc_pipefs +RPCGSSDOPTS= +if [ -f $DEFAULTFILE ]; then + . $DEFAULTFILE +fi + +. /lib/lsb/init-functions + +# Exit if required binaries are missing. +[ -x $PREFIX/sbin/rpc.statd ] || exit 0 + +# +# Parse the fstab file, and determine whether we need idmapd and gssd. (The +# /etc/defaults settings, if any, will override our autodetection.) This code +# is partially adapted from the mountnfs.sh script in the sysvinit package. +# +AUTO_NEED_IDMAPD=no +AUTO_NEED_GSSD=no + +if [ -f /etc/fstab ]; then + exec 9<&0 /dev/null || true + log_end_msg 0 + ;; + + status) + if [ "$NEED_STATD" = yes ] + then + if ! pidof rpc.statd >/dev/null + then + echo "rpc.statd not running" + exit 3 + fi + fi + + if [ "$NEED_GSSD" = yes ] + then + if ! pidof rpc.gssd >/dev/null + then + echo "rpc.gssd not running" + exit 3 + fi + fi + + if [ "$NEED_IDMAPD" = yes ] + then + if ! pidof rpc.idmapd >/dev/null + then + echo "rpc.idmapd not running" + exit 3 + fi + fi + + echo "all daemons running" + exit 0 + ;; + + restart | force-reload) + $0 stop + sleep 1 + $0 start + ;; + + *) + log_success_msg "Usage: nfs-common {start|stop|status|restart}" + exit 1 + ;; +esac + +exit 0 diff --git a/debian/nfs-common.install b/debian/nfs-common.install new file mode 100644 index 0000000..0a015b4 --- /dev/null +++ b/debian/nfs-common.install @@ -0,0 +1,17 @@ +debian/tmp/sbin/mount.nfs +debian/tmp/sbin/mount.nfs4 +debian/tmp/sbin/umount.nfs +debian/tmp/sbin/umount.nfs4 +debian/tmp/usr/sbin/rpc.statd sbin/ +debian/tmp/usr/sbin/sm-notify sbin/ +debian/tmp/usr/sbin/showmount sbin/ +debian/tmp/usr/sbin/nfsstat +debian/tmp/usr/sbin/rpc.gssd +debian/tmp/usr/sbin/rpc.idmapd +debian/tmp/usr/sbin/gss_clnt_send_err +debian/tmp/usr/sbin/gss_destroy_creds +debian/tmp/usr/sbin/rpcdebug +debian/idmapd.conf usr/share/nfs-common/conffiles/ +debian/idmapd.conf.md5sum usr/share/nfs-common/conffiles/ +debian/nfs-common.default usr/share/nfs-common/conffiles/ +debian/nfs-common.default.md5sum usr/share/nfs-common/conffiles/ diff --git a/debian/nfs-common.links b/debian/nfs-common.links new file mode 100644 index 0000000..6bf6088 --- /dev/null +++ b/debian/nfs-common.links @@ -0,0 +1,3 @@ +/usr/share/man/man8/gssd.8 /usr/share/man/man8/rpc.gssd.8 +/usr/share/man/man8/statd.8 /usr/share/man/man8/rpc.statd.8 +/usr/share/man/man8/idmapd.8 /usr/share/man/man8/rpc.idmapd.8 diff --git a/debian/nfs-common.manpages b/debian/nfs-common.manpages new file mode 100644 index 0000000..2fd641d --- /dev/null +++ b/debian/nfs-common.manpages @@ -0,0 +1,11 @@ +debian/tmp/usr/share/man/man5/idmapd.conf* +debian/tmp/usr/share/man/man5/nfs.5 +debian/tmp/usr/share/man/man8/gssd.8 +debian/tmp/usr/share/man/man8/idmapd.8 +debian/tmp/usr/share/man/man8/statd.8 +debian/tmp/usr/share/man/man8/nfsstat* +debian/tmp/usr/share/man/man8/showmount* +debian/tmp/usr/share/man/man8/idmapd* +debian/tmp/usr/share/man/man8/rpcdebug.8 +debian/tmp/usr/share/man/man8/mount.nfs.8 +debian/tmp/usr/share/man/man8/umount.nfs.8 diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst new file mode 100644 index 0000000..654a583 --- /dev/null +++ b/debian/nfs-common.postinst @@ -0,0 +1,44 @@ +#!/bin/sh -e + +#DEBHELPER# + +case "$1" in + configure) + ucf --three-way /usr/share/nfs-common/conffiles/idmapd.conf /etc/idmapd.conf + ucf --three-way /usr/share/nfs-common/conffiles/nfs-common.default /etc/default/nfs-common + + if [ "$2" != "" ] && dpkg --compare-versions "$2" lt 1:1.1.0-10; then + update-rc.d -f nfs-common remove >/dev/null + fi + update-rc.d nfs-common start 20 2 3 4 5 . stop 20 0 1 6 . start 44 S . >/dev/null + + if ! getent passwd statd >/dev/null; then + adduser --system --home /var/lib/nfs --no-create-home statd + fi + if dpkg --compare-versions "$2" ge 1:1.0.7-10 && dpkg --compare-versions "$2" lt 1:1.0.7-13; then + usermod --home /var/lib/nfs statd || true + if [ -d /home/statd ]; then + rmdir --ignore-fail-on-non-empty /home/statd + fi + fi + if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1:1.0.7-16; then + chown statd /var/lib/nfs/sm \ + /var/lib/nfs/sm.bak \ + /var/lib/nfs/rpc_pipefs \ + /var/lib/nfs + if [ -f /var/lib/nfs/state ]; then + chown statd /var/lib/nfs/state + fi + fi + + if [ "$2" != "" ] || dpkg --compare-versions "$2" lt 1:1.1.0-14; then + if dpkg-statoverride --list /sbin/mount.nfs >/dev/null 2>&1; then + dpkg-statoverride --remove /sbin/mount.nfs + fi + fi + ;; +esac + +act="restart" +[ "$1:$2" = "configure:" ] && act="start" +invoke-rc.d nfs-common $act diff --git a/debian/nfs-common.postrm b/debian/nfs-common.postrm new file mode 100644 index 0000000..aeb9848 --- /dev/null +++ b/debian/nfs-common.postrm @@ -0,0 +1,26 @@ +#!/bin/sh + +#DEBHELPER# + +case "$1" in + purge) + update-rc.d nfs-common remove >/dev/null + + for FILE in /etc/default/nfs-common /etc/idmapd.conf; do + # Taken from the ucf example postrm + for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do + rm -f $FILE$ext + done + rm -f $FILE + if [ -x /usr/bin/ucf ]; then + ucf --purge $FILE + fi + done + + rm -f /var/lib/nfs/state \ + /var/lib/nfs/sm/* \ + /var/lib/nfs/sm.bak/* + + dpkg-statoverride --remove /sbin/mount.nfs || true + ;; +esac diff --git a/debian/nfs-common.prerm b/debian/nfs-common.prerm new file mode 100644 index 0000000..c3c15ba --- /dev/null +++ b/debian/nfs-common.prerm @@ -0,0 +1,19 @@ +#!/bin/sh + +#DEBHELPER# + +case "$1" in + remove|purge) + [ -x /etc/init.d/nfs-common ] && + invoke-rc.d nfs-common stop + ;; +esac + +if [ "$1" != upgrade ] +then + rm -f /var/lib/nfs/sm/* \ + /var/lib/nfs/sm.bak/* \ + /var/lib/nfs/state +fi + +exit 0 diff --git a/debian/nfs-kernel-server.NEWS b/debian/nfs-kernel-server.NEWS new file mode 100644 index 0000000..dcea315 --- /dev/null +++ b/debian/nfs-kernel-server.NEWS @@ -0,0 +1,8 @@ +nfs-utils (1:1.0.1-1) unstable; urgency=low + + * Exports default to "sync", that is, synchronous writes. + This is safer but MUCH SLOWER than the old default of "async". + All exports should be marked as either "sync" or "async" to + avoid a warning from exportfs. + + -- Chip Salzenberg Mon, 26 Aug 2002 12:17:57 -0400 diff --git a/debian/nfs-kernel-server.default b/debian/nfs-kernel-server.default new file mode 100644 index 0000000..365f616 --- /dev/null +++ b/debian/nfs-kernel-server.default @@ -0,0 +1,18 @@ +# Number of servers to start up +RPCNFSDCOUNT=8 + +# Runtime priority of server (see nice(1)) +RPCNFSDPRIORITY=0 + +# Options for rpc.mountd. +# If you have a port-based firewall, you might want to set up +# a fixed port here using the --port option. For more information, +# see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS +RPCMOUNTDOPTS= + +# Do you want to start the svcgssd daemon? It is only required for Kerberos +# exports. Valid alternatives are "yes" and "no"; the default is "no". +NEED_SVCGSSD= + +# Options for rpc.svcgssd. +RPCSVCGSSDOPTS= diff --git a/debian/nfs-kernel-server.default.md5sum b/debian/nfs-kernel-server.default.md5sum new file mode 100644 index 0000000..3271518 --- /dev/null +++ b/debian/nfs-kernel-server.default.md5sum @@ -0,0 +1,4 @@ +226f8fdd37b11c59d73e2f378e22b0d0 nfs-utils-1.0.6/debian/nfs-kernel-server.default +04755047c69d355d9d103c6f10017ec6 nfs-utils-1.0.7-2/debian/nfs-kernel-server.default +41cb37d01bbfacaf4bfbe0f62b18284f nfs-utils-1.0.7-4/debian/nfs-kernel-server.default +41388b5bb60d7ad1b1281b975dc07ce9 nfs-utils-1.0.7-16/debian/nfs-kernel-server.default diff --git a/debian/nfs-kernel-server.dirs b/debian/nfs-kernel-server.dirs new file mode 100644 index 0000000..7d336b9 --- /dev/null +++ b/debian/nfs-kernel-server.dirs @@ -0,0 +1,5 @@ +etc/init.d +usr/sbin +var/lib/nfs +var/lib/nfs/v4recovery +usr/share/nfs-kernel-server/conffiles diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init new file mode 100644 index 0000000..4c4205a --- /dev/null +++ b/debian/nfs-kernel-server.init @@ -0,0 +1,206 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: nfs-kernel-server +# Required-Start: $remote_fs nfs-common $portmap $time +# Required-Stop: $remote_fs nfs-common $portmap $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Kernel NFS server support +# Description: NFS is a popular protocol for file sharing across +# TCP/IP networks. This service provides NFS server +# functionality, which is configured via the +# /etc/exports file. +### END INIT INFO + +# What is this? +DESC="NFS kernel daemon" +PREFIX=/usr + +# Exit if required binaries are missing. +[ -x $PREFIX/sbin/rpc.nfsd ] || exit 0 +[ -x $PREFIX/sbin/rpc.mountd ] || exit 0 +[ -x $PREFIX/sbin/exportfs ] || exit 0 + +# Read config +DEFAULTFILE=/etc/default/nfs-kernel-server +RPCNFSDCOUNT=8 +RPCNFSDPRIORITY=0 +RPCMOUNTDOPTS= +NEED_SVCGSSD=no +RPCSVCGSSDOPTS= +PROCNFSD_MOUNTPOINT=/proc/fs/nfsd +if [ -f $DEFAULTFILE ]; then + . $DEFAULTFILE +fi + +. /lib/lsb/init-functions + +do_modprobe() { + if [ -x /sbin/modprobe -a -f /proc/modules ] + then + modprobe -q "$1" || true + fi +} + +do_mount() { + if ! grep -E -qs "$1\$" /proc/filesystems + then + return 1 + fi + if ! mountpoint -q "$2" + then + mount -t "$1" "$1" "$2" + return + fi + return 0 +} + +# See how we were called. +case "$1" in + start) + if [ -f /etc/exports ] + then + do_modprobe nfsd + + # See if our running kernel supports the NFS kernel server + if [ -f /proc/kallsyms ] && ! grep -qE 'init_nf(sd| )' /proc/kallsyms; then + log_warning_msg "Not starting $DESC: no support in current kernel." + exit 0 + fi + + do_mount nfsd $PROCNFSD_MOUNTPOINT || NEED_SVCGSSD=no + log_begin_msg "Exporting directories for $DESC..." + $PREFIX/sbin/exportfs -r + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + log_end_msg 0 + + log_daemon_msg "Starting $DESC" + log_progress_msg "nfsd" + start-stop-daemon --start --oknodo --quiet \ + --nicelevel $RPCNFSDPRIORITY \ + --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + + # make sure 127.0.0.1 is a valid source for requests + ClearAddr= + if [ -f /proc/net/rpc/auth.unix.ip/channel ] + then + fgrep -qs 127.0.0.1 /proc/net/rpc/auth.unix.ip/content || { + echo "nfsd 127.0.0.1 2147483647 localhost" >/proc/net/rpc/auth.unix.ip/channel + ClearAddr=yes + } + fi + + $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 || + RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3" + + [ -z "$ClearAddr" ] || echo "nfsd 127.0.0.1 1" >/proc/net/rpc/auth.unix.ip/channel + + if [ "$NEED_SVCGSSD" = "yes" ]; then + do_modprobe rpcsec_gss_krb5 + log_progress_msg "svcgssd" + start-stop-daemon --start --oknodo --quiet \ + --exec $PREFIX/sbin/rpc.svcgssd -- $RPCSVCGSSDOPTS + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + fi + + log_progress_msg "mountd" + start-stop-daemon --start --oknodo --quiet \ + --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + + log_end_msg 0 + else + log_warning_msg "Not starting $DESC: no exports." + fi + ;; + + stop) + log_daemon_msg "Stopping $DESC" + + log_progress_msg "mountd" + start-stop-daemon --stop --oknodo --quiet \ + --name rpc.mountd --user 0 + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + + if [ "$NEED_SVCGSSD" = "yes" ]; then + log_progress_msg "svcgssd" + start-stop-daemon --stop --oknodo --quiet \ + --name rpc.svcgssd --user 0 + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + fi + + log_progress_msg "nfsd" + start-stop-daemon --stop --oknodo --quiet \ + --name nfsd --user 0 --signal 2 + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + + log_end_msg 0 + + log_begin_msg "Unexporting directories for $DESC..." + $PREFIX/sbin/exportfs -au + if [ $? != 0 ]; then + log_end_msg $? + exit $? + fi + log_end_msg 0 + + if mountpoint -q $PROCNFSD_MOUNTPOINT + then + $PREFIX/sbin/exportfs -f + fi + ;; + + status) + if pidof nfsd >/dev/null + then + echo "nfsd running" + exit 0 + else + echo "nfsd not running" + exit 3 + fi + ;; + + reload | force-reload) + log_begin_msg "Re-exporting directories for $DESC..." + $PREFIX/sbin/exportfs -r + log_end_msg $? + exit $? + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + *) + log_success_msg "Usage: nfs-kernel-server {start|stop|status|reload|force-reload|restart}" + exit 1 + ;; +esac + +exit 0 diff --git a/debian/nfs-kernel-server.install b/debian/nfs-kernel-server.install new file mode 100644 index 0000000..e815651 --- /dev/null +++ b/debian/nfs-kernel-server.install @@ -0,0 +1,8 @@ +debian/tmp/usr/sbin/exportfs +debian/tmp/usr/sbin/rpc.mountd +debian/tmp/usr/sbin/rpc.nfsd +debian/tmp/usr/sbin/rpc.svcgssd +debian/nfs-kernel-server.default /usr/share/nfs-kernel-server/conffiles/ +debian/etc.exports /usr/share/nfs-kernel-server/conffiles/ +debian/nfs-kernel-server.default.md5sum /usr/share/nfs-kernel-server/conffiles/ +debian/etc.exports.md5sum /usr/share/nfs-kernel-server/conffiles/ diff --git a/debian/nfs-kernel-server.links b/debian/nfs-kernel-server.links new file mode 100644 index 0000000..0f4d882 --- /dev/null +++ b/debian/nfs-kernel-server.links @@ -0,0 +1,3 @@ +/usr/share/man/man8/mountd.8 /usr/share/man/man8/rpc.mountd.8 +/usr/share/man/man8/nfsd.8 /usr/share/man/man8/rpc.nfsd.8 +/usr/share/man/man8/svcgssd.8 /usr/share/man/man8/rpc.svcgssd.8 diff --git a/debian/nfs-kernel-server.manpages b/debian/nfs-kernel-server.manpages new file mode 100644 index 0000000..f8edbae --- /dev/null +++ b/debian/nfs-kernel-server.manpages @@ -0,0 +1,6 @@ +debian/tmp/usr/share/man/man5/exports.5 +debian/tmp/usr/share/man/man7/nfsd.7 +debian/tmp/usr/share/man/man8/mountd.8 +debian/tmp/usr/share/man/man8/exportfs.8 +debian/tmp/usr/share/man/man8/nfsd.8 +debian/tmp/usr/share/man/man8/svcgssd.8 diff --git a/debian/nfs-kernel-server.postinst b/debian/nfs-kernel-server.postinst new file mode 100644 index 0000000..5788144 --- /dev/null +++ b/debian/nfs-kernel-server.postinst @@ -0,0 +1,23 @@ +#!/bin/sh -e + +#DEBHELPER# + +case "$1" in + configure) + ucf --three-way /usr/share/nfs-kernel-server/conffiles/etc.exports /etc/exports + ucf --three-way /usr/share/nfs-kernel-server/conffiles/nfs-kernel-server.default /etc/default/nfs-kernel-server + + for f in /var/lib/nfs/etab \ + /var/lib/nfs/rmtab \ + /var/lib/nfs/xtab; do + [ -e $f ] || touch $f + done + + update-rc.d nfs-kernel-server defaults 20 80 >/dev/null + ;; +esac + +act="restart" +[ "$1:$2" = "configure:" ] && act="start" +[ "$1:$2" = "configure:" ] && invoke-rc.d nfs-common start +invoke-rc.d nfs-kernel-server $act diff --git a/debian/nfs-kernel-server.postrm b/debian/nfs-kernel-server.postrm new file mode 100644 index 0000000..4a79162 --- /dev/null +++ b/debian/nfs-kernel-server.postrm @@ -0,0 +1,25 @@ +#!/bin/sh + +#DEBHELPER# + +case "$1" in + purge) + update-rc.d nfs-kernel-server remove >/dev/null + + for FILE in /etc/default/nfs-kernel-server /etc/exports; do + # Taken from the ucf example postrm + for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do + rm -f $FILE$ext + done + rm -f $FILE + if [ -x /usr/bin/ucf ]; then + ucf --purge $FILE + fi + done + + rm -f /var/lib/nfs/etab \ + /var/lib/nfs/rmtab \ + /var/lib/nfs/xtab + ;; +esac + diff --git a/debian/nfs-kernel-server.prerm b/debian/nfs-kernel-server.prerm new file mode 100644 index 0000000..80878e6 --- /dev/null +++ b/debian/nfs-kernel-server.prerm @@ -0,0 +1,19 @@ +#!/bin/sh + +#DEBHELPER# + +case "$1" in + remove|purge) + [ -x /etc/init.d/nfs-kernel-server ] && + invoke-rc.d nfs-kernel-server stop + ;; +esac + +if [ "$1" != upgrade ] +then + rm -f /var/lib/nfs/etab \ + /var/lib/nfs/rmtab \ + /var/lib/nfs/xtab +fi + +exit 0 diff --git a/debian/patches/01-sm-notify-in-sbin.patch b/debian/patches/01-sm-notify-in-sbin.patch new file mode 100644 index 0000000..7cd9541 --- /dev/null +++ b/debian/patches/01-sm-notify-in-sbin.patch @@ -0,0 +1,13 @@ +Index: nfs-utils-1.1.0/utils/statd/statd.c +=================================================================== +--- nfs-utils-1.1.0.orig/utils/statd/statd.c ++++ nfs-utils-1.1.0/utils/statd/statd.c +@@ -223,7 +223,7 @@ static void run_sm_notify(int outport) + char *av[6]; + int ac = 0; + +- av[ac++] = "/usr/sbin/sm-notify"; ++ av[ac++] = "/sbin/sm-notify"; + if (run_mode & MODE_NODAEMON) + av[ac++] = "-d"; + if (outport) { diff --git a/debian/patches/02-fix-retry-option.patch b/debian/patches/02-fix-retry-option.patch new file mode 100644 index 0000000..935cb3d --- /dev/null +++ b/debian/patches/02-fix-retry-option.patch @@ -0,0 +1,104 @@ +text-based mount command: Fix retry= option + +Steinar Gunderson reports: + +"It seems retry= is now additive with the text-based mount interface. In +particular, "mount -o retry=0" still gives a two-minute timeout." + +Make retry option parsing more robust, while we're at it. + +Signed-off-by: Chuck Lever +--- + + utils/mount/stropts.c | 55 ++++++++++++++++++++++++++++++++++++++----------- + 1 files changed, 43 insertions(+), 12 deletions(-) + +diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c +index cadb1f4..4df9ad9 100644 +--- a/utils/mount/stropts.c ++++ b/utils/mount/stropts.c +@@ -65,6 +65,14 @@ + #define NFS_MAXPATHNAME (1024) + #endif + ++#ifndef NFS_DEF_FG_TIMEOUT_MINUTES ++#define NFS_DEF_FG_TIMEOUT_MINUTES (2ul) ++#endif ++ ++#ifndef NFS_DEF_BG_TIMEOUT_MINUTES ++#define NFS_DEF_BG_TIMEOUT_MINUTES (10000ul) ++#endif ++ + extern int nfs_mount_data_version; + extern char *progname; + extern int verbose; +@@ -141,6 +149,35 @@ static int fill_ipv4_sockaddr(const char *hostname, struct sockaddr_in *addr) + } + + /* ++ * Set up a timeout value based on the value of the "retry=" option. ++ * ++ * Returns 1 if the option was parsed successfully, otherwise zero. ++ * Returns the parsed timeout, or the default, in *timeout. ++ */ ++static int parse_retry_option(time_t *timeout, struct mount_options *options, ++ unsigned long timeout_minutes) ++{ ++ char *retry_option, *endptr; ++ ++ retry_option = po_get(options, "retry"); ++ if (retry_option) { ++ long tmp; ++ ++ errno = 0; ++ tmp = strtol(retry_option, &endptr, 10); ++ if (errno || endptr == retry_option || tmp < 0) { ++ nfs_error(_("%s: incorrect retry timeout specified"), ++ progname); ++ return 0; ++ } ++ timeout_minutes = tmp; ++ } ++ ++ *timeout = time(NULL) + (time_t)(timeout_minutes * 60); ++ return 1; ++} ++ ++/* + * Append the 'addr=' option to the options string to pass a resolved + * server address to the kernel. After a successful mount, this address + * is also added to /etc/mtab for use when unmounting. +@@ -535,13 +572,10 @@ static int nfsmount_fg(const char *spec, const char *node, + char **extra_opts) + { + unsigned int secs = 1; +- time_t timeout = time(NULL); +- char *retry; ++ time_t timeout; + +- timeout += 60 * 2; /* default: 2 minutes */ +- retry = po_get(options, "retry"); +- if (retry) +- timeout += 60 * atoi(retry); ++ if (!parse_retry_option(&timeout, options, NFS_DEF_FG_TIMEOUT_MINUTES)) ++ return EX_FAIL; + + if (verbose) + printf(_("%s: timeout set for %s"), +@@ -612,13 +646,10 @@ static int nfsmount_child(const char *spec, const char *node, + int fake, char **extra_opts) + { + unsigned int secs = 1; +- time_t timeout = time(NULL); +- char *retry; ++ time_t timeout; + +- timeout += 60 * 10000; /* default: 10,000 minutes */ +- retry = po_get(options, "retry"); +- if (retry) +- timeout += 60 * atoi(retry); ++ if (!parse_retry_option(&timeout, options, NFS_DEF_BG_TIMEOUT_MINUTES)) ++ return EX_FAIL; + + for (;;) { + if (sleep(secs)) diff --git a/debian/patches/03-handle-mtab-symlink.patch b/debian/patches/03-handle-mtab-symlink.patch new file mode 100644 index 0000000..28211a5 --- /dev/null +++ b/debian/patches/03-handle-mtab-symlink.patch @@ -0,0 +1,43 @@ +Index: nfs-utils-1.1.2/utils/mount/fstab.c +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/fstab.c ++++ nfs-utils-1.1.2/utils/mount/fstab.c +@@ -52,7 +52,7 @@ mtab_does_not_exist(void) { + return var_mtab_does_not_exist; + } + +-static int ++int + mtab_is_a_symlink(void) { + get_mtab_info(); + return var_mtab_is_a_symlink; +Index: nfs-utils-1.1.2/utils/mount/fstab.h +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/fstab.h ++++ nfs-utils-1.1.2/utils/mount/fstab.h +@@ -7,6 +7,7 @@ + #define _PATH_FSTAB "/etc/fstab" + #endif + ++int mtab_is_a_symlink(void); + int mtab_is_writable(void); + int mtab_does_not_exist(void); + +Index: nfs-utils-1.1.2/utils/mount/mount.c +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/mount.c ++++ nfs-utils-1.1.2/utils/mount/mount.c +@@ -257,6 +257,13 @@ static int add_mtab(char *spec, char *mo + return EX_SUCCESS; + } + ++ /* Avoid writing if the mtab is a symlink to /proc/mounts, since ++ that would create a file /proc/mounts in case the proc filesystem ++ is not mounted, and the fchmod below would also fail. */ ++ if (mtab_is_a_symlink()) { ++ return EX_SUCCESS; ++ } ++ + lock_mtab(); + + mtab = nfs_setmntent(MOUNTED, "a+"); diff --git a/debian/patches/04-eacces-is-a-permanent-error.patch b/debian/patches/04-eacces-is-a-permanent-error.patch new file mode 100644 index 0000000..fe5dae6 --- /dev/null +++ b/debian/patches/04-eacces-is-a-permanent-error.patch @@ -0,0 +1,12 @@ +Index: nfs-utils-1.1.2/utils/mount/stropts.c +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/stropts.c ++++ nfs-utils-1.1.2/utils/mount/stropts.c +@@ -289,7 +289,6 @@ static int set_mandatory_options(const c + static int is_permanent_error(int error) + { + switch (error) { +- case EACCES: + case ESTALE: + case ETIMEDOUT: + case ECONNREFUSED: diff --git a/debian/patches/05-default-use-old-mount-interface.patch b/debian/patches/05-default-use-old-mount-interface.patch new file mode 100644 index 0000000..798505b --- /dev/null +++ b/debian/patches/05-default-use-old-mount-interface.patch @@ -0,0 +1,14 @@ +Index: nfs-utils-1.1.2/utils/mount/mount.c +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/mount.c 2008-07-11 18:56:00.000000000 +0200 ++++ nfs-utils-1.1.2/utils/mount/mount.c 2008-07-11 18:56:06.000000000 +0200 +@@ -189,9 +189,6 @@ + } + if (nfs_mount_data_version > NFS_MOUNT_VERSION) + nfs_mount_data_version = NFS_MOUNT_VERSION; +- else +- if (kernel_version > MAKE_VERSION(2, 6, 22)) +- string++; + } + + static void print_one(char *spec, char *node, char *type, char *opts) diff --git a/debian/patches/06-dont-check-exec-bit.patch b/debian/patches/06-dont-check-exec-bit.patch new file mode 100644 index 0000000..28606e2 --- /dev/null +++ b/debian/patches/06-dont-check-exec-bit.patch @@ -0,0 +1,15 @@ +Index: nfs-utils-1.1.2/utils/mount/mount.c +=================================================================== +--- nfs-utils-1.1.2.orig/utils/mount/mount.c 2008-07-11 18:59:58.000000000 +0200 ++++ nfs-utils-1.1.2/utils/mount/mount.c 2008-07-11 18:59:58.000000000 +0200 +@@ -381,10 +381,6 @@ + mount_error(NULL, mount_point, ENOTDIR); + return 1; + } +- if (access(mount_point, X_OK) < 0) { +- mount_error(NULL, mount_point, errno); +- return 1; +- } + + return 0; + } diff --git a/debian/patches/07-remove-duplicate-exports-paragraphs.patch b/debian/patches/07-remove-duplicate-exports-paragraphs.patch new file mode 100644 index 0000000..8bc59f9 --- /dev/null +++ b/debian/patches/07-remove-duplicate-exports-paragraphs.patch @@ -0,0 +1,25 @@ +Index: nfs-utils-1.1.2/utils/exportfs/exports.man +=================================================================== +--- nfs-utils-1.1.2.orig/utils/exportfs/exports.man 2008-03-14 16:46:29.000000000 +0100 ++++ nfs-utils-1.1.2/utils/exportfs/exports.man 2008-07-11 18:57:46.000000000 +0200 +@@ -365,20 +365,6 @@ + will be given this list of alternatives. (Note that actual replication + of the filesystem must be handled elsewhere.) + +-.TP +-.IR refer= path@host[+host][:path@host[+host]] +-A client referencing the export point will be directed to choose from +-the given list an alternative location for the filesystem. +-(Note that the server must have a mountpoint here, though a different +-filesystem is not required; so, for example, +-.IR "mount --bind" " /path /path" +-is sufficient.) +-.TP +-.IR replicas= path@host[+host][:path@host[+host]] +-If the client asks for alternative locations for the export point, it +-will be given this list of alternatives. (Note that actual replication +-of the filesystem must be handled elsewhere.) +- + .SS User ID Mapping + .PP + .I nfsd diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b150fe2 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,7 @@ +01-sm-notify-in-sbin.patch +02-fix-retry-option.patch +03-handle-mtab-symlink.patch +04-eacces-is-a-permanent-error.patch +05-default-use-old-mount-interface.patch +06-dont-check-exec-bit.patch +07-remove-duplicate-exports-paragraphs.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1386ba1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,66 @@ +#! /usr/bin/make -f + +include /usr/share/quilt/quilt.make + +# Parsing of DEB_BUILD_OPTIONS flags. +# Note that nostrip is handled automatically by debhelper. +CFLAGS := -g -Wall +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +# Temporary root +DEBTMP := $(CURDIR)/debian/tmp + +build: patch build-stamp +build-stamp: + dh_testdir + CFLAGS="$(CFLAGS)" ./configure \ + --mandir='$${prefix}/share/man' \ + --enable-secure-statd \ + --with-tcp-wrappers + $(MAKE) $(MAKEFLAGS) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf $(DEBTMP) + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +binary-indep: build +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir $(DEBTMP) + $(MAKE) DESTDIR='$(DEBTMP)' install + dh_install + dh_installdocs -A + dh_installdocs -pnfs-common debian/README.Debian.nfsv4 + install -m 0755 debian/nfs-common.init debian/nfs-common/etc/init.d/nfs-common + install -m 0755 debian/nfs-kernel-server.init debian/nfs-kernel-server/etc/init.d/nfs-kernel-server + dh_installman + dh_link + dh_installchangelogs ChangeLog + dh_strip + dh_compress + dh_fixperms + chmod u+s debian/nfs-common/sbin/mount.nfs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f9d9d7f --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/nfs/ nfs-utils-([\.\d]+).tar.gz