diff --git a/lutimes-hack.diff b/lutimes-hack.diff new file mode 100644 index 0000000..0c65308 --- /dev/null +++ b/lutimes-hack.diff @@ -0,0 +1,8 @@ +--- rsync.h~ 2007-08-17 14:46:24.000000000 +0200 ++++ rsync.h 2007-08-17 14:46:24.000000000 +0200 +@@ -927,3 +927,5 @@ + #ifdef MAINTAINER_MODE + const char *get_panic_action(void); + #endif ++ ++#undef HAVE_LUTIMES diff --git a/rsync.changes b/rsync.changes index 51c6041..db136eb 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 17 15:03:44 CEST 2007 - cthiel@suse.de + +- added lutimes-hack.diff to work around a glibc bug in lutimes.c + ------------------------------------------------------------------- Thu Aug 2 13:52:28 CEST 2007 - ro@suse.de diff --git a/rsync.spec b/rsync.spec index 44f7dd7..ae28cb3 100644 --- a/rsync.spec +++ b/rsync.spec @@ -23,7 +23,7 @@ Group: Productivity/Networking/Other PreReq: %fillup_prereq %insserv_prereq Autoreqprov: on Version: 2.6.9 -Release: 33 +Release: 34 Summary: Replacement for RCP/mirror that has Many More Features Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2 Source1: logrotate.rsync @@ -35,6 +35,7 @@ Patch1: slp-fix.diff Patch2: slp.diff Patch3: system-zlib.diff Patch4: rsync-overlong.patch +Patch5: lutimes-hack.diff URL: http://rsync.samba.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define with_system_zlib 0 @@ -71,6 +72,7 @@ cp configure.orig configure %patch2 -p1 %patch1 %patch4 -p1 +%patch5 cp configure.orig configure %build @@ -136,6 +138,8 @@ ln -sf ../../etc/init.d/rsyncd $RPM_BUILD_ROOT/usr/sbin/rcrsyncd %doc COPYING NEWS README tech_report.ps tech_report.tex %changelog +* Fri Aug 17 2007 - cthiel@suse.de +- added lutimes-hack.diff to work around a glibc bug in lutimes.c * Thu Aug 02 2007 - ro@suse.de - protect from overlong filenames (#294073) CVE-2007-4091 * Mon May 14 2007 - mrueckert@suse.de