[arch-commits] Commit in rsync/repos (12 files)
Angel Velásquez
angvp at archlinux.org
Mon Sep 26 18:43:51 UTC 2011
Date: Monday, September 26, 2011 @ 14:43:51
Author: angvp
Revision: 138511
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
rsync/repos/testing-i686/
rsync/repos/testing-i686/ChangeLog
(from rev 138510, rsync/trunk/ChangeLog)
rsync/repos/testing-i686/PKGBUILD
(from rev 138510, rsync/trunk/PKGBUILD)
rsync/repos/testing-i686/rsync.xinetd
(from rev 138510, rsync/trunk/rsync.xinetd)
rsync/repos/testing-i686/rsyncd
(from rev 138510, rsync/trunk/rsyncd)
rsync/repos/testing-i686/rsyncd.conf
(from rev 138510, rsync/trunk/rsyncd.conf)
rsync/repos/testing-x86_64/
rsync/repos/testing-x86_64/ChangeLog
(from rev 138510, rsync/trunk/ChangeLog)
rsync/repos/testing-x86_64/PKGBUILD
(from rev 138510, rsync/trunk/PKGBUILD)
rsync/repos/testing-x86_64/rsync.xinetd
(from rev 138510, rsync/trunk/rsync.xinetd)
rsync/repos/testing-x86_64/rsyncd
(from rev 138510, rsync/trunk/rsyncd)
rsync/repos/testing-x86_64/rsyncd.conf
(from rev 138510, rsync/trunk/rsyncd.conf)
-----------------------------+
testing-i686/ChangeLog | 39 ++++++++++++++++++++++++++++++++++++++
testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++++++
testing-i686/rsync.xinetd | 11 ++++++++++
testing-i686/rsyncd | 43 ++++++++++++++++++++++++++++++++++++++++++
testing-i686/rsyncd.conf | 16 +++++++++++++++
testing-x86_64/ChangeLog | 39 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++++++
testing-x86_64/rsync.xinetd | 11 ++++++++++
testing-x86_64/rsyncd | 43 ++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/rsyncd.conf | 16 +++++++++++++++
10 files changed, 300 insertions(+)
Copied: rsync/repos/testing-i686/ChangeLog (from rev 138510, rsync/trunk/ChangeLog)
===================================================================
--- testing-i686/ChangeLog (rev 0)
+++ testing-i686/ChangeLog 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,39 @@
+2011-05-17 Angel Velasquez <angvp at 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 at archlinux.org>
+
+ * rsync 3.0.7-1
+ * Upstream update
+
+2009-05-08 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.6-1
+ * Upstream update
+
+2008-12-29 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.5-1
+ * Upstream update
+
+2008-09-06 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.4-1
+ * Upstream update
+
+2008-07-05 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.3-1
+ * Upstream update
+
+2008-04-13 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.2-1
+ * Upstream update
+
+2008-03-01 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.0-1
+ * Upstream update
+ * Updated license
Copied: rsync/repos/testing-i686/PKGBUILD (from rev 138510, rsync/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+pkgname=rsync
+pkgver=3.0.9
+pkgrel=1
+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=('5ee72266fe2c1822333c407e1761b92b'
+ '4395c0591638349b1a7aeaaa4da1f03a'
+ '7a9ce3b5de97f3aae29b906f93e1d157'
+ 'ea3e9277dc908bc51f9eddc0f6b935c1')
+sha1sums=('c64c8341984aea647506eb504496999fd968ddfc'
+ '48be09294134dfed888818872fe552a59c29147a'
+ 'eda623c31d9def454cf8e3e88dcf63de4ca5c08b'
+ 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./prepare-source
+ ./configure --prefix=/usr --with-included-popt \
+ --enable-acl-support --enable-xattr-support
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd
+ install -Dm644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf
+ install -Dm644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync
+}
Copied: rsync/repos/testing-i686/rsync.xinetd (from rev 138510, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-i686/rsync.xinetd (rev 0)
+++ testing-i686/rsync.xinetd 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,11 @@
+service rsync
+{
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rsync
+ server_args = --daemon
+ log_on_success += HOST DURATION
+ log_on_failure += HOST
+ disable = yes
+}
Copied: rsync/repos/testing-i686/rsyncd (from rev 138510, rsync/trunk/rsyncd)
===================================================================
--- testing-i686/rsyncd (rev 0)
+++ testing-i686/rsyncd 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+. /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 ] && call_rsyncd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ #pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid # Removed FS#20942
+ add_daemon rsyncd
+ stat_done
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping rsyncd"
+ [ -f /var/run/rsyncd.pid ] && kill `cat /var/run/rsyncd.pid`
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon rsyncd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: rsync/repos/testing-i686/rsyncd.conf (from rev 138510, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-i686/rsyncd.conf (rev 0)
+++ testing-i686/rsyncd.conf 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,16 @@
+uid = nobody
+gid = nobody
+use chroot = no
+max connections = 4
+syslog facility = local5
+pid file = /var/run/rsyncd.pid
+
+[ftp]
+ path = /home/ftp
+ comment = ftp area
+
+#[cvs]
+# path = /data/cvs
+# comment = CVS repository (requires authentication)
+# auth users = tridge, susan
+# secrets file = /etc/rsyncd.secrets
Copied: rsync/repos/testing-x86_64/ChangeLog (from rev 138510, rsync/trunk/ChangeLog)
===================================================================
--- testing-x86_64/ChangeLog (rev 0)
+++ testing-x86_64/ChangeLog 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,39 @@
+2011-05-17 Angel Velasquez <angvp at 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 at archlinux.org>
+
+ * rsync 3.0.7-1
+ * Upstream update
+
+2009-05-08 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.6-1
+ * Upstream update
+
+2008-12-29 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.5-1
+ * Upstream update
+
+2008-09-06 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.4-1
+ * Upstream update
+
+2008-07-05 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.3-1
+ * Upstream update
+
+2008-04-13 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.2-1
+ * Upstream update
+
+2008-03-01 Eric Belanger <eric at archlinux.org>
+
+ * rsync 3.0.0-1
+ * Upstream update
+ * Updated license
Copied: rsync/repos/testing-x86_64/PKGBUILD (from rev 138510, rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+pkgname=rsync
+pkgver=3.0.9
+pkgrel=1
+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=('5ee72266fe2c1822333c407e1761b92b'
+ '4395c0591638349b1a7aeaaa4da1f03a'
+ '7a9ce3b5de97f3aae29b906f93e1d157'
+ 'ea3e9277dc908bc51f9eddc0f6b935c1')
+sha1sums=('c64c8341984aea647506eb504496999fd968ddfc'
+ '48be09294134dfed888818872fe552a59c29147a'
+ 'eda623c31d9def454cf8e3e88dcf63de4ca5c08b'
+ 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./prepare-source
+ ./configure --prefix=/usr --with-included-popt \
+ --enable-acl-support --enable-xattr-support
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd
+ install -Dm644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf
+ install -Dm644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync
+}
Copied: rsync/repos/testing-x86_64/rsync.xinetd (from rev 138510, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-x86_64/rsync.xinetd (rev 0)
+++ testing-x86_64/rsync.xinetd 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,11 @@
+service rsync
+{
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rsync
+ server_args = --daemon
+ log_on_success += HOST DURATION
+ log_on_failure += HOST
+ disable = yes
+}
Copied: rsync/repos/testing-x86_64/rsyncd (from rev 138510, rsync/trunk/rsyncd)
===================================================================
--- testing-x86_64/rsyncd (rev 0)
+++ testing-x86_64/rsyncd 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+. /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 ] && call_rsyncd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ #pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid # Removed FS#20942
+ add_daemon rsyncd
+ stat_done
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping rsyncd"
+ [ -f /var/run/rsyncd.pid ] && kill `cat /var/run/rsyncd.pid`
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon rsyncd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: rsync/repos/testing-x86_64/rsyncd.conf (from rev 138510, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf (rev 0)
+++ testing-x86_64/rsyncd.conf 2011-09-26 18:43:51 UTC (rev 138511)
@@ -0,0 +1,16 @@
+uid = nobody
+gid = nobody
+use chroot = no
+max connections = 4
+syslog facility = local5
+pid file = /var/run/rsyncd.pid
+
+[ftp]
+ path = /home/ftp
+ comment = ftp area
+
+#[cvs]
+# path = /data/cvs
+# comment = CVS repository (requires authentication)
+# auth users = tridge, susan
+# secrets file = /etc/rsyncd.secrets
More information about the arch-commits
mailing list