From 9de76682cedc59d625d6285fb309c6706b4e8221 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov 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