From: Neil Brown Date: Mon, 5 Jun 2006 02:13:31 +0000 (+1000) Subject: Remove debian/ X-Git-Tag: nfs-utils-1-0-9-pre1~21 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=e860d0ecddac47b5f68bc1b41b19c2700fd64495 Remove debian/ .. at request of Debian maintainer "Steinar H. Gunderson" --- diff --git a/ChangeLog b/ChangeLog index 8b2b49b..29a0c45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-06-05 NeilBrown + Remove debian/ at request of Debian maintainer "Steinar H. Gunderson" + 2006-04-12 NeilBrown Remove **/Makefile.in, aclocal.m4, configure, and support/include/config.h.in from source control diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 0102d2e..0000000 --- a/debian/changelog +++ /dev/null @@ -1,455 +0,0 @@ -nfs-utils (1:1.0.8-rc1-1) unstable; urgency=low - - * new "upstream" - * update debian/rules for upstream switch to autotools - - -- J. Bruce Fields Tue, 20 Dec 2005 13:58:34 -0500 - -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/control b/debian/control deleted file mode 100644 index 9f6394b..0000000 --- a/debian/control +++ /dev/null @@ -1,42 +0,0 @@ -Source: nfs-utils -Priority: standard -Section: net -Maintainer: Debian QA Group -Build-Depends: debhelper (>= 4.1.16), libwrap0-dev, libevent-dev, libnfsidmap-dev, libkrb5-dev -Standards-Version: 3.1.1.1 - -Package: nfs-kernel-server -Priority: optional -Architecture: any -Depends: nfs-common (>= 1:0.3.3-3), debconf (>= 1.0), sysvinit (>= 2.80-1), ${shlibs:Depends} -Provides: knfs, nfs-server -Conflicts: knfs, nfs-server -Replaces: knfs, nfs-server -Description: Kernel NFS server support - Use this package if you have a fairly recent kernel (2.2.13 or better) - and you want to use the kernel-mode NFS server. The user-mode NFS - server in the "nfs-user-server" package is slower but more featureful - and easier to debug than the kernel-mode server. - . - Upstream: SourceForge project "nfs", CVS module nfs-utils. - -Package: nfs-common -Architecture: any -Depends: portmap, debconf (>= 1.0), sysvinit (>= 2.80-1), ${shlibs:Depends} -Provides: nfs-client -Conflicts: nfs-client -Replaces: nfs-client -Description: NFS support files common to client and server - Use this package on any machine that does NFS either as client or - server. Programs included: lockd, statd, showmount, and nfsstat. - . - Upstream: SourceForge project "nfs", CVS module nfs-utils. - -Package: nhfsstone -Priority: extra -Architecture: any -Depends: nfs-common, ${shlibs:Depends} -Replaces: nfs-kernel-server -Description: NFS benchmark program. - . - Upstream: SourceForge project "nfs", CVS module nfs-utils. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 7dd1c08..0000000 --- a/debian/copyright +++ /dev/null @@ -1,11 +0,0 @@ -This package was debianized by Chip Salzenberg on Fri, 3 Dec 1999 20:00:00 -0800 - -It 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 deleted file mode 100644 index 26b16e1..0000000 --- a/debian/etc.exports +++ /dev/null @@ -1,2 +0,0 @@ -# /etc/exports: the access control list for filesystems which may be exported -# to NFS clients. See exports(5). diff --git a/debian/idmapd.conf b/debian/idmapd.conf deleted file mode 100644 index 8325982..0000000 --- a/debian/idmapd.conf +++ /dev/null @@ -1,10 +0,0 @@ -[General] - -Verbosity = 0 -Pipefs-Directory = /var/lib/nfs/rpc_pipefs -Domain = localdomain - -[Mapping] - -Nobody-User = nobody -Nobody-Group = nogroup diff --git a/debian/nfs-common.conffiles b/debian/nfs-common.conffiles deleted file mode 100644 index 9e5647c..0000000 --- a/debian/nfs-common.conffiles +++ /dev/null @@ -1,3 +0,0 @@ -/etc/default/nfs-common -/etc/init.d/nfs-common -/etc/idmapd.conf diff --git a/debian/nfs-common.default b/debian/nfs-common.default deleted file mode 100644 index a8287de..0000000 --- a/debian/nfs-common.default +++ /dev/null @@ -1,16 +0,0 @@ -# Options for rpc.statd. -# Should rpc.statd listen on a specific port? -# If so, set this variable to a statd argument like: "--port 1000". -STATDOPTS= - -# Are you _sure_ that your kernel does or does not need a lockd daemon? -# If so, set this variable to either "yes" or "no". -NEED_LOCKD= - -# If you are not using NFSv4 and wish to disable the idmapd daemon, -# then set NEED_IDMAPD to "no". -NEED_IDMAPD=no - -# If you are not running NFS with RPCSEC_GSS security, and wish to -# disable the gssd client daemon, then set NEED_GSSD to "no". -NEED_GSSD=no diff --git a/debian/nfs-common.dirs b/debian/nfs-common.dirs deleted file mode 100644 index 653a4e0..0000000 --- a/debian/nfs-common.dirs +++ /dev/null @@ -1,6 +0,0 @@ -etc/init.d -sbin -usr/sbin -var/lib/nfs -var/lib/nfs/sm -var/lib/nfs/sm.bak diff --git a/debian/nfs-common.files b/debian/nfs-common.files deleted file mode 100644 index 43fca56..0000000 --- a/debian/nfs-common.files +++ /dev/null @@ -1,7 +0,0 @@ -usr/sbin/nfsstat -usr/sbin/rpc.gssd -usr/sbin/rpc.idmapd -usr/share/man/man8/*lockd* -usr/share/man/man8/*statd* -usr/share/man/man8/nfsstat* -usr/share/man/man8/showmount* diff --git a/debian/nfs-common.init b/debian/nfs-common.init deleted file mode 100755 index b6fb962..0000000 --- a/debian/nfs-common.init +++ /dev/null @@ -1,154 +0,0 @@ -#!/bin/sh -# -# nfs-common This shell script takes care of starting and stopping -# common daemons required for NFS clients and servers. -# -# chkconfig: 345 20 80 -# description: NFS is a popular protocol for file sharing across \ -# TCP/IP networks. This service provides NFS file \ -# locking functionality. -# - -set -e - -# What is this? -DESC="NFS common utilities" - -# Read config -DEFAULTFILE=/etc/default/nfs-common -PREFIX= -NEED_LOCKD= -NEED_IDMAPD=yes -IDMAPD_PIDFILE=/var/run/rpc.idmapd.pid -NEED_GSSD=yes -GSSD_PIDFILE=/var/run/rpc.gssd.pid -PIPEFS_MOUNTPOINT=/var/lib/nfs/rpc_pipefs -RPCGSSDOPTS= -if [ -f $DEFAULTFILE ]; then - . $DEFAULTFILE -fi - -# Determine whether lockd daemon is required. -case "$NEED_LOCKD" in -yes|no) ;; -*) case `uname -r` in - '' | [01].* | 2.[0123].* ) - # Older kernels may or may not need a lockd daemon. - # We must assume they do, unless we can prove otherwise. - # (A false positive here results only in a harmless message.) - NEED_LOCKD=yes - if test -f /proc/ksyms - then - grep -q lockdctl /proc/ksyms || NEED_LOCKD=no - fi - ;; - - *) # Modern kernels (>= 2.4) start a lockd thread automatically. - NEED_LOCKD=no - ;; - esac - ;; -esac - -# Exit if required binaries are missing. -[ -x $PREFIX/sbin/rpc.statd ] || exit 0 -[ -x $PREFIX/sbin/rpc.lockd ] || [ "$NEED_LOCKD" = no ] || exit 0 -[ -x /usr/sbin/rpc.idmapd ] || [ "$NEED_IDMAPD" = no ] || exit 0 -[ -x /usr/sbin/rpc.gssd ] || [ "$NEED_GSSD" = no ] || exit 0 - -do_modprobe() { - modprobe -q "$1" || true -} - -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) - cd / # daemons should have root dir as cwd - printf "Starting $DESC:" - printf " statd" - start-stop-daemon --start --quiet \ - --exec $PREFIX/sbin/rpc.statd -- $STATDOPTS - if [ "$NEED_LOCKD" = yes ] - then - printf " lockd" - start-stop-daemon --start --quiet \ - --exec $PREFIX/sbin/rpc.lockd || true - fi - if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ] - then - do_modprobe nfs - if do_mount rpc_pipefs $PIPEFS_MOUNTPOINT - then - if [ "$NEED_IDMAPD" = yes ] - then - printf " idmapd" - start-stop-daemon --start --quiet \ - --make-pidfile --pidfile $IDMAPD_PIDFILE \ - --exec /usr/sbin/rpc.idmapd - fi - if [ "$NEED_GSSD" = yes ] - then - printf " gssd" - start-stop-daemon --start --quiet \ - --make-pidfile --pidfile $GSSD_PIDFILE \ - --exec /usr/sbin/rpc.gssd -- $RPCGSSDOPTS - fi - fi - fi - echo "." - ;; - - stop) - printf "Stopping $DESC:" - if [ "$NEED_GSSD" = yes ] - then - printf " gssd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.gssd --user 0 - rm -f $GSSD_PIDFILE - fi - if [ "$NEED_IDMAPD" = yes ] - then - printf " idmapd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.idmapd --user 0 - rm -f $IDMAPD_PIDFILE - fi - if [ "$NEED_LOCKD" = yes ] - then - printf " lockd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.lockd --user 0 || true - fi - printf " statd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.statd --user 0 - echo "." - ;; - - restart | force-reload) - $0 stop - sleep 1 - $0 start - ;; - - *) - echo "Usage: nfs-common {start|stop|restart}" - exit 1 - ;; -esac - -exit 0 diff --git a/debian/nfs-common.install b/debian/nfs-common.install deleted file mode 100644 index 72c8f3b..0000000 --- a/debian/nfs-common.install +++ /dev/null @@ -1 +0,0 @@ -debian/idmapd.conf etc diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst deleted file mode 100755 index 5af4731..0000000 --- a/debian/nfs-common.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -e - -#DEBHELPER# - -case "$1" in - configure) - if [ "$2" != "" -a "$2" != "" ] \ - && dpkg --compare-versions "$2" lt "1:1.0-3" \ - || ( dpkg --compare-versions "$2" ge "1:1.0.1" \ - && dpkg --compare-versions "$2" lt "1:1.0.2-1" ) - then - update-rc.d -f nfs-common remove >/dev/null 2>&1 || true - fi - update-rc.d nfs-common defaults 21 79 >/dev/null - - # Remove obsolete debconf questions - if [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_unregister nfs-common/tcpwrappers-statd || true - db_stop - 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 deleted file mode 100755 index 005c928..0000000 --- a/debian/nfs-common.postrm +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -case "$1" in - purge) - update-rc.d nfs-common remove >/dev/null - - rm -f /var/lib/nfs/state \ - /var/lib/nfs/sm/* \ - /var/lib/nfs/sm.bak/* - ;; -esac diff --git a/debian/nfs-common.prerm b/debian/nfs-common.prerm deleted file mode 100755 index b49a2b4..0000000 --- a/debian/nfs-common.prerm +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -case "$1" in - remove|purge) - [ -x /etc/init.d/nfs-common ] && - /etc/init.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 deleted file mode 100644 index dcea315..0000000 --- a/debian/nfs-kernel-server.NEWS +++ /dev/null @@ -1,8 +0,0 @@ -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.conffiles b/debian/nfs-kernel-server.conffiles deleted file mode 100644 index 78db655..0000000 --- a/debian/nfs-kernel-server.conffiles +++ /dev/null @@ -1,3 +0,0 @@ -/etc/exports -/etc/default/nfs-kernel-server -/etc/init.d/nfs-kernel-server diff --git a/debian/nfs-kernel-server.default b/debian/nfs-kernel-server.default deleted file mode 100644 index 3885575..0000000 --- a/debian/nfs-kernel-server.default +++ /dev/null @@ -1,9 +0,0 @@ -# Number of servers to start up -RPCNFSDCOUNT=8 - -# Options for rpc.mountd -RPCMOUNTDOPTS= - -# If you are not running NFS with RPCSEC_GSS security, and wish to -# disable the gssd server daemon, then set NEED_SVCGSSD to "no". -NEED_SVCGSSD=no diff --git a/debian/nfs-kernel-server.dirs b/debian/nfs-kernel-server.dirs deleted file mode 100644 index 3378996..0000000 --- a/debian/nfs-kernel-server.dirs +++ /dev/null @@ -1,3 +0,0 @@ -etc/init.d -usr/sbin -var/lib/nfs diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init deleted file mode 100755 index 11ff438..0000000 --- a/debian/nfs-kernel-server.init +++ /dev/null @@ -1,143 +0,0 @@ -#!/bin/sh -# -# nfs-kernel-server -# This shell script takes care of starting and stopping -# the kernel-mode NFS server. -# -# chkconfig: 345 60 20 -# 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. -# - -set -e - -# 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 -[ -x $PREFIX/sbin/rpc.svcgssd ] || exit 0 - -# Read config -DEFAULTFILE=/etc/default/nfs-kernel-server -RPCNFSDCOUNT=8 -RPCMOUNTDOPTS= -NEED_SVCGSSD=yes -RPCGSSDOPTS= -RPCSVCGSSDOPTS= -PROCNFSD_MOUNTPOINT=/proc/fs/nfsd -if [ -f $DEFAULTFILE ]; then - . $DEFAULTFILE -fi - -do_modprobe() { - modprobe -q "$1" || true -} - -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) - cd / # daemons should have root dir as cwd - if grep -q '^/' /etc/exports - then - do_modprobe nfsd - do_mount nfsd $PROCNFSD_MOUNTPOINT || NEED_SVCGSSD=no - printf "Exporting directories for $DESC..." - $PREFIX/sbin/exportfs -r - echo "done." - - printf "Starting $DESC:" - if [ "$NEED_SVCGSSD" = yes ] - then - printf " svcgssd" - start-stop-daemon --start --quiet \ - --make-pidfile --pidfile /var/run/rpc.svcgssd.pid \ - --exec $PREFIX/sbin/rpc.svcgssd -- $RPCSVCGSSDOPTS - fi - - printf " nfsd" - start-stop-daemon --start --quiet \ - --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT - - printf " mountd" - - # 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 - - start-stop-daemon --start --quiet \ - --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS - echo "." - else - echo "Not starting $DESC: No exports." - fi - ;; - - stop) - printf "Stopping $DESC: mountd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.mountd --user 0 - if [ "$NEED_SVCGSSD" = yes ] - then - printf " svcgssd" - start-stop-daemon --stop --oknodo --quiet \ - --name rpc.svcgssd --user 0 - rm -f /var/run/rpc.svcgssd.pid - fi - printf " nfsd" - start-stop-daemon --stop --oknodo --quiet \ - --name nfsd --user 0 --signal 2 - echo "." - - printf "Unexporting directories for $DESC..." - $PREFIX/sbin/exportfs -au - echo "done." - ;; - - reload | force-reload) - printf "Re-exporting directories for $DESC..." - $PREFIX/sbin/exportfs -r - echo "done." - ;; - - restart) - $0 stop - sleep 1 - $0 start - ;; - - *) - echo "Usage: nfs-kernel-server {start|stop|reload|force-reload|restart}" - exit 1 - ;; -esac - -exit 0 diff --git a/debian/nfs-kernel-server.postinst b/debian/nfs-kernel-server.postinst deleted file mode 100755 index fa43e13..0000000 --- a/debian/nfs-kernel-server.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -e - -#DEBHELPER# - -case "$1" in - configure) - 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 - - # Remove obsolete debconf questions - if [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_unregister nfs-kernel-server/sync-default || true - db_unregister nfs-kernel-server/tcpwrappers-mountd || true - db_stop - fi - ;; -esac - -act="restart" -[ "$1:$2" = "configure:" ] && act="start" -invoke-rc.d nfs-kernel-server $act diff --git a/debian/nfs-kernel-server.postrm b/debian/nfs-kernel-server.postrm deleted file mode 100755 index 6ee42b7..0000000 --- a/debian/nfs-kernel-server.postrm +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -case "$1" in - purge) - update-rc.d nfs-kernel-server remove >/dev/null - - 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 deleted file mode 100755 index d82bd10..0000000 --- a/debian/nfs-kernel-server.prerm +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -case "$1" in - remove|purge) - [ -x /etc/init.d/nfs-kernel-server ] && - /etc/init.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/nhfsstone.dirs b/debian/nhfsstone.dirs deleted file mode 100644 index 236670a..0000000 --- a/debian/nhfsstone.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/sbin diff --git a/debian/nhfsstone.files b/debian/nhfsstone.files deleted file mode 100644 index 5d2c329..0000000 --- a/debian/nhfsstone.files +++ /dev/null @@ -1,2 +0,0 @@ -usr/sbin/nhfs* -usr/share/man/man8/nhfs* diff --git a/debian/nhfsstone.postinst b/debian/nhfsstone.postinst deleted file mode 100644 index 07fe0c2..0000000 --- a/debian/nhfsstone.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e - -#DEBHELPER# diff --git a/debian/nhfsstone.prerm b/debian/nhfsstone.prerm deleted file mode 100644 index 42faf6a..0000000 --- a/debian/nhfsstone.prerm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index a8e6885..0000000 --- a/debian/rules +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/make -f -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# You can use gcc 2.7.2 if it's installed, -# but I don't think that's necessary any more. -#SETGCC := CC=$(notdir $(shell which gcc272 gcc 2>/dev/null | sed '1q')) - -# Temporary root -DEBTMP := $(shell pwd)/debian/tmp - -build: build-stamp -build-stamp: - # Debian source diffs don't reflect removals. - # This kludge will suffice until the next upstream version. *sigh* - rm -f debian/nfs-common.config \ - debian/nfs-common.templates \ - debian/nfs-kernel-server.config \ - debian/nfs-kernel-server.templates - - dh_testdir - # Add here commands to compile the package. - $(SETGCC) ./configure \ - --mandir='$${prefix}/share/man' \ - --enable-secure-statd - $(MAKE) - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - # Add here commands to clean up after the build process. - -$(MAKE) distclean - dh_clean - -# Build architecture-independent files here. -binary-indep: build -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - dh_install - # Add here commands to install the files into debian/tmp - $(MAKE) DESTDIR='$(DEBTMP)' install - dh_movefiles - # Fixups Start Here # - cd debian && \ - for f in lockd statd showmount; do \ - mv tmp/usr/sbin/*$$f nfs-common/sbin; \ - perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \ - nfs-common/usr/share/man/man8/$$f.8; \ - done; \ - rm -f tmp/usr/sbin/*quota*; \ - rm -f tmp/usr/share/man/man8/*quota*; \ - rm -rf tmp/var/lib/nfs/*; \ - cp --preserve=timestamps etc.exports tmp/etc/exports - # Fixups End Here # - dh_installdocs -A README - dh_installexamples -# dh_installmenu - dh_installinit -n -# dh_installcron -# dh_installmanpages -# dh_undocumented - dh_installchangelogs ChangeLog - dh_strip - dh_compress - dh_fixperms - dh_installdebconf - dh_installdeb -# dh_makeshlibs - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary