FreeBSD Bugzilla – Attachment 225989 Details for
Bug 256432
www/youtube_dl: distfile fetch fails over IPv6-only network
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-www-youtube_dl-unbreak-distfile-fetch-for-IPv6-only-.patch (text/plain), 1.33 KB, created by
Evgenii Khramtsov
on 2021-06-22 10:08:46 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Evgenii Khramtsov
Created:
2021-06-22 10:08:46 UTC
Size:
1.33 KB
patch
obsolete
>From 9de76682cedc59d625d6285fb309c6706b4e8221 Mon Sep 17 00:00:00 2001 >From: Evgeniy Khramtsov <evgeniy@khramtsov.org> >Date: Tue, 22 Jun 2021 12:50:23 +0300 >Subject: [PATCH] www/youtube_dl: unbreak distfile fetch for IPv6-only nodes > >MASTER_SITES points to yt-dl.org which has both A and AAAA RRs, >but IPv6 address from the AAAA RR is unreachable over many AS. > >Dual-stack nodes fallback to A RR if AAAA failed, but IPv6-only >nodes can only try AAAA RR, resulting in distfile not being fetched. > >Switch MASTER_SITES to github.com and use the same provided release >tarball. IPv6-only nodes with DNS64 configured can use synthesized >AAAA RR for github.com, with the upper 96 bits of NAT64 prefix and >the lower 32 bits of the received IPv4 address from A RR. > >PR: 256432 >--- > www/youtube_dl/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile >index 708fb44b5c82..1bbfc1e00a15 100644 >--- a/www/youtube_dl/Makefile >+++ b/www/youtube_dl/Makefile >@@ -1,7 +1,7 @@ > PORTNAME= youtube_dl > PORTVERSION= 2021.06.06 > CATEGORIES= www >-MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ >+MASTER_SITES= https://github.com/ytdl-org/${PORTNAME:S/_/-/}/releases/download/${DISTVERSION}/ > DISTNAME= youtube-dl-${PORTVERSION} > > # Implicit approval to commit trivial version updates. >-- >2.31.1 >
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
Flags:
2khramtsov
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 256432
: 225989 |
226032