From e2fe79d62643f0e50b1c5e194a94cb510b371cc8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 May 2011 22:46:30 +0000 Subject: Thu May 19 22:46:30 UTC 2011 --- extra/rsync/ChangeLog | 4 ++++ extra/rsync/PKGBUILD | 9 +++++---- extra/rsync/rsyncd | 8 +++++++- 3 files changed, 16 insertions(+), 5 deletions(-) (limited to 'extra/rsync') diff --git a/extra/rsync/ChangeLog b/extra/rsync/ChangeLog index a1d6b4f9d..d07e4ad5a 100644 --- a/extra/rsync/ChangeLog +++ b/extra/rsync/ChangeLog @@ -1,3 +1,7 @@ +2011-05-17 Angel Velasquez + * rsync 3.0.8-2 + * Added call_rsync func to rsyncd to support pass arguments to the daemon + 2010-01-01 Eric Belanger * rsync 3.0.7-1 diff --git a/extra/rsync/PKGBUILD b/extra/rsync/PKGBUILD index af1d9b185..f807c430a 100644 --- a/extra/rsync/PKGBUILD +++ b/extra/rsync/PKGBUILD @@ -1,26 +1,27 @@ -# $Id: PKGBUILD 118437 2011-04-06 20:17:24Z angvp $ +# $Id: PKGBUILD 124256 2011-05-18 05:08:59Z angvp $ # Maintainer: Angel Velasquez # Contributor: Eric Belanger # Contributor: Judd Vinet # Contributor: Daniel J Griffiths 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() { diff --git a/extra/rsync/rsyncd b/extra/rsync/rsyncd index 573130fb3..d7a772e8e 100644 --- a/extra/rsync/rsyncd +++ b/extra/rsync/rsyncd @@ -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 -- cgit v1.2.3-54-g00ecf