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

Christian Hesse eworm at archlinux.org
Thu Oct 26 15:18:36 UTC 2017


    Date: Thursday, October 26, 2017 @ 15:18:35
  Author: eworm
Revision: 308502

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

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

--------------------------------+
 /PKGBUILD                      |  108 +++++++++++++++++++++++++++++++++++++++
 /rsync.install                 |   28 ++++++++++
 /rsync.xinetd                  |   22 +++++++
 /rsyncd.conf                   |   20 +++++++
 /rsyncd.service                |   28 ++++++++++
 /rsyncd.socket                 |   20 +++++++
 /rsyncd at .service               |   26 +++++++++
 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 ----
 21 files changed, 252 insertions(+), 252 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/PKGBUILD	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,54 +0,0 @@
-# $Id$
-
-pkgname=rsync
-pkgver=3.1.2
-pkgrel=6
-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'
-            'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
-            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
-            '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
-
-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/PKGBUILD (from rev 308501, rsync/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-10-26 15:18:35 UTC (rev 308502)
@@ -0,0 +1,54 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=7
+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'
+            'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
+            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+            '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
+
+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"
+}

Deleted: testing-i686/rsync.install
===================================================================
--- testing-i686/rsync.install	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsync.install	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,14 +0,0 @@
-#!/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
-
-  echo ' > For security reasons the rsyncd service protects home (/root and /home are'
-  echo ' > inaccessibly) and system (/boot, /etc and /usr are read-only). If you need'
-  echo ' > access use 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.install (from rev 308501, rsync/trunk/rsync.install)
===================================================================
--- testing-i686/rsync.install	                        (rev 0)
+++ testing-i686/rsync.install	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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 home (/root and /home are'
+  echo ' > inaccessibly) and system (/boot, /etc and /usr are read-only). If you need'
+  echo ' > access use rsync via ssh or see the wiki for instructions to override:'
+  echo ' > https://wiki.archlinux.org/index.php/Rsync#rsync_daemon'
+}

