From 284d2e2b48c833cdfd2bf12c84737283640207c18bbd4cafd81d07a430e371e0 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Mon, 4 Jan 2010 14:27:15 +0000 Subject: [PATCH 1/6] update to rsync-3.0.7 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=6 --- ready | 0 rsync.changes | 11 ----------- rsync.spec | 6 +++--- rsyncd.rc | 13 ++++++++----- 4 files changed, 11 insertions(+), 19 deletions(-) create mode 100644 ready diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/rsync.changes b/rsync.changes index 33d193a..4feb078 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,14 +1,3 @@ -------------------------------------------------------------------- -Sun Sep 19 10:55:59 UTC 2010 - jengelh@medozas.de - -- rsyncd.rc changes: -* Do not use killproc -TERM, but just killproc, so that killproc - waits until the service is actually shut down, before attempting - to restart it (when "restart" is used). Fixes bnc#546977. -* Change the "reload" action to return "missing" because rsyncd - does not handle SIGHUP -* Adjust "force-reload" accordingly - ------------------------------------------------------------------- Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com diff --git a/rsync.spec b/rsync.spec index dab52c3..752139b 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,7 +1,7 @@ # # spec file for package rsync (Version 3.0.7) # -# Copyright (c) 2010 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 @@ -22,8 +22,8 @@ Name: rsync Summary: Replacement for RCP/mirror that has Many More Features Version: 3.0.7 -Release: 6 -License: GPLv3+ +Release: 2 +License: GPL v3 or later Group: Productivity/Networking/Other AutoReqProv: on Url: http://rsync.samba.org/ diff --git a/rsyncd.rc b/rsyncd.rc index d7ba778..73b61e7 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -76,7 +76,7 @@ case "$1" in ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. - killproc -p $RSYNCD_PID $RSYNCD_BIN + killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN # Remember status and be verbose rc_status -v @@ -104,14 +104,17 @@ case "$1" in ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. - echo "Reload service rsync" - "$0" restart + echo -n "Reload service rsync" + killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN rc_status -v ;; reload) - # rsyncd does not catch SIGHUP + ## Like force-reload, but if daemon does not support + ## signalling, do nothing (!) + + # If it supports signalling: echo -n "Reload service rsync" - rc_failed 3 + killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN rc_status -v ;; status) From de72552abd47ede8cac4b399e48b22390fafed8c8e8bafa50c154106706e47db Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 7 Jan 2010 12:03:01 +0000 Subject: [PATCH 2/6] checked in OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=7 --- rsync-3.0.6.tar.bz2 | 3 +++ rsync-3.0.7.tar.bz2 | 3 --- rsync-patches-3.0.6.tar.bz2 | 3 +++ rsync-patches-3.0.7.tar.bz2 | 3 --- rsync.changes | 39 ------------------------------------- rsync.spec | 4 ++-- rsyncd.rc | 1 - 7 files changed, 8 insertions(+), 48 deletions(-) create mode 100644 rsync-3.0.6.tar.bz2 delete mode 100644 rsync-3.0.7.tar.bz2 create mode 100644 rsync-patches-3.0.6.tar.bz2 delete mode 100644 rsync-patches-3.0.7.tar.bz2 diff --git a/rsync-3.0.6.tar.bz2 b/rsync-3.0.6.tar.bz2 new file mode 100644 index 0000000..3c8d357 --- /dev/null +++ b/rsync-3.0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bc634346cbe7af919f29db169f29998985242c354e0c253704dc40dcda7469e +size 646317 diff --git a/rsync-3.0.7.tar.bz2 b/rsync-3.0.7.tar.bz2 deleted file mode 100644 index 1fe146d..0000000 --- a/rsync-3.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d810bbbfb113d5311093adb0c58dc01a21dc9582a4eebf882e65122155d1f4cf -size 641886 diff --git a/rsync-patches-3.0.6.tar.bz2 b/rsync-patches-3.0.6.tar.bz2 new file mode 100644 index 0000000..945b031 --- /dev/null +++ b/rsync-patches-3.0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba89a6d39c4fdeb939b0ce5ff83942b3473bf44a003411d89f35ab678db4a507 +size 112253 diff --git a/rsync-patches-3.0.7.tar.bz2 b/rsync-patches-3.0.7.tar.bz2 deleted file mode 100644 index 46c067b..0000000 --- a/rsync-patches-3.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce72bbdbe6a418b0d569cc5ed50e2eb49d5173e7efe1d7d3fb009cb551fdcb24 -size 111272 diff --git a/rsync.changes b/rsync.changes index 4feb078..0efb99d 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,42 +1,3 @@ -------------------------------------------------------------------- -Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com - -- update to rsync-3.0.7 - - Fixed a bogus free when using --xattrs with --backup. - - Avoid an error when --dry-run was trying to stat a prior hard-link - file that hasn't really been created. - - Fixed a problem with --compress (-z) where the receiving side could - return the error "inflate (token) returned -5". - - Fixed a bug where --delete-during could delete in a directory before - it noticed that the sending side sent an I/O error for that - directory (both sides of the transfer must be at least 3.0.7). - - Improved --skip-compress's error handling of bad character-sets and - got rid of a lingering debug fprintf(). - - Fixed the daemon's conveyance of io_error value from the sender. - - An rsync daemon use seteuid() (when available) if it used setuid(). - - Get the permissions right on a --fake-super transferred directory - that needs more owner permissions to emulate root behavior. - - An absolute-path filter rule (i.e. with a '/' modifier) no longer - loses its modifier when sending the filter rules to the remote - rsync. - - Improved the "--delete does not work without -r or -d" message. - - Improved rsync's handling of --timeout to avoid a weird timeout case - where the sender could timeout even though it has recently written - data to the socket (but hasn't read data recently, due to the - writing). - - Some misc manpage improvements. - - Fixed the chmod-temp-dir testsuite on a system without /var/tmp. - - Make sure that a timeout specified in the daemon's config is used as - a maximum timeout value when the user also specifies a timeout. - - Improved the error-exit reporting when rsync gets an error trying to - cleanup after an error: the initial error is reported. - - The AIX sysacls routines will now return ENOSYS if ENOTSUP is - missing. - - Made our (only used if missing) getaddrinfo() routine use - inet_pton() (which we also provide) instead of inet_aton(). - - The exit-related debug messages now mention the program's role so it - is clear who output what message. - ------------------------------------------------------------------- Fri Aug 21 11:09:20 UTC 2009 - chris@computersalat.de diff --git a/rsync.spec b/rsync.spec index 752139b..c8220b9 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,5 +1,5 @@ # -# spec file for package rsync (Version 3.0.7) +# spec file for package rsync (Version 3.0.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,7 +21,7 @@ Name: rsync Summary: Replacement for RCP/mirror that has Many More Features -Version: 3.0.7 +Version: 3.0.6 Release: 2 License: GPL v3 or later Group: Productivity/Networking/Other diff --git a/rsyncd.rc b/rsyncd.rc index 73b61e7..65feea4 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -22,7 +22,6 @@ # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the rsync server daemon -# Short-Description: Start the rsync server daemon ### END INIT INFO RSYNCD_BIN=/usr/sbin/rsyncd From df5ebaca725cbce07857f89fa41e28b7ef292b2c7ec10cc4c8e3640c30f853db Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 19 Feb 2010 15:50:26 +0000 Subject: [PATCH 3/6] converted link to branch OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=8 --- rsync-3.0.6.tar.bz2 | 3 --- rsync-3.0.7.tar.bz2 | 3 +++ rsync-patches-3.0.6.tar.bz2 | 3 --- rsync-patches-3.0.7.tar.bz2 | 3 +++ rsync.changes | 39 +++++++++++++++++++++++++++++++++++++ rsync.spec | 10 +++++----- rsyncd.rc | 1 + 7 files changed, 51 insertions(+), 11 deletions(-) delete mode 100644 rsync-3.0.6.tar.bz2 create mode 100644 rsync-3.0.7.tar.bz2 delete mode 100644 rsync-patches-3.0.6.tar.bz2 create mode 100644 rsync-patches-3.0.7.tar.bz2 diff --git a/rsync-3.0.6.tar.bz2 b/rsync-3.0.6.tar.bz2 deleted file mode 100644 index 3c8d357..0000000 --- a/rsync-3.0.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4bc634346cbe7af919f29db169f29998985242c354e0c253704dc40dcda7469e -size 646317 diff --git a/rsync-3.0.7.tar.bz2 b/rsync-3.0.7.tar.bz2 new file mode 100644 index 0000000..1fe146d --- /dev/null +++ b/rsync-3.0.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d810bbbfb113d5311093adb0c58dc01a21dc9582a4eebf882e65122155d1f4cf +size 641886 diff --git a/rsync-patches-3.0.6.tar.bz2 b/rsync-patches-3.0.6.tar.bz2 deleted file mode 100644 index 945b031..0000000 --- a/rsync-patches-3.0.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba89a6d39c4fdeb939b0ce5ff83942b3473bf44a003411d89f35ab678db4a507 -size 112253 diff --git a/rsync-patches-3.0.7.tar.bz2 b/rsync-patches-3.0.7.tar.bz2 new file mode 100644 index 0000000..46c067b --- /dev/null +++ b/rsync-patches-3.0.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce72bbdbe6a418b0d569cc5ed50e2eb49d5173e7efe1d7d3fb009cb551fdcb24 +size 111272 diff --git a/rsync.changes b/rsync.changes index 0efb99d..4feb078 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com + +- update to rsync-3.0.7 + - Fixed a bogus free when using --xattrs with --backup. + - Avoid an error when --dry-run was trying to stat a prior hard-link + file that hasn't really been created. + - Fixed a problem with --compress (-z) where the receiving side could + return the error "inflate (token) returned -5". + - Fixed a bug where --delete-during could delete in a directory before + it noticed that the sending side sent an I/O error for that + directory (both sides of the transfer must be at least 3.0.7). + - Improved --skip-compress's error handling of bad character-sets and + got rid of a lingering debug fprintf(). + - Fixed the daemon's conveyance of io_error value from the sender. + - An rsync daemon use seteuid() (when available) if it used setuid(). + - Get the permissions right on a --fake-super transferred directory + that needs more owner permissions to emulate root behavior. + - An absolute-path filter rule (i.e. with a '/' modifier) no longer + loses its modifier when sending the filter rules to the remote + rsync. + - Improved the "--delete does not work without -r or -d" message. + - Improved rsync's handling of --timeout to avoid a weird timeout case + where the sender could timeout even though it has recently written + data to the socket (but hasn't read data recently, due to the + writing). + - Some misc manpage improvements. + - Fixed the chmod-temp-dir testsuite on a system without /var/tmp. + - Make sure that a timeout specified in the daemon's config is used as + a maximum timeout value when the user also specifies a timeout. + - Improved the error-exit reporting when rsync gets an error trying to + cleanup after an error: the initial error is reported. + - The AIX sysacls routines will now return ENOSYS if ENOTSUP is + missing. + - Made our (only used if missing) getaddrinfo() routine use + inet_pton() (which we also provide) instead of inet_aton(). + - The exit-related debug messages now mention the program's role so it + is clear who output what message. + ------------------------------------------------------------------- Fri Aug 21 11:09:20 UTC 2009 - chris@computersalat.de diff --git a/rsync.spec b/rsync.spec index c8220b9..283b636 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,7 +1,7 @@ # -# spec file for package rsync (Version 3.0.6) +# spec file for package rsync (Version 3.0.7) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -21,9 +21,9 @@ Name: rsync Summary: Replacement for RCP/mirror that has Many More Features -Version: 3.0.6 -Release: 2 -License: GPL v3 or later +Version: 3.0.7 +Release: 1 +License: GPLv3+ Group: Productivity/Networking/Other AutoReqProv: on Url: http://rsync.samba.org/ diff --git a/rsyncd.rc b/rsyncd.rc index 65feea4..73b61e7 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -22,6 +22,7 @@ # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the rsync server daemon +# Short-Description: Start the rsync server daemon ### END INIT INFO RSYNCD_BIN=/usr/sbin/rsyncd From 33d9426a20b5aea1082fb2dcc1974d9ece4a5f91985b4393158bd78c99a0c8c0 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Mon, 20 Sep 2010 14:25:37 +0000 Subject: [PATCH 4/6] Accepting request 48487 from home:jengelh:dev Thanks! OBS-URL: https://build.opensuse.org/request/show/48487 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=9 --- ready | 0 rsync.changes | 11 +++++++++++ rsyncd.rc | 13 +++++-------- 3 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 ready diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000 diff --git a/rsync.changes b/rsync.changes index 4feb078..33d193a 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Sep 19 10:55:59 UTC 2010 - jengelh@medozas.de + +- rsyncd.rc changes: +* Do not use killproc -TERM, but just killproc, so that killproc + waits until the service is actually shut down, before attempting + to restart it (when "restart" is used). Fixes bnc#546977. +* Change the "reload" action to return "missing" because rsyncd + does not handle SIGHUP +* Adjust "force-reload" accordingly + ------------------------------------------------------------------- Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com diff --git a/rsyncd.rc b/rsyncd.rc index 73b61e7..d7ba778 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -76,7 +76,7 @@ case "$1" in ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. - killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN + killproc -p $RSYNCD_PID $RSYNCD_BIN # Remember status and be verbose rc_status -v @@ -104,17 +104,14 @@ case "$1" in ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. - echo -n "Reload service rsync" - killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN + echo "Reload service rsync" + "$0" restart rc_status -v ;; reload) - ## Like force-reload, but if daemon does not support - ## signalling, do nothing (!) - - # If it supports signalling: + # rsyncd does not catch SIGHUP echo -n "Reload service rsync" - killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN + rc_failed 3 rc_status -v ;; status) From 9bece6f6e58331720fd65df6229724c111c2ddfda012d069c9bfd131706264a3 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Wed, 22 Sep 2010 08:48:46 +0000 Subject: [PATCH 5/6] Accepting request 48561 from network checked in (request 48561) OBS-URL: https://build.opensuse.org/request/show/48561 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=10 --- rsync.changes | 11 ----------- rsyncd.rc | 13 ++++++++----- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/rsync.changes b/rsync.changes index 33d193a..4feb078 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,14 +1,3 @@ -------------------------------------------------------------------- -Sun Sep 19 10:55:59 UTC 2010 - jengelh@medozas.de - -- rsyncd.rc changes: -* Do not use killproc -TERM, but just killproc, so that killproc - waits until the service is actually shut down, before attempting - to restart it (when "restart" is used). Fixes bnc#546977. -* Change the "reload" action to return "missing" because rsyncd - does not handle SIGHUP -* Adjust "force-reload" accordingly - ------------------------------------------------------------------- Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com diff --git a/rsyncd.rc b/rsyncd.rc index d7ba778..73b61e7 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -76,7 +76,7 @@ case "$1" in ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. - killproc -p $RSYNCD_PID $RSYNCD_BIN + killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN # Remember status and be verbose rc_status -v @@ -104,14 +104,17 @@ case "$1" in ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. - echo "Reload service rsync" - "$0" restart + echo -n "Reload service rsync" + killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN rc_status -v ;; reload) - # rsyncd does not catch SIGHUP + ## Like force-reload, but if daemon does not support + ## signalling, do nothing (!) + + # If it supports signalling: echo -n "Reload service rsync" - rc_failed 3 + killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN rc_status -v ;; status) From 871babdd6a75dfda7ef60364686c098a3c3784358d5c4be341816b766013830f Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Tue, 29 Mar 2011 14:20:06 +0000 Subject: [PATCH 6/6] update to 3.0.8 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=11 --- rsync-3.0.5-doc-fix.patch | 11 +++-- rsync-3.0.7.tar.bz2 | 3 -- rsync-3.0.8.tar.bz2 | 3 ++ rsync-patches-3.0.7.tar.bz2 | 3 -- rsync-patches-3.0.8.tar.bz2 | 3 ++ rsync.changes | 50 +++++++++++++++++++++++ rsync.spec | 80 ++++++++++++++++++------------------- rsyncd.rc | 13 +++--- 8 files changed, 105 insertions(+), 61 deletions(-) delete mode 100644 rsync-3.0.7.tar.bz2 create mode 100644 rsync-3.0.8.tar.bz2 delete mode 100644 rsync-patches-3.0.7.tar.bz2 create mode 100644 rsync-patches-3.0.8.tar.bz2 diff --git a/rsync-3.0.5-doc-fix.patch b/rsync-3.0.5-doc-fix.patch index 6e7ba04..69d7f36 100644 --- a/rsync-3.0.5-doc-fix.patch +++ b/rsync-3.0.5-doc-fix.patch @@ -1,9 +1,8 @@ -Index: rsync-3.0.5/rsync.1 -=================================================================== ---- rsync-3.0.5.orig/rsync.1 2008-12-29 03:03:37.000000000 +0100 -+++ rsync-3.0.5/rsync.1 2009-03-24 11:12:00.000000000 +0100 -@@ -442,8 +442,8 @@ - \-\-remove\-source\-files sender removes synchronized files (non-dir) +diff -up rsync-3.0.8/rsync.1.orig rsync-3.0.8/rsync.1 +--- rsync-3.0.8/rsync.1.orig 2011-03-29 13:45:53.211306762 +0200 ++++ rsync-3.0.8/rsync.1 2011-03-29 13:46:29.420079020 +0200 +@@ -450,8 +450,8 @@ to the detailed description below for a + \-\-remove\-source\-files sender removes synchronized files (non\-dir) \-\-del an alias for \-\-delete\-during \-\-delete delete extraneous files from dest dirs - \-\-delete\-before receiver deletes before transfer (default) diff --git a/rsync-3.0.7.tar.bz2 b/rsync-3.0.7.tar.bz2 deleted file mode 100644 index 1fe146d..0000000 --- a/rsync-3.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d810bbbfb113d5311093adb0c58dc01a21dc9582a4eebf882e65122155d1f4cf -size 641886 diff --git a/rsync-3.0.8.tar.bz2 b/rsync-3.0.8.tar.bz2 new file mode 100644 index 0000000..4dbdf02 --- /dev/null +++ b/rsync-3.0.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a34febcee2e36d327d630413fccd9b136e1a4ef57a31dc6952fa6918faf2edc8 +size 628955 diff --git a/rsync-patches-3.0.7.tar.bz2 b/rsync-patches-3.0.7.tar.bz2 deleted file mode 100644 index 46c067b..0000000 --- a/rsync-patches-3.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce72bbdbe6a418b0d569cc5ed50e2eb49d5173e7efe1d7d3fb009cb551fdcb24 -size 111272 diff --git a/rsync-patches-3.0.8.tar.bz2 b/rsync-patches-3.0.8.tar.bz2 new file mode 100644 index 0000000..0630028 --- /dev/null +++ b/rsync-patches-3.0.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f5f36d3873465fe8aeff7a88b4a314f7b1a4d24efb4d9a52210754b0d60d5b9 +size 120568 diff --git a/rsync.changes b/rsync.changes index 4feb078..c9c2985 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Tue Mar 29 13:53:04 UTC 2011 - puzel@novell.com + +- update to rsync-3.0.8 + - Notable changes: + - Fixed two buffer-overflow issues. + - Fixed a data-corruption issue when preserving hard-links + without preserving file ownership, and doing deletions either + before or during the transfer (CVE-2011-1097). + - Fixed a potential crash when an rsync daemon has a + filter/exclude list and the transfer is using ACLs or xattrs. + - Fixed a hang if a really large file is being processed by an + rsync that can't handle 64-bit numbers. + - For devices and special files, we now avoid gathering useless + ACL and/or xattr information for files that aren't being + copied. + - Properly handle requesting remote filenames that start with a + dash. + - Fixed a bug in the comparing of upper-case letters in file + suffixes for --skip-compress. + - If an rsync daemon has a module configured without a path + setting, rsync will now disallow access to that module. + - Some improvements to the hard-linking code to ensure that + device-number hashing is working right, and to supply more + information if the hard-link code fails. + - Fixed a bug that prevented --numeric-ids from disabling the + translation of user/group IDs for ACLs. + - The --link-dest checking for identical symlinks now avoids + considering attribute differences that cannot be changed on the + receiver. + - Fixed a bug with --fake-super when copying files and dirs that + aren't user writable. + - Fixed a bug where a sparse file could have its last sparse + block turned into a real block when rsync sets the file size + (requires ftruncate). + - Fixed the working of --force when used with --one-file-system. + - Various manpage improvements. +- run spec-cleaner + +------------------------------------------------------------------- +Sun Sep 19 10:55:59 UTC 2010 - jengelh@medozas.de + +- rsyncd.rc changes: +* Do not use killproc -TERM, but just killproc, so that killproc + waits until the service is actually shut down, before attempting + to restart it (when "restart" is used). Fixes bnc#546977. +* Change the "reload" action to return "missing" because rsyncd + does not handle SIGHUP +* Adjust "force-reload" accordingly + ------------------------------------------------------------------- Mon Jan 4 14:21:21 UTC 2010 - puzel@novell.com diff --git a/rsync.spec b/rsync.spec index 283b636..b66110d 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,5 +1,5 @@ # -# spec file for package rsync (Version 3.0.7) +# spec file for package rsync (Version 3.0.8) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,18 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define with_system_zlib 0 Name: rsync -Summary: Replacement for RCP/mirror that has Many More Features -Version: 3.0.7 -Release: 1 +Version: 3.0.8 +Release: 6 License: GPLv3+ -Group: Productivity/Networking/Other -AutoReqProv: on +Summary: Replacement for RCP/mirror that has Many More Features Url: http://rsync.samba.org/ +Group: Productivity/Networking/Other Source: %{name}-%{version}.tar.bz2 Source1: %{name}-patches-%{version}.tar.bz2 Source2: logrotate.rsync @@ -38,14 +36,21 @@ Source7: rsync-server.firewall Patch3: system-zlib.diff #PATCH-FIX-UPSTREAM rsync-3.0.5-doc-fix.patch bnc487591 petr.uzel@suse.cz -- based on upstream changes to rsync.yo Patch4: rsync-3.0.5-doc-fix.patch +BuildRequires: libacl-devel +BuildRequires: libpng +BuildRequires: openslp-devel +BuildRequires: popt-devel +BuildRequires: zlib-devel +PreReq: %fillup_prereq +PreReq: %insserv_prereq +PreReq: grep +PreReq: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %fillup_prereq %insserv_prereq sed grep -BuildRequires: libacl-devel libpng openslp-devel -BuildRequires: popt-devel zlib-devel %if 0%{?suse_version} > 1020 BuildRequires: texlive-latex %else -BuildRequires: te_ams te_latex +BuildRequires: te_ams +BuildRequires: te_latex %endif Recommends: logrotate @@ -60,13 +65,6 @@ between two files normally requires local access to both files. A technical report describing the rsync algorithm is included with this package. - - -Authors: --------- - Andrew Tridgell - Paul Mackerras - %prep %setup -q -b 1 -n %{name}-%{version} %if %with_system_zlib @@ -86,28 +84,28 @@ autoconf --enable-slp \ --enable-acl-support \ --enable-xattr-support -make %{?jobs:-j %jobs} +make %{?_smp_mflags} latex tech_report latex tech_report dvips tech_report -o tech_report.ps %install -%makeinstall -rm -f $RPM_BUILD_ROOT/usr/sbin/rsyncd -install -d $RPM_BUILD_ROOT/etc/logrotate.d -install -d $RPM_BUILD_ROOT/etc/init.d -install -d $RPM_BUILD_ROOT/etc/xinetd.d -install -d $RPM_BUILD_ROOT/usr/sbin -ln -sf ../bin/rsync $RPM_BUILD_ROOT/usr/sbin/rsyncd -install -m 755 support/rsyncstats $RPM_BUILD_ROOT/usr/bin -install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/rsync -install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/rsync -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 +%make_install +rm -f %{buildroot}%{_sbindir}/rsyncd +install -d %{buildroot}%{_sysconfdir}/logrotate.d +install -d %{buildroot}%{_sysconfdir}/init.d +install -d %{buildroot}%{_sysconfdir}/xinetd.d +install -d %{buildroot}%{_prefix}/sbin +ln -sf ../bin/rsync %{buildroot}%{_sbindir}/rsyncd +install -m 755 support/rsyncstats %{buildroot}%{_prefix}/bin +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/rsync +install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/xinetd.d/rsync +install -m 755 %{SOURCE4} %{buildroot}%{_initddir}/rsyncd +install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/rsyncd.conf +install -m 600 %{SOURCE6} %{buildroot}%{_sysconfdir}/rsyncd.secrets +ln -sf ../../etc/init.d/rsyncd %{buildroot}%{_sbindir}/rcrsyncd +mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services +install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/rsync-server %preun %stop_on_removal rsyncd @@ -123,15 +121,15 @@ fi %insserv_cleanup %clean -%{__rm} -rf ${RPM_BUILD_ROOT} +rm -rf %{buildroot} %files %defattr(-,root,root) -%config(noreplace) /etc/rsyncd.conf -%config(noreplace) /etc/rsyncd.secrets -%config(noreplace) /etc/logrotate.d/rsync -%config(noreplace) /etc/xinetd.d/rsync -%config /etc/init.d/rsyncd +%config(noreplace) %{_sysconfdir}/rsyncd.conf +%config(noreplace) %{_sysconfdir}/rsyncd.secrets +%config(noreplace) %{_sysconfdir}/logrotate.d/rsync +%config(noreplace) %{_sysconfdir}/xinetd.d/rsync +%config %{_sysconfdir}/init.d/rsyncd %{_sbindir}/rcrsyncd %{_sbindir}/rsyncd %{_bindir}/rsyncstats diff --git a/rsyncd.rc b/rsyncd.rc index 73b61e7..d7ba778 100644 --- a/rsyncd.rc +++ b/rsyncd.rc @@ -76,7 +76,7 @@ case "$1" in ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. - killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN + killproc -p $RSYNCD_PID $RSYNCD_BIN # Remember status and be verbose rc_status -v @@ -104,17 +104,14 @@ case "$1" in ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. - echo -n "Reload service rsync" - killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN + echo "Reload service rsync" + "$0" restart rc_status -v ;; reload) - ## Like force-reload, but if daemon does not support - ## signalling, do nothing (!) - - # If it supports signalling: + # rsyncd does not catch SIGHUP echo -n "Reload service rsync" - killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN + rc_failed 3 rc_status -v ;; status)