aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-04-01 11:27:33 +0000
committerRene Ladan <rene@FreeBSD.org>2024-04-01 11:27:33 +0000
commit336dff981d65c244979d7f8ceb8bcde06033420a (patch)
tree18e5812fae5cf0ca42d602018bef92f4d0ed9216
parent982661f6ff6b6042effc553e490a6f680edd0935 (diff)
www/youtube_dl: Remove expired port
2024-03-31 www/youtube_dl: Many extractors are brokena and upstream can't keep up, consider using www/yt-dlp
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/youtube_dl/Makefile44
-rw-r--r--www/youtube_dl/distinfo3
-rw-r--r--www/youtube_dl/files/patch-Makefile41
-rw-r--r--www/youtube_dl/files/patch-youtube_dl____init__.py29
-rw-r--r--www/youtube_dl/files/patch-youtube_dl__options.py13
-rw-r--r--www/youtube_dl/pkg-descr3
-rw-r--r--www/youtube_dl/pkg-message8
9 files changed, 1 insertions, 142 deletions
diff --git a/MOVED b/MOVED
index e90e499cc4f0..8e09601e35b8 100644
--- a/MOVED
+++ b/MOVED
@@ -3109,3 +3109,4 @@ sysutils/rubygem-vagrant-vbguest||2024-04-01|Has expired: This project is archiv
net-p2p/frost||2024-04-01|Has expired: Outdated version and unsupported upstream
archivers/lzmalib||2024-04-01|Has expired: Upstream hasn't been active for over 20 years and no users of this library in tree
net-p2p/libbt||2024-04-01|Has expired: Last release in 2007 and no active development, lacks functionality found in modern implementations. Consider using net-p2p/libtorrent-rasterbar or net-p2p/libtorrent-rasterbar2
+www/youtube_dl|www/yt-dlp|2024-04-01|Has expired: Many extractors are brokena and upstream can't keep up, consider using www/yt-dlp
diff --git a/www/Makefile b/www/Makefile
index 349b02d44fb4..32107cdb1f3e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2533,7 +2533,6 @@
SUBDIR += yaws
SUBDIR += you-get
SUBDIR += yourls
- SUBDIR += youtube_dl
SUBDIR += yt-dlp
SUBDIR += ytdl
SUBDIR += yuicompressor
diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile
deleted file mode 100644
index d2da1158ad74..000000000000
--- a/www/youtube_dl/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-PORTNAME= youtube_dl
-PORTVERSION= 2023.03.14
-PORTREVISION= 1
-CATEGORIES= www
-
-# Implicit approval to commit trivial version updates.
-MAINTAINER= multimedia@FreeBSD.org
-COMMENT= Program for downloading videos from various services
-WWW= https://yt-dl.org/
-
-LICENSE= UNLICENSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Many extractors are brokena and upstream can't keep up, consider using www/yt-dlp
-EXPIRATION_DATE=2024-03-31
-
-BUILD_DEPENDS= pandoc:textproc/hs-pandoc
-
-USES= gmake python
-
-USE_GITHUB= yes
-GH_ACCOUNT= ytdl-org
-GH_PROJECT= youtube-dl
-GH_TAGNAME= 6fece0a
-
-MAKE_ARGS= PYTHON=${PYTHON_CMD}
-ALL_TARGET= youtube-dl
-NO_ARCH= yes
-
-PLIST_FILES= bin/youtube-dl \
- etc/bash_completion.d/youtube-dl.sh \
- share/man/man1/youtube-dl.1.gz \
- share/fish/vendor_completions.d/youtube-dl.fish \
- share/zsh/site-functions/_youtube-dl
-
-OPTIONS_DEFINE= FFMPEG RTMPDUMP
-OPTIONS_DEFAULT= RTMPDUMP
-
-RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams
-
-FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg
-RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump
-
-.include <bsd.port.mk>
diff --git a/www/youtube_dl/distinfo b/www/youtube_dl/distinfo
deleted file mode 100644
index 0c54f5e88d1d..000000000000
--- a/www/youtube_dl/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1679299345
-SHA256 (ytdl-org-youtube-dl-2023.03.14-6fece0a_GH0.tar.gz) = e6a57710bde2e7d137f28a6e829834281f2f0470675f99dcb9182088533aaa46
-SIZE (ytdl-org-youtube-dl-2023.03.14-6fece0a_GH0.tar.gz) = 1638794
diff --git a/www/youtube_dl/files/patch-Makefile b/www/youtube_dl/files/patch-Makefile
deleted file mode 100644
index 843d6f584858..000000000000
--- a/www/youtube_dl/files/patch-Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
---- Makefile.orig 2023-03-14 16:23:20 UTC
-+++ Makefile
-@@ -7,12 +7,12 @@ BINDIR ?= $(PREFIX)/bin
-
- PREFIX ?= /usr/local
- BINDIR ?= $(PREFIX)/bin
--MANDIR ?= $(PREFIX)/man
-+MANDIR ?= $(PREFIX)/share/man
- SHAREDIR ?= $(PREFIX)/share
- PYTHON ?= /usr/bin/env python
-
- # set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
--SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then echo /etc; else echo $(PREFIX)/etc; fi)
-+SYSCONFDIR ?= $(PREFIX)/etc
-
- # set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2
- MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` = "2" ]; then echo markdown-smart; else echo markdown; fi)
-@@ -23,11 +23,11 @@ install: youtube-dl youtube-dl.1 youtube-dl.bash-compl
- install -d $(DESTDIR)$(MANDIR)/man1
- install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1
- install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
-- install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl
-+ install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl.sh
- install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions
- install -m 644 youtube-dl.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_youtube-dl
-- install -d $(DESTDIR)$(SYSCONFDIR)/fish/completions
-- install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish
-+ install -d $(DESTDIR)$(SHAREDIR)/fish/vendor_completions.d
-+ install -m 644 youtube-dl.fish $(DESTDIR)$(SHAREDIR)/fish/vendor_completions.d/youtube-dl.fish
-
- codetest:
- flake8 .
-@@ -65,7 +65,7 @@ youtube-dl: youtube_dl/*.py youtube_dl/*/*.py
- done
- touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py
- mv zip/youtube_dl/__main__.py zip/
-- cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py
-+ cd zip ; bsdtar -a -cf ../youtube-dl.zip youtube_dl/*.py youtube_dl/*/*.py __main__.py
- rm -rf zip
- echo '#!$(PYTHON)' > youtube-dl
- cat youtube-dl.zip >> youtube-dl
diff --git a/www/youtube_dl/files/patch-youtube_dl____init__.py b/www/youtube_dl/files/patch-youtube_dl____init__.py
deleted file mode 100644
index be1b2921db02..000000000000
--- a/www/youtube_dl/files/patch-youtube_dl____init__.py
+++ /dev/null
@@ -1,29 +0,0 @@
---- youtube_dl/__init__.py.orig 2023-03-14 16:23:20 UTC
-+++ youtube_dl/__init__.py
-@@ -36,7 +36,6 @@ from .utils import (
- write_string,
- render_table,
- )
--from .update import update_self
- from .downloader import (
- FileDownloader,
- )
-@@ -440,17 +439,13 @@ def _real_main(argv=None):
- }
-
- with YoutubeDL(ydl_opts) as ydl:
-- # Update version
-- if opts.update_self:
-- update_self(ydl.to_screen, opts.verbose, ydl._opener)
--
- # Remove cache dir
- if opts.rm_cachedir:
- ydl.cache.remove()
-
- # Maybe do nothing
- if (len(all_urls) < 1) and (opts.load_info_filename is None):
-- if opts.update_self or opts.rm_cachedir:
-+ if opts.rm_cachedir:
- sys.exit()
-
- ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv)
diff --git a/www/youtube_dl/files/patch-youtube_dl__options.py b/www/youtube_dl/files/patch-youtube_dl__options.py
deleted file mode 100644
index 06c2d768b23c..000000000000
--- a/www/youtube_dl/files/patch-youtube_dl__options.py
+++ /dev/null
@@ -1,13 +0,0 @@
---- youtube_dl/options.py.orig 2018-05-09 02:36:28 UTC
-+++ youtube_dl/options.py
-@@ -138,10 +138,6 @@ def parseOpts(overrideArguments=None):
- action='version',
- help='Print program version and exit')
- general.add_option(
-- '-U', '--update',
-- action='store_true', dest='update_self',
-- help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
-- general.add_option(
- '-i', '--ignore-errors',
- action='store_true', dest='ignoreerrors', default=False,
- help='Continue on download errors, for example to skip unavailable videos in a playlist')
diff --git a/www/youtube_dl/pkg-descr b/www/youtube_dl/pkg-descr
deleted file mode 100644
index 79d94ea8de16..000000000000
--- a/www/youtube_dl/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-youtube-dl is a small command-line program for downloading videos
-from YouTube.com, metacafe.com, google video, photobucket videos,
-yahoo videos, dailymotion and others
diff --git a/www/youtube_dl/pkg-message b/www/youtube_dl/pkg-message
deleted file mode 100644
index 898139919852..000000000000
--- a/www/youtube_dl/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-[
-{ type: install
- message: <<EOM
-If you want to use mp3 audio conversion please make sure multimedia/ffmpeg is
-built with the "LAME" option enabled.
-EOM
-}
-]