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

Christian Hesse eworm at archlinux.org
Mon Oct 30 21:55:57 UTC 2017


    Date: Monday, October 30, 2017 @ 21:55:56
  Author: eworm
Revision: 308712

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

Added:
  rsync/repos/testing-i686/
  rsync/repos/testing-i686/PKGBUILD
    (from rev 308711, rsync/trunk/PKGBUILD)
  rsync/repos/testing-i686/rsync.install
    (from rev 308711, rsync/trunk/rsync.install)
  rsync/repos/testing-i686/rsync.xinetd
    (from rev 308711, rsync/trunk/rsync.xinetd)
  rsync/repos/testing-i686/rsyncd.conf
    (from rev 308711, rsync/trunk/rsyncd.conf)
  rsync/repos/testing-i686/rsyncd.service
    (from rev 308711, rsync/trunk/rsyncd.service)
  rsync/repos/testing-i686/rsyncd.socket
    (from rev 308711, rsync/trunk/rsyncd.socket)
  rsync/repos/testing-i686/rsyncd at .service
    (from rev 308711, rsync/trunk/rsyncd at .service)
  rsync/repos/testing-x86_64/
  rsync/repos/testing-x86_64/PKGBUILD
    (from rev 308711, rsync/trunk/PKGBUILD)
  rsync/repos/testing-x86_64/rsync.install
    (from rev 308711, rsync/trunk/rsync.install)
  rsync/repos/testing-x86_64/rsync.xinetd
    (from rev 308711, rsync/trunk/rsync.xinetd)
  rsync/repos/testing-x86_64/rsyncd.conf
    (from rev 308711, rsync/trunk/rsyncd.conf)
  rsync/repos/testing-x86_64/rsyncd.service
    (from rev 308711, rsync/trunk/rsyncd.service)
  rsync/repos/testing-x86_64/rsyncd.socket
    (from rev 308711, rsync/trunk/rsyncd.socket)
  rsync/repos/testing-x86_64/rsyncd at .service
    (from rev 308711, rsync/trunk/rsyncd at .service)

--------------------------------+
 testing-i686/PKGBUILD          |   54 +++++++++++++++++++++++++++++++++++++++
 testing-i686/rsync.install     |   14 ++++++++++
 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        |   54 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/rsync.install   |   14 ++++++++++
 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 +++++++++
 14 files changed, 252 insertions(+)

Copied: rsync/repos/testing-i686/PKGBUILD (from rev 308711, rsync/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-10-30 21:55:56 UTC (rev 308712)
@@ -0,0 +1,54 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=8
+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')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+install=rsync.install
+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'
+            '6ad010a1f85f5637bdd0972403c032ca30d71608a36943c71c34ba1c5b463cd6'
+            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+            '21983037aa116943b89ec982bc88e02c12376763e46f5ab25944cc1da29235ae')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+	# rsync requires the bundled zlib to support old-style --compress
+	# This is to be reevaluated once rsync 3.1.1 is more available in the wild...
+	./configure --prefix=/usr \
+		--with-included-popt=no \
+		--with-included-zlib=yes \
+		--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.install (from rev 308711, rsync/trunk/rsync.install)
===================================================================
--- testing-i686/rsync.install	                        (rev 0)
+++ testing-i686/rsync.install	2017-10-30 21:55:56 UTC (rev 308712)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_upgrade() {
+  # return if old package version greater 3.1.2-5...
+  (( $(vercmp "$2" '3.1.2-5') > 0 )) && return
+
+  # return if neither service nor socket is enabled...
+  systemctl -q is-enabled rsyncd.service rsyncd.socket || return 0
+
+  echo ' > For security reasons the rsyncd service protects the system by making'
+  echo ' > paths /boot, /etc and /usr read-only. If you need write access use'
+  echo ' > rsync via ssh or see the wiki for instructions to override:'
+  echo ' > https://wiki.archlinux.org/index.php/Rsync#rsync_daemon'
+}

Copied: rsync/repos/testing-i686/rsync.xinetd (from rev 308711, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-i686/rsync.xinetd	                        (rev 0)
+++ testing-i686/rsync.xinetd	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-i686/rsyncd.conf	                        (rev 0)
+++ testing-i686/rsyncd.conf	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd.service)
===================================================================
--- testing-i686/rsyncd.service	                        (rev 0)
+++ testing-i686/rsyncd.service	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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=off
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target

Copied: rsync/repos/testing-i686/rsyncd.socket (from rev 308711, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-i686/rsyncd.socket	                        (rev 0)
+++ testing-i686/rsyncd.socket	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-i686/rsyncd at .service	                        (rev 0)
+++ testing-i686/rsyncd at .service	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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=off
+PrivateDevices=on
+NoNewPrivileges=on

Copied: rsync/repos/testing-x86_64/PKGBUILD (from rev 308711, rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-10-30 21:55:56 UTC (rev 308712)
@@ -0,0 +1,54 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=8
+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')
+backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
+install=rsync.install
+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'
+            '6ad010a1f85f5637bdd0972403c032ca30d71608a36943c71c34ba1c5b463cd6'
+            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+            '21983037aa116943b89ec982bc88e02c12376763e46f5ab25944cc1da29235ae')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+	# rsync requires the bundled zlib to support old-style --compress
+	# This is to be reevaluated once rsync 3.1.1 is more available in the wild...
+	./configure --prefix=/usr \
+		--with-included-popt=no \
+		--with-included-zlib=yes \
+		--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.install (from rev 308711, rsync/trunk/rsync.install)
===================================================================
--- testing-x86_64/rsync.install	                        (rev 0)
+++ testing-x86_64/rsync.install	2017-10-30 21:55:56 UTC (rev 308712)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_upgrade() {
+  # return if old package version greater 3.1.2-5...
+  (( $(vercmp "$2" '3.1.2-5') > 0 )) && return
+
+  # return if neither service nor socket is enabled...
+  systemctl -q is-enabled rsyncd.service rsyncd.socket || return 0
+
+  echo ' > For security reasons the rsyncd service protects the system by making'
+  echo ' > paths /boot, /etc and /usr read-only. If you need write access use'
+  echo ' > rsync via ssh or see the wiki for instructions to override:'
+  echo ' > https://wiki.archlinux.org/index.php/Rsync#rsync_daemon'
+}

Copied: rsync/repos/testing-x86_64/rsync.xinetd (from rev 308711, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-x86_64/rsync.xinetd	                        (rev 0)
+++ testing-x86_64/rsync.xinetd	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf	                        (rev 0)
+++ testing-x86_64/rsyncd.conf	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd.service)
===================================================================
--- testing-x86_64/rsyncd.service	                        (rev 0)
+++ testing-x86_64/rsyncd.service	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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=off
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target

Copied: rsync/repos/testing-x86_64/rsyncd.socket (from rev 308711, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-x86_64/rsyncd.socket	                        (rev 0)
+++ testing-x86_64/rsyncd.socket	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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 308711, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-x86_64/rsyncd at .service	                        (rev 0)
+++ testing-x86_64/rsyncd at .service	2017-10-30 21:55:56 UTC (rev 308712)
@@ -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=off
+PrivateDevices=on
+NoNewPrivileges=on



More information about the arch-commits mailing list