[arch-commits] Commit in rsync/repos (20 files)

Pierre Schmitz pierre at archlinux.org
Thu Jun 7 05:56:33 UTC 2012


    Date: Thursday, June 7, 2012 @ 01:56:33
  Author: pierre
Revision: 160933

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  rsync/repos/extra-i686/PKGBUILD
    (from rev 160932, rsync/trunk/PKGBUILD)
  rsync/repos/extra-i686/rsync.xinetd
    (from rev 160932, rsync/trunk/rsync.xinetd)
  rsync/repos/extra-i686/rsyncd
    (from rev 160932, rsync/trunk/rsyncd)
  rsync/repos/extra-i686/rsyncd.conf
    (from rev 160932, rsync/trunk/rsyncd.conf)
  rsync/repos/extra-i686/rsyncd.service
    (from rev 160932, rsync/trunk/rsyncd.service)
  rsync/repos/extra-x86_64/PKGBUILD
    (from rev 160932, rsync/trunk/PKGBUILD)
  rsync/repos/extra-x86_64/rsync.xinetd
    (from rev 160932, rsync/trunk/rsync.xinetd)
  rsync/repos/extra-x86_64/rsyncd
    (from rev 160932, rsync/trunk/rsyncd)
  rsync/repos/extra-x86_64/rsyncd.conf
    (from rev 160932, rsync/trunk/rsyncd.conf)
  rsync/repos/extra-x86_64/rsyncd.service
    (from rev 160932, rsync/trunk/rsyncd.service)
Deleted:
  rsync/repos/extra-i686/ChangeLog
  rsync/repos/extra-i686/PKGBUILD
  rsync/repos/extra-i686/rsync.xinetd
  rsync/repos/extra-i686/rsyncd
  rsync/repos/extra-i686/rsyncd.conf
  rsync/repos/extra-x86_64/ChangeLog
  rsync/repos/extra-x86_64/PKGBUILD
  rsync/repos/extra-x86_64/rsync.xinetd
  rsync/repos/extra-x86_64/rsyncd
  rsync/repos/extra-x86_64/rsyncd.conf

-----------------------------+
 extra-i686/ChangeLog        |   39 --------------------
 extra-i686/PKGBUILD         |   81 ++++++++++++++++++++----------------------
 extra-i686/rsync.xinetd     |   22 +++++------
 extra-i686/rsyncd           |   80 +++++++++++++++++++----------------------
 extra-i686/rsyncd.conf      |   26 +++++--------
 extra-i686/rsyncd.service   |   10 +++++
 extra-x86_64/ChangeLog      |   39 --------------------
 extra-x86_64/PKGBUILD       |   81 ++++++++++++++++++++----------------------
 extra-x86_64/rsync.xinetd   |   22 +++++------
 extra-x86_64/rsyncd         |   80 +++++++++++++++++++----------------------
 extra-x86_64/rsyncd.conf    |   26 +++++--------
 extra-x86_64/rsyncd.service |   10 +++++
 12 files changed, 214 insertions(+), 302 deletions(-)

Deleted: extra-i686/ChangeLog
===================================================================
--- extra-i686/ChangeLog	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-i686/ChangeLog	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,39 +0,0 @@
-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

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-i686/PKGBUILD	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,42 +0,0 @@
-# $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=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=('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"
-	install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
-}

Copied: rsync/repos/extra-i686/PKGBUILD (from rev 160932, rsync/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,39 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.0.9
+pkgrel=3
+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=('perl')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+source=("http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz"
+        'rsyncd.conf' 'rsyncd' 'rsync.xinetd' 'rsyncd.service')
+md5sums=('5ee72266fe2c1822333c407e1761b92b'
+         'bce64d122a8e0f86872a4a21a03bc7f3'
+         'ba413da4ebca05c57860151fda21efbc'
+         'ea3e9277dc908bc51f9eddc0f6b935c1'
+         'ec96f9089d71109557cdcaa3f0633ed6')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr --with-included-popt
+	make
+}
+
+check() {
+	cd "$srcdir/$pkgname-$pkgver"
+	make test
+}
+
+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"
+	install -Dm644 ../rsyncd.service "$pkgdir/usr/lib/systemd/system/rsyncd.service"
+	install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}

Deleted: extra-i686/rsync.xinetd
===================================================================
--- extra-i686/rsync.xinetd	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-i686/rsync.xinetd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,11 +0,0 @@
-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/extra-i686/rsync.xinetd (from rev 160932, rsync/trunk/rsync.xinetd)
===================================================================
--- extra-i686/rsync.xinetd	                        (rev 0)
+++ extra-i686/rsync.xinetd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -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
+}

