# Template file for 'rsync'
pkgname=rsync
version=3.1.3
revision=1
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=55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0

pre_check() {
	# chgrp tests fail inside chroot
	rm -f testsuite/chgrp.test
}

post_install() {
	vconf ${FILESDIR}/rsyncd.conf
	vsv rsyncd
}
