[arch-general] rsync patches
Hi, I'd like to add --time-limit / --stop-at added to ArchLinux's rsync since it's available in some other distributions. (This patch is distributed from the same source as rsync itself, just in a different tarball called rsync-patches, along with a bunch of other patches for optional functionality that rsync can support but that isn't built into the core rsync by default.) Below is an updated PKGBUILD for rsync that adds time-limit support. There are several other patches in rsync-patches that could be useful, but this is the one that most affects me. Pierre did not respond to my email back in October, so Pierre, if you are monitoring this list, see the attached PKGBUILD, it's a trivial addition. I hope you'll make the change. :-) Cheers, Ido
Oops, don't know if the attachment went through. Pasted below for convenience: # $Id$ pkgname=rsync pkgver=3.1.1 pkgrel=3 pkgdesc="A file transfer program to keep remote files in sync" arch=('i686' 'x86_64') url="http://rsync.samba.org/" license=('GPL3') depends=('perl' 'popt' 'acl' 'zlib') backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync') source=("http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz" "http://rsync.samba.org/ftp/rsync/$pkgname-$pkgver.tar.gz.asc" "http://rsync.samba.org/ftp/rsync/$pkgname-patches-$pkgver.tar.gz" "http://rsync.samba.org/ftp/rsync/$pkgname-patches-$pkgver.tar.gz.asc" 'rsyncd.conf' 'rsync.xinetd' 'rsyncd.service' 'rsyncd.socket' 'rsyncd@.service') md5sums=('43bd6676f0b404326eee2d63be3cdcfe' 'SKIP' '72de3e3528c1a1940b226e456393f26d' 'SKIP' 'bce64d122a8e0f86872a4a21a03bc7f3' 'ea3e9277dc908bc51f9eddc0f6b935c1' 'f90ba7f3717028769d6f230a2402b5aa' 'ae4c381e0c02d6132c7f6ded3f473041' '53f94e613e0bc502d38dd61bd2cd7636') prepare() { cd "$srcdir/$pkgname-$pkgver" # Backwards compatibility: patch -p1 -i patches/acls.diff patch -p1 -i patches/xattrs.diff patch -p1 -i patches/copy-devices.diff # Add --timelimit support: patch -p1 -i patches/time-limit.diff } build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --with-included-popt=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@.service "$pkgdir/usr/lib/systemd/system/rsyncd@.service" install -Dm755 support/rrsync "$pkgdir/usr/lib/rsync/rrsync" }
On Sun, Jan 04, 2015 at 03:34:17PM -0500, Ido Rosen wrote:
Hi, I'd like to add --time-limit / --stop-at added to ArchLinux's rsync since it's available in some other distributions. (This patch is distributed from the same source as rsync itself, just in a different tarball called rsync-patches, along with a bunch of other patches for optional functionality that rsync can support but that isn't built into the core rsync by default.) Below is an updated PKGBUILD for rsync that adds time-limit support. There are several other patches in rsync-patches that could be useful, but this is the one that most affects me.
Pierre did not respond to my email back in October, so Pierre, if you are monitoring this list, see the attached PKGBUILD, it's a trivial addition. I hope you'll make the change. :-)
The ML isn't a proper place to request features and report bugs. And I couldn't find any related feature-request in the flyspray... Cheers, -- Leonid Isaev GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4 C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
participants (2)
-
Ido Rosen
-
Leonid Isaev