34 lines
923 B
Bash
34 lines
923 B
Bash
# Template file for 'rsync'
|
|
pkgname=rsync
|
|
version=3.2.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
conf_files="/etc/rsyncd.conf"
|
|
hostmakedepends="perl"
|
|
makedepends="zlib-devel acl-devel popt-devel xxHash-devel liblz4-devel
|
|
openssl-devel libzstd-devel"
|
|
short_desc="Remote fast incremental file transfer tool"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://rsync.samba.org/"
|
|
changelog="https://download.samba.org/pub/rsync/NEWS"
|
|
distfiles="https://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
|
|
checksum=becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e
|
|
|
|
# Force enable IPv6 on musl - upstream bug https://bugzilla.samba.org/show_bug.cgi?id=10715
|
|
CFLAGS="-DINET6"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args=" --disable-simd"
|
|
fi
|
|
|
|
pre_check() {
|
|
# chgrp tests fail inside chroot
|
|
rm -f testsuite/chgrp.test
|
|
}
|
|
|
|
post_install() {
|
|
vconf ${FILESDIR}/rsyncd.conf
|
|
vsv rsyncd
|
|
}
|