commit findutils for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package findutils for openSUSE:Factory checked in at Fri Sep 24 09:10:51 CEST 2010. -------- --- findutils/findutils.changes 2010-04-01 17:05:11.000000000 +0200 +++ /mounts/work_src_done/STABLE/findutils/findutils.changes 2010-07-30 18:55:10.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 30 18:53:26 CEST 2010 - werner@suse.de + +- Add a simple wrapper for user root to switch over to user nobody + for the command ls and find without using su. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- nobody-wrapper.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ findutils.spec ++++++ --- /var/tmp/diff_new_pack.OtDley/_old 2010-09-24 09:10:13.000000000 +0200 +++ /var/tmp/diff_new_pack.OtDley/_new 2010-09-24 09:10:13.000000000 +0200 @@ -22,12 +22,13 @@ License: GPLv3+ Group: Productivity/File utilities Version: 4.4.2 -Release: 2 +Release: 7 Summary: The GNU versions of find utilities (find and xargs) # retreived from http://ftp.gnu.org/pub/gnu/findutils/findutils-4.4.2.tar.gz Source: findutils-%{version}.tar.bz2 Source1: sysconfig.locate Source2: cron.daily.updatedb +Source3: nobody-wrapper.tar.bz2 # Use /proc/mounts instead of /etc/mtab as autofs entries are only # listed in the kernels >= 2.6.32 Patch0: findutils-use_proc_mounts.patch @@ -83,7 +84,7 @@ switching on the computer. %prep -%setup -q +%setup -q -b 3 %patch0 %patch1 -p1 %patch2 -p1 @@ -106,6 +107,10 @@ --enable-d_type-optimisation make %{?_smp_mflags} +pushd ../nobody-wrapper + gcc $RPM_OPT_FLAGS -o nobody nobody.c +popd + %check make check @@ -123,6 +128,13 @@ # create /usr/bin/find -> /bin/find symlink ln -sf ../../bin/find $RPM_BUILD_ROOT%{_bindir} +pushd ../nobody-wrapper + mkdir $RPM_BUILD_ROOT%{_sbindir}/ + mkdir $RPM_BUILD_ROOT%{_mandir}/man8 + install -m 0755 nobody $RPM_BUILD_ROOT%{_sbindir}/ + install -m 0644 nobody.8 $RPM_BUILD_ROOT%{_mandir}/man8/ +popd + %clean rm -rf $RPM_BUILD_ROOT @@ -141,9 +153,11 @@ /bin/find %{_bindir}/find %{_bindir}/xargs +%{_sbindir}/nobody %doc %{_infodir}/find.info*.gz %doc %{_mandir}/man1/find.1.gz %doc %{_mandir}/man1/xargs.1.gz +%doc %{_mandir}/man8/nobody.8.gz %files lang -f %{name}.lang %defattr(-,root,root,-) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de