diff options
| author | James Meyer <james.meyer@operamail.com> | 2009-03-05 14:38:10 (GMT) | 
|---|---|---|
| committer | James Meyer <james.meyer@operamail.com> | 2009-03-05 14:38:10 (GMT) | 
| commit | ee33ddf6f3657ff6384de9c6e517511f0427ffc7 (patch) | |
| tree | c02a8afa5bdd1099494f7d436a58dec4bf086b12 /abs/core-testing/rsync | |
| parent | d6049e8a38b8babf070b6f2183c336334ed97fd9 (diff) | |
| download | linhes_pkgbuild-ee33ddf6f3657ff6384de9c6e517511f0427ffc7.zip linhes_pkgbuild-ee33ddf6f3657ff6384de9c6e517511f0427ffc7.tar.gz linhes_pkgbuild-ee33ddf6f3657ff6384de9c6e517511f0427ffc7.tar.bz2 | |
Goodbye chroot-devel.
All things chroot-devel have been moved and split between core and extra
Diffstat (limited to 'abs/core-testing/rsync')
| -rw-r--r-- | abs/core-testing/rsync/ChangeLog | 20 | ||||
| -rw-r--r-- | abs/core-testing/rsync/PKGBUILD | 29 | ||||
| -rw-r--r-- | abs/core-testing/rsync/rsync.xinetd | 11 | ||||
| -rw-r--r-- | abs/core-testing/rsync/rsyncd | 37 | ||||
| -rw-r--r-- | abs/core-testing/rsync/rsyncd.conf | 16 | 
5 files changed, 113 insertions, 0 deletions
| diff --git a/abs/core-testing/rsync/ChangeLog b/abs/core-testing/rsync/ChangeLog new file mode 100644 index 0000000..1e26b1c --- /dev/null +++ b/abs/core-testing/rsync/ChangeLog @@ -0,0 +1,20 @@ +2008-09-06  Eric Belanger  <eric@archlinux.org> + +	* rsync 3.0.4-1 +	* Upstream update + +2008-07-05  Eric Belanger  <eric@archlinux.org> + +	* rsync 3.0.3-1 +	* Upstream update + +2008-04-13  Eric Belanger  <eric@archlinux.org> + +	* rsync 3.0.2-1 +	* Upstream update +	 +2008-03-01  Eric Belanger  <eric@archlinux.org> + +	* rsync 3.0.0-1 +	* Upstream update +	* Updated license diff --git a/abs/core-testing/rsync/PKGBUILD b/abs/core-testing/rsync/PKGBUILD new file mode 100644 index 0000000..d9f2968 --- /dev/null +++ b/abs/core-testing/rsync/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=rsync +pkgver=3.0.4 +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') +source=(http://rsync.samba.org/ftp/rsync/${pkgname}-${pkgver}.tar.gz \ +        rsyncd.conf rsyncd rsync.xinetd) +md5sums=('2b2d159c9bd1b5f8adfd8b13da3a1f3f' '4395c0591638349b1a7aeaaa4da1f03a'\ +         '9de4d03d49f4b5c73ffd67d452716a49' 'ea3e9277dc908bc51f9eddc0f6b935c1') +sha1sums=('e89ed8d84fe0b6740208ba8183ee1dbc220ba5e5' +          '48be09294134dfed888818872fe552a59c29147a' +          'ebec275bbd0c11692c91dc59368349601bd9eaf4' +          'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1') + +build() { +  cd ${srcdir}/${pkgname}-${pkgver} +  ./prepare-source || return 1 +  ./configure --prefix=/usr --with-included-popt \ +              --enable-acl-support --enable-xattr-support || return 1 +  make || return 1 +  make DESTDIR=${pkgdir} install || return 1 +  install -D -m 755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd || return 1 +  install -D -m 644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf || return 1 +  install -D -m 644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync || return 1 +} diff --git a/abs/core-testing/rsync/rsync.xinetd b/abs/core-testing/rsync/rsync.xinetd new file mode 100644 index 0000000..f5b6b1e --- /dev/null +++ b/abs/core-testing/rsync/rsync.xinetd @@ -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 +} diff --git a/abs/core-testing/rsync/rsyncd b/abs/core-testing/rsync/rsyncd new file mode 100644 index 0000000..e1313dc --- /dev/null +++ b/abs/core-testing/rsync/rsyncd @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in +  start) +    stat_busy "Starting rsyncd" +    [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon +    if [ $? -gt 0 ]; then +      stat_fail +    else +      pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid +      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 diff --git a/abs/core-testing/rsync/rsyncd.conf b/abs/core-testing/rsync/rsyncd.conf new file mode 100644 index 0000000..f7161f3 --- /dev/null +++ b/abs/core-testing/rsync/rsyncd.conf @@ -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 | 
