FreeBSD Bugzilla – Attachment 226032 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]
v2
0001-www-youtube_dl-unbreak-distfile-fetch-for-IPv6-only-.patch (text/plain), 1.52 KB, created by
Evgenii Khramtsov
on 2021-06-24 13:33:51 UTC
(
hide
)
Description:
v2
Filename:
MIME Type:
Creator:
Evgenii Khramtsov
Created:
2021-06-24 13:33:51 UTC
Size:
1.52 KB
patch
obsolete
>From e8537ce2ef0462ec7b08da3e62dd49d645b6b526 Mon Sep 17 00:00:00 2001 >From: Evgeniy Khramtsov <evgeniy@khramtsov.org> >Date: Thu, 24 Jun 2021 16:26:44 +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. > >Add github.com to MASTER_SITES 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. > >Reviewed by: Daniel Engberg <daniel.engberg.lists@pyret.net> >--- > www/youtube_dl/Makefile | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile >index 708fb44b5c82..ca319e3b1e1a 100644 >--- a/www/youtube_dl/Makefile >+++ b/www/youtube_dl/Makefile >@@ -1,8 +1,9 @@ > PORTNAME= youtube_dl >-PORTVERSION= 2021.06.06 >+DISTVERSION= 2021.06.06 > CATEGORIES= www >-MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ >-DISTNAME= youtube-dl-${PORTVERSION} >+MASTER_SITES= https://github.com/ytdl-org/${PORTNAME:S/_/-/}/releases/download/${DISTVERSION}/ \ >+ https://yt-dl.org/downloads/${PORTVERSION}/ >+DISTNAME= youtube-dl-${DISTVERSION} > > # Implicit approval to commit trivial version updates. > MAINTAINER= multimedia@FreeBSD.org >-- >2.32.0 >
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