update to rsync-3.0.7

OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=6
This commit is contained in:
Petr Uzel 2010-01-04 14:27:15 +00:00 committed by Git OBS Bridge
parent c786039c0c
commit 284d2e2b48
4 changed files with 11 additions and 19 deletions

0
ready Normal file
View File

View File

@ -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

View File

@ -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/

View File

@ -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)