void-packages/srcpkgs/rsync/template
Helmut Pozimski 75a929547a rsync: add patches for several security issues
patches from upstream git:

CVE-2017-16548:
https: //git.samba.org/rsync.git/?p=rsync.git;a=commit;h=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1
CVE-2017-17433:
https: //git.samba.org/?p=rsync.git;a=commit;h=3e06d40029cfdce9d0f73d87cfd4edaf54be9c51
CVE-2017-17434:
https: //git.samba.org/?p=rsync.git;a=commit;h=5509597decdbd7b91994210f700329d8a35e70a1
https: //git.samba.org/?p=rsync.git;a=commit;h=70aeb5fddd1b2f8e143276f8d5a085db16c593b9
Closes: #10141 [via git-merge-pr]
2017-12-21 09:59:28 +01:00

24 lines
635 B
Bash

# Template file for 'rsync'
pkgname=rsync
version=3.1.2
revision=2
build_style=gnu-configure
conf_files="/etc/rsyncd.conf"
hostmakedepends="perl"
makedepends="zlib-devel acl-devel popt-devel"
short_desc="Remote fast incremental file transfer tool"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://samba.anu.edu.au/rsync/"
distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
checksum=ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2
pre_check() {
# chgrp tests fail inside chroot
rm -f testsuite/chgrp.test
}
post_install() {
vconf ${FILESDIR}/rsyncd.conf
vsv rsyncd
}