[arch-commits] Commit in rsync/repos (4 files)
Christian Hesse
eworm at archlinux.org
Fri Jun 19 22:03:49 UTC 2020
Date: Friday, June 19, 2020 @ 22:03:48
Author: eworm
Revision: 389562
archrelease: copy trunk to testing-x86_64
Added:
rsync/repos/testing-x86_64/
rsync/repos/testing-x86_64/PKGBUILD
(from rev 389561, rsync/trunk/PKGBUILD)
rsync/repos/testing-x86_64/rsync.install
(from rev 389561, rsync/trunk/rsync.install)
rsync/repos/testing-x86_64/rsyncd.conf
(from rev 389561, rsync/trunk/rsyncd.conf)
---------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
rsync.install | 14 ++++++++++++++
rsyncd.conf | 10 ++++++++++
3 files changed, 74 insertions(+)
Copied: rsync/repos/testing-x86_64/PKGBUILD (from rev 389561, rsync/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-06-19 22:03:48 UTC (rev 389562)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=rsync
+_tag='affe6786e63ef638af993a0ba788c62e047accb8' # git rev-parse v${pkgver}
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='A fast and versatile file copying tool for remote and local files'
+arch=('x86_64')
+url='https://rsync.samba.org/'
+license=('GPL3')
+depends=('acl' 'libacl.so' 'lz4' 'openssl' 'perl' 'popt' 'xxhash' 'libxxhash.so'
+ 'zlib' 'zstd')
+makedepends=('git' 'python-commonmark')
+backup=('etc/rsyncd.conf'
+ 'etc/xinetd.d/rsync')
+install=rsync.install
+validpgpkeys=('0048C8B026D4C96F0E589C2F6C859FB14B96A8C5') # Wayne Davison <wayned at users.sourceforge.net>
+source=("git+https://github.com/WayneD/rsync#tag=${_tag}?signed"
+ 'rsyncd.conf')
+sha256sums=('SKIP'
+ '733ccb571721433c3a6262c58b658253ca6553bec79c2bdd0011810bb4f2156b')
+
+build() {
+ cd "$srcdir/rsync"
+
+ ./configure \
+ --prefix=/usr \
+ --disable-debug \
+ --with-included-popt=no \
+ --with-included-zlib=no
+ make
+}
+
+check() {
+ cd "$srcdir/rsync"
+
+ make test
+}
+
+package() {
+ cd "$srcdir/rsync"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 ../rsyncd.conf "$pkgdir/etc/rsyncd.conf"
+ install -Dm0644 packaging/lsb/rsync.xinetd "$pkgdir/etc/xinetd.d/rsync"
+ install -Dm0644 packaging/systemd/rsync.service "$pkgdir/usr/lib/systemd/system/rsyncd.service"
+ install -Dm0644 packaging/systemd/rsync.socket "$pkgdir/usr/lib/systemd/system/rsyncd.socket"
+ install -Dm0644 packaging/systemd/rsync at .service "$pkgdir/usr/lib/systemd/system/rsyncd at .service"
+ install -Dm0755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync"
+}
Copied: rsync/repos/testing-x86_64/rsync.install (from rev 389561, rsync/trunk/rsync.install)
===================================================================
--- testing-x86_64/rsync.install (rev 0)
+++ testing-x86_64/rsync.install 2020-06-19 22:03:48 UTC (rev 389562)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_upgrade() {
+ # return if old package version greater 3.1.99...
+ (( $(vercmp "$2" '3.1.99') > 0 )) && return 0
+
+ # return if neither service nor socket is enabled...
+ systemctl -q is-enabled rsyncd.service rsyncd.socket || return 0
+
+ echo ' > The rsync package now uses upstream systemd units, which also protect'
+ echo ' > home directories (/root and /home). If you need access use rsync'
+ echo ' > via ssh (recommended) or see the wiki for instructions to override:'
+ echo ' > https://wiki.archlinux.org/index.php/Rsync#rsync_daemon'
+}
Copied: rsync/repos/testing-x86_64/rsyncd.conf (from rev 389561, rsync/trunk/rsyncd.conf)
===================================================================
--- testing-x86_64/rsyncd.conf (rev 0)
+++ testing-x86_64/rsyncd.conf 2020-06-19 22:03:48 UTC (rev 389562)
@@ -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
More information about the arch-commits
mailing list