head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.8 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.6 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.4 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.2 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.3.0.12 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.10 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.8 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.6 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.4 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q3:1.1.0.18 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.16 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.14 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.12 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.10 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.8 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.6 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.4 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2026.08.31.20.51.05; author js; state dead; branches; next 1.4; commitid 3E9sLQrp6aK8GPTG; 1.4 date 2025.07.05.21.04.30; author js; state Exp; branches; next 1.3; commitid evsqcExX4YqYiB1G; 1.3 date 2024.03.16.01.00.16; author js; state Exp; branches; next 1.2; commitid p1ShdvMlmor9Xj2F; 1.2 date 2023.12.10.12.39.10; author js; state dead; branches; next 1.1; commitid ghnho9GgOMn9WUPE; 1.1 date 2021.07.25.18.02.50; author js; state Exp; branches; next ; commitid IGT8kSxOFHR3Do2D; desc @@ 1.5 log @Remove multimedia/sickgear for catastrophic security issues (backdoor?) It is doing the equivalent of downloading code from a wiki page and executing it. But even if this would not be editable by everybody by leaking the deploy token, it would still be a potential backdoor for the developers. See https://github.com/SickGear/SickGear/issues/1517 for details. The patches in pkgsrc neutered this a bit, but I still urge everybody who has this installed to *immediately* uninstall it. @ text @$NetBSD: patch-sickgear.py,v 1.4 2025/07/05 21:04:30 js Exp $ Patch out Python version check. This regularly breaks if the Python version in pkgsrc gets updated. While newer versions update the allowed range, it should still not break just because Python was updated. --- sickgear.py.orig 2025-07-05 20:57:15.678525004 +0000 +++ sickgear.py @@@@ -36,16 +36,6 @@@@ warnings.filterwarnings('ignore', module warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*') warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') -# noinspection DuplicatedCode -versions = [((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 23)), - ((3, 10, 0), (3, 13, 5))] # inclusive version ranges -if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)): - major, minor, micro = sys.version_info[:3] - print(f'Python {major}.{minor}.{micro} detected.') - print('Sorry, SickGear requires a Python version %s' % ', '.join(map( - lambda r: '%s - %s' % tuple(map(lambda v: str(v).replace(', ', '.')[1:-1], r)), versions))) - sys.exit(1) - sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))) is_win = 'win' == sys.platform[0:3] @ 1.4 log @Update multimedia/sickgear to 3.33.11 ### 3.33.11 (2025-06-26 11:15:00 UTC) * Update UnRar x64 for Windows 7.10 to 7.12 ### 3.33.10 (2025-06-19 19:50:00 UTC) * Change add support for Python 3.13.5, 3.13.4, 3.9.23 ### 3.33.9 (2025-05-20 16:45:00 UTC) * Change add support for Python 3.13.3, 3.12.9, 3.11.9 (Win), 3.10.17, 3.9.22 ### 3.33.8 (2025-05-16 14:30:00 UTC) * Fix port of onTXComplete.sh parsing spaces in pathname parameters on Linux ### 3.33.7 (2025-03-27 01:30:00 UTC) * Remove MagnetDL torrent provider ### 3.33.6 (2025-03-15 03:25:00 UTC) * Change improve security by sanitising input requests (thanks to xbow for reports) ### 3.33.5 (2025-03-14 04:25:00 UTC) * Change limit get_image to only intended API direct calls * Change filter private methods and non method attrs to improve security * Fix don't use provider failure counter for caps (they can fail for different reasons) * Change add cast limit of 30 main actors to all data sources ### 3.33.4 (2025-02-21 11:20:00 UTC) * Update UnRar x64 for Windows 7.01 to 7.10 * Change update an nzb provider logo ### 3.33.3 (2025-02-18 04:50:00 UTC) * Change add TraktFreemiumLimit exception for collection endpoint * Change revert hotfix 3.33.1 in release 3.33.2 * Change add support for Python 3.13.2, 3.12.9 * Change ensure autoprocess is run with a compatible Python version else exit ### 3.33.0 (2025-01-20 00:20:00 UTC) * Update certifi 2024.06.02 to 2024.08.30 * Update filelock 3.14.0 (8556141) to 3.15.4 (9a979df) * Update package resource API 68.2.2 (8ad627d) to 70.1.1 (222ebf9) * Update Tornado Web Server 6.4.1 (2a0e1d1) to 6.4.2 (27b3252) * Update urllib3 2.2.1 (54d6edf) to 2.2.2 (27e2a5c) * Change add TheTVDb v4 support * Add menu Shows/"TVDb Cards" * Add a persons available socials (Youtube, LinkedIn, Reddit, Fansite, TikTok, Wikidata) * Change increase viewable history menu items from 13 to 15 * Change add parsing of 2160p releases that don't have a source tag * Change twitter.com to x.com and Twitter to X (Twitter) branding * Fix credits in Kodi episode nfo writer ### 3.32.21 (2025-01-19 23:50:00 UTC) * Change update fallback zoneinfo to 2025a ### 3.32.20 (2025-01-16 16:10:00 UTC) * Fix final Newznab url to add trailing slash ### 3.32.19 (2025-01-16 16:00:00 UTC) * Fix another Newznab save ### 3.32.18 (2025-01-16 15:45:00 UTC) * Fix Newznab save ### 3.32.17 (2025-01-16 14:50:00 UTC) * Change improve slash sanitisation for url in Newnab provider ### 3.32.16 (2025-01-16 14:20:00 UTC) * Change ensure no double slash // in an url ### 3.32.15 (2025-01-15 04:15:00 UTC) * Fix support a Newznab download link that deviates from the standard format ### 3.32.14 (2024-12-19 01:45:00 UTC) * Change validate get_image path * Change remove Python 3.8 and add Python 3.13 to Gitlab and Github CI tests ### 3.32.13 (2024-12-11 02:15:00 UTC) * Fix ignore empty SEASON_RESULT entries * Change add support for Python 3.9.21, 3.10.16, 3.11.11, 3.12.8 ### 3.32.12 (2024-11-29 19:20:00 UTC) * Fix split_result to return a list in the case of an internal exception ### 3.32.11 (2024-11-26 20:15:00 UTC) * Fix nzbSplitter needs to use binary data for xml parser ### 3.32.10 (2024-10-07 01:10:00 UTC) * Fix IndentationError, pt2/2 ### 3.32.9 (2024-10-07 01:00:00 UTC) * Fix IndentationError, pt1/2 ### 3.32.8 (2024-10-07 00:30:00 UTC) * Change min required Python version to 3.9 * Change add support for Python 3.9.20, 3.10.15, 3.11.10, 3.12.7 * Change update fallback zoneinfo to 2024b * Change improve config.ini save failure messages * Change add '-f' to copy_file command for 'posix' systems * Fix Fanart.tv and CF data fetch * Fix TVC images * Change add '.avif' extensions as valid image type (used by tvc cards) * Change hide lazy load animation when loading fails (unsupported image format) ### 3.32.7 (2024-08-13 11:30:00 UTC) * Change to prevent saving config.ini before it's fully loaded * Change login form to be more password manager friendly ### 3.32.6 (2024-08-12 17:10:00 UTC) * Fix saving config.ini after restart and startup ### 3.32.5 (2024-08-12 00:15:00 UTC) * Fix to create initial config.ini when one doesn't exist ### 3.32.4 (2024-08-10 11:40:00 UTC) * Change person cards to not display "eps" when number of eps is unknown * Fix wrong added death dates * Fix parsing changes to IMDb bio * Change improve efficiency when saving config.ini * Change improve efficiency when saving viewshow glide * Change allow Python 3.12.5 ### 3.32.3 (2024-06-26 18:10:00 UTC) * Fix votes on shows/IMDb cards * Fix ratings on shows/TMDB cards * Fix TVmaze parser ### 3.32.2 (2024-06-26 07:20:00 UTC) * Fix systemd linefeed typo ### 3.32.1 (2024-06-26 01:15:00 UTC) * Fix update tvinfo test data * Fix type of self.plays_self ### 3.32.0 (2024-06-25 21:15:00 UTC) * Update apprise 1.6.0 (0c0d5da) to 1.8.0 (81caf92) * Update attr 23.1.0 (67e4ff2) to 23.2.0 (b393d79) * Update Beautiful Soup 4.12.2 (30c58a1) to 4.12.3 (7fb5175) * Update CacheControl 0.13.1 (783a338) to 0.14.0 (e2be0c2) * Update certifi 2024.02.02 to 2024.06.02 * Update dateutil 2.8.2 (296d419) to 2.9.0.post0 (0353b78) * Update diskcache 5.6.3 (323787f) to 5.6.3 (ebfa37c) * Update feedparser 6.0.10 (9865dec) to 6.0.11 (efcb89b) * Update filelock 3.12.4 (c1163ae) to 3.14.0 (8556141) * Update idna library 3.4 (cab054c) to 3.7 (1d365e1) * Update imdbpie 5.6.4 (f695e87) to 5.6.5 (f8ed7a0) * Update package resource API 68.1.2 (1ef36f2) to 68.2.2 (8ad627d) * Update profilehooks module 1.12.1 (c3fc078) to 1.13.0.dev0 (99f8a31) * Update pytz 2023.3/2023c (488d3eb) to 2024.1/2024a (3680953) * Update Rarfile 4.1a1 (8a72967) to 4.2 (db1df33) * Update Requests library 2.31.0 (8812812) to 2.32.3 (0e322af) * Update Send2Trash 1.5.0 (66afce7) to 1.8.3 (91d0698) * Update Tornado Web Server 6.4 (b3f2a4b) to 6.4.1 (2a0e1d1) * Update unidecode module 1.3.6 (4141992) to 1.3.8 (dfe397d) * Update urllib3 2.0.7 (56f01e0) to 2.2.1 (54d6edf) * Change growl notifier location for Apprise update refactor * Change systemd remove py2 and add basic hardening options * Change alphabetically sort list at edit show/Exclude global ignore/require words * Add search on TVmaze, TMDb, or Trakt for other shows with the actor that is viewed on Person page ### 3.31.2 (2024-06-23 18:20:00 UTC) * Fix parsing show names that contain the word "parts" by making parser more restrictive ### 3.31.1 (2024-06-14 01:00:00 UTC) * Change allow Python 3.12.4 ### 3.31.0 (2024-06-05 08:00:00 UTC) * Update Apprise 1.3.0 (6458ab0) to 1.6.0 (0c0d5da) * Update attr 22.2.0 (683d056) to 23.1.0 (67e4ff2) * Update Beautiful Soup 4.12.2 to 4.12.2 (30c58a1) * Update dateutil 2.8.2 (28da62d) to 2.8.2 (296d419) * Update diskcache 5.6.1 (4d30686) to 5.6.3 (323787f) * Update hachoir 3.1.2 (f739b43) to 3.2.0 (38d759f) * Update Pytvmaze library 2.0.8 (81888a5) to 2.0.8 (b451391) * Update pytz 2022.7.1/2022g (d38ff47) to 2023.3/2023c (488d3eb) * Update Rarfile 4.1a1 (8a72967) to 4.1 (c9140d8) * Update soupsieve 2.4.1 (2e66beb) to 2.5.0 (dc71495) * Update thefuzz 0.19.0 (c2cd4f4) to 0.21.0 (0b49e4a) * Update Tornado Web Server 6.3.3 (e4d6984) to 6.4 (b3f2a4b) * Update urllib3 2.0.5 (d9f85a7) to 2.0.7 (56f01e0) * Add support for Brotli compression * Add ignore Plex extras * Fix apply filters to multiple episode releases * Add use multi episode result as fallback if it's better quality or has an episode that does not have a single ep result ### 3.30.20 (2024-05-25 09:35:00 UTC) * Fix FST provider exception raised when no title * Update UnRar x64 for Windows 7.00 to 7.01 * Change improve handling of invalid person id for get_person in Trakt indexer * Changes for py3.13 compatibility ### 3.30.19 (2024-05-17 23:40:00 UTC) * Fix exclude lxml versions 5.2.0 and 5.2.1 on non Windows because of CPU requirements creating core dump failure ### 3.30.18 (2024-04-24 23:55:00 UTC) * Change allow Python 3.12.3 ### 3.30.17 (2024-04-01 17:55:00 UTC) * Change restrict lxml to < 5.2.0 on non-windows OS's ### 3.30.16 (2024-03-24 20:30:00 UTC) * Fix external site links that used a deprecated config/general/advanced/"Anonymous redirect" * Change enable legacy double quote support for SQLite when using Python 3.12+ ### 3.30.15 (2024-03-20 01:55:00 UTC) * Change allow Python 3.10.14, 3.9.19, and 3.8.19 ### 3.30.14 (2024-03-16 23:20:00 UTC) * Update certifi 2023.07.22 to 2024.02.02 * Fix properly handle an error condition during process tv ### 3.30.13 (2024-03-03 23:30:00 UTC) * Fix Shows/"Next Episode Cards" change to Trending * Fix unnecessary conversion of datetime object into str and back ### 3.30.12 (2024-03-03 22:30:00 UTC) * Fix menu Shows/"Next Episode Cards" ### 3.30.11 (2024-02-29 01:20:00 UTC) * Update UnRar x64 for Windows 6.24 to 7.00 ### 3.30.10 (2024-02-13 11:00:00 UTC) * Change prevent git update issue ### 3.30.9 (2024-02-07 23:10:00 UTC) * Change allow Python 3.12.2 ### 3.30.8 (2024-02-01 23:30:00 UTC) * Change update fallback zoneinfo to 2024a * Change reduce mem used by cast/person credits with main show info from TVmaze * Fix mock data for CI tests ### 3.30.7 (2024-01-10 14:20:00 UTC) * Fix limit loaded cast (max 30) and crew (max 5) from TVmaze API ### 3.30.6 (2024-01-02 11:05:00 UTC) * Fix Shows IMDb cards to new layout at IMDb * Change update fallback zoneinfo to 2023d * Change add Python 3.12 to the unit tests @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @multimedia/sickgear: Patch out Python version check @ text @d9 1 a9 1 --- sickgear.py.orig 2024-03-16 00:55:38.864947900 +0000 d15 3 a17 3 -versions = [((3, 8, 2), (3, 8, 18)), - ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)), - ((3, 10, 0), (3, 12, 1))] # inclusive version ranges d20 1 a20 1 - print('Python %s.%s.%s detected.' % (major, minor, micro)) d22 1 a22 1 - lambda r: '%s - %s' % tuple(map(lambda v: str(v).replace(',', '.')[1:-1], r)), versions))) @ 1.2 log @Update multimedia/sickgear to 3.30.5 Since this is a jump from 0.x to 3.x, there are too many changes to list them here. @ text @d1 1 a1 1 $NetBSD: patch-sickgear.py,v 1.1 2021/07/25 18:02:50 js Exp $ d3 7 a9 1 --- sickgear.py.orig 2021-03-10 02:49:59.000000000 +0000 d11 1 a11 1 @@@@ -40,13 +40,6 @@@@ warnings.filterwarnings('ignore', module d15 3 a17 1 -versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 8)), ((3, 9, 0), (3, 9, 2))] # inclusive version ranges d19 2 a20 1 - print('Python %s.%s.%s detected.' % sys.version_info[:3]) d25 3 a27 3 try: try: py_cache_path = os.path.normpath(os.path.join(os.path.dirname(__file__), '__pycache__')) @ 1.1 log @multimedia/sickgear: Patch out Python version check While upstream quickly does a new release when a new Python is released, keeping up with this is annoying. @ text @d1 1 a1 1 $NetBSD$ @