debian/0002775000000000000000000000000012253115454007174 5ustar debian/findutils.preinst0000775000000000000000000000460511700022356012603 0ustar #!/bin/sh set -e # Inspired from # http://wiki.debian.org/DpkgConffileHandling # Move contents from dpkg-conffile to optional (not dpkg-managed) file mv_with_comment_conffile() { PKGNAME="$1" CONFFILE="$2" OPTIONALCONFIG="$3" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" = "$old_md5sum" ]; then echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" else if [ -e "$OPTIONALCONFIG" ] ; then # $CONFFILE has been removed, but user has already generated # non-dpkgconffile OPTIONALCONFIG echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv "$CONFFILE" "$CONFFILE".dpkg-bak else echo generating "$OPTIONALCONFIG" from user modified "$CONFFILE" { echo "# Generated from $CONFFILE when upgrading $PKGNAME" cat "$CONFFILE" ; } \ > "$OPTIONALCONFIG" chmod --reference="$CONFFILE" "$OPTIONALCONFIG" echo "Saving $CONFFILE as $CONFFILE.dpkg-bak ..." mv "$CONFFILE" "$CONFFILE".dpkg-bak fi fi fi } # Remove a no-longer used conffile # http://wiki.debian.org/DpkgConffileHandling rm_conffile() { PKGNAME="$1" CONFFILE="$2" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "4.2.31-2"; then # delete if unchanged, rename otherwise. mv_with_comment_conffile findutils "/etc/updatedb.conf" \ /etc/updatedb.findutils.cron.local rm_conffile findutils "/etc/cron.daily/find" fi ;; esac #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/clean0000664000000000000000000000006412161563175010204 0ustar doc/stamp-vti doc/version.texi gnulib/lib/getdate.c debian/findutils.install0000664000000000000000000000016111700022356012553 0ustar debian/tmp/usr/share/locale/* usr/share/locale debian/tmp/usr/bin/xargs usr/bin debian/tmp/usr/bin/*find usr/bin debian/locate.install0000664000000000000000000000012111700022356012015 0ustar debian/tmp/var/cache/locate var/cache debian/tmp/usr/lib/locate/* usr/lib/locate debian/findutils.info0000664000000000000000000000001711700022356012040 0ustar doc/find.info* debian/locate.postinst0000775000000000000000000000066111700022356012246 0ustar #!/bin/sh set -e update-alternatives --quiet --install /usr/bin/locate locate /usr/bin/locate.findutils 20 \ --slave /usr/share/man/man1/locate.1.gz locate.1.gz /usr/share/man/man1/locate.findutils.1.gz \ --slave /usr/bin/updatedb updatedb /usr/bin/updatedb.findutils \ --slave /usr/share/man/man1/updatedb.1.gz updatedb.1.gz /usr/share/man/man1/updatedb.findutils.1.gz #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/changelog0000664000000000000000000012560612253115450011052 0ustar findutils (4.4.2-7) unstable; urgency=low * Merge from Ubuntu: + Mark findutils and locate Multi-Arch: foreign. Closes: #657088 + Preseed gl_cv_func_wcwidth_works for cross builds. Closes: #729847 * Use dh v9 compat level. -- Andreas Metzler Sat, 14 Dec 2013 18:53:37 +0100 findutils (4.4.2-6) unstable; urgency=low * [20_texi_ftbfs.diff] Pull some texi fixes from 4.5.x. Closes: #710849 * [21-Fix-time_t-vs-long-int-mismatches.patch] Fix build error on x32 (Thanks, Adam Borowski). Also add bison to build-depends. Closes: #711412 * Fix building twice in a row by deleting doc/stamp-vti, doc/version.texi, gnulib/lib/getdate.c on clean. -- Andreas Metzler Sun, 23 Jun 2013 14:18:02 +0200 findutils (4.4.2-5) unstable; urgency=low * Fix config.(sub|guess) update, the relevant files are in build-aux/. Closes: #689620 * Add build-arch/build-indep targets. -- Andreas Metzler Thu, 04 Oct 2012 19:16:52 +0200 findutils (4.4.2-4) unstable; urgency=low * Use 3.0 (quilt) format. * 10_Fix29828-testsuite-FreeBSD.patch, pulled from 4.5 series. Fix testsuite deadlock on FreeBSD. -- Andreas Metzler Fri, 06 Jan 2012 10:40:28 +0100 findutils (4.4.2-3) unstable; urgency=low * Drop all dpatch related stuff. -- Andreas Metzler Sat, 31 Dec 2011 17:19:39 +0100 findutils (4.4.2-2) unstable; urgency=low * Use dh_installcron to install locate's cron script. * Stop suggesting slocate, it has been removed from the archive. Closes: #565653 * Enable hardened build flags through dpkg-buildflags. (Thank's, Moritz Muehlenhoff). Closes: #653849 * Drop dpatch build-dependency. -- Andreas Metzler Sat, 31 Dec 2011 16:21:15 +0100 findutils (4.4.2-1) unstable; urgency=low * debian/locate-cron.daily: Test if called by root. (Thank's, Michael Vogt). Closes: #526939 * New upstream version. + find -prune now makes sure it has valid stat() information. Closes: #527584 + Drop patches/10_typo_525263.dpatch, included upstream. -- Andreas Metzler Sat, 06 Jun 2009 16:56:11 +0200 findutils (4.4.1-1) unstable; urgency=low * New upstream maintenance release. + Drop 10_unnecessary_tempfile.dpatch, applied upstream. + Drops duplicate filesystem proc in PRUNEFS. Closes: #518120 + Correct code for displaying \0 in find.1. Closes: #476218 + Updates documentation for find -perm /mode. Closes: #478005 + Fixes segfault if -newerXY test was not followed by any argument. Closes: #496853 * Standards-Version 3.8.1. + Add support for DEB_BUILD_OPTIONS=nocheck. * Use filter instead of findstring when checking for DEB_BUILD_OPTIONS=noopt. * Fix typo "diagnositcs" in docs. Closes: #525263 * Update copyright stanza in debian/copyright. -- Andreas Metzler Sat, 25 Apr 2009 10:13:14 +0200 findutils (4.4.0-3) unstable; urgency=low * Selective pull from Ubuntu: - Change version check in findutils preinst from "$2" le-nl "4.2.31-1" to "$2" lt-nl "4.2.31-2". This check correctly catches the respective ubuntu or backport versions. - add /var/lib/schroot/mount to PRUNEPATHS. * Add ocfs2 to PRUNEFS. Closes: #516776 * Standards-Version 3.8.0. No changes required. * Clean up build system. + Stop setting INSTALL_PROGRAM += -s on DEB_BUILD_OPTIONS=nostrip in debian/rules. + Remove old commented commands. + Switch to debhelper v7. (Use dh_prep instead of dh_clean -k). -- Andreas Metzler Sun, 01 Mar 2009 18:27:17 +0100 findutils (4.4.0-2) unstable; urgency=low * Stop generating a unnecessary unsafe tempfile in testsuite. Should fix ftbfs on hppa. [debian/patches/10_unnecessary_tempfile.dpatch] -- Andreas Metzler Thu, 03 Apr 2008 19:38:59 +0200 findutils (4.4.0-1) unstable; urgency=low * New upstream stable version. + Some fixes for the texinfo manuals. (Closes: #470308) * First upload to unstable, close bugs fixed by previous uploads to experimental: + POSIX is going to or has already standardized -[i]path. Stop throwing a warning sugging to use -[i]wholename instead. Closes: #336078 + Better error message if the second operand of a binary operator is missing. (Closes: #403823) + #22056: -Xtime tests are off by one second (e.g. rm -f x; touch x; find x -mtime 0 should print x). Closes: #460733 + If locatedb is old show actual age in warning mesage instead of just saying "more than 8 days old". (Closes: #354384) + Do not show warnings about argument ordering if -nowarn is specified. (Closes: #370057) + find -execdir will not segfault if PATH is not set. Closes: #438689 + Different error message on 'find ""'. (Closes: #21084) + Support for *BSDs -newerXY tests allows to find files with a date in the future without generating a temporary file. "find -newermt 2007-07-07" (Closes: #291419) * Stop trying to install removed README-alpha. * Point watchfile to ftp.gnu.org instead of alpha.gnu.org. * Use doc-base section "File Management", since Apps/Tools is gone. * Only run $(MAKE) distclean if Makefile exists. * Symlink find(1) to oldfind(1) manpage. -- Andreas Metzler Sat, 15 Mar 2008 16:26:43 +0100 findutils (4.3.13-1) experimental; urgency=low * New upstream version. #22057: Actually rename the old locate database to the new one atomically, instead of just claiming the rename is atomic in a comment. Closes: #461585 #22056: -Xtime tests are off by one second (e.g. rm -f x; touch x; find x -mtime 0 should print x). Closes: #460733 * merge from 4.2.x: - Add Vcs-Svn, Vcs-Browser and Homepage control fields. - Try to preserve user changes of updatedb.conf on upgrading from findutils versions with included locate: If updatedb.conf is user modified and /etc/updatedb.findutils.cron.local does not yet exist, generate the latter from the former. Closes: #459570 * Upstream's documentation licensing has been fixed, update debian/copyright. -- Andreas Metzler Sat, 01 Mar 2008 12:34:04 +0100 findutils (4.3.12-1) experimental; urgency=low * New upstream version * Merge changes 4.2.31-3-->4.2.31-4 from unstable. + Standards-Version: 3.7.3, no changes required. + findutils Suggests: mlocate|locate|slocate. Long description of findutils was improved. (Thanks, Justin B Rye). Closes: #455690 + Fixed minor grammar error in 4.2.31-2 entry of NEWS.Debian. (Thanks, Steve Langasek) Closes: #457231 + Allow setting IONICE_CLASS and IONICE_PRIORITY in /etc/updatedb.findutils.cron.local. (Thanks, Kees Cook). Closes: #454677 + locate-cron.daily - Do not run ionice for kernels < 2.6.13. Redirect ionice stderr and stdout to /dev/null. (Thanks, Craig Sanders) - Allow disabling ionice by setting UPDATDB_NO_IONICE to a non-empty value in /etc/updatedb.findutils.cron.local Closes: #456291 - run with "set -e" + Reformat /usr/share/doc/locate/README.Debian and add a comment about the effects of IONICE_CLASS. (Thanks, James Youngman) + Do not export NICE in the cronjob, since updatedb itself does not make use of it. * Refer to /usr/share/common-licenses/GFDL-1.2 in debian/copyright. -- Andreas Metzler Sun, 06 Jan 2008 11:52:09 +0100 findutils (4.3.11-1) experimental; urgency=low * New upstream version. + GPLv3+. Update debian/copyright. + includes fix for savannah #20139: find -[acm]time -N (wrongly) includes files from N days ago, as well as (correctly) from less than N days ago. + POSIX is going to or has already standardized -[i]path. Stop throwing a warning sugging to use -[i]wholename instead. Closes: #336078 + find -execdir will not segfault if PATH is not set. Closes: #438689 * Add a note about the separate locate package to findutils' NEWS.Debian. README.Debian only talks about locate. Move it to the correct package, update contents. Closes: #453002 * locate needs a Replaces: findutils (<< 4.2.31-2), since the helper binaries in /usr/lib/locate/ are shipped in both packages. Closes: #453078 * Rename /etc/cron.daily/find to /etc/cron.daily/locate. Use "export foo bar" instead of "export foo ; export bar". (Thanks, jidanni). Closes: #453490 -- Andreas Metzler Sun, 2 Dec 2007 16:14:34 +0100 findutils (4.3.8-3) experimental; urgency=low * fix removal of alternatives. (Thanks, dato) -- Andreas Metzler Sat, 17 Nov 2007 11:57:45 +0100 findutils (4.3.8-2) experimental; urgency=low * Split off locate/updatedb to a separate package. (resulting description change Closes: #448523) * Drop misnamed /etc/updatedb.conf and include its contents in cron.daily file. (updatedb.conf only configured the cronjob, but not any invocation of updatedb. (Closes: #342713). Allow keeping customization in a separate /etc/updatedb.findutils.cron.local (Closes: #344213) * Set cronjob IO scheduling to idle. (Thanks, Alberto Marmodoro) (Closes: #448398) * Use alternatives to manage /usr/bin/locate and /usr/bin/updatedb. (Closes: #57748) * Remove orphaned locate related conffiles on findutils upgrade as described in http://wiki.debian.org/DpkgConffileHandling * In findutils.postinst remove locate database unless locate is installed. -- Andreas Metzler Sun, 11 Nov 2007 15:04:12 +0100 findutils (4.3.8-1) experimental; urgency=low * New upstream version 4.3.8. - Fixes locate heap buffer overflow when using databases in old format. (CVE-2007-2452) Closes: #426862 - Fixes savannah bug #20005: Tests -mtime -n and -mtime +n incorrectly treated like -mtime n. Closes: #426505 - Correct docs for %b printf specifier. (Closes: #400936) * Pulled from CVS: 01_sv-bug-20139.dpatch: find -[acm]time -N (wrongly) includes files from N days ago, as well as (correctly) from less than N days ago. -- Andreas Metzler Sat, 23 Jun 2007 09:05:25 +0200 findutils (4.3.6-1) experimental; urgency=low * New upstream version. -- Andreas Metzler Sun, 27 May 2007 10:50:49 +0200 findutils (4.3.5-1) experimental; urgency=low * New upstream version. - Better error message if the second operand of a binary operator is missing. (Closes: #403823) - If locatedb is old show actual age in warning mesage instead of just saying "more than 8 days old". (Closes: #354384) - Do not show warnings about argument ordering if -nowarn is specified. (Closes: #370057) - Correct docs for %b printf specifier. (Closes: #400936) - [-version] instead of [--version] in locate --help. (Closes: #412459) - make clean does not delete regexprops.texi if cross-building. (Closes: #420190) - Different error message on 'find ""'. (Closes: #21084) - Support for *BSDs -newerXY tests allows to find files with a date in the future without generating a temporary file. "find -newermt 2007-07-07" (Closes: #291419) - Non-printable characters escaped in errormessages, too. (Closes: #259194) * Undo workaround for savannah #19550, since it is a glibc bug. -- Andreas Metzler Sun, 13 May 2007 14:40:44 +0200 findutils (4.2.33-1) unstable; urgency=low * New upstream version. (Translation updates and additions only.) * Add Vcs-Svn, Vcs-Browser and Homepage control fields. -- Andreas Metzler Sat, 16 Feb 2008 13:26:48 +0100 findutils (4.2.32-1) unstable; urgency=low * New upstream version. - Fixes memory-corruption caused by off-by-one error in lib/listfile.c. Closes: #462224 - Correct docs for %b printf specifier in info manual, too. (Closes: #400936) * License now GPLv3+, update debian/copyright. * Try to preserve user changes of updatedb.conf on upgrading from findutils versions with included locate: If updatedb.conf is user modified and /etc/updatedb.findutils.cron.local does not yet exist, generate the latter from the former. Closes: #459570 * Point watch file to ftp.gnu.org instead of alpha. -- Andreas Metzler Sun, 27 Jan 2008 10:18:07 +0100 findutils (4.2.31-4) unstable; urgency=low * Allow setting IONICE_CLASS and IONICE_PRIORITY in /etc/updatedb.findutils.cron.local. (Thanks, Kees Cook). Closes: #454677 * Standards-Version: 3.7.3, no changes required. * Reformat /usr/share/doc/locate/README.Debian and add a comment about the effects of IONICE_CLASS. (Thanks, James Youngman) * Do not export NICE in the cronjob, since updatedb itself does not make use of it. * findutils Suggests: mlocate|locate|slocate. Long description of findutils was improved. (Thanks, Justin B Rye). Closes: #455690 * locate-cron.daily - Do not run ionice for kernels < 2.6.13. Redirect ionice stderr and stdout to /dev/null. (Thanks, Craig Sanders) - Allow disabling ionice by setting UPDATDB_NO_IONICE to a non-empty value in /etc/updatedb.findutils.cron.local Closes: #456291 - run with "set -e" * Fixed minor grammar error in 4.2.31-2 entry of NEWS.Debian. (Thanks, Steve Langasek) Closes: #457231 -- Andreas Metzler Sat, 1 Dec 2007 12:47:17 +0100 findutils (4.2.31-3) unstable; urgency=low * Add a note about the separate locate package to findutils' NEWS.Debian. README.Debian only talks about locate. Move it to the correct package, update contents. Closes: #453002 * locate needs a Replaces: findutils (<< 4.2.31-2), since the helper binaries in /usr/lib/locate/ are shipped in both packages. Closes: #453078 * Rename /etc/cron.daily/find to /etc/cron.daily/locate. Use "export foo bar" instead of "export foo ; export bar". (Thanks, jidanni). Closes: #453490 -- Andreas Metzler Sat, 24 Nov 2007 10:55:17 +0100 findutils (4.2.31-2) unstable; urgency=low * Merge changes from 4.3.8-1 to 4.3.8-3 to unstable: + Split off locate/updatedb to a separate package. (resulting description change Closes: #448523) + Drop misnamed /etc/updatedb.conf and include its contents in cron.daily file. (updatedb.conf only configured the cronjob, but not any invocation of updatedb. (Closes: #342713). Allow keeping customization in a separate /etc/updatedb.findutils.cron.local (Closes: #344213) + Set cronjob IO scheduling to idle. (Thanks, Alberto Marmodoro) (Closes: #448398) + Use alternatives to manage /usr/bin/locate and /usr/bin/updatedb. (Closes: #57748) + Remove orphaned locate related conffiles on findutils upgrade as described in http://wiki.debian.org/DpkgConffileHandling + In findutils.postinst remove locate database unless locate is installed. -- Andreas Metzler Sat, 2 Jun 2007 10:53:46 +0200 findutils (4.2.31-1) unstable; urgency=medium * Undo workaround for savannah #19550, since it is a glibc bug. * New upstream bugfix release: - Fixes locate heap buffer overflow when using databases in old format. (CVE-2007-2452) Closes: #426862 - make clean does not delete regexprops.texi if cross-building. (Closes: #420190) - [-version] instead of [--version] in locate --help. (Closes: #412459) -- Andreas Metzler Sat, 2 Jun 2007 09:55:27 +0200 findutils (4.2.30-1) unstable; urgency=low * New upstream version. - drop patches/11_fix_execdir.dpatch added in 4.2.28-2. - drop debian/patches/10_tcl8.3_testsuite_failure.dpatch * Work around http://savannah.gnu.org/bugs/?19550 by forcing --without-included-regex. -- Andreas Metzler Sun, 8 Apr 2007 13:38:24 +0200 findutils (4.2.28-2) unstable; urgency=low * Pulled from 4.2.29 - Fix breakage with slightly more complicated commands and -exedir. (Closes: #385896) -- Andreas Metzler Sun, 25 Feb 2007 10:44:55 +0100 findutils (4.2.28-1) unstable; urgency=low * New upstream version. - includes 01_updatedb-withnew-su.dpatch, drop it. -- Andreas Metzler Sun, 6 Aug 2006 09:53:05 +0200 findutils (4.2.27-3) unstable; urgency=low * [updatedb] use su "$LOCALUSER" -s $SHELL -c false instead of su "$LOCALUSER" -s $SHELL false to make it work with current su in sid. Thanks, Chronos Tachyon for bugreport and fix. (Closes: #366269) * standards-version 3.7.2, no changes required. -- Andreas Metzler Sat, 13 May 2006 13:41:30 +0200 findutils (4.2.27-2) unstable; urgency=low * Invoke ./configure according to latest autotools-dev/README.Debian.gz, just with --build for regular builds, and both --build and --host when crosscompiling, instead of always specifying both. * Do not run testsuite when cross-compiling. (Thanks, Pjotr Kourzanov) (Closes: #358774) * Fix testsuite failure with tcl8.3 by pulling fix from CVS. (Closes: #361401) -- Andreas Metzler Fri, 24 Mar 2006 19:06:03 +0100 findutils (4.2.27-1) unstable; urgency=low * New upstream version - filesystem detection should be correct more often. Hopefully closes #344356 * Add udf to PRUNEFS (Closes: #340597) -- Andreas Metzler Fri, 6 Jan 2006 17:45:04 +0100 findutils (4.2.26-2) unstable; urgency=low * [xargs] Use true instead of echo in testsuite, hopefully fixing FTBFS on alpha, amd64 and ia64. (Closes: #340664) * [xargs] Limit number of arguments to (arg_max / sizeof(void*)) - 2 instead of ...-1, hopefully fixing FTBFS on hppa. * [updatedb] Add binfmt_misc, tmpfs, usbfs to PRUNEFS (Closes: #229551) -- Andreas Metzler Sat, 3 Dec 2005 13:52:20 +0100 findutils (4.2.26-1) unstable; urgency=low * mimick override-file and put find in section utils instead of base. * debian/README.debian: on_ac_power works for ACPI, too. (Closes: #306963) * Add a NEWS.Debian file, explaining the withdrawal of "find -perm +MODE" and introduction of "find -perm /MODE". (Closes: #329358) * New upstream version 4.2.26. - find manpage updated to document -perm /... instead of -perm +... (Closes: #330245) - Typos in xargs.1 and find.1 fixed. (Thanks, A. Costa) (Closes: #327909, #327910) - If the input to xargs is a large number of very short options (for example, one character each), earlier versions of xargs would fail with 'Argument list too long'. This is because Linux's execve implementation requires that the sum of the sizes of all argument string pointers not exceed 128K (the actual limit is ARG_MAX - sizeof (void*)). Hopefully (Closes: #313028). -- Andreas Metzler Sun, 20 Nov 2005 09:38:42 +0100 findutils (4.2.25-1) unstable; urgency=low * new upstream version 4.2.25. (bugfix and improved testsuite) * add findutils-4.2.25-14390.dpatch, fixing a testsuite failure concerning find -depth ... -quit * Update debian/copyright. -- Andreas Metzler Sun, 4 Sep 2005 09:35:59 +0200 findutils (4.2.24-1) unstable; urgency=low * standards-version 3.6.2, no changes required. * New upstream version 4.2.24: - "-printf %Y %y"n works correctly again (Closes: #320378). - new option -regextype to finds for selecting more useful regex-variants than the default GNU Emacs. - find -exec rm -i {} \; works again. (Closes: #317019) - xargs exits with correct exit status 123 if invoked command returned non-zero returncode. (Closes: #319085) - xargs -I option documented in manpage. (Closes: #317086) - fixes to find.1 manpage (Closes: #318417) -- Andreas Metzler Sat, 30 Jul 2005 09:14:35 +0200 findutils (4.2.22-2) unstable; urgency=high * Remove locatedb on purge. (Closes: #315343) * revert regex-syntax back to emacs-re. (Closes: #315136) Future versions will allow to select this by commandline parameter. -- Andreas Metzler Mon, 4 Jul 2005 11:37:37 +0200 findutils (4.2.22-1) unstable; urgency=low * New upstream version - fixes infinite loop of "find -follow" on trees with symlinks to ./. (Closes: #313081) - better documentation for %k and %d printf directives. (Closes: #208307) - find filters out non-printable characters (which could mess up the terminal) when printing the output to a console. (Closes: #311384) - Typo fixes. (Closes: #301934, #312760, #312761) (Thanks, A Costa.) -- Andreas Metzler Mon, 13 Jun 2005 19:39:46 +0200 findutils (4.2.20-3) unstable; urgency=low * find dir/foo -depth -empty was broken. Pull fix from 4.2.21. (Closes: #313079) -- Andreas Metzler Sun, 12 Jun 2005 17:05:41 +0200 findutils (4.2.20-2) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Thu, 9 Jun 2005 20:07:37 +0200 findutils (4.2.20-1) experimental; urgency=low * [locate] Do not index cifs (Closes: #295399) lustre (Closes: #300323) and nfs4 (Closes: #300631) filesystems by default. * [locate] Ignore /media by default. (Closes: #300429) * New upstream version 4.2.20 - includes up-to-date Italian translation. (Closes: #286977) -- Andreas Metzler Sun, 27 Mar 2005 10:54:02 +0200 findutils (4.2.14-1) experimental; urgency=low * New upstream version - includes patch to fix savannah #11495. - locate: New options -L, --follow|-P, -H, --nofollow for ignoring dangling symlinks (or not). (Closes: #159221) - find supports -exec ... {} +. - locate support for FreeBSD options (Sclms, m and s are ignored, but undocumented, I've already opened upstream report #11730 on that.) (Closes: #102914) - find built with --enable-d_type-optimisation, for using readdir/getdents. (Closes: #202512) -- Andreas Metzler Tue, 25 Jan 2005 11:40:21 +0100 findutils (4.2.11-2) experimental; urgency=low * find -printf '%n' (hard link count) was broken (savannah #11495). -- Andreas Metzler Fri, 7 Jan 2005 09:13:32 +0100 findutils (4.2.11-1) experimental; urgency=low * New upstream version. -- Andreas Metzler Wed, 5 Jan 2005 12:29:36 +0100 findutils (4.2.10.CVS20041219-1) experimental; urgency=low * New upstream, CVS from CVS20041219 (pre- 4.2.11). * -printf '%P' works correctly again. * Run testsuite. -- Andreas Metzler Sun, 19 Dec 2004 11:58:08 +0100 findutils (4.2.9-1) experimental; urgency=low * New upstream source -- Andreas Metzler Sun, 5 Dec 2004 22:33:29 +0100 findutils (4.2.8-1) experimental; urgency=low * New upstream version - New option --arg-file=file and extended documentation about stdin-handling (short in manpage, more extensive in info). (Closes: #5956) - improved behavior on automounted directories. -- Andreas Metzler Tue, 30 Nov 2004 10:19:56 +0100 findutils (4.2.5-1) experimental; urgency=low * New upstream version - includes 25_destdir_localstatedir.dpatch, our last remaining patch, we are vanilla now. * Add minimal debian/README.source. * Chuan-kai Lin has offered to serve as backup maintainer. Thanks. Add him to Uploaders. -- Andreas Metzler Sat, 20 Nov 2004 09:38:55 +0100 findutils (4.2.4-1) experimental; urgency=low * New upstream version - Closes: #175372: findutils: man pages have L's on references - includes 10_updatedb-findopts patch. - does not print warning about listing options after non-options unless connected to a tty. - xargs now uses 128Kb instead of 20Kb of command line by default, as ARG_MAX is 131072 on linux this Closes: #261598. -- Andreas Metzler Tue, 9 Nov 2004 10:57:24 +0100 findutils (4.2.3.CVS20041106-1) experimental; urgency=low * New upstream version (pre-4.2.4, CVS 2004-11-06). - Closes: #176201: findutils: xargs enviroment size limited to 20k - Closes: #254676: xargs: environment is too large for exec - Closes: #219855: -printf: accepts C octal escapes, contrary to the documentation. - Closes: #246040: findutils: find -printf %H segfaults - Closes: #185202: findutils: extra ")" not caught - Closes: #185203: findutils: overflow causes -mtime to succeed - Closes: #244766: /usr/bin/locate: locate should have equivalent of -print0 option - documents type of supported regular expressions for -regex (Closes: #162838) - Closes: #256367: Deprecated usage of trap in locate/updatedb.sh - includes some examples in find.1 manpage. (Closes: #111578) - new option -ignore_readdir_race to selectively suppress the obnoxious race-condition caused errormessages. (Closes: #67782) - -print0/-0 issues explained in more detail. (Closes: #111143) - includes supplied patch for GNU/FreeBSD. (Closes: #192330) - updatedb invokes "cd /" before running commands as unprivileged user. (Closes: #262476) - 'xargs -n 1 -i' works. (Closes: #31858). Please note that it is no bug that -i changes xargs to pass a whole line of input as a single argument instead of splitting on any blank characters as without -i. - Other implementations behave the same and the -I XSI extension documented in SUSv3/POSIX works like this, too. * Removed unnecessary patches: 10_missing_includes 20_missing_newlines 30_locate_nologinsh 35_updatedb-location 36_savannah-8623 40_direntry 50_install_info * Add shfs to PRUNFS (Closes: #260780) * New patch: 10_updatedb-findopts: Add --findoptions option to updatedb to pass global options to find. * Set FINDOPTIONS='-ignore_readdir_race' for updatedb.sh's cron-job. (Closes: #169730) * standards-version 3.6.1 (no changes required). -- Andreas Metzler Sun, 7 Nov 2004 13:11:28 +0100 findutils (4.1.20-4) unstable; urgency=low * Add sysfs to PRUNFS (Closes: #219340) * Add watch file provided Stefano Fabri. (Closes: #248758) * locate crashed on invalid db-files. Fix pulled from CVS. (Closes: #256811) -- Andreas Metzler Tue, 29 Jun 2004 13:30:57 +0200 findutils (4.1.20-3) unstable; urgency=low * Don't ship /usr/share/info/dir.gz, change Makefile.in to use install-info test from new automake. The bug only applied to the autobuilt versions, because I don't have /usr/sbin in $PATH, thanks to Santiago Vila. (Closes: #217627) -- Andreas Metzler Sun, 26 Oct 2003 13:44:21 +0100 findutils (4.1.20-2) unstable; urgency=low * Run updatedb cronjob with nice level 10 per default (configurable in /etc/updatedb.conf) (Closes: #46548) (Thanks to era eriksson) * Document how to fine-tune/disable daily updatedb-runs in README.debian (Closes: #183085, #183290) * Make sure LOCALUSER is set to a nonempty value in /etc/cron.daily/find (Closes: #189023) -- Andreas Metzler Thu, 23 Oct 2003 16:30:43 +0200 findutils (4.1.20-1) unstable; urgency=low * New maintainer. Hijacked package as discussed on debian-devel and debian-qa. * Update texinfo docs to use @direntry to help dh_installinfo. (Closes: #182172) * Acknowledge Thomas' grand NMU by using dpkg-buildpackage -v4.1.7-2 * Bump standards-version to 3.6.0. (No changes required) -- Andreas Metzler Mon, 14 Jul 2003 14:38:34 +0200 findutils (4.1.20-0.2) unstable; urgency=low * repacked using debhelper and dpatch. * move contents of debian/Changelog to debian/changelog, remove emacs-variables from it. * reformat debian/copyright * Strip down debian-patch: - weed out all the changes to .cvsignore files. - the changes described in the diff to po/ChangeLog are included upstream - Some the changes in #123919 seem to be unneeded now (at least I do not get implicit declaration warnings. - fix for #67507 (id=0 instead of name=root) included upstream. * Remove old cruft from maintainerscripts: - compatibility code for upgrading from versions prior to 4.1-15 (released Dec 1996) in preinst. - Fix permissions of /var/lib/locate (4.1-16 released Jan 1997) in postinst. - fix executable /etc/updatedb.conf. (included since 4.1-19, Mar 1997) * use getent instead of grep ... /etc/passwd to check for existence of $LOCALUSER * Use config.(guess|sub) from autotools-dev (Closes: #155119) * Fix db-path in updatedb(1). (Closes: #171877) -- Andreas Metzler Mon, 14 Jul 2003 10:03:33 +0200 findutils (4.1.7-2.1) unstable; urgency=low * Non-Maintainer upload. * Fixed compiler warnings about implicit declarations of various functions. Closes: #123919: findutils: find segfaults on ia64 * debian/rules, debian/postinst: Use numeric id 0 instead of "root" Closes: #67507: user "root" * Closes: #102708: locate usage message lacks final newline Closes: #124333: Missing newline for helptext in locate Closes: #140941: findutils: locate with no args is missing final \n Closes: #149126: findutils: locate should print a newline after its error message Closes: #149716: findutils: locate doesn't print final newline Closes: #161083: findutils: If you run locate without parameters, there is no final newline in the output * Closes: #117425: findutils: xargs: missing newline on "--help" output Closes: #124178: xargs --help doesn't end in a newline * Closes: #141354: findutils: include devfs to list PRUNEFS * Closes: #166085: Need to exclude the mfs filesystem for mosix and openmosix * Closes: #113139: updatedb: please remove "auto" from PRUNEFS Closes: #129121: I don't believe fstype AUTO should be excluded in updatedb.conf Closes: #132430: auto in PRUNEFS in /etc/updatedb.conf has unexpected sideeffect! Closes: #144649: the updatedb cron script does not work on root filesystem type auto Closes: #119603: locate should index filetype (auto) [ext3fs] * Include LOCALUSER configuration into /etc/updatedb.conf Closes: #152635: midnight updatedb always runs as nobody * debian/cron.find: complain if $LOCALUSER does not exist. Closes: #97367: locate-database is destroyed by /etc/cron.daily/find * Closes: #109920: updatedb should not scan /sfs * locate/updatedb.sh: Use a default shell of /bin/sh to run find. Closes: #113774: findutils: updatedb makes assumption about localuser Closes: #119719, #119721: updatedb doesn't work in cron.daily/find if the user nobody has no login shell * Moved locatedb from /var/lib/locate/ to /var/cache/locate/. debian/postinst: added code to move an existing locatedb into the new place. Closes: #115399: findutils: locate FHS violation -- Thomas Schoepf Sun, 27 Oct 2002 20:22:26 +0100 findutils (4.1.7-2) unstable; urgency=low * changed libc dependencies to remove libc6-dev build-depends (closes: #99216). -- Kevin Dalley 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 Sun, 20 May 2001 17:32:29 -0700 findutils (4.1.6-2) unstable; urgency=low * Adds Build-Depends texinfo (closes: #76145) -- Kevin Dalley 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 * 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 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 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 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 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 Wed, 23 Oct 1996 21:06:15 -0700 Mon May 27 01:07:52 1996 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 * 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 * 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 * 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 * 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 Sun Jan 12 15:24:31 1997 Kevin Dalley * debian/postinst: corrected permission for /var/lib/locate in postinst again. debian/locate.cron.daily0000664000000000000000000000424311700022356012422 0ustar #! /bin/sh set -e # cron script to update the `locatedb' database. # # Written by Ian A. Murdock and # Kevin Dalley # Please consult updatedb(1) and /usr/share/doc/locate/README.Debian [ -e /usr/bin/updatedb.findutils ] || exit 0 if [ "$(id -u)" != "0" ]; then echo "You must be root." exit 1 fi # Global options for invocations of find(1) FINDOPTIONS='-ignore_readdir_race' # filesystems which are pruned from updatedb database PRUNEFS="NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf ocfs2" # paths which are pruned from updatedb database PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media /var/lib/schroot/mount" # netpaths which are added NETPATHS="" # run find as this user LOCALUSER="nobody" # cron.daily/find: run at this priority -- higher number means lower priority # (this is relative to the default which cron sets, which is usually +5) NICE=10 # I/O priority # 1 for real time, 2 for best-effort, 3 for idle ("3" only allowed for root) IONICE_CLASS=3 # 0-7 (only valid for IONICE_CLASS 1 and 2), 0=highest, 7=lowest IONICE_PRIORITY=7 # allow keeping local customizations in a separate file if [ -r /etc/updatedb.findutils.cron.local ] ; then . /etc/updatedb.findutils.cron.local fi export FINDOPTIONS PRUNEFS PRUNEPATHS NETPATHS LOCALUSER # Set the task to run with desired I/O priority if possible # Linux supports io scheduling priorities and classes since # 2.6.13 with the CFQ io scheduler if [ -x /usr/bin/ionice ] && [ "${UPDATDB_NO_IONICE}" = "" ]; then # don't run ionice if kernel version < 2.6.13 KVER=$(uname -r) case "$KVER" in 2.[012345]*) ;; 2.6.[0-9]) ;; 2.6.[0-9].*) ;; 2.6.1[012]*) ;; *) # Avoid providing "-n" when IONICE_CLASS isn't 1 or 2 case "$IONICE_CLASS" in 1|2) priority="-n ${IONICE_PRIORITY:-7}" ;; *) priority="" ;; esac ionice -c $IONICE_CLASS $priority -p $$ > /dev/null 2>&1 || true ;; esac fi if getent passwd $LOCALUSER > /dev/null ; then cd / && nice -n ${NICE:-10} updatedb.findutils 2>/dev/null else echo "User $LOCALUSER does not exist." exit 1 fi debian/rules0000775000000000000000000000613112253113332010244 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) confflags += --build $(DEB_HOST_GNU_TYPE) else # So long as we're not compiling for MacOS X 10.3 or OSF/1 5.1 # this should be fine. confflags += gl_cv_func_wcwidth_works=yes confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif CFLAGS := `dpkg-buildflags --get CFLAGS` CFLAGS += -Wall LDFLAGS := `dpkg-buildflags --get LDFLAGS` CPPFLAGS := `dpkg-buildflags --get CPPFLAGS` config.status: configure rm -vf build-aux/config.guess build-aux/config.sub ln -s /usr/share/misc/config.sub /usr/share/misc/config.guess build-aux/ dh_testdir # Configure the package. CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(confflags) \ --prefix=/usr --localstatedir=/var/cache/locate \ --enable-d_type-optimisation \ --libexecdir='$${prefix}/lib/locate' \ --mandir='$${prefix}/share/man' \ --infodir='$${prefix}/share/info' build: build-arch build-indep build-arch: build-stamp build-indep: #build-indep: nothing to do build-stamp: config.status dh_testdir # Compile the package. $(MAKE) ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) $(MAKE) check endif endif touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -vf build-aux/config.guess build-aux/config.sub doc/find.info* dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/findutils. $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp install -m755 $(CURDIR)/debian/tmp/usr/bin/updatedb \ $(CURDIR)/debian/locate/usr/bin/updatedb.findutils install -m755 $(CURDIR)/debian/tmp/usr/bin/locate \ $(CURDIR)/debian/locate/usr/bin/locate.findutils install -m644 $(CURDIR)/debian/tmp/usr/share/man/man1/locate.1 \ $(CURDIR)/debian/locate/usr/share/man/man1/locate.findutils.1 install -m644 $(CURDIR)/debian/tmp/usr/share/man/man1/updatedb.1 \ $(CURDIR)/debian/locate/usr/share/man/man1/updatedb.findutils.1 # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_install dh_installcron dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install debian/locate.postrm0000664000000000000000000000034011700022356011676 0ustar #! /bin/sh set -e if [ "$1" = "purge" ]; then if [ -e /var/cache/locate/locatedb ] ; then rm /var/cache/locate/locatedb rmdir /var/cache/locate/ || true fi fi #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/locate.manpages0000664000000000000000000000005211700022356012145 0ustar debian/tmp/usr/share/man/man5/locatedb.5* debian/copyright0000664000000000000000000000570611700022356011127 0ustar It was downloaded from ftp://ftp.gnu.org/gnu/findutils Debian maintainer history: The original package was put together by Ian Murdock , afterwards Kevin Dalley took over. 2003-07 Andreas Metzler followed. Upstream Authors: * GNU find was written by Eric Decker , with enhancements by David MacKenzie , Jay Plett , and Tim Wood . The idea for -print0 and xargs -0 came from Dan Bernstein . Improvements have been made by James Youngman . * GNU xargs was originally written by Mike Rendell, with enhancements by David MacKenzie. Modifications by James Youngman Dmitry V. Levin * GNU locate and its associated utilities were originally written by James Woods, with enhancements by David MacKenzie, James Youngman and Bas van Gompel. Upstream's AUTHORS lists these major contributors: Eric B. Decker Michael Rendell David J. MacKenzie Jim Meyering Tim Wood Kevin Dalley Paul Eggert James Youngman Jay Plett Paul Sheer Dmitry V. Levin Bas van Gompel Eric Blake Current upstream maintainer is James Youngman . ---------------------------- Copyright (C) 1990, 1991, 1992, 1993, 1994, 2000, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 . ---------------------------- On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. ============================================= DOCUMENTATION ---------------------------- Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License.'' ---------------------------- On Debian GNU/Linux systems, the complete text of the GNU Free Documentation License, Version 1.2 can be found in `/usr/share/common-licenses/GFDL-1.2'. debian/findutils.postinst0000664000000000000000000000226611700022356013000 0ustar #! /bin/sh set -e if [ "$1" = "configure" ]; then # up to 4.1.7-2 locatedb was in non-FHS-dir /var/lib/locate if dpkg --compare-versions "$2" le-nl "4.1.7-2" ; then if [ -f /var/lib/locate/locatedb ]; then mv /var/lib/locate/locatedb /var/cache/locate/ rmdir /var/lib/locate 2>/dev/null || true fi fi # Remove locatedb if we are upgrading from findutils with included locate. # Sadly it does not really work to *not* do this if locate is going to be # installed. "apt-get install locate" will first completely upgrade # findutils (including running this script) before even _unpacking_ locate. # Therefore # dpkg-query -W -f='${Status}'locate will be # "something ok not-installed" when this script is run. if [ -d /var/cache/locate/ ] && \ dpkg --compare-versions "$2" le-nl "4.2.31-1" && \ locatestatus=`dpkg-query -W -f='${Status}' locate 2> /dev/null` ; then locatestatus=`echo $locatestatus | cut -f3 -d\ ` case "$locatestatus" in not-installed | config-files) rm -f /var/cache/locate/locatedb rmdir --ignore-fail-on-non-empty /var/cache/locate/ ;; esac fi fi #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/findutils.NEWS0000664000000000000000000000430511700022356011665 0ustar findutils (4.2.31-2) unstable; urgency=low * locate is no longer included in the findutils package. It has been split off to a separate package "locate". (There are alternative implementations available, too; see mlocate or slocate.) -- Andreas Metzler Sat, 2 Jun 2007 10:53:46 +0200 findutils (4.2.25-1) unstable; urgency=low * The GNU-extension "find -perm +MODE" has been withdrawn in GNU findutils 4.1.22 because it is incompatible with POSIX. The new syntax "find ... -perm /MODE" has been introduced instead. Old usages will still continue to work, so long as they do not conflict with POSIX. However a big number of usages _do_ conflict. E.g. -perm +u+x used to be (and -perm /u+x still should be) treated as the mode "u+x", which maps to 0100, then returning true for ALL files that have the u+x bit set regardless of the state of their other bits. Now, per POSIX, +u+x is treated as the valid mode "+u+x" (which is identical to "+u,+x", and again maps to 0111 & 07777). Find therefore returns true on files that are EXACTLY that mode (ie a file that has NO read or write permissions, but all three execute permissions). The ONLY character that can appear in a valid mode but which cannot directly follow '+' according to POSIX is 'a'. So in terms of backwards compatibility, EVERY symbolic mode, except for those starting with a leading 'a', are affected by the change in findutils semantics to be POSIX compliant, [Large parts of this entry are quoted from a comment by Eric Blake in savannah bug #14619] * WORKAROUNDS: If you are using find -perm +... you have got the following options: - Use numerical instead of symbolic notation, e.g. "find . -perm +022" instead of "find . -perm +g+w,o+w". Symbolic modes are not affected by this change. - Specify the mode in a different way if possible. e.g. "-perm -u+x" instead of "-perm +u+x". - use the new syntax -perm /... instead of -perm +MODE. If you use this syntax in a Debian package, you'll need to depend on findutils (>= 4.2.25). -- Andreas Metzler Sat, 8 Oct 2005 11:16:45 +0200 debian/source/0002775000000000000000000000000012253115454010474 5ustar debian/source/format0000664000000000000000000000001411701537760011705 0ustar 3.0 (quilt) debian/locate.prerm0000775000000000000000000000025211700022356011504 0ustar #!/bin/sh set -e if [ "$1" != "upgrade" ]; then update-alternatives --remove locate /usr/bin/locate.findutils fi #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/findutils.doc-base0000664000000000000000000000050311700022356012562 0ustar 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: File Management Format: info Index: /usr/share/info/find.info.gz Files: /usr/share/info/find.info* debian/watch0000664000000000000000000000011111700022356010206 0ustar version=2 ftp://ftp.gnu.org/gnu/findutils/findutils-([\d\.\d]+)\.tar\.gz debian/locate.preinst0000664000000000000000000000154311700022356012044 0ustar #!/bin/sh set -e # Remove a no-longer used conffile # http://wiki.debian.org/DpkgConffileHandling rm_conffile() { PKGNAME="$1" CONFFILE="$2" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" le-nl "4.2.31-2"; then rm_conffile locate "/etc/cron.daily/find" fi ;; esac #DEBHELPER# # vim:tabstop=2:expandtab:shiftwidth=2 debian/locate.dirs0000664000000000000000000000007511700022356011320 0ustar etc/cron.daily usr/bin usr/share/man/man5 usr/share/man/man1 debian/findutils.docs0000664000000000000000000000002111700022356012030 0ustar NEWS README TODO debian/findutils.manpages0000664000000000000000000000011511700022356012677 0ustar debian/tmp/usr/share/man/man1/find.1* debian/tmp/usr/share/man/man1/xargs.1* debian/findutils.links0000664000000000000000000000007711700022356012233 0ustar /usr/share/man/man1/find.1.gz /usr/share/man/man1/oldfind.1.gz debian/locate.README.debian0000664000000000000000000000560711700022356012543 0ustar Debian README for GNU locate/updatedb. The database is updated daily by running /etc/cron.daily/locate. Customizations can be made by either editing this file directly (Since it is a dpkg-conffile changes will be preserved.) or by generating /etc/updatedb.findutils.cron.local which will be sourced by the cronjob before running updatedb. The cronjob by default runs with nice level 10 and with IONICE_CLASS 3 (idle). Using IONICE_CLASS is a trade-off between locate database consistency and friendliness to other processes. The nicer we are, the less impact we have on system performance when updating the database, because we generally spread our usage out more. Spreading the usage out a bit more means that updating the database takes longer and the result is a slightly less consistent view of the filesystem. Since it is not possible to get a perfectly consistent view anyway, using IONICE_CLASS=3 is normally reasonable. ------------------------------- Questions and examples -------------------------------- My systems slows down everyday at bootup, how can I stop the daily updatedb-invocations? * Generate a new file /etc/updatedb.findutils.cron.local that consists of the single line "exit 0" (without the quotes). * Uninstall locate. * Edit /etc/cron.daily/locate. It is a dpkg conffile and your changes won't be overwritten. Q: How can I stop /etc/cron.daily/locate from using ionice? A: add UPDATDB_NO_IONICE=yes to /etc/updatedb.findutils.cron.local Examples: * Run weekly instead of daily: Add this to the head of /etc/cron.daily/locate #---------- if [ -d /var/cache/locate ] ; then # locatedb is younger than 7 days [ -n "`find /var/cache/locate -name locatedb -mtime -7`" ] && exit 0 fi #---------- To run every other day on would use "2" instead of "7". * Disable updatedb completely: Either delete /etc/cron.daily/locate or add "exit 0" as the second line of /etc/cron.daily/locate * On a laptop only update the locate database if running on AC-power: Add "on_ac_power || exit 0" as the second line of /etc/cron.daily/locate. If you are using anacron for running cron.daily there is no need for changing /etc/cron.daily/locate, anacron will by default not execute the jobs when the system is running on battery. * 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/cron.daily/locate (or to a newly generated /etc/updatedb.findutils.cron.local) to exclude non-automatic mount points from updatedb. # 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 debian/compat0000664000000000000000000000000212253114124010361 0ustar 9 debian/control0000664000000000000000000000232612253114614010575 0ustar Source: findutils Section: utils Priority: required Maintainer: Andreas Metzler Uploaders: Chuan-kai Lin Build-Depends: texinfo, debhelper (>= 9), autotools-dev, dejagnu, bison Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/pkg-findutils/trunk Vcs-Browser: http://svn.debian.org/wsvn/pkg-findutils/trunk/ Homepage: http://savannah.gnu.org/projects/findutils/ Package: findutils Architecture: any Essential: yes Multi-Arch: foreign Pre-Depends: ${shlibs:Depends} Depends: ${misc:Depends} Suggests: mlocate|locate Description: utilities for finding files--find, xargs GNU findutils provides utilities to find files meeting specified criteria and perform various actions on the files which are found. This package contains 'find' and 'xargs'; however, 'locate' has been split off into a separate package. Package: locate Architecture: any Priority: optional Multi-Arch: foreign Depends: ${shlibs:Depends},${misc:Depends}, findutils (>> 4.2.31-1) Conflicts: slocate (<= 3.1-1.1) Replaces: findutils (<< 4.2.31-2) Description: maintain and query an index of a directory tree updatedb generates an index of files and directories. GNU locate can be used to quickly query this index. debian/patches/0002775000000000000000000000000012253115454010623 5ustar debian/patches/21-Fix-time_t-vs-long-int-mismatches.patch0000600000000000000000000001352712161562236020375 0ustar >From 0078a6c784da339cc529b4f0bf1156ca52692e4c Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 6 Jun 2013 18:41:53 +0000 Subject: [PATCH] Fix time_t vs long int mismatches. Old gnulibs used randomly either time_t or long int, with a compile-time assert to ensure sizeof(time_t) <= sizeof(long int). This is not the case on x32 where the machine word is 32 bit, yet time_t is 64 bit to be able to handle dates after 2038. This is not relevant for modern versions of gnulib which has rewritten this code, but, sadly, findutils 4.4.* uses an embedded copy of ancient gnulib. --- gnulib/lib/getdate.y | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/gnulib/lib/getdate.y b/gnulib/lib/getdate.y index e292f5e..347cc77 100644 --- a/gnulib/lib/getdate.y +++ b/gnulib/lib/getdate.y @@ -112,16 +112,18 @@ /* Lots of this code assumes time_t and time_t-like values fit into long int. It also assumes that signed integer overflow silently wraps around, but there's no portable way to check for that at - compile-time. */ + compile-time. + [1KB]: replaced suspicious uses of long_t by time_t. verify (TYPE_IS_INTEGER (time_t)); verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX); +*/ /* An integer value, and the number of digits in its textual representation. */ typedef struct { bool negative; - long int value; + time_t value; size_t digits; } textint; @@ -206,7 +208,7 @@ typedef struct union YYSTYPE; static int yylex (union YYSTYPE *, parser_control *); static int yyerror (parser_control const *, char const *); -static long int time_zone_hhmm (textint, long int); +static time_t time_zone_hhmm (textint, time_t); /* Extract into *PC any date and time info from a string of digits of the form e.g., YYYYMMDD, YYMMDD, HHMM, HH (and sometimes YYY, @@ -817,8 +819,8 @@ static table const military_table[] = minutes. If MM is negative, then S is of the form HHMM and needs to be picked apart; otherwise, S is of the form HH. */ -static long int -time_zone_hhmm (textint s, long int mm) +static time_t +time_zone_hhmm (textint s, time_t mm) { if (mm < 0) return (s.value / 100) * 60 + s.value % 100; @@ -884,7 +886,7 @@ lookup_zone (parser_control const *pc, char const *name) measured in seconds, ignoring leap seconds. The body of this function is taken directly from the GNU C Library; see src/strftime.c. */ -static long int +static time_t tm_diff (struct tm const *a, struct tm const *b) { /* Compute intervening leap days correctly even if year is negative. @@ -896,9 +898,9 @@ tm_diff (struct tm const *a, struct tm const *b) int a400 = SHR (a100, 2); int b400 = SHR (b100, 2); int intervening_leap_days = (a4 - b4) - (a100 - b100) + (a400 - b400); - long int ayear = a->tm_year; - long int years = ayear - b->tm_year; - long int days = (365 * years + intervening_leap_days + time_t ayear = a->tm_year; + time_t years = ayear - b->tm_year; + time_t int days = (365 * years + intervening_leap_days + (a->tm_yday - b->tm_yday)); return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) + (a->tm_min - b->tm_min)) @@ -1200,7 +1202,7 @@ bool get_date (struct timespec *result, char const *p, struct timespec const *now) { time_t Start; - long int Start_ns; + time_t Start_ns; struct tm const *tmp; struct tm tm; struct tm tm0; @@ -1407,16 +1409,16 @@ get_date (struct timespec *result, char const *p, struct timespec const *now) problem, set the time zone to 1 hour behind UTC temporarily by setting TZ="XXX1:00" and try mktime again. */ - long int time_zone = pc.time_zone; - long int abs_time_zone = time_zone < 0 ? - time_zone : time_zone; - long int abs_time_zone_hour = abs_time_zone / 60; + time_t time_zone = pc.time_zone; + time_t abs_time_zone = time_zone < 0 ? - time_zone : time_zone; + time_t abs_time_zone_hour = abs_time_zone / 60; int abs_time_zone_min = abs_time_zone % 60; char tz1buf[sizeof "XXX+0:00" + sizeof pc.time_zone * CHAR_BIT / 3]; if (!tz_was_altered) tz0 = get_tz (tz0buf); sprintf (tz1buf, "XXX%s%ld:%02d", "-" + (time_zone < 0), - abs_time_zone_hour, abs_time_zone_min); + (long int)abs_time_zone_hour, abs_time_zone_min); if (setenv ("TZ", tz1buf, 1) != 0) goto fail; tz_was_altered = true; @@ -1439,7 +1441,7 @@ get_date (struct timespec *result, char const *p, struct timespec const *now) if (pc.zones_seen) { - long int delta = pc.time_zone * 60; + time_t delta = pc.time_zone * 60; time_t t1; #ifdef HAVE_TM_GMTOFF delta -= tm.tm_gmtoff; @@ -1486,16 +1488,16 @@ get_date (struct timespec *result, char const *p, struct timespec const *now) must be applied before relative times, and if mktime is applied again the time zone will be lost. */ { - long int sum_ns = pc.seconds.tv_nsec + pc.rel.ns; - long int normalized_ns = (sum_ns % BILLION + BILLION) % BILLION; + time_t sum_ns = pc.seconds.tv_nsec + pc.rel.ns; + time_t normalized_ns = (sum_ns % BILLION + BILLION) % BILLION; time_t t0 = Start; - long int d1 = 60 * 60 * pc.rel.hour; + time_t d1 = 60 * 60 * pc.rel.hour; time_t t1 = t0 + d1; - long int d2 = 60 * pc.rel.minutes; + time_t d2 = 60 * pc.rel.minutes; time_t t2 = t1 + d2; - long int d3 = pc.rel.seconds; + time_t d3 = pc.rel.seconds; time_t t3 = t2 + d3; - long int d4 = (sum_ns - normalized_ns) / BILLION; + time_t d4 = (sum_ns - normalized_ns) / BILLION; time_t t4 = t3 + d4; if ((d1 / (60 * 60) ^ pc.rel.hour) @@ -1542,7 +1544,7 @@ main (int ac, char **av) printf ("Bad format - couldn't convert.\n"); else if (! (tm = localtime (&d.tv_sec))) { - long int sec = d.tv_sec; + time_t sec = d.tv_sec; printf ("localtime (%ld) failed\n", sec); } else -- 1.8.3.rc3 debian/patches/10_Fix29828-testsuite-FreeBSD.patch0000664000000000000000000000212711701537560016551 0ustar From 516cb17f518e2f7720c5a069a8d141ff8378f0f6 Mon Sep 17 00:00:00 2001 From: Sergei Golovan Date: Sun, 9 May 2010 11:09:26 +0100 Subject: [PATCH] Fix Savannah bug #29828, test suite deadlock on FreeBSD. * find/testsuite/find.gnu/sv-bug-24169.exp: Read find output until eof before calling wait, in order to avoid a deadlock on FreeBSD. Signed-off-by: James Youngman --- ChangeLog | 6 ++++++ NEWS | 4 ++++ find/testsuite/find.gnu/sv-bug-24169.exp | 4 +++- 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/find/testsuite/find.gnu/sv-bug-24169.exp b/find/testsuite/find.gnu/sv-bug-24169.exp index 33f96f8..349e823 100644 --- a/find/testsuite/find.gnu/sv-bug-24169.exp +++ b/find/testsuite/find.gnu/sv-bug-24169.exp @@ -23,7 +23,9 @@ set expected 1 send_log "$cmd\n" eval spawn -noecho $cmd -set result [wait] +expect { + eof { set result [wait] } +} send_log "result is '$result'\n" if { [ lindex $result 2 ] == 0 } then { set status [ lindex $result 3] -- 1.7.2.5 debian/patches/20_texi_ftbfs.diff0000664000000000000000000000177712161561361014125 0ustar Description: Pull some texi fixes from 4.5.x Author: Andreas Metzler Bug-Debian: http://bugs.debian.org/710849 Forwarded: not-needed --- findutils-4.4.2.orig/doc/find.texi +++ findutils-4.4.2/doc/find.texi @@ -50,7 +50,7 @@ Texts. A copy of the license is include @page @vskip 0pt plus 1filll -@insertcopying{} +@insertcopying @end titlepage @contents @@ -1665,6 +1665,7 @@ no output is ever sent to it. * Escapes:: * Format Directives:: * Time Formats:: +* Formatting Flags:: @end menu @node Escapes @@ -1733,7 +1734,6 @@ from the novel you are reading. * Size Directives:: * Location Directives:: * Time Directives:: -* Formatting Flags:: @end menu @node Name Directives @@ -2002,7 +2002,7 @@ seconds field includes a fractional part @end table @node Formatting Flags -@subsubsection Formatting Flags +@subsection Formatting Flags The @samp{%m} and @samp{%d} directives support the @samp{#}, @samp{0} and @samp{+} flags, but the other directives do not, even if they debian/patches/series0000664000000000000000000000014212161562241012031 0ustar 10_Fix29828-testsuite-FreeBSD.patch 20_texi_ftbfs.diff 21-Fix-time_t-vs-long-int-mismatches.patch