SHA256
1
0
forked from pool/rsync
OBS User unknown 2009-02-19 22:48:22 +00:00 committed by Git OBS Bridge
parent 0d1fc0dee4
commit b064cb75bd
8 changed files with 114 additions and 107 deletions

View File

@ -1,89 +0,0 @@
NEWS for rsync 3.0.3 (29 Jun 2008)
Protocol: 30 (unchanged)
Changes since 3.0.2:
BUG FIXES:
- Fixed a wildcard matching problem in the daemon when a module has
"use chroot" enabled.
- Fixed a crash bug in the hard-link code.
- Fixed the sending of xattr directory information when the code finds a
--link-dest or --copy-dest directory with unchanged xattrs -- the
destination directory now gets these unchanged xattrs properly applied.
- Fixed an xattr-sending glitch that could cause an "Internal abbrev"
error.
- Fixed the combination of --xattrs and --backup.
- The generator no longer allows a '.' dir to be excluded by a daemon-
exclude rule.
- Fixed deletion handling when copying a single, empty directory (with no
files) to a differently named, non-existent directory.
- Fixed the conversion of spaces into dashes in the %M log escape.
- Fixed several places in the code that were not returning the right
errno when a function failed.
- Fixed the backing up of a device or special file into a backup dir.
- Moved the setting of the socket options prior to the connect().
- If rsync exits in the middle of a --progress output, it now outputs a
newline to help prevent the progress line from being overwritten.
- Fixed a problem with how a destination path with a trailing slash or
a trailing dot-dir was compared against the daemon excludes.
- Fixed the sending of large (size > 16GB) files when talking to an older
rsync (protocols < 30): we now use a compatible block size limit.
- If a file's length is so huge that we overflow a checksum buffer count
(i.e. several hundred TB), warn the user and avoid sending an invalid
checksum struct over the wire.
- If a source arg is excluded, --relative no longer adds the excluded
arg's implied dirs to the transfer. This fix also made the exclude
check happen in the better place in the sending code.
- Use the overflow_exit() function for overflows, not out_of_memory().
- Improved the code to better handle a system that has only 32-bit file
offsets.
ENHANCEMENTS:
- The rsyncd.conf manpage now consistently refers to the parameters in
the daemon config file as "parameters".
- The description of the --inplace option was improved.
EXTRAS:
- Added a new script in the support directory, deny-rsync, which allows
an admin to (temporarily) replace the rsync command with a script that
sends an error message to the remote client via the rsync protocol.
DEVELOPER RELATED:
- Fixed a testcase failure if the tests are run as root and made some
compatibility improvements.
- Improved the daemon tests, including checking module comments, the
listing of files, and the ensuring that daemon excludes can't affect
a dot-dir arg.
- Improved some build rules for those that build in a separate directory
from the source, including better install rules for the man pages, and
the fixing of a proto.h-tstamp rule that could make the binaries get
rebuild without cause.
- Improved the testsuite to work around a problem with some utilities
(e.g. cp -p & touch -r) rounding sub-second timestamps.
- Ensure that the early patches don't cause any generated-file hunks to
bleed-over into patches that follow.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3cc6acdbbf54395c90a9e87ff8d3fc7e038a2c120d46bd520cb59413f8081bf9
size 642761

3
rsync-3.0.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0249d49c928cdb65a56b510093c14a7da514217231667b48d75b96ff90235178
size 638512

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfc2412999eb8228ea93e3a4aac10b5af870067fa8824cae81d76eaff89e299a
size 111613

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a7506a9a9024636af3373ecfa284e82e6074cf8abc64b682c608d6a9257bfe4
size 112174

27
rsync-server.firewall Normal file
View File

