From 883377500a40fca29a1b47eaf25eb8879e340833 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 30 Dec 2021 11:39:24 +0100 Subject: net-misc/rsync-3.2.3-r5: fix IPv6 support using musl Closes: https://bugs.gentoo.org/609694 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen --- net-misc/rsync/rsync-3.2.3-r5.ebuild | 6 +++++- net-misc/rsync/rsync-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'net-misc') diff --git a/net-misc/rsync/rsync-3.2.3-r5.ebuild b/net-misc/rsync/rsync-3.2.3-r5.ebuild index 684a8e105cd7..7f996c540050 100644 --- a/net-misc/rsync/rsync-3.2.3-r5.ebuild +++ b/net-misc/rsync/rsync-3.2.3-r5.ebuild @@ -10,7 +10,7 @@ fi WANT_LIBTOOL=none -inherit autotools prefix systemd +inherit autotools flag-o-matic prefix systemd DESCRIPTION="File transfer program to keep remote files into sync" HOMEPAGE="https://rsync.samba.org/" @@ -47,6 +47,10 @@ src_prepare() { } src_configure() { + # Force enable IPv6 on musl - upstream bug: + # https://bugzilla.samba.org/show_bug.cgi?id=10715 + use elibc_musl && use ipv6 && append-cppflags -DINET6 + local myeconfargs=( --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf --without-included-popt diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild index 8c91d4f3a17a..0da8ff82f683 100644 --- a/net-misc/rsync/rsync-9999.ebuild +++ b/net-misc/rsync/rsync-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit prefix systemd +inherit flag-o-matic prefix systemd DESCRIPTION="File transfer program to keep remote files into sync" HOMEPAGE="https://rsync.samba.org/" @@ -59,6 +59,10 @@ src_prepare() { } src_configure() { + # Force enable IPv6 on musl - upstream bug: + # https://bugzilla.samba.org/show_bug.cgi?id=10715 + use elibc_musl && use ipv6 && append-cppflags -DINET6 + local myeconfargs=( --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf --without-included-popt -- cgit v1.2.3-65-gdbad