Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65574 Details for
Bug 37124
>portage-2.0.49-r15 does not sync to IPv6 hosts anymore
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The old patch but in the correct unified format
emerge-ipv6-patch (text/plain), 687 bytes, created by
Alec Warner
on 2005-08-09 21:14:34 UTC
(
hide
)
Description:
The old patch but in the correct unified format
Filename:
MIME Type:
Creator:
Alec Warner
Created:
2005-08-09 21:14:34 UTC
Size:
687 bytes
patch
obsolete
>--- /usr/lib/portage/bin/emerge 2005-08-10 00:08:40.000000000 -0400 >+++ /home/skyfw/portage/patches/emerge-diff 2005-08-10 00:12:35.000000000 -0400 >@@ -2501,7 +2501,15 @@ > del ips[0] > if ips==[]: > try: >- ips=socket.gethostbyname_ex(hostname)[2] >+ ip6sockets = socket.getaddrinfo(hostname,None,10,socket.SOCK_STREAM) >+ random.shuffle(ip6sockets) >+ for addrinfo in ip6sockets: >+ ips.append('[' + addrinfo[4][0] + ']') >+ except Exception, e: >+ print "No IPv6 record found, trying IPv4:",str(e) >+ >+ try: >+ ips.extend(socket.gethostbyname_ex(hostname)[2]) > except SystemExit, e: > raise # Needed else can't exit > except Exception, e:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37124
:
41398
|
41401
| 65574 |
68172
|
91524
|
91544
|
91545
|
91881
|
94424