summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2009-03-07 07:58:37 +0000
committerJames Youngman <jay@gnu.org>2009-04-10 23:44:49 +0100
commit993573a6e562a6046b145529633e3be5446a479b (patch)
treec2d9e0aacfc41d03de387114bacfa252d14e60a3
parent57e919060367f1ead92a00fa5655e50cd578c2aa (diff)
downloadfindutils-993573a6e562a6046b145529633e3be5446a479b.tar.gz
Remove unused Debian files; the Debian package doesn't use them.
* debian.rules: Delete. * debian/README.debian: Delete. * debian/TODO: Delete. * debian/changelog: Delete. * debian/conffiles: Delete. * debian/control: Delete. * debian/copyright: Delete. * debian/cron.find: Delete. * debian/doc-base: Delete. * debian/postinst: Delete. * debian/preinst: Delete. * debian/prerm: Delete. * debian/rules: Delete. * debian/substvars: Delete. * debian/updatedb.conf: Delete. * debian/.cvsignore: Delete. * debian/.gitignore: Delete. Signed-off-by: James Youngman <jay@gnu.org>
-rw-r--r--ChangeLog19
-rwxr-xr-xdebian.rules142
-rw-r--r--debian/.cvsignore2
-rw-r--r--debian/.gitignore2
-rw-r--r--debian/README.debian21
-rw-r--r--debian/TODO0
-rw-r--r--debian/changelog341
-rw-r--r--debian/conffiles2
-rw-r--r--debian/control15
-rw-r--r--debian/copyright36
-rw-r--r--debian/cron.find12
-rw-r--r--debian/doc-base10
-rwxr-xr-xdebian/postinst24
-rwxr-xr-xdebian/preinst30
-rwxr-xr-xdebian/prerm14
-rwxr-xr-xdebian/rules106
-rw-r--r--debian/substvars1
-rw-r--r--debian/updatedb.conf11
18 files changed, 19 insertions, 769 deletions
diff --git a/ChangeLog b/ChangeLog
index 94718b5c..750abb86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,25 @@
2009-04-10 James Youngman <jay@gnu.org>
+ Remove unused Debian files; the Debian package doesn't use them.
+ * debian.rules: Delete.
+ * debian/README.debian: Delete.
+ * debian/TODO: Delete.
+ * debian/changelog: Delete.
+ * debian/conffiles: Delete.
+ * debian/control: Delete.
+ * debian/copyright: Delete.
+ * debian/cron.find: Delete.
+ * debian/doc-base: Delete.
+ * debian/postinst: Delete.
+ * debian/preinst: Delete.
+ * debian/prerm: Delete.
+ * debian/rules: Delete.
+ * debian/substvars: Delete.
+ * debian/updatedb.conf: Delete.
+ * debian/.cvsignore: Delete.
+ * debian/.gitignore: Delete.
+
Change suffix for non-release versions from -CVS to -git.
* configure.ac(AC_INIT): Change the suffix used to indicate that
the version number doesn't correspond to a source release from
diff --git a/debian.rules b/debian.rules
deleted file mode 100755
index 7ff16c84..00000000
--- a/debian.rules
+++ /dev/null
@@ -1,142 +0,0 @@
-#! /usr/bin/make -f
-#
-# Last updated: 1996/05/27 08:10:50 by Kevin Dalley <kevin@aimnet.com>
-#
-# To make the binary distribution package, the ``Debianized'' source package
-# and the context diff to the original package, type `./debian.rules dist'.
-# Make sure that `debian.rules' is executable before the final distribution
-# is made.
-#
-# Invoke each target with `./debian.rules <target>'. All targets should be
-# invoked with the package root as the current directory.
-#
-# The `binary' target must be run as root, as it needs to install files with
-# specific ownerships. The `diff' target assumes that you have the original
-# source package available, unpacked, in ../$(package)-$(version).orig, or that you have
-# the previous revision of the ``Debianized'' source package and context diff
-# in the parent directory.
-
-CC = gcc
-CFLAGS = -O2
-LDFLAGS = -s
-
-# The name of the package (for example, `emacs').
-package = findutils
-# The version of the package (for example, `19.28').
-version = 4.1
-# The Debian revision of the package (for example, `2').
-debian = 12
-
-build:
-# Builds the binary package.
- ./configure --prefix=/usr
- make CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
- libexecdir=/usr/lib/locate localstatedir=/var/lib/locate
- ( cd doc ; makeinfo find.texi )
- touch stamp-build
-
-clean:
-# Undoes the effect of `make -f debian.rules build'.
- make distclean
- rm -f stamp-build
- rm -rf debian-tmp
-
-binary:
-# Makes a binary package.
- test -f stamp-build || make -f debian.rules build
- install -d -g root -m 755 -o root debian-tmp
- chmod g-s debian-tmp
- install -d -g root -m 755 -o root debian-tmp/DEBIAN
- install -d -g root -m 755 -o root debian-tmp/etc/cron.daily
- install -g root -m 755 -o root cron.find \
- debian-tmp/etc/cron.daily/find
- install -d -g root -m 755 -o root debian-tmp/usr/bin
- install -g root -m 755 -o root find/find \
- debian-tmp/usr/bin/find
- install -g root -m 755 -o root locate/locate \
- debian-tmp/usr/bin/locate
- install -g root -m 755 -o root locate/updatedb \
- debian-tmp/usr/bin/updatedb
- install -g root -m 755 -o root xargs/xargs \
- debian-tmp/usr/bin/xargs
- install -d -g root -m 755 -o root debian-tmp/usr/info
- install -g root -m 644 -o root doc/find.info* \
- debian-tmp/usr/info
- install -d -g root -m 755 -o root debian-tmp/usr/lib/locate
- install -g root -m 755 -o root locate/bigram locate/code \
- locate/frcode debian-tmp/usr/lib/locate
- install -d -g root -m 755 -o root debian-tmp/usr/man/man1
- install -g root -m 644 -o root find/find.1 \
- debian-tmp/usr/man/man1/find.1
- install -g root -m 644 -o root locate/locate.1 \
- debian-tmp/usr/man/man1/locate.1
- install -g root -m 644 -o root locate/updatedb.1 \
- debian-tmp/usr/man/man1/updatedb.1
- install -g root -m 644 -o root xargs/xargs.1 \
- debian-tmp/usr/man/man1/xargs.1
- install -d -g root -m 755 -o root debian-tmp/usr/man/man5
- install -d -g root -m 755 -o root debian-tmp/usr/lib/locate
- install -d -g root -m 755 -o root debian-tmp/var/lib
- install -d -g nogroup -m 2755 -o nobody debian-tmp/var/lib/locate
- install -g root -m 644 -o root locate/locatedb.5 \
- debian-tmp/usr/man/man5/locatedb.5
- install -d -g root -m 755 -o root debian-tmp/usr/doc/copyright
- install -g root -m 644 -o root debian.README \
- debian-tmp/usr/doc/copyright/$(package)
- rm -f debian-tmp/usr/info/find.info*.gz
- gzip -9f debian-tmp/usr/info/find.info*
- sed -e '1s/=/$(package)/; \
- 2s/=/$(version)-$(debian)/; \
- 3s/=/$(shell dpkg --print-architecture)/;' \
- debian.control > debian-tmp/DEBIAN/control
- chmod 644 debian-tmp/DEBIAN/control
- install -g root -m 644 -o root debian.conffiles \
- debian-tmp/DEBIAN/conffiles
- install -g root -m 755 -o root debian.postinst \
- debian-tmp/DEBIAN/postinst
- install -g root -m 755 -o root debian.postrm \
- debian-tmp/DEBIAN/postrm
- install -g root -m 755 -o root debian.preinst \
- debian-tmp/DEBIAN/preinst
- dpkg --build debian-tmp
- mv debian-tmp.deb \
- ../$(package)-$(version)-$(debian).$(shell dpkg --print-architecture).deb
-
-source: clean
-# Makes a source package.
- ( cd .. && tar cf - $(package)-$(version) | \
- gzip -9f > $(package)-$(version)-$(debian).tar.gz )
-
-diff: clean
-# Makes a context diff.
- -test -d ../$(package)-$(version).orig -o \
- -f ../$(package)-$(version)-`expr $(debian) - 1`.diff.gz \
- || ( echo "Original source package is not available." ; false )
- -test -d ../$(package)-$(version).orig || make -f debian.rules orig
- #cp -a ../$(package)-$(version).orig/doc/find.info* doc
- cd .. && \
- (diff -ruN $(package)-$(version).orig $(package)-$(version) \
- >$(package)-$(version)-$(debian).diff; [ $$? = 1 ]) && \
- gzip -9vf $(package)-$(version)-$(debian).diff
- -test -f stamp-orig \
- && rm -rf ../$(package)-$(version).orig && rm -f stamp-orig
-
-dist: binary source diff
-# Prepares the package for distribution.
-
-orig:
-# Prepares the original package from the previous
-# Debian revision source package and context diff.
- ( cd .. \
- && mkdir $(package).orig \
- && cd $(package).orig \
- && tar xzf ../$(package)-$(version)-`expr $(debian) - 1`.tar.gz \
- && cd $(package)-$(version) \
- && ( zcat ../../$(package)-$(version)-`expr $(debian) - 1`.diff.gz \
- | patch -sER -p1 ) \
- && find . -name "*.orig" -exec rm -f {} \; \
- && cd .. \
- && mv $(package)-$(version) ../$(package)-$(version).orig \
- && cd .. \
- && rmdir $(package).orig )
- touch stamp-orig
diff --git a/debian/.cvsignore b/debian/.cvsignore
deleted file mode 100644
index 8aa34536..00000000
--- a/debian/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-files
-tmp
diff --git a/debian/.gitignore b/debian/.gitignore
deleted file mode 100644
index 8aa34536..00000000
--- a/debian/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-files
-tmp
diff --git a/debian/README.debian b/debian/README.debian
deleted file mode 100644
index 520cab28..00000000
--- a/debian/README.debian
+++ /dev/null
@@ -1,21 +0,0 @@
-Some people wish to have updatedb only include mount points which are
-automatically mounted by "mount -a", which mounts devices listed in
-/etc/fstab.
-
-The following lines may be added to /etc/updatedb.conf to exclude
-non-automatic mount points from updatedb. Add before the
-"export PRUNEPATHS" line in /etc/updatedb.conf.
-
-# mount points not to be scanned (regexp matching lines into /etc/fstab)
-EXCLUDE_MOINT_POINTS=noauto
-EXCLUDE_PATH=`awk "/^#/ {next}; /$EXCLUDE_MOINT_POINTS/ {print \\$2}" < /etc/fstab | tr '\012' ' '`
-PRUNEPATHS="$PRUNEPATHS $EXCLUDE_PATH"
-
-This suggestion is due to Eric Delaunay
-<delaunay@lix.polytechnique.fr>
-
-
-> The problem is NOT
-> updatedb, rather it's actually caused by the "checksecurity" call in
-> /etc/cron.daily/standard. The easy fix for this is to mount your NFS
-> stuff nosuid and nodev so it ignores them.
diff --git a/debian/TODO b/debian/TODO
deleted file mode 100644
index e69de29b..00000000
--- a/debian/TODO
+++ /dev/null
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 5515e3c0..00000000
--- a/debian/changelog
+++ /dev/null
@@ -1,341 +0,0 @@
-findutils (4.1.7-2) unstable; urgency=low
-
- * changed libc dependencies to remove libc6-dev build-depends (closes:
- #99216).
-
- -- Kevin Dalley <kevind@rahul.net> Fri, 1 Jun 2001 20:33:32 -0700
-
-findutils (4.1.7-1) unstable; urgency=low
-
- * add ftpfs to PRUNEFS (closes: #90016).
- * implicit -print now works again (closes: #79218).
- * change debian/rules to support DEB_BUILD_OPTIONS. Do not install
- INSTALL.
- * fixed security problems in find (closes: #95185).
- * upgraded to recent config.guess and config.sub (closes: #98035).
- * updated to newest upstream release.
-
- -- Kevin Dalley <kevind@rahul.net> Sun, 20 May 2001 17:32:29 -0700
-
-findutils (4.1.6-2) unstable; urgency=low
-
- * Adds Build-Depends texinfo (closes: #76145)
-
- -- Kevin Dalley <kevind@rahul.net> Sat, 4 Nov 2000 10:20:22 -0800
-
-findutils (4.1.6-1) unstable; urgency=low
-
- * find/find.c (process_path): fix problem with "-depth" which is tested
- in depth.exp test. (closes: 69782).
-
- * new alpha release. locate --ignore-case is done.
-
-
- * some patches for ignoring case have been added. (closes: #19563).
-
- * fixed problems with brace expansion in debian/rules (closes: #71827)
-
- * doc/find.texi (Invoking xargs): changed @var{-s} to @samp{-s} (closes:
- #69529).
-
- * Update to a new alpha release.
-
- * update to new alpha release.
-
- * testing out 4.1.3, with internationalization.
-
- * added devpts to PRUNEFS in updatedb.conf (closes: #65503).
-
- * fixes bug described as follows: When 'find' looks for a fstype, it
- parses the /etc/mtab until it finds the good line. But, if there is,
- before the good line, a line whose mountpoint is unreachable, it
- fails. (closes: #40245).
-
- * fixed problem with strange behavior with "-name" and "-iname" (closes:
- #63270).
-
- -- Kevin Dalley <kevind@rahul.net> Mon, 30 Oct 2000 23:48:26 -0800
-
-findutils (4.1-38) frozen unstable; urgency=low
-
- * debian/updatedb.conf: removed second occurrence of smbfs, added
- coda (closes: #56612, #28453).
- * fixed problem with xargs sysconf(_SC_ARG_MAX) returning -1 (closes:
- #31325).
-
- -- Kevin Dalley <kevind@rahul.net> Thu, 24 Feb 2000 15:25:57 +0000
-
-findutils (4.1-37) frozen unstable; urgency=low
-
- * reverted to maintainer release, fixed last NMU bugs (closes: #55417,
- #55551).
-
- -- Kevin Dalley <kevind@rahul.net> Thu, 20 Jan 2000 09:52:59 -0800
-
-findutils (4.1-36) unstable; urgency=low
-
- * add ncpfs and smbfs to PRUNEFS (closes: #28453).
- * update Standards-Version to 3.1.1.0
- * corrected copyright reference
- * updated dpkg-gencontrol options to provide section and priority
- * 4.1-35 was not accepted, for undetermined reasons, uploaded 4.1-36,
- with additional changes
-
- -- Kevin Dalley <kevind@rahul.net> Sun, 16 Jan 2000 13:58:54 -0800
-
-findutils (4.1-34) unstable; urgency=low
-
- * removed cron.updatedb (fixes bug #31300).
- * added const to declaration of basename, which should satisfy Linux as
- well as Hurd (fixes bug #31325).
- * added /var/spool to PRUNEPATHS in updatedb.conf so that /var/spool is
- not scanned by updatedb (fixes bug #31301).
-
- -- Kevin Dalley <kevind@rahul.net> Sat, 30 Jan 1999 16:51:34 -0800
-
-findutils (4.1-33) frozen unstable; urgency=low
-
- * re to remove predependency problem with a specific version libc6.
-
- -- Kevin Dalley <kevind@rahul.net> Thu, 17 Dec 1998 08:11:15 -0800
-
-findutils (4.1-32) frozen unstable; urgency=low
-
- * added documentation for the environment variables PRUNEPATHS, PRUNEFS,
- and NETPATHS for updatedb in find.texi and updatedb.1. Added
- documentation for --prunefs in updatedb. (fixes bug #29755).
- * link ChangeLog.gz to changelog.gz, to follow policy manual.
-
- -- Kevin Dalley <kevind@rahul.net> Fri, 4 Dec 1998 23:17:57 -0800
-
-findutils (4.1-31) unstable; urgency=low
-
- * fix getstr so that it correctly handles long file paths
-
- -- Kevin Dalley <kevind@rahul.net> Sat, 26 Sep 1998 16:07:03 -0700
-
-findutils (4.1-30) unstable; urgency=low
-
- * reduced PATH in update.sh to increase security (fixes bug #21704)
- * removed more function declarations to meet GNU coding standards
- * removed "-s /bin/sh" from updatedb change quoting around PRUNEFS
- (fixes bug #20812, again, and #26857)
-
- -- Kevin Dalley <kevind@rahul.net> Sun, 20 Sep 1998 19:06:19 -0700
-
-findutils (4.1-29) unstable; urgency=low
-
- * removed declaration of strdup and free from lib/nextelem.c, which
- meets GNU coding standards and allow compilation on sparc (and fixes
- bug #20840)
- * corrected explanation of -amin option which described hours instead of
- minutes (fixes bug #22995)
- * check status of tempfile commands and exit upon failure (fixes bug
- #22350)
- * added iso9660 to PRUNEFS so that CDs will not be automatically scanned
- by updatedb (fixes bug #24548)
- * added "-s /bin/sh" to all instances of command su, which allows
- updatedb to be easily used by users which have a different shell.
- (fixes bug #20812)
-
- -- Kevin Dalley <kevind@rahul.net> Sun, 30 Aug 1998 01:40:04 -0700
-
-findutils (4.1-28) frozen unstable; urgency=low
-
- * use tempfile for extra safety (fixes bug #19791)
-
- -- Kevin Dalley <kevind@rahul.net> Thu, 19 Mar 1998 00:37:28 -0800
-
-findutils (4.1-27) unstable; urgency=low
-
- * add --existing option to locate, which only prints the names of files
- which still exist (fixes: bug #14037)
- * upgrade standards version
-
- -- Kevin Dalley <kevind@rahul.net> Fri, 27 Feb 1998 01:43:36 -0800
-
-findutils (4.1-26) unstable; urgency=low
-
- * added auto fs to PRUNEFS variable in updatedb.conf to prune
- automounted file systems (fixes: bug #13662)
- * corrected get_short so that it correctly returns negative
- numbers. (fixes: bug #17774)
- * remove declarations of various string functions which allows
- compilation under sparc. Removing the declarations almost
- matches the GNU Coding Standards.(fixes: bug #16948)
-
- -- Kevin Dalley <kevind@rahul.net> Sun, 8 Feb 1998 22:43:13 -0800
-
-findutils (4.1-25) unstable; urgency=low
-
- * change auto to autofs in PRUNEFS variable in updatedb.conf
-
- -- Kevin Dalley <kevin@aimnet.com> Tue, 30 Sep 1997 09:13:27 -0700
-
-findutils (4.1-24) unstable; urgency=low
-
- * added auto to PRUNEFS, so that automounted fs are automatically pruned
-
- -- Kevin Dalley <kevin@aimnet.com> Sat, 27 Sep 1997 01:14:52 -0700
-
-findutils (4.1-23) unstable; urgency=low
-
- * This release is built with libc6 release
- * add "#define _GNU_SOURCE" to pred.c
- * zip man pages, which fixes bug #10272: findutils manpages are not
- compressed.
-
- -- Kevin Dalley <kevin@aimnet.com> Sun, 6 Jul 1997 14:12:56 -0700
-
-findutils (4.1-22) frozen unstable; urgency=low
-
- * add smbfs to PRUNEFS in updatedb.conf, which is bug #8668, findutils:
- Updatedb should not scan smbfs mounts
-
- -- Kevin Dalley <kevin@aimnet.com> Sun, 27 Apr 1997 00:20:23 -0700
-
-findutils (4.1-21) frozen unstable; urgency=low
-
- * fixed preinst to handle install, which fixes bug #8351
-
- -- Kevin Dalley <kevin@aimnet.com> Wed, 2 Apr 1997 22:21:59 -0800
-
-findutils (4.1-20) unstable; urgency=low
-
- * really fixed xargs to prevent occasional core dumping, which fixes bug
- #7287. findutils-4.1-19 skipped including this patch
-
- -- Kevin Dalley <kevin@aimnet.com> Mon, 3 Mar 1997 22:50:28 -0800
-
-findutils (4.1-19) unstable; urgency=low
-
- * /etc/updatedb.conf execution mode is removed, which fixes bug #7569
- * xargs fixed to prevent occasional core dumping, which fixes bug #7287
- * added comment in README.debian describing updatedb on automatically
- mounted file systems only, which closes bug #7023
-
- -- Kevin Dalley <kevin@aimnet.com> Sun, 2 Mar 1997 11:51:30 -0800
-
-findutils (4.1-18) unstable; urgency=low
-
- * added extra '\' so that localuser, prunefs, and prunepaths can work
- together, which fixes bug #6640
-
- -- Kevin Dalley <kevin@aimnet.com> Thu, 23 Jan 1997 02:00:11 -0800
-
-findutils (4.1-17) unstable; urgency=low
-
- * corrected permission on /var/lib/locate again in postinst.
-
- -- Kevin Dalley <kevin@aimnet.com> Sun, 12 Jan 1997 15:24:17 -0800
-
-findutils (4.1-16) unstable; urgency=low
-
- * add --localuser option to updatedb, which allows find to be run as
- nobody, while allowing database file to be created as root, change
- suggested by <Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de>
- * install /var/lib/locate as root:root
- * doc/find.texi, locate/updatedb.sh: add --localuser documention.
- * debian/postinst: change /var/lib/locate directory to be owned by root
- * debian/cron.find: use --localuser option so to updatedb is run as
- root, but find is run as nobody
- * correct warning message in preinst, fixes bug #6498: findutils.preinst
- mentions /etc/find.conf instead of /etc/updatedb.conf
-
- -- Kevin Dalley <kevin@aimnet.com> Sat, 11 Jan 1997 19:16:39 -0800
-
-findutils (4.1-15) unstable; urgency=low
-
- * added PRUNEFS as variable in updatedb and --prunefs as option to
- updatedb (solves bug #1239, which is RFE)
- * rename cron.find to cron.updatedb (and cron.daily/find to
- cron.daily/updatedb)
- * find.texi, find.info*: changed certain defaults back to the way they
- were in the original release, added prunefs option
- * findutils/locate/updatedb.sh: added prunefs option
- * debian/rules: added find.conf and changed method of installation of files
- * debian/preinst: add information about changed find.conf when upgrading
- * debian/find.conf: updatedb configuration file
- * debian/find.conf: use find.conf
- * debian/conffiles: added find.conf as configuration file
- * renamed find.conf to updatedb.conf
-
- -- Kevin Dalley <kevin@aimnet.com> Sat, 28 Dec 1996 14:21:07 -0800
-
-findutils (4.1-14) stable unstable; urgency=low
-
- * install conffiles so that find is a conffile (this was last during the
- standards-version update
-
- -- Kevin Dalley <kevin@aimnet.com> Sat, 21 Dec 1996 12:54:46 -0800
-
-findutils (4.1-13) stable unstable; urgency=HIGH
-
- * fixes bug which prevents locate from running in previous
- installations, which is /var/lib/locate directory being owned by
- root.
-
- * remove recursive chown and chmod from debian/rules. set
- /var/lib/locate to nobody:nogroup in postinst, just in case it was set
- previously by another installation.
-
- -- Kevin Dalley <kevin@aimnet.com> Tue, 17 Dec 1996 23:34:44 -0800
-
-findutils (4.1-12) unstable; urgency=low
-
- * changed debian/control to satisfy standards and fix bug #3566,
- summary incorrect
- * moved files debian.* to debian/*
- * converted to Standards-Version: 2.1.1.0
-
- -- Kevin Dalley <kevin@aimnet.com> Wed, 23 Oct 1996 21:06:15 -0700
-
-Mon May 27 01:07:52 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
-
- * updatedb.sh: when NETPATHS is used, only su to NETUSER if whoami
- is root
-
- * debian.rules: now creates *.architecture.deb
- upgraded to Debian release 11
- stopped rm of find.info*
-
-Sat Apr 27 12:29:06 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
-
- * find.info, find.info-1, find.info-2: updated to match find.texi
-
- * debian.rules (debian): update debian revision to 10
-
- * getline.c (getstr): verify that nchars_avail is *really* greater
- than 0; set *n to a large enough number, stops some core dumping
-
-Mon Apr 15 05:06:15 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
-
- * debian.rules: change to findutils-4.1-9
-
- * configure: restore configure from autoconf version 2.1, which
- was modified in findutils-4.1-7
-
-Sun Apr 14 00:09:13 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
-
-* debian.control, debian.rules:
- added architecture field, updated debian.rules, bumped version
-
-* find.texi, updatedb.sh:
- added /amd, /net, /alex to list of files to be ignored
-
-Sun Feb 25 13:23:21 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
-
-* debian.rules: finish variable changing of v, d, and p
-
-* updatedb.sh: ignore file type proc, remove proc from PRUNEPATHS
- (this should *really* be changed in upstream package)
-
-* debian.rules: changed variables v and d to complete words version and debian
-
-* debian.control: deleted PACKAGE_REVISION field, modified version field
-
-* cron.find: cd to / before running updatedb
-
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/conffiles b/debian/conffiles
deleted file mode 100644
index cf51b126..00000000
--- a/debian/conffiles
+++ /dev/null
@@ -1,2 +0,0 @@
-/etc/cron.daily/find
-/etc/updatedb.conf
diff --git a/debian/control b/debian/control
deleted file mode 100644
index e2ff9759..00000000
--- a/debian/control
+++ /dev/null
@@ -1,15 +0,0 @@
-Source: findutils
-Section: base
-Priority: required
-Maintainer: Kevin Dalley <kevind@rahul.net>
-Standards-Version: 3.5.2.0
-Build-Depends: texinfo
-
-Package: findutils
-Architecture: any
-Essential: yes
-Pre-Depends: ${shlibs:Pre-Depends}
-Description: utilities for finding files--find, xargs, and locate
- These utilities find files meeting specified criteria and perform
- various actions on the files which are found.
-
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index dcbcb7de..00000000
--- a/debian/copyright
+++ /dev/null
@@ -1,36 +0,0 @@
-This is the Debian GNU/Linux prepackaged version of GNU find, xargs
-and locate. GNU find was originally written by Eric Decker, with
-enhancements by David MacKenzie, Jay Plett and Tim Wood. GNU xargs
-was originally written by Mike Rendell, with enhancements by David
-MacKenzie. GNU locate and its associated utilities were originally
-written by James Woods, with enhancements by David MacKenzie. The
-idea for `find -print0' and `xargs -0' came from Dan Bernstein.
-
-This package was put together by Ian Murdock <imurdock@debian.org>,
-from sources obtained from:
- ftp.gnu.org:/pub/gnu/findutils-4.1.tar.gz
-
-Changes:
- * added Debian GNU/Linux package maintenance system files
- * added cron script to update `find.codes' database daily
- * fixed locate, and removed declaration of various string functions
- * add "--existing" option to locate to ignore files which no longer exist
-
-GNU findutils are Copyright (C) 1990, 1991, 1992, 1993, 1994, 1999,
-2000 Free Software Foundation, Inc.
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/cron.find b/debian/cron.find
deleted file mode 100644
index ac864a33..00000000
--- a/debian/cron.find
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh
-#
-# cron script to update the `find.codes' database.
-#
-# Written by Ian A. Murdock <imurdock@debian.org> and
-# Kevin Dalley <kevin@aimnet.com>
-
-if [ -f /etc/updatedb.conf ]; then
- . /etc/updatedb.conf
-fi
-
-cd / && updatedb --localuser=nobody 2>/dev/null
diff --git a/debian/doc-base b/debian/doc-base
deleted file mode 100644
index e79d9a9f..00000000
--- a/debian/doc-base
+++ /dev/null
@@ -1,10 +0,0 @@
-Document: findutils
-Title: findutils
-Abstract: utilities for finding files--find, xargs, and locate
- These utilities find files meeting specified criteria and perform
- various actions on the files which are found.
-Section: Apps/Tools
-
-Format: info
-Index: /usr/share/info/find.info.gz
-Files: /usr/share/info/find.info*
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755
index 9abc64c1..00000000
--- a/debian/postinst
+++ /dev/null
@@ -1,24 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
- install-info --quiet --section "General commands" "General commands" \
- /usr/share/info/find.info.gz
- if [ -d /usr/doc -a ! -e /usr/doc/findutils -a -d /usr/share/doc/findutils ]; then
- ln -sf ../share/doc/findutils /usr/doc
- fi
- if command -v install-docs > /dev/null 2>&1; then
- install-docs -i /usr/share/doc-base/findutils
- fi
-fi
-
-# In older releases, /var/lib/locate was owned by nobody
-# findutils_4.1-12 installed /var/lib/locate as root:root
-chown root:root /var/lib/locate
-chmod 755 /var/lib/locate
-
-# In some releases, updatedb.conf was installed executable
-if [ -x /etc/updatedb.conf ]; then
- chmod 644 /etc/updatedb.conf
-fi
diff --git a/debian/preinst b/debian/preinst
deleted file mode 100755
index e2d7244d..00000000
--- a/debian/preinst
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/sh
-
-set -e
-
-case "$1" in
- install|upgrade)
- dpkg --assert-support-predepends
- if [ -n "$2" ]; then
- version=$2
- if dpkg --compare-versions $version le-nl 4.1-15 ; then
- echo /etc/cron.daily/find has a new format.
- echo Consider using the new /etc/cron.daily/find
- echo and modifing /etc/updatedb.conf
- echo Old versions of /etc/cron.daily/find may not work
- fi
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-
-
-
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100755
index b74412f0..00000000
--- a/debian/prerm
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/findutils ]; then
- rm -f /usr/doc/findutils
-fi
-
-if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
- install-info --quiet --remove find
- if command -v install-docs > /dev/null 2>&1; then
- install-docs -r findutils || true
- fi
-fi
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 7e2b2392..00000000
--- a/debian/rules
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian.rules file - for GNU Hello (1.3).
-# Copyright 1994,1995 by Ian Jackson.
-# I hereby give you perpetual unlimited permission to copy,
-# modify and relicense this file, provided that you do not remove
-# my name from the file itself. (I assert my moral right of
-# paternity under the Copyright, Designs and Patents Act 1988.)
-# This file may have to be extensively modified
-# Copyright 1996 by Kevin Dalley
-#
-
-
-CC = gcc
-CFLAGS = -O2
-INSTALL_TARGET=install
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_TARGET = install-strip
-endif
-
-package = findutils
-
-build:
- $(checkdir)
- ./configure --prefix=/usr --localstatedir=/var/lib/locate \
- --libexecdir='$${prefix}/lib/locate' \
- --mandir='$${prefix}/share/man' \
- --infodir='$${prefix}/share/info'
- $(MAKE) \
- CC="$(CC)" CFLAGS="$(CFLAGS)"
- cd doc ; makeinfo find.texi
- touch build
-
-clean:
- $(checkdir)
- -rm -f build
- -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
- -rm -rf *~ debian/tmp debian/*~ debian/files*
-
-binary-indep: checkroot build
- $(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package. If there were any they would be
-# made here.
-
-binary-arch: checkroot build
- $(checkdir)
- -rm -rf debian/tmp
- install -d debian/tmp debian/tmp/DEBIAN
- install -d debian/tmp/usr/share/doc/$(package)
- install -d debian/tmp/usr/bin
- install -d debian/tmp/usr/lib
- install -d debian/tmp/usr/lib/locate
- install -d debian/tmp/etc
- install -d debian/tmp/etc/cron.daily
- install -d debian/tmp/var
- install -d debian/tmp/var/lib
- install -d debian/tmp/var/lib/locate
- install debian/postinst debian/prerm debian/preinst debian/tmp/DEBIAN/.
- install -m 0644 debian/conffiles debian/tmp/DEBIAN/.
- install debian/cron.find debian/tmp/etc/cron.daily/find
- install -m 0644 debian/updatedb.conf debian/tmp/etc/updatedb.conf
- $(MAKE) DESTDIR=`pwd`/debian/tmp \
- CC="$(CC)" CFLAGS="$(CFLAGS)" \
- INSTALL_STRIP_PROGRAM="/usr/bin/install -s" \
- $(INSTALL_TARGET)
- install -d debian/tmp/usr/share/doc-base
- install -m 0644 debian/doc-base \
- debian/tmp/usr/share/doc-base/findutils
- gzip -9v debian/tmp/usr/share/info/*
- gzip -9v debian/tmp/usr/share/man/man[15]/*
- install -m 0644 debian/copyright debian/tmp/usr/share/doc/$(package)/.
- install -m 0644 debian/changelog \
- debian/tmp/usr/share/doc/$(package)/changelog.Debian
- gzip -9v debian/tmp/usr/share/doc/$(package)/changelog.Debian
- for file in ChangeLog NEWS README TODO; do \
- install -m 0644 $$file \
- debian/tmp/usr/share/doc/$(package);\
- gzip -9v debian/tmp/usr/share/doc/$(package)/$$file;\
- done
- ln -s ChangeLog.gz debian/tmp/usr/share/doc/$(package)/changelog.gz
- install -m 0644 debian/README.debian \
- debian/tmp/usr/share/doc/$(package)
- dpkg-shlibdeps -dPre-Depends debian/tmp/usr/bin/find \
- debian/tmp/usr/bin/locate debian/tmp/usr/bin/xargs
- dpkg-gencontrol -isp
- dpkg --build debian/tmp ..
-
-define checkdir
- test -f find/find.c -a -f debian/rules
-endef
-
-# Below here is fairly generic really
-
-binary: binary-indep binary-arch
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-checkroot:
- $(checkdir)
- test 0 = "`id -u`"
-
-.PHONY: binary binary-arch binary-indep clean checkroot
diff --git a/debian/substvars b/debian/substvars
deleted file mode 100644
index bcb62e57..00000000
--- a/debian/substvars
+++ /dev/null
@@ -1 +0,0 @@
-shlibs:Pre-Depends=libc6 (>= 2.2.3-1)
diff --git a/debian/updatedb.conf b/debian/updatedb.conf
deleted file mode 100644
index de628322..00000000
--- a/debian/updatedb.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file sets environment variables which are used by updatedb
-
-# filesystems which are pruned from updatedb database
-PRUNEFS="NFS nfs afs proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs"
-export PRUNEFS
-# paths which are pruned from updatedb database
-PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool"
-export PRUNEPATHS
-# netpaths which are added
-NETPATHS=""
-export NETPATHS