Deleted: extra-i686/rsyncd
===================================================================
--- extra-i686/rsyncd	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-i686/rsyncd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,43 +0,0 @@
-#!/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/extra-i686/rsyncd (from rev 160932, rsync/trunk/rsyncd)
===================================================================
--- extra-i686/rsyncd	                        (rev 0)
+++ extra-i686/rsyncd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+[ -f /etc/conf.d/rsyncd ] && . /etc/conf.d/rsyncd
+
+case "$1" in
+  start)
+    stat_busy "Starting rsyncd"
+    [ ! -f /run/daemons/rsyncd ] && /usr/bin/rsync --daemon $RSYNCD_ARGS
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon rsyncd
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping rsyncd"
+    [ -f /run/rsyncd.pid ] && kill `cat /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

Deleted: extra-i686/rsyncd.conf
===================================================================
--- extra-i686/rsyncd.conf	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-i686/rsyncd.conf	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,16 +0,0 @@
-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/extra-i686/rsyncd.conf (from rev 160932, rsync/trunk/rsyncd.conf)
===================================================================
--- extra-i686/rsyncd.conf	                        (rev 0)
+++ extra-i686/rsyncd.conf	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,10 @@
+uid = nobody
+gid = nobody
+use chroot = no
+max connections = 4
+syslog facility = local5
+pid file = /run/rsyncd.pid
+
+[ftp]
+        path = /srv/ftp
+        comment = ftp area

Copied: rsync/repos/extra-i686/rsyncd.service (from rev 160932, rsync/trunk/rsyncd.service)
===================================================================
--- extra-i686/rsyncd.service	                        (rev 0)
+++ extra-i686/rsyncd.service	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,10 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+
+[Service]
+EnvironmentFile=-/etc/conf.d/rsyncd
+ExecStart=/usr/bin/rsync --daemon --no-detach ${RSYNCD_ARGS}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-x86_64/ChangeLog
===================================================================
--- extra-x86_64/ChangeLog	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-x86_64/ChangeLog	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,39 +0,0 @@
-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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-x86_64/PKGBUILD	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,42 +0,0 @@
-# $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=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=('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"
-	install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
-}

Copied: rsync/repos/extra-x86_64/PKGBUILD (from rev 160932, rsync/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,39 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.0.9
+pkgrel=3
+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=('perl')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+source=("http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz"
+        'rsyncd.conf' 'rsyncd' 'rsync.xinetd' 'rsyncd.service')
+md5sums=('5ee72266fe2c1822333c407e1761b92b'
+         'bce64d122a8e0f86872a4a21a03bc7f3'
+         'ba413da4ebca05c57860151fda21efbc'
+         'ea3e9277dc908bc51f9eddc0f6b935c1'
+         'ec96f9089d71109557cdcaa3f0633ed6')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr --with-included-popt
+	make
+}
+
+check() {
+	cd "$srcdir/$pkgname-$pkgver"
+	make test
+}
+
+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"
+	install -Dm644 ../rsyncd.service "$pkgdir/usr/lib/systemd/system/rsyncd.service"
+	install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}

Deleted: extra-x86_64/rsync.xinetd
===================================================================
--- extra-x86_64/rsync.xinetd	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-x86_64/rsync.xinetd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,11 +0,0 @@
-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/extra-x86_64/rsync.xinetd (from rev 160932, rsync/trunk/rsync.xinetd)
===================================================================
--- extra-x86_64/rsync.xinetd	                        (rev 0)
+++ extra-x86_64/rsync.xinetd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -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
+}

Deleted: extra-x86_64/rsyncd
===================================================================
--- extra-x86_64/rsyncd	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-x86_64/rsyncd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,43 +0,0 @@
-#!/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/extra-x86_64/rsyncd (from rev 160932, rsync/trunk/rsyncd)
===================================================================
--- extra-x86_64/rsyncd	                        (rev 0)
+++ extra-x86_64/rsyncd	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+[ -f /etc/conf.d/rsyncd ] && . /etc/conf.d/rsyncd
+
+case "$1" in
+  start)
+    stat_busy "Starting rsyncd"
+    [ ! -f /run/daemons/rsyncd ] && /usr/bin/rsync --daemon $RSYNCD_ARGS
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon rsyncd
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping rsyncd"
+    [ -f /run/rsyncd.pid ] && kill `cat /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

Deleted: extra-x86_64/rsyncd.conf
===================================================================
--- extra-x86_64/rsyncd.conf	2012-06-07 05:55:35 UTC (rev 160932)
+++ extra-x86_64/rsyncd.conf	2012-06-07 05:56:33 UTC (rev 160933)
@@ -1,16 +0,0 @@
-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/extra-x86_64/rsyncd.conf (from rev 160932, rsync/trunk/rsyncd.conf)
===================================================================
--- extra-x86_64/rsyncd.conf	                        (rev 0)
+++ extra-x86_64/rsyncd.conf	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,10 @@
+uid = nobody
+gid = nobody
+use chroot = no
+max connections = 4
+syslog facility = local5
+pid file = /run/rsyncd.pid
+
+[ftp]
+        path = /srv/ftp
+        comment = ftp area

Copied: rsync/repos/extra-x86_64/rsyncd.service (from rev 160932, rsync/trunk/rsyncd.service)
===================================================================
--- extra-x86_64/rsyncd.service	                        (rev 0)
+++ extra-x86_64/rsyncd.service	2012-06-07 05:56:33 UTC (rev 160933)
@@ -0,0 +1,10 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+
+[Service]
+EnvironmentFile=-/etc/conf.d/rsyncd
+ExecStart=/usr/bin/rsync --daemon --no-detach ${RSYNCD_ARGS}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list