Date: Wednesday, May 18, 2011 @ 01:08:59 Author: angvp Revision: 124256
upgpkg: rsync 3.0.8-2 Fixing FS#23024 Modified: rsync/trunk/ChangeLog rsync/trunk/PKGBUILD rsync/trunk/rsyncd -----------+ ChangeLog | 4 ++++ PKGBUILD | 7 ++++--- rsyncd | 8 +++++++- 3 files changed, 15 insertions(+), 4 deletions(-) Modified: ChangeLog =================================================================== --- ChangeLog 2011-05-18 04:53:03 UTC (rev 124255) +++ ChangeLog 2011-05-18 05:08:59 UTC (rev 124256) @@ -1,3 +1,7 @@ +2011-05-17 Angel Velasquez <an...@archlinux.org> + * rsync 3.0.8-2 + * Added call_rsync func to rsyncd to support pass arguments to the daemon + 2010-01-01 Eric Belanger <e...@archlinux.org> * rsync 3.0.7-1 Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-05-18 04:53:03 UTC (rev 124255) +++ PKGBUILD 2011-05-18 05:08:59 UTC (rev 124256) @@ -5,22 +5,23 @@ # Contributor: Daniel J Griffiths <ghost1...@archlinux.us> pkgname=rsync pkgver=3.0.8 -pkgrel=1 +pkgrel=2 pkgdesc="A file transfer program to keep remote files in sync" arch=('i686' 'x86_64') url="http://samba.anu.edu.au/rsync/" license=('GPL3') depends=('acl') backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync') +changelog=ChangeLog source=(http://rsync.samba.org/ftp/rsync/${pkgname}-${pkgver}.tar.gz \ rsyncd.conf rsyncd rsync.xinetd) md5sums=('0ee8346ce16bdfe4c88a236e94c752b4' '4395c0591638349b1a7aeaaa4da1f03a' - '3d8f90ac8467ff6af28754584a61fd11' + '7a9ce3b5de97f3aae29b906f93e1d157' 'ea3e9277dc908bc51f9eddc0f6b935c1') sha1sums=('10e80173c7e9ed8b8a4dc9e8fdab08402da5f08d' '48be09294134dfed888818872fe552a59c29147a' - '357af5648eb4ecf84cc6b1de1cd79d21eca3a518' + 'eda623c31d9def454cf8e3e88dcf63de4ca5c08b' 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1') build() { Modified: rsyncd =================================================================== --- rsyncd 2011-05-18 04:53:03 UTC (rev 124255) +++ rsyncd 2011-05-18 05:08:59 UTC (rev 124256) @@ -3,10 +3,16 @@ . /etc/rc.conf . /etc/rc.d/functions +[ -f /etc/conf.d/rsyncd ] && . /etc/conf.d/rsyncd + +function call_rsyncd() { + /usr/bin/rsync --daemon $RSYNCD_ARGS +} + case "$1" in start) stat_busy "Starting rsyncd" - [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon + [ ! -f /var/run/daemons/rsyncd ] && call_rsyncd if [ $? -gt 0 ]; then stat_fail else