Gentoo Archives: gentoo-portage-dev

From: Bernhard Schmidt <berni@××××××××××.de>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: rsync with IPv6 again
Date: Thu, 15 Sep 2005 22:08:51
Message-Id: 20050915220733.GA20118@obelix.birkenwald.de
1 Hi,
2
3 please have a look at my attached patch to fix bug 37124, see also
4 http://bugs.gentoo.org/show_bug.cgi?id=37124 .
5
6 It depends on >=net-misc/rsync-2.6.3 because older versions broke on
7 IPv6 literal addresses in the URI (see the rsync bugtracker,
8 https://bugzilla.samba.org/show_bug.cgi?id=1675). I haven't found any
9 blockers for these rsync versions in the gentoo bugtracker, and I'm
10 running 2.6.6 without any problems.
11
12 The default to use socket.AF_UNSPEC for getaddrinfo() should be save, at
13 least all python versions (including non-gentoo) I could find report
14 IPv6 hosts first if the kernel is IPv6 enabled _and_ has a global
15 address, and IPv4 hosts first if otherwise.
16
17 The name of the additional portage setting (RSYNC_IPV) is of course
18 subject to discussion as well as the two additional variables introduced
19 in the python code, 'rsync_afi' and 'addrinfo'.
20
21 Regards,
22 Bernhard

Attachments

File name MIME type
emerge.diff text/plain