Deleted: testing-i686/rsync.xinetd
===================================================================
--- testing-i686/rsync.xinetd	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsync.xinetd	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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/testing-i686/rsync.xinetd (from rev 308501, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-i686/rsync.xinetd	                        (rev 0)
+++ testing-i686/rsync.xinetd	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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: testing-i686/rsyncd.conf
===================================================================
--- testing-i686/rsyncd.conf	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsyncd.conf	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,10 +0,0 @@
-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.conf (from rev 308501, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-i686/rsyncd.conf	                        (rev 0)
+++ testing-i686/rsyncd.conf	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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

Deleted: testing-i686/rsyncd.service
===================================================================
--- testing-i686/rsyncd.service	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsyncd.service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,14 +0,0 @@
-[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.service (from rev 308501, rsync/trunk/rsyncd.service)
===================================================================
--- testing-i686/rsyncd.service	                        (rev 0)
+++ testing-i686/rsyncd.service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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

Deleted: testing-i686/rsyncd.socket
===================================================================
--- testing-i686/rsyncd.socket	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsyncd.socket	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Rsync Socket
-Conflicts=rsyncd.service
-
-[Socket]
-ListenStream=873
-Accept=true
-
-[Install]
-WantedBy=sockets.target

Copied: rsync/repos/testing-i686/rsyncd.socket (from rev 308501, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-i686/rsyncd.socket	                        (rev 0)
+++ testing-i686/rsyncd.socket	2017-10-26 15:18:35 UTC (rev 308502)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Rsync Socket
+Conflicts=rsyncd.service
+
+[Socket]
+ListenStream=873
+Accept=true
+
+[Install]
+WantedBy=sockets.target

Deleted: testing-i686/rsyncd at .service
===================================================================
--- testing-i686/rsyncd at .service	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-i686/rsyncd at .service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,13 +0,0 @@
-[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-i686/rsyncd at .service (from rev 308501, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-i686/rsyncd at .service	                        (rev 0)
+++ testing-i686/rsyncd at .service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/PKGBUILD	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,54 +0,0 @@
-# $Id$
-
-pkgname=rsync
-pkgver=3.1.2
-pkgrel=6
-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'
-            'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
-            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
-            '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
-
-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/PKGBUILD (from rev 308501, rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-10-26 15:18:35 UTC (rev 308502)
@@ -0,0 +1,54 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.2
+pkgrel=7
+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'
+            'c6998eaa5f3baa0e02830c182acacbb966187c428f8e42eab087f681f8e3d0a6'
+            '551f17407de0e539c8419fc2cd48dd0124eb0253a186690b165b51703ffad1a5'
+            '53e9e2546a74ce622f4eabc5590662fc2d0b06467f71f95428ab7926ea7e24c4')
+
+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"
+}

Deleted: testing-x86_64/rsync.install
===================================================================
--- testing-x86_64/rsync.install	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsync.install	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,14 +0,0 @@
-#!/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
-
-  echo ' > For security reasons the rsyncd service protects home (/root and /home are'
-  echo ' > inaccessibly) and system (/boot, /etc and /usr are read-only). If you need'
-  echo ' > access use 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.install (from rev 308501, rsync/trunk/rsync.install)
===================================================================
--- testing-x86_64/rsync.install	                        (rev 0)
+++ testing-x86_64/rsync.install	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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 home (/root and /home are'
+  echo ' > inaccessibly) and system (/boot, /etc and /usr are read-only). If you need'
+  echo ' > access use rsync via ssh or see the wiki for instructions to override:'
+  echo ' > https://wiki.archlinux.org/index.php/Rsync#rsync_daemon'
+}

Deleted: testing-x86_64/rsync.xinetd
===================================================================
--- testing-x86_64/rsync.xinetd	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsync.xinetd	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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/testing-x86_64/rsync.xinetd (from rev 308501, rsync/trunk/rsync.xinetd)
===================================================================
--- testing-x86_64/rsync.xinetd	                        (rev 0)
+++ testing-x86_64/rsync.xinetd	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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: testing-x86_64/rsyncd.conf
===================================================================
--- testing-x86_64/rsyncd.conf	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsyncd.conf	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,10 +0,0 @@
-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.conf (from rev 308501, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf	                        (rev 0)
+++ testing-x86_64/rsyncd.conf	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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

Deleted: testing-x86_64/rsyncd.service
===================================================================
--- testing-x86_64/rsyncd.service	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsyncd.service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,14 +0,0 @@
-[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.service (from rev 308501, rsync/trunk/rsyncd.service)
===================================================================
--- testing-x86_64/rsyncd.service	                        (rev 0)
+++ testing-x86_64/rsyncd.service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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

Deleted: testing-x86_64/rsyncd.socket
===================================================================
--- testing-x86_64/rsyncd.socket	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsyncd.socket	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Rsync Socket
-Conflicts=rsyncd.service
-
-[Socket]
-ListenStream=873
-Accept=true
-
-[Install]
-WantedBy=sockets.target

Copied: rsync/repos/testing-x86_64/rsyncd.socket (from rev 308501, rsync/trunk/rsyncd.socket)
===================================================================
--- testing-x86_64/rsyncd.socket	                        (rev 0)
+++ testing-x86_64/rsyncd.socket	2017-10-26 15:18:35 UTC (rev 308502)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Rsync Socket
+Conflicts=rsyncd.service
+
+[Socket]
+ListenStream=873
+Accept=true
+
+[Install]
+WantedBy=sockets.target

Deleted: testing-x86_64/rsyncd at .service
===================================================================
--- testing-x86_64/rsyncd at .service	2017-10-26 15:18:23 UTC (rev 308501)
+++ testing-x86_64/rsyncd at .service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -1,13 +0,0 @@
-[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/rsyncd at .service (from rev 308501, rsync/trunk/rsyncd at .service)
===================================================================
--- testing-x86_64/rsyncd at .service	                        (rev 0)
+++ testing-x86_64/rsyncd at .service	2017-10-26 15:18:35 UTC (rev 308502)
@@ -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