Date: Monday, January 29, 2018 @ 07:41:53
  Author: eworm
Revision: 315552

archrelease: copy trunk to testing-x86_64

Added:
  rsync/repos/testing-x86_64/
  rsync/repos/testing-x86_64/PKGBUILD
    (from rev 315551, rsync/trunk/PKGBUILD)
  rsync/repos/testing-x86_64/rsync.install
    (from rev 315551, rsync/trunk/rsync.install)
  rsync/repos/testing-x86_64/rsync.xinetd
    (from rev 315551, rsync/trunk/rsync.xinetd)
  rsync/repos/testing-x86_64/rsyncd.conf
    (from rev 315551, rsync/trunk/rsyncd.conf)
  rsync/repos/testing-x86_64/rsyncd.service
    (from rev 315551, rsync/trunk/rsyncd.service)
  rsync/repos/testing-x86_64/rsyncd.socket
    (from rev 315551, rsync/trunk/rsyncd.socket)
  rsync/repos/testing-x86_64/[email protected]
    (from rev 315551, rsync/trunk/[email protected])

-----------------+
 PKGBUILD        |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 rsync.install   |   14 ++++++++++++++
 rsync.xinetd    |   11 +++++++++++
 rsyncd.conf     |   10 ++++++++++
 rsyncd.service  |   14 ++++++++++++++
 rsyncd.socket   |   10 ++++++++++
 [email protected] |   13 +++++++++++++
 7 files changed, 126 insertions(+)

Copied: rsync/repos/testing-x86_64/PKGBUILD (from rev 315551, 
rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-01-29 07:41:53 UTC (rev 315552)
@@ -0,0 +1,54 @@
+# $Id$
+
+pkgname=rsync
+pkgver=3.1.3
+pkgrel=1
+pkgdesc="A file transfer program to keep remote files in sync"
+arch=('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 
<[email protected]>
+source=("https://rsync.samba.org/ftp/rsync/src/$pkgname-$pkgver.tar.gz"{,.asc}
+        'rsyncd.conf'
+        'rsync.xinetd'
+        'rsyncd.service'
+        'rsyncd.socket'
+        '[email protected]')
+sha256sums=('55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0'
+            '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 ../[email protected] 
"$pkgdir/usr/lib/systemd/system/[email protected]"
+       install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}

Copied: rsync/repos/testing-x86_64/rsync.install (from rev 315551, 
rsync/trunk/rsync.install)
===================================================================
--- testing-x86_64/rsync.install                                (rev 0)
+++ testing-x86_64/rsync.install        2018-01-29 07:41:53 UTC (rev 315552)
@@ -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 315551, 
rsync/trunk/rsync.xinetd)
===================================================================
--- testing-x86_64/rsync.xinetd                         (rev 0)
+++ testing-x86_64/rsync.xinetd 2018-01-29 07:41:53 UTC (rev 315552)
@@ -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 315551, 
rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf                          (rev 0)
+++ testing-x86_64/rsyncd.conf  2018-01-29 07:41:53 UTC (rev 315552)
@@ -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 315551, 
rsync/trunk/rsyncd.service)
===================================================================
--- testing-x86_64/rsyncd.service                               (rev 0)
+++ testing-x86_64/rsyncd.service       2018-01-29 07:41:53 UTC (rev 315552)
@@ -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 315551, 
rsync/trunk/rsyncd.socket)
===================================================================
--- testing-x86_64/rsyncd.socket                                (rev 0)
+++ testing-x86_64/rsyncd.socket        2018-01-29 07:41:53 UTC (rev 315552)
@@ -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/[email protected] (from rev 315551, 
rsync/trunk/[email protected])
===================================================================
--- testing-x86_64/[email protected]                              (rev 0)
+++ testing-x86_64/[email protected]      2018-01-29 07:41:53 UTC (rev 315552)
@@ -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

Reply via email to