summaryrefslogtreecommitdiff
path: root/extra/rsync
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rsync')
-rw-r--r--extra/rsync/ChangeLog4
-rw-r--r--extra/rsync/PKGBUILD9
-rw-r--r--extra/rsync/rsyncd8
3 files changed, 16 insertions, 5 deletions
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 <angvp@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 <eric@archlinux.org>
* 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 <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Daniel J Griffiths <ghost1227@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() {
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