[arch-commits] Commit in rsync/repos (14 files)
Christian Hesse
eworm at archlinux.org
Wed Oct 11 16:21:15 UTC 2017
Date: Wednesday, October 11, 2017 @ 16:21:13
Author: eworm
Revision: 307507
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
rsync/repos/testing-i686/
rsync/repos/testing-i686/PKGBUILD
(from rev 307506, rsync/trunk/PKGBUILD)
rsync/repos/testing-i686/rsync.xinetd
(from rev 307506, rsync/trunk/rsync.xinetd)
rsync/repos/testing-i686/rsyncd.conf
(from rev 307506, rsync/trunk/rsyncd.conf)
rsync/repos/testing-i686/rsyncd.service
(from rev 307506, rsync/trunk/rsyncd.service)
rsync/repos/testing-i686/rsyncd.socket
(from rev 307506, rsync/trunk/rsyncd.socket)
rsync/repos/testing-i686/rsyncd at .service
(from rev 307506, rsync/trunk/rsyncd at .service)
rsync/repos/testing-x86_64/
rsync/repos/testing-x86_64/PKGBUILD
(from rev 307506, rsync/trunk/PKGBUILD)
rsync/repos/testing-x86_64/rsync.xinetd
(from rev 307506, rsync/trunk/rsync.xinetd)
rsync/repos/testing-x86_64/rsyncd.conf
(from rev 307506, rsync/trunk/rsyncd.conf)
rsync/repos/testing-x86_64/rsyncd.service
(from rev 307506, rsync/trunk/rsyncd.service)
rsync/repos/testing-x86_64/rsyncd.socket
(from rev 307506, rsync/trunk/rsyncd.socket)
rsync/repos/testing-x86_64/rsyncd at .service
(from rev 307506, rsync/trunk/rsyncd at .service)
--------------------------------+
testing-i686/PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++
testing-i686/rsync.xinetd | 11 ++++++++
testing-i686/rsyncd.conf | 10 +++++++
testing-i686/rsyncd.service | 14 ++++++++++
testing-i686/rsyncd.socket | 10 +++++++
testing-i686/rsyncd at .service | 13 ++++++++++
testing-x86_64/PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/rsync.xinetd | 11 ++++++++
testing-x86_64/rsyncd.conf | 10 +++++++
testing-x86_64/rsyncd.service | 14 ++++++++++
testing-x86_64/rsyncd.socket | 10 +++++++
testing-x86_64/rsyncd at .service | 13 ++++++++++
12 files changed, 216 insertions(+)
Copied: rsync/repos/testing-i686/PKGBUILD (from rev 307506, rsync/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,50 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=4
+pkgdesc="A file transfer program to keep remote files in sync"
+arch=('i686' 'x86_64')
+url="https://rsync.samba.org/"
+license=('GPL3')
+depends=('perl' 'popt' 'acl' 'zlib')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+validpgpkeys=('0048C8B026D4C96F0E589C2F6C859FB14B96A8C5') # Wayne Davison <wayned at users.sourceforge.net>
+source=("https://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'rsyncd.conf'
+ 'rsync.xinetd'
+ 'rsyncd.service'
+ 'rsyncd.socket'
+ 'rsyncd at .service')
+sha256sums=('ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2'
+ 'SKIP'
+ '733ccb571721433c3a6262c58b658253ca6553bec79c2bdd0011810bb4f2156b'
+ 'da0ec9ce07bf2edafbc8e44020da29a58038b00c3048a22de57017c56318a767'
+ 'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
+ '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+ '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --with-included-popt=no \
+ --with-included-zlib=no \
+ --disable-debug
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ 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 -m644 ../rsyncd.socket "$pkgdir/usr/lib/systemd/system/rsyncd.socket"
+ install -m644 ../rsyncd at .service "$pkgdir/usr/lib/systemd/system/rsyncd at .service"
+ install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}
Copied: rsync/repos/testing-i686/rsync.xinetd (from rev 307506, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-i686/rsync.xinetd (rev 0)
+++ testing-i686/rsync.xinetd 2017-10-11 16:21:13 UTC (rev 307507)
@@ -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.conf (from rev 307506, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-i686/rsyncd.conf (rev 0)
+++ testing-i686/rsyncd.conf 2017-10-11 16:21:13 UTC (rev 307507)
@@ -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/testing-i686/rsyncd.service (from rev 307506, rsync/trunk/rsyncd.service)
===================================================================
--- testing-i686/rsyncd.service (rev 0)
+++ testing-i686/rsyncd.service 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,14 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/rsync --daemon --no-detach
+RestartSec=1
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target
Copied: rsync/repos/testing-i686/rsyncd.socket (from rev 307506, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-i686/rsyncd.socket (rev 0)
+++ testing-i686/rsyncd.socket 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Rsync Socket
+Conflicts=rsyncd.service
+
+[Socket]
+ListenStream=873
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: rsync/repos/testing-i686/rsyncd at .service (from rev 307506, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-i686/rsyncd at .service (rev 0)
+++ testing-i686/rsyncd at .service 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,13 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+After=network.target
+
+[Service]
+ExecStart=-/usr/bin/rsync --daemon
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
Copied: rsync/repos/testing-x86_64/PKGBUILD (from rev 307506, rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,50 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=4
+pkgdesc="A file transfer program to keep remote files in sync"
+arch=('i686' 'x86_64')
+url="https://rsync.samba.org/"
+license=('GPL3')
+depends=('perl' 'popt' 'acl' 'zlib')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+validpgpkeys=('0048C8B026D4C96F0E589C2F6C859FB14B96A8C5') # Wayne Davison <wayned at users.sourceforge.net>
+source=("https://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'rsyncd.conf'
+ 'rsync.xinetd'
+ 'rsyncd.service'
+ 'rsyncd.socket'
+ 'rsyncd at .service')
+sha256sums=('ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2'
+ 'SKIP'
+ '733ccb571721433c3a6262c58b658253ca6553bec79c2bdd0011810bb4f2156b'
+ 'da0ec9ce07bf2edafbc8e44020da29a58038b00c3048a22de57017c56318a767'
+ 'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
+ '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+ '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --with-included-popt=no \
+ --with-included-zlib=no \
+ --disable-debug
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ 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 -m644 ../rsyncd.socket "$pkgdir/usr/lib/systemd/system/rsyncd.socket"
+ install -m644 ../rsyncd at .service "$pkgdir/usr/lib/systemd/system/rsyncd at .service"
+ install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}
Copied: rsync/repos/testing-x86_64/rsync.xinetd (from rev 307506, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-x86_64/rsync.xinetd (rev 0)
+++ testing-x86_64/rsync.xinetd 2017-10-11 16:21:13 UTC (rev 307507)
@@ -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.conf (from rev 307506, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf (rev 0)
+++ testing-x86_64/rsyncd.conf 2017-10-11 16:21:13 UTC (rev 307507)
@@ -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/testing-x86_64/rsyncd.service (from rev 307506, rsync/trunk/rsyncd.service)
===================================================================
--- testing-x86_64/rsyncd.service (rev 0)
+++ testing-x86_64/rsyncd.service 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,14 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/rsync --daemon --no-detach
+RestartSec=1
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target
Copied: rsync/repos/testing-x86_64/rsyncd.socket (from rev 307506, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-x86_64/rsyncd.socket (rev 0)
+++ testing-x86_64/rsyncd.socket 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Rsync Socket
+Conflicts=rsyncd.service
+
+[Socket]
+ListenStream=873
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: rsync/repos/testing-x86_64/rsyncd at .service (from rev 307506, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-x86_64/rsyncd at .service (rev 0)
+++ testing-x86_64/rsyncd at .service 2017-10-11 16:21:13 UTC (rev 307507)
@@ -0,0 +1,13 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+After=network.target
+
+[Service]
+ExecStart=-/usr/bin/rsync --daemon
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
More information about the arch-commits
mailing list