cvsdist 8d8148d
Summary: A program for synchronizing files over a network.
cvsdist 8d8148d
Name: rsync
Florian La Roche 965cc4d
Version: 2.6.9
cadf870
Release: 3%{?dist}
cvsdist 8d8148d
Group: Applications/Internet
cvsdist 69f2195
# TAG: for pre versions use
fenlason f3753fb
#Source:	ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre1.tar.gz
fenlason 61f7de2
Source:	ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
cvsdist d184d48
Source1: rsync.xinetd
ssorce 85f0ea3
Patch1: rsync-2.6.9-acl-xattr-delete-bug.patch
cadf870
Patch2: rsync-2.6.9-hlink-segv.patch
fenlason 45f5532
BuildRequires: libacl-devel, libattr-devel, autoconf, make, gcc
cvsdist 8d8148d
Prefix: %{_prefix}
cvsdist 8d8148d
BuildRoot: /var/tmp/%{name}-root
cadf870
License: GPLv2+
cvsdist 8d8148d
cvsdist 8d8148d
%description
cvsdist de5ca7d
Rsync uses a reliable algorithm to bring remote and host files into
cvsdist de5ca7d
sync very quickly. Rsync is fast because it just sends the differences
cvsdist de5ca7d
in the files over the network instead of sending the complete
cvsdist de5ca7d
files. Rsync is often used as a very powerful mirroring process or
cvsdist de5ca7d
just as a more capable replacement for the rcp command. A technical
cvsdist de5ca7d
report which describes the rsync algorithm is included in this
cvsdist de5ca7d
package.
cvsdist 8d8148d
cvsdist 8d8148d
%prep
cvsdist 69f2195
# TAG: for pre versions use
fenlason f3753fb
# % setup -q -n rsync-%{version}pre1
fenlason 61f7de2
%setup -q
fenlason 1447eaa
patch -p1 < patches/acls.diff
fenlason 1447eaa
patch -p1 < patches/xattrs.diff
ssorce 85f0ea3
%patch1 -p1 -b .acl_xattrs_bug
cadf870
%patch2 -p1 -b .hlink_segv
cvsdist 08e989e
cvsdist 8d8148d
%build
fenlason 4871425
rm -fr autom4te.cache
fenlason 4871425
autoconf
fenlason 4871425
autoheader
fenlason 4871425
%configure \
fenlason f6298cb
  --enable-acl-support --enable-xattr-support
