rsync: fix IPv6 on musl

close: #26796
This commit is contained in:
Paper 2020-12-04 10:30:23 +01:00 committed by Érico Nogueira Rolim
parent 81b42ca88b
commit fa9bc4a428
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'rsync' # Template file for 'rsync'
pkgname=rsync pkgname=rsync
version=3.2.3 version=3.2.3
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
conf_files="/etc/rsyncd.conf" conf_files="/etc/rsyncd.conf"
hostmakedepends="perl" hostmakedepends="perl"
@ -10,11 +10,14 @@ makedepends="zlib-devel acl-devel popt-devel xxHash-devel liblz4-devel
short_desc="Remote fast incremental file transfer tool" short_desc="Remote fast incremental file transfer tool"
maintainer="Lugubris <lugubris@disroot.org>" maintainer="Lugubris <lugubris@disroot.org>"
license="GPL-3.0-only" license="GPL-3.0-only"
homepage="http://samba.anu.edu.au/rsync/" homepage="https://rsync.samba.org/"
changelog="https://download.samba.org/pub/rsync/NEWS" changelog="https://download.samba.org/pub/rsync/NEWS"
distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz" distfiles="https://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
checksum=becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e checksum=becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e
# Force enable IPv6 on musl - upstream bug https://bugzilla.samba.org/show_bug.cgi?id=10715
CFLAGS="-DINET6"
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
configure_args=" --disable-simd" configure_args=" --disable-simd"
fi fi