2004-09-09 04:44:37 +00:00
|
|
|
%define WITH_SELINUX 1
|
2004-09-09 04:42:42 +00:00
|
|
|
Summary: The GNU versions of find utilities (find and xargs).
|
|
|
|
Name: findutils
|
2005-11-21 16:49:51 +00:00
|
|
|
Version: 4.2.26
|
|
|
|
Release: 1
|
2004-09-09 04:42:42 +00:00
|
|
|
Epoch: 1
|
2004-09-09 04:43:22 +00:00
|
|
|
License: GPL
|
2004-09-09 04:42:42 +00:00
|
|
|
Group: Applications/File
|
2005-02-21 12:28:18 +00:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
|
2005-01-31 15:22:30 +00:00
|
|
|
Patch1: findutils-no-locate.patch
|
2005-06-20 08:47:17 +00:00
|
|
|
Patch2: findutils-selinux.patch
|
2005-11-23 10:17:41 +00:00
|
|
|
Patch3: findutils-arg_max.patch
|
2004-09-09 04:45:52 +00:00
|
|
|
|
2004-09-09 04:42:42 +00:00
|
|
|
Prereq: /sbin/install-info
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2004-09-09 04:45:52 +00:00
|
|
|
BuildRequires: libtool, automake, autoconf
|
2004-10-05 17:09:41 +00:00
|
|
|
BuildRequires: dejagnu, gettext-devel, texinfo
|
2004-10-06 15:28:57 +00:00
|
|
|
BuildRequires: libselinux-devel
|
2004-09-09 04:42:42 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The findutils package contains programs which will help you locate
|
|
|
|
files on your system. The find utility searches through a hierarchy
|
|
|
|
of directories looking for files which match a certain set of criteria
|
|
|
|
(such as a filename pattern). The xargs utility builds and executes
|
|
|
|
command lines from standard input arguments (usually lists of file
|
|
|
|
names generated by the find command).
|
|
|
|
|
|
|
|
You should install findutils because it includes tools that are very
|
|
|
|
useful for finding things on your system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-01-31 15:22:30 +00:00
|
|
|
%patch1 -p1 -b .no-locate
|
2005-06-20 08:47:17 +00:00
|
|
|
%patch2 -p1 -b .selinux
|
2005-11-23 10:17:41 +00:00
|
|
|
%patch3 -p1 -b .arg_max
|
|
|
|
rm xargs/testsuite/xargs.posix/arg_max*.xo
|
2005-01-31 14:46:16 +00:00
|
|
|
|
|
|
|
autoreconf
|
2004-09-09 04:42:51 +00:00
|
|
|
|
2004-09-09 04:42:42 +00:00
|
|
|
%build
|
|
|
|
%define optflags $RPM_OPT_FLAGS -D_GNU_SOURCE
|
|
|
|
%configure
|
|
|
|
%undefine optflags
|
|
|
|
|
|
|
|
make
|
2004-09-09 04:45:07 +00:00
|
|
|
make check
|
2004-09-09 04:42:42 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
2004-09-09 04:43:34 +00:00
|
|
|
( cd %{buildroot}
|
2004-09-09 04:42:42 +00:00
|
|
|
gzip -9fn .%{_infodir}/find.info*
|
2004-09-09 04:43:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/locate \
|
|
|
|
$RPM_BUILD_ROOT%{_bindir}/updatedb \
|
|
|
|
$RPM_BUILD_ROOT%{_libexecdir}/bigram \
|
|
|
|
$RPM_BUILD_ROOT%{_libexecdir}/code \
|
|
|
|
$RPM_BUILD_ROOT%{_libexecdir}/frcode \
|
|
|
|
$RPM_BUILD_ROOT%{_mandir}/man1/locate.1* \
|
|
|
|
$RPM_BUILD_ROOT%{_mandir}/man1/updatedb.1* \
|
|
|
|
$RPM_BUILD_ROOT%{_mandir}/man5/locatedb.5*
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
|
|
%find_lang %{name}
|
2004-09-09 04:42:42 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2004-09-09 04:43:34 +00:00
|
|
|
%files -f %{name}.lang
|
2004-09-09 04:42:42 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc NEWS README
|
|
|
|
%{_bindir}/find
|
|
|
|
%{_bindir}/xargs
|
|
|
|
%{_mandir}/man1/find.1*
|
|
|
|
%{_mandir}/man1/xargs.1*
|
|
|
|
%{_infodir}/find.info*
|
|
|
|
|
|
|
|
%changelog
|
2005-11-21 16:49:51 +00:00
|
|
|
* Mon Nov 21 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.26-1
|
2005-11-23 11:38:00 +00:00
|
|
|
- One further arg_max fix for PPC.
|
2005-11-23 10:17:41 +00:00
|
|
|
- Applied arg_max patch from upstream to fix test suite failures.
|
2005-11-21 16:49:51 +00:00
|
|
|
- 4.2.26 (fixes bug #173817).
|
|
|
|
|
2005-10-11 21:41:28 +00:00
|
|
|
* Tue Oct 11 2005 Dan Walsh <dwalsh@redhat.com> 1:4.2.25-3
|
|
|
|
- Fix selinux patch
|
|
|
|
|
2005-09-05 10:55:44 +00:00
|
|
|
* Mon Sep 5 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.25-2
|
2005-09-05 10:26:32 +00:00
|
|
|
- 4.2.25.
|
|
|
|
|
2005-06-20 08:47:17 +00:00
|
|
|
* Mon Jun 20 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.23-1
|
|
|
|
- 4.2.23.
|
|
|
|
|
2005-03-17 13:24:54 +00:00
|
|
|
* Thu Mar 17 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.20-1
|
|
|
|
- 4.2.20.
|
|
|
|
|
2005-03-14 10:58:01 +00:00
|
|
|
* Mon Mar 14 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-3
|
|
|
|
- Applied patch from Robert Scheck to fix compilation with GCC 4 (bug #151031).
|
|
|
|
|
2005-03-02 17:45:46 +00:00
|
|
|
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-2
|
|
|
|
- Rebuild for new GCC.
|
|
|
|
|
2005-02-21 12:28:18 +00:00
|
|
|
* Mon Feb 21 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-1
|
|
|
|
- 4.2.18.
|
|
|
|
|
2005-02-14 17:30:31 +00:00
|
|
|
* Mon Feb 14 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.15-2
|
|
|
|
- Added nofollow patch from upstream.
|
|
|
|
|
2005-01-31 14:46:16 +00:00
|
|
|
* Mon Jan 31 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.15-1
|
|
|
|
- 4.2.15. Lots of patches removed due to upstream merge.
|
|
|
|
|
2005-01-04 21:47:55 +00:00
|
|
|
* Tue Jan 4 2005 Dan Walsh <dwalsh@redhat.com> 1:4.1.20-8
|
|
|
|
- Change --context to use fnmatch instead of strcmp
|
|
|
|
|
2004-12-07 12:57:34 +00:00
|
|
|
* Tue Dec 7 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Removed "G" and "M" size qualifiers from man page, since support for
|
|
|
|
those is not in the stable branch (bug #141987).
|
|
|
|
|
2004-10-19 11:32:57 +00:00
|
|
|
* Tue Oct 19 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-7
|
|
|
|
- Better xargs ARG_SIZE handling (bug #135129).
|
|
|
|
|
2004-10-15 14:32:25 +00:00
|
|
|
* Fri Oct 15 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Fixed d_type patch for underquoted m4 macro.
|
|
|
|
|
2004-10-08 13:50:55 +00:00
|
|
|
* Fri Oct 8 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Use upstream patch for find -size man page fix.
|
|
|
|
|
2004-10-06 15:28:57 +00:00
|
|
|
* Wed Oct 6 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-6
|
|
|
|
- Fixed bug #126352.
|
|
|
|
|
2004-10-05 17:09:41 +00:00
|
|
|
* Tue Oct 5 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-5
|
|
|
|
- Build requires gettext-devel, texinfo (bug #134692).
|
|
|
|
|
2004-09-30 09:59:41 +00:00
|
|
|
* Thu Sep 30 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-4
|
|
|
|
- Set re->translate before re_compile_pattern (bug #134190).
|
|
|
|
|
2004-09-09 04:45:52 +00:00
|
|
|
* Sun Aug 1 2004 Alan Cox <alan@redhat.com> 1:4.1.20-3
|
|
|
|
- Fix build with current auto* tools (Steve Grubb)
|
|
|
|
|
2004-09-09 04:45:42 +00:00
|
|
|
* Tue Jul 6 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-2
|
|
|
|
- Fix -iregex (bug #127297).
|
|
|
|
|
|
|
|
* Fri Jun 25 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-1
|
2004-09-09 04:45:29 +00:00
|
|
|
- Clarify find man page (bug #126098).
|
|
|
|
- Apply changes by Robert Scheck <redhat@linuxnetz.de> (bug #126352):
|
|
|
|
- Upgrade to 4.1.20 and some specfile cleanup
|
|
|
|
|
2004-09-09 04:45:12 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:45:09 +00:00
|
|
|
* Thu May 20 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-26
|
|
|
|
- Fixed build requirements (bug #123746).
|
|
|
|
|
2004-09-09 04:45:07 +00:00
|
|
|
* Sun Mar 14 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-25
|
|
|
|
- Apply Jakub Jelinek's patch for xargs -E/-I/-L options.
|
|
|
|
|
|
|
|
* Thu Mar 11 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-24
|
|
|
|
- Apply selinux patch last so that it can be turned off (bug #118025).
|
|
|
|
|
|
|
|
* Tue Mar 9 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Jakub Jelinek's d_type patch improvement.
|
|
|
|
|
|
|
|
* Sun Mar 7 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-23
|
|
|
|
- Run 'make check'.
|
|
|
|
- Apply Ulrich Drepper's improvement on the d_type patch.
|
|
|
|
|
|
|
|
* Fri Mar 5 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-22
|
|
|
|
- Apply Jakub Jelinek's d_type patch for improved efficiency with
|
|
|
|
many common expressions.
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:44:37 +00:00
|
|
|
* Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 4.1.7-20
|
|
|
|
- fix call to is_selinux_enabled
|
|
|
|
|
|
|
|
* Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-19
|
|
|
|
- Turn off SELinux
|
|
|
|
|
|
|
|
* Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-18.sel
|
|
|
|
- Turn on selinux
|
|
|
|
|
2004-09-09 04:44:31 +00:00
|
|
|
* Sat Oct 25 2003 Tim Waugh <twaugh@redhat.com> 4.1.7-17
|
|
|
|
- Rebuilt.
|
|
|
|
|
|
|
|
* Fri Oct 10 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-16
|
|
|
|
- Turn off selinux
|
|
|
|
|
|
|
|
* Fri Oct 10 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-15.sel
|
|
|
|
- Turn on selinux
|
|
|
|
|
|
|
|
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-15
|
|
|
|
- Turn off selinux
|
|
|
|
|
|
|
|
* Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-14.sel
|
|
|
|
- Turn on selinux
|
|
|
|
|
|
|
|
* Fri Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-13
|
|
|
|
- Add SELinux patch
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Apr 23 2003 Elliot Lee <sopwith@redhat.com> 4.1.7-11
|
|
|
|
- Remove config.{sub,guess} to make ppc64 work
|
|
|
|
|
|
|
|
* Mon Mar 17 2003 Tim Waugh <twaugh@redhat.com> 4.1.7-10
|
|
|
|
- Make 'xargs -i -n1' behave as expected (bug #86191).
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 4.1.7-9
|
2004-09-09 04:43:34 +00:00
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Oct 22 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-8
|
|
|
|
- Ship translations.
|
|
|
|
- Don't install files not packaged.
|
|
|
|
|
2004-09-09 04:43:31 +00:00
|
|
|
* Wed Jul 3 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-7
|
|
|
|
- Fix usage message (bug #67828).
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.1.7-6
|
2004-09-09 04:43:28 +00:00
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:43:31 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com> 4.1.7-5
|
2004-09-09 04:43:28 +00:00
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:43:22 +00:00
|
|
|
* Tue Feb 26 2002 Tim Waugh <twaugh@redhat.co,> 4.1.7-4
|
|
|
|
- Rebuild in new environment.
|
|
|
|
|
|
|
|
* Tue Feb 12 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-3
|
|
|
|
- s/Copyright/License/.
|
|
|
|
- Fix documentation (bug #53857).
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:42:57 +00:00
|
|
|
* Sun Jun 03 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.1.7, no additional patch needed anymore
|
|
|
|
|
2004-09-09 04:42:51 +00:00
|
|
|
* Thu Feb 8 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- remove extraneous linking to librt/libpthreads.
|
|
|
|
|
|
|
|
* Tue Oct 17 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.1.6
|
|
|
|
|
2004-09-09 04:42:42 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- revert to 4.1.5 ( :) ) on the advice of HJ Lu
|
|
|
|
- patch to fix finding w/ -perm flag
|
|
|
|
|
|
|
|
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- revert to 4.1.4
|
|
|
|
- reapply numblks patch
|
|
|
|
- generate new nolocate patch, we don't ship it.
|
|
|
|
|
|
|
|
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- 4.1.5, FHS paths
|
|
|
|
- remove mktemp,getshort patches (don't ship locate)
|
|
|
|
- alpha, numblks patch no longer needed
|
|
|
|
|
|
|
|
* Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 4.1.4
|
|
|
|
- remove some obsolete patches, adapt others
|
|
|
|
- fix build on alpha
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix summary
|
|
|
|
- ma pages are compressed
|
|
|
|
|
|
|
|
* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- new description.
|
|
|
|
|
|
|
|
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- fixed block count bug (# 2141)
|
|
|
|
|
|
|
|
* Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- patch to fix xargs out of bounds overflow (bug # 1279)
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 30)
|
|
|
|
|
|
|
|
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- strip binaries.
|
|
|
|
|
|
|
|
* Mon Feb 8 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- remove further updatedb remnants (#1072).
|
|
|
|
|
|
|
|
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- added patch for glibc21
|
|
|
|
|
|
|
|
* Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- removed locate stuff (as we now ship slocate)
|
|
|
|
|
|
|
|
* Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- updated updatedb cron script to not look for $TMPNAME.n (which was
|
|
|
|
a relic anyway)
|
|
|
|
- added -b parameters to all of the patches
|
|
|
|
|
|
|
|
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- make updatedb.cron use mktemp correctly
|
|
|
|
- make updatedb use mktemp
|
|
|
|
|
|
|
|
* Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- nobody should own tmpfile
|
|
|
|
- ignore /net
|
|
|
|
|
|
|
|
* Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- made updatedb.cron do a better job of cleaning up after itself.
|
|
|
|
|
|
|
|
* Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
|
|
|
|
- fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added patch for glibc 2.1
|
|
|
|
|
|
|
|
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- added BuildRoot support
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- made updatedb.cron work even if "nobody" can't read /root
|
|
|
|
- use mktemp in updatedb.cron
|
|
|
|
|
|
|
|
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added missing info pages
|
|
|
|
- uses install-info
|
|
|
|
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built with glibc
|
|
|
|
|
|
|
|
* Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- fixed updatedb.cron
|