@ -0,0 +1,27 @@
# Do not edit this file as it's just a template and will be
# overwritten on package updates! Copy to a new file instead.
#
# Only the variables TCP, UDP, RPC, IP and BROADCAST are allowed.
# More may be supported in the future.
#
# For a more detailed description of the individual variables see
# the comments for FW_SERVICES_*_EXT in /etc/sysconfig/SuSEfirewall2
#
## Name: Rsync server
## Description: Opens port for rsync server in order to allow remote synchronization
# space separated list of allowed TCP ports
TCP="rsync"
# space separated list of allowed UDP ports
UDP=""
# space separated list of allowed RPC services
RPC=""
# space separated list of allowed IP protocols
IP=""
# space separated list of allowed UDP broadcast ports
BROADCAST=""

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Feb 19 14:34:05 CET 2009 - puzel@suse.cz
- update to 3.0.5
- initialize xattr data in a couple spots in the hlink code, which avoids a
crash when the xattr pointer's memory happens to start out non-zero
- don't send a bogus "-" option to an older server if there were no short
options specified - fixes (bnc#476379)
- fixed skipping of unneeded updates in a batch file when incremental
recursion is active
- fix the %P logfile escape when the daemon logs from inside a chroot.
- fixed the use of -s (--protect-args) when used with a remote source or
destination that had an empty path (e.g. "host:")
- fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
file when the root of the transfer isn't the current directory
- fixed a bug with "-K --delete" removing symlinks to directories when
incremental recursion is active
- fixed a hard to trigger hang when using --remove-source-files
- got rid of an annoying delay when accessing a daemon via a remote-shell
- properly ignore (superfluous) source args on a --read-batch command
- improved the manpage's description of the '*' wildcard to remove the
confusing "non-empty" qualifier
- fixed reverse lookups in the compatibility-library version of
getnameinfo()
- fixed a bug when using --sparse on a sparse file that has over 2GB of
consecutive sparse data
- avoid a hang when using at least 3 --verbose options on a transfer with a
client sender (which includes local copying)
- fixed a problem with --delete-delay reporting an error when it was ready
to remove a directory that was now gone
- got rid of a bunch of "warn_unused_result" compiler warnings
- if an ftruncate() on a received file fails, it now causes a partial-
transfer warning
- add SuSEfirewall2 rule (bnc#251657)
-------------------------------------------------------------------
Wed Oct 8 17:48:39 CEST 2008 - puzel@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package rsync (Version 3.0.4)
# spec file for package rsync (Version 3.0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,8 +31,8 @@ License: GPL v3 or later
Group: Productivity/Networking/Other
PreReq: %fillup_prereq %insserv_prereq sed grep
AutoReqProv: on
Version: 3.0.4
Release: 2
Version: 3.0.5
Release: 1
Summary: Replacement for RCP/mirror that has Many More Features
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-patches-%{version}.tar.bz2
@ -41,7 +41,7 @@ Source3: rsync.xinetd
Source4: rsyncd.rc
Source5: rsyncd.conf
Source6: rsyncd.secrets
Source7: NEWS-rsync-3.0.3
Source7: rsync-server.firewall
Patch3: system-zlib.diff
Url: http://rsync.samba.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -74,7 +74,6 @@ rm -f zlib/*.h
patch -p1 < patches/acls.diff
patch -p1 < patches/xattrs.diff
patch -p1 < patches/slp.diff
cp %{SOURCE7} .
%build
autoheader
@ -104,6 +103,8 @@ install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/etc/init.d/rsyncd
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/rsyncd.conf
install -m 600 %{SOURCE6} $RPM_BUILD_ROOT/etc/rsyncd.secrets
ln -sf ../../etc/init.d/rsyncd $RPM_BUILD_ROOT/usr/sbin/rcrsyncd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
install -m 644 %{S:7} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/rsync-server
%preun
%stop_on_removal rsyncd
@ -129,11 +130,44 @@ fi
%{_sbindir}/rsyncd
%{_bindir}/rsyncstats
%{_bindir}/rsync
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
%doc %{_mandir}/man1/rsync.1.gz
%doc %{_mandir}/man5/rsyncd.conf.5.gz
%doc COPYING NEWS NEWS-rsync-3.0.3 README tech_report.ps tech_report.tex
%doc COPYING NEWS README tech_report.ps tech_report.tex
%changelog
* Thu Feb 19 2009 puzel@suse.cz
- update to 3.0.5
- initialize xattr data in a couple spots in the hlink code, which avoids a
crash when the xattr pointer's memory happens to start out non-zero
- don't send a bogus "-" option to an older server if there were no short
options specified - fixes (bnc#476379)
- fixed skipping of unneeded updates in a batch file when incremental
recursion is active
- fix the %%P logfile escape when the daemon logs from inside a chroot.
- fixed the use of -s (--protect-args) when used with a remote source or
destination that had an empty path (e.g. "host:")
- fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
file when the root of the transfer isn't the current directory
- fixed a bug with "-K --delete" removing symlinks to directories when
incremental recursion is active
- fixed a hard to trigger hang when using --remove-source-files
- got rid of an annoying delay when accessing a daemon via a remote-shell
- properly ignore (superfluous) source args on a --read-batch command
- improved the manpage's description of the '*' wildcard to remove the
confusing "non-empty" qualifier
- fixed reverse lookups in the compatibility-library version of
getnameinfo()
- fixed a bug when using --sparse on a sparse file that has over 2GB of
consecutive sparse data
- avoid a hang when using at least 3 --verbose options on a transfer with a
client sender (which includes local copying)
- fixed a problem with --delete-delay reporting an error when it was ready
to remove a directory that was now gone
- got rid of a bunch of "warn_unused_result" compiler warnings
- if an ftruncate() on a received file fails, it now causes a partial-
transfer warning
- add SuSEfirewall2 rule (bnc#251657)
* Wed Oct 08 2008 puzel@suse.cz
- fix build: do not run tests as they fail in chrooted environment
* Mon Sep 22 2008 puzel@suse.cz
@ -229,13 +263,13 @@ fi
- make build work on older distros again.
* Tue May 08 2007 dmueller@suse.de
- use builtin zlib copy again
* Tue May 08 2007 dmueller@suse.de
* Mon May 07 2007 dmueller@suse.de
- update to 2.6.9:
* several important bugfixes
* new features, see included NEWS file
- build against system zlib instead of own zlib copy
- build against system popt instead of own popt copy
* Thu Apr 19 2007 aj@suse.de
* Wed Apr 18 2007 aj@suse.de
- Use texlive for building.
* Tue Sep 12 2006 ro@suse.de
- apply fix for xattr.diff from rsync mailing list
@ -314,7 +348,7 @@ fi
- don't build as root
* Mon Aug 18 2003 ro@suse.de
- added stop_on_removal and restart_on_update macro calls
* Tue May 13 2003 ro@suse.de
* Mon May 12 2003 ro@suse.de
- use defattr
* Wed Mar 05 2003 ro@suse.de
- add xinetd-config to filelist
@ -378,7 +412,7 @@ fi
- added rsyncstats shell script
* Thu Dec 17 1998 ro@suse.de
- update to 2.2.1
* Sun Nov 29 1998 bs@suse.de
* Sat Nov 28 1998 bs@suse.de
- added symlink /usr/sbin/rsyncd (to let it work with tcpd)
- added example configs
* Tue Nov 24 1998 ro@suse.de
@ -391,5 +425,5 @@ fi
* Tue May 12 1998 ro@suse.de
- update to 1.7.4
generate tech_report.ps from tex-src
* Tue Nov 11 1997 kfr@suse.de
* Mon Nov 10 1997 kfr@suse.de
- first version for S.u.S.E. (1.6.3)