fenlason 4871425
make proto
fenlason 5200c9b
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
cvsdist 8d8148d
cvsdist 8d8148d
%install
cvsdist 8d8148d
rm -rf $RPM_BUILD_ROOT
cvsdist 8d8148d
cvsdist 8d8148d
%makeinstall
cvsdist d184d48
mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
cvsdist d184d48
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/xinetd.d/rsync
cvsdist 8d8148d
cvsdist 8d8148d
%clean
cvsdist 8d8148d
rm -rf $RPM_BUILD_ROOT
cvsdist 8d8148d
cvsdist 8d8148d
%files
cvsdist 8d8148d
%defattr(-,root,root)
cvsdist 5b4735e
%doc COPYING README tech_report.tex
cvsdist 22337e9
%config(noreplace) /etc/xinetd.d/rsync
cvsdist 8d8148d
%{_prefix}/bin/rsync
cvsdist 8d8148d
%{_mandir}/man1/rsync.1*
cvsdist 8d8148d
%{_mandir}/man5/rsyncd.conf.5*
cvsdist 8d8148d
cvsdist 8d8148d
%changelog
cadf870
* Wed Sep 5 2007 Simo Sorce <ssorce@redhat.com> 2.6.9-3.fc8
cadf870
- Add patch to fix crash bug with hardlinks and ACLs patches
cadf870
d241fce
* Mon Feb 19 2007 Adam Jackson <ajax@redhat.com> 2.6.9-2
d241fce
- Add dist tag to Release to fix upgrades from FC5 or FC6.
d241fce
ssorce 85f0ea3
* Mon Feb 19 2007 Simo Sorce <ssorce@redhat.com> - 2.6.9-2
ssorce 85f0ea3
- fix acl/xattr bug with --delete: (bz#229145)
ssorce 85f0ea3
Florian La Roche 965cc4d
* Wed Nov 22 2006 Florian La Roche <laroche@redhat.com> - 2.6.9-1
Florian La Roche 965cc4d
- update to 2.6.9
Florian La Roche 965cc4d
8cb1ffa
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.6.8-3.1
8cb1ffa
- rebuild
8cb1ffa
fenlason f6298cb
* Fri Jun 9 2006 Jay Fenlason <fenlason@redhat.com> 2.6.8-3
fenlason f6298cb
- Add my xattrs_bug patch to fix a bug where xattrs don't get sent correctly.
fenlason f6298cb
- Add BuildRequires to make sure libattr-devel and libacl-devel are avaliable
fenlason f6298cb
- replace --with... with --enable... so they actually work
fenlason 45f5532
- Add make, autoconf and gcc to BuildRequires
fenlason f6298cb
fenlason 1447eaa
* Mon May 8 2006 Jay Fenlason <fenlason@redhat.com> 2.6.8-2
fenlason 1447eaa
- New upstream release
fenlason 1447eaa
- Use the upstream xattr patch instead of mine.  This closes
fenlason 1447eaa
  bz#190208 CVE-2006-2083 rsync buffer overflow issue
fenlason 1447eaa
b763243
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.6.6-2.2.1
b763243
- bump again for double-long bug on ppc(64)
b763243
357e025
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.6.6-2.2
357e025
- rebuilt for new gcc4.1 snapshot and glibc changes
357e025
4f06224
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4f06224
- rebuilt
4f06224
fenlason 500101e
* Thu Jul 28 2005 Jay Fenlason <fenlason@redhat.com> 2.6.6-2
fenlason 500101e
- New upstream release.  See the NEWS file for details.
fenlason 500101e
fenlason f3753fb
* Thu Jun 2 2005 Jay Fenlason <fenlason@redhat.com> 2.6.5-2
fenlason f3753fb
- New upstream release
fenlason f3753fb
fenlason f3753fb
* Tue May 17 2005 Jay Fenlason <fenlason@redhat.com> 2.6.5-0.pre1.0
fenlason f3753fb
- new upstream pre-release
fenlason f3753fb
fenlason 07f69aa
* Tue May 17 2005 Jay Fenlason <fenlason@redhat.com> 2.6.4-3
fenlason 07f69aa
- Include the -address patch from upstream, to close
fenlason 07f69aa
  bz#154752 Unable to use --address in client mode
fenlason 07f69aa
fenlason 3a141f2
* Thu Mar 31 2005 Jay Fenlason <fenlason@redhat.com> 2.6.4-2
fenlason 3a141f2
- New upstream version
fenlason 3a141f2
fenlason 5200c9b
* Wed Mar 2 2005 Jay Fenlason <fenlason@redhat.com> 2.6.3-3
fenlason 5200c9b
- bump release, rebuild with gcc4
fenlason 5200c9b
- pass RPM_OPT_FLAGS to make
fenlason 5200c9b
fenlason 4871425
* Thu Feb 10 2005 Jay Fenlason <fenlason@redhat.com> 2.6.3-2
fenlason 4871425
- Added my -xattr patch, which is based on the -acl patch.
fenlason 4871425
fenlason 61f7de2
* Thu Sep 30 2004 Jay Fenlason <fenlason@redhat.com> 2.6.3-1
fenlason 61f7de2
- New upstream release.
fenlason 61f7de2
fenlason f0198ac
* Tue Sep 21 2004 Jay Fenlason <fenlason@redhat.com> 2.6.3-0.pre2
fenlason f0198ac
- new upstream version.
fenlason f0198ac
cvsdist 6c9c12e
* Tue Aug 17 2004 Jay Fenlason <fenlason@redhat.com> 2.6.3-0.pre1
cvsdist 6c9c12e
- New upstream version with security fix for CAN-2004-0792
cvsdist 6c9c12e
- This obsoletes the -lastdir-corruption patch.
cvsdist 6c9c12e
cvsdist 8f2ab1c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 8f2ab1c
- rebuilt
cvsdist 8f2ab1c
cvsdist 08e989e
* Tue May 25 2004 Mark McLoughlin <markmc@redhat.com> - 2.6.2-1
cvsdist 08e989e
- Backport fix for crasher when passing multiple directories of the same
cvsdist 08e989e
  length (bug #123708)
cvsdist 69f2195
cvsdist 69f2195
* Fri Apr 30 2004 Jay Fenlason <fenlason@redhat.com> 2.6.2-0
cvsdist 69f2195
- New upstream version to correct the problems with 2.6.1.
cvsdist 69f2195
  This obsoletes all the patches to 2.6.1
cvsdist 69f2195
cvsdist 69f2195
* Thu Apr 29 2004 Jay Fenlason <fenlason@redhat.com> 2.6.1-1
cvsdist 69f2195
- Rsync 2.6.1 final.
cvsdist 69f2195
- Add a patch from Wayne Davison <wayned@samba.org> that fixes a
cvsdist 69f2195
  use of uninitilized memory in the map_uid and map_gid functions.
cvsdist 69f2195
- Add another patch from Wayne Davidson that fixes the -R option.
cvsdist 69f2195
- Add a patch (extracted from a patch by Sami Farin
cvsdist 69f2195
  <safari-rsync@safari.iki.fi>) to not ignore the return value
cvsdist 69f2195
  of close().
cvsdist 69f2195
cvsdist 69f2195
* Thu Mar 25 2004 Jay Fenlason <fenlason@redhat.com> 2.6.1-0.pre1
cvsdist 69f2195
- New upstream version
cvsdist 69f2195
cvsdist f74b1fb
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f74b1fb
- rebuilt
cvsdist f74b1fb
cvsdist 21125ce
* Mon Jan  5 2004 Jay Fenlason <fenlason@redhat.com> 2.6.0-0
cvsdist 21125ce
- New upstream version, obsoletes the rsync-2.5.6-signal.patch
cvsdist e05ce68
cvsdist 10833fa
* Wed Dec  3 2003 Bill Nottingham <notting@redhat.com> 2.5.7-2
cvsdist 10833fa
- rebuild
cvsdist 10833fa
cvsdist 10833fa
* Wed Dec  3 2003 Bill Nottingham <notting@redhat.com> 2.5.7-1
cvsdist 10833fa
- update to 2.5.7
cvsdist 10833fa
cvsdist 10833fa
* Tue Aug 05 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-20
cvsdist 10833fa
- rebuild in new build env
cvsdist 10833fa
cvsdist c8c6439
* Tue Aug 05 2003 Lon Hohberger <lhh@redhat.com> 2.5.6-19
cvsdist c8c6439
- spec file fix
cvsdist c8c6439
cvsdist c8c6439
* Tue Aug 05 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-18
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Tue Aug 05 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-17
cvsdist c8c6439
- fixed spec - added patch0 to prep.
cvsdist c8c6439
cvsdist c8c6439
* Tue Aug 05 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-16
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Mon Aug 04 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-15
cvsdist c8c6439
- add rsync-2.5.6-signal.patch to fix kernel warnings that
cvsdist c8c6439
  appear because socket.c sets SIGCHLD to SIG_IGN and then
cvsdist c8c6439
  calls wait.  This is in response to bug#98740.  This patch
cvsdist c8c6439
  *has* been committed to CVS upstream and will be in
cvsdist c8c6439
  upstream rsync-2.5.7.
cvsdist c8c6439
cvsdist c8c6439
* Fri Jun 13 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-14
cvsdist c8c6439
- build scratch - for compile warnings
cvsdist c8c6439
cvsdist c8c6439
* Fri Jun 13 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-13
cvsdist c8c6439
- build scratch - for compile warnings
cvsdist c8c6439
cvsdist c8c6439
* Thu Jun 12 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-12
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Thu Jun 12 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-11
cvsdist c8c6439
- removed rsync-2.5.6-sign.patch.  Upstream code
cvsdist c8c6439
  incorporates signed vs unsigned changes.
cvsdist c8c6439
cvsdist c8c6439
* Wed Jun 11 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-10_CVSHEAD_signpatch
cvsdist c8c6439
- build scratch - added rsync-2.5.6-sign.patch.
cvsdist c8c6439
cvsdist c8c6439
* Wed Jun 11 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-9_CVSHEAD_nopatches
cvsdist c8c6439
- build scratch.
cvsdist c8c6439
cvsdist c8c6439
* Wed Jun 11 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-8
cvsdist c8c6439
- build scratch - deleted rsync-2.5.6-sign.patch.
cvsdist c8c6439
cvsdist c8c6439
* Mon Jun 09 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-7
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Thu Jun 05 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-6
cvsdist c8c6439
- removed patch rsync-2.5.4-maxdel.patch
cvsdist c8c6439
- removed patch rsync-2.4.6-segv.patch
cvsdist c8c6439
   - current 2.5.6 properly handles (no segfault) the situation
cvsdist c8c6439
     (rsync '[a]') that caused a need for this patch.
cvsdist c8c6439
- added patch rsync-2.5.6-sign.patch, which is a working
cvsdist c8c6439
  subset of patches (that still apply) included in the original
cvsdist c8c6439
  rsync-2.5.4-moresignage.patch
cvsdist c8c6439
cvsdist c8c6439
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist c8c6439
- rebuilt
cvsdist c8c6439
cvsdist c8c6439
* Mon Mar 11 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-4
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Mon Mar 11 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-3
cvsdist c8c6439
- fixed changelog comments
cvsdist c8c6439
cvsdist c8c6439
* Mon Mar 10 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-2
cvsdist c8c6439
- rebuild in new build env
cvsdist c8c6439
cvsdist c8c6439
* Mon Mar 10 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.6-1
cvsdist c8c6439
- update to 2.5.6 from upstream
cvsdist c8c6439
cvsdist 9332f43
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 9332f43
- rebuilt
cvsdist 9332f43
cvsdist 9332f43
* Fri Jan 17 2003 Hardy Merrill <hmerrill@redhat.com> 2.5.5-3
cvsdist c8c6439
- fix spelling mistake in rsync.xinetd.  #66036 & dup #75006
cvsdist 9332f43
cvsdist 9332f43
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 2.5.5-2
cvsdist 9332f43
- rebuild on all arches
cvsdist 9332f43
cvsdist 7144f9f
* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 2.5.5-1
cvsdist 7144f9f
- update to 2.5.5
cvsdist 7144f9f
cvsdist b0b0bc9
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist b0b0bc9
- automated rebuild
cvsdist b0b0bc9
cvsdist b0b0bc9
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist b0b0bc9
- automated rebuild
cvsdist b0b0bc9
cvsdist 6d84840
* Wed Apr 10 2002 Bill Nottingham <notting@redhat.com> 2.5.4-2
cvsdist 6d84840
- upstream patches: fix accidental use of --whole-file, fix
cvsdist 6d84840
  minor memory leak, and bad worst-case child kill behavior
cvsdist 6d84840
- make passing -e to rsync:// URLs not cause an error exit (#62489)
cvsdist 6d84840
cvsdist 5b4735e
* Wed Mar 13 2002 Bill Nottingham <notting@redhat.com> 2.5.4-1
cvsdist 5b4735e
- update to 2.5.4, do assorted patchmerging
cvsdist 5b4735e
cvsdist 5b4735e
* Wed Feb 20 2002 Bill Nottingham <notting@redhat.com>
cvsdist 5b4735e
- fix --address (#60127)
cvsdist 5b4735e
- call setgroups before dropping privs (<mkp@samba.org>)
cvsdist 5b4735e
cvsdist 5b4735e
* Mon Jan 28 2002 Bill Nottingham <notting@redhat.com>
cvsdist 5b4735e
- fix some errors in the unsigned patch
cvsdist 5b4735e
cvsdist 5b4735e
* Sun Jan 27 2002 Bill Nottingham <notting@redhat.com>
cvsdist 5b4735e
- rebuild to get proper LFS_CFLAGS
cvsdist 5b4735e
cvsdist 5b4735e
* Wed Jan 23 2002 Bill Nottingham <notting@redhat.com>
cvsdist 5b4735e
- fix some signed/unsigned issues (<krahmer@suse.de>)
cvsdist 5b4735e
- tweak ipv6 patch (#55337, <john.l.villalovos@intel.com>)
cvsdist 5b4735e
- make xinetd file %config(noreplace)
cvsdist 22337e9
cvsdist de5ca7d
* Fri Aug 17 2001 Bill Nottingham <notting@redhat.com>
cvsdist de5ca7d
- fix segfault on weird arguments (#51801)
cvsdist de5ca7d
cvsdist 16da188
* Tue Jul 24 2001 Bill Nottingham <notting@redhat.com>
cvsdist 16da188
- IPv6 patch (<pekkas@netcore.fi>) (#47780)
cvsdist 16da188
cvsdist 16da188
* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
cvsdist 16da188
- add patch to fix hangs at end of sync, and other odd behaviors (#42111)
cvsdist 16da188
cvsdist d184d48
* Sat Sep 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d184d48
- add xinetd configuration
cvsdist d184d48
cvsdist d184d48
* Tue Sep 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist d184d48
- 2.4.6
cvsdist d184d48
cvsdist 8d8148d
* Mon Jul 31 2000 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.4.4 - fixes yet another problem with rsh transport
cvsdist 8d8148d
cvsdist 8d8148d
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 8d8148d
- automatic rebuild
cvsdist 8d8148d
cvsdist 8d8148d
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- rebuild in new build env.
cvsdist 8d8148d
cvsdist 8d8148d
* Mon Apr 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.4.3
cvsdist 8d8148d
cvsdist 8d8148d
* Tue Apr  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.4.2
cvsdist 8d8148d
cvsdist 8d8148d
* Tue Mar  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- fix maxdelete behavior so it isn't sent to older servers.
cvsdist 8d8148d
cvsdist 8d8148d
* Mon Jan 31 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 8d8148d
- update to 2.4.1.
cvsdist 8d8148d
cvsdist 8d8148d
* Fri Dec 17 1999 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.3.2
cvsdist 8d8148d
cvsdist 8d8148d
* Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 8d8148d
- add "max. delete" patch to limit damage when server is hosed.
cvsdist 8d8148d
cvsdist 8d8148d
* Wed Apr 07 1999 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.3.1.
cvsdist 8d8148d
cvsdist 8d8148d
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 8d8148d
- auto rebuild in the new build environment (release 2)
cvsdist 8d8148d
cvsdist 8d8148d
* Tue Mar 16 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 8d8148d
- update to 2.3.0.
cvsdist 8d8148d
cvsdist 8d8148d
* Sat Mar 13 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 8d8148d
- update to 2.3.0 beta.
cvsdist 8d8148d
cvsdist 8d8148d
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
cvsdist 8d8148d
- update to 2.2.1
cvsdist 8d8148d
cvsdist 8d8148d
* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 8d8148d
- updated to 2.1.1
cvsdist 8d8148d
cvsdist 8d8148d
* Mon Aug 17 1998 Erik Troan <ewt@redhat.com>
cvsdist 8d8148d
- updated to 2.1.0
cvsdist 8d8148d
cvsdist 8d8148d
* Thu Aug 06 1998 Erik Troan <ewt@redhat.com>
cvsdist 8d8148d
- buildrooted and attr-rophied
cvsdist 8d8148d
- removed tech-report.ps; the .tex should be good enough
cvsdist 8d8148d
cvsdist 8d8148d
* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
cvsdist 8d8148d
- Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
cvsdist 8d8148d
  was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
cvsdist 8d8148d
  showing no packager nor signature but giving 
cvsdist 8d8148d
  "Source RPM: rsync-1.6.3-1.src.rpm".
cvsdist 8d8148d
- Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
cvsdist 8d8148d
  to '%build', removed '%prefix'.
cvsdist 8d8148d
cvsdist 8d8148d
* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
cvsdist 8d8148d
- rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
cvsdist 8d8148d
  previous package(s).)