git: 267a2e97ec12 - main - net-p2p/sonarr: Update to 4.0.6.1805

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 07:00:55 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=267a2e97ec1209a94980c77d40dc137484e7c004

commit 267a2e97ec1209a94980c77d40dc137484e7c004
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2024-07-07 17:13:16 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-07-09 07:00:44 +0000

    net-p2p/sonarr: Update to 4.0.6.1805
    
    ChangeLog: https://github.com/Sonarr/Sonarr/releases/tag/v4.0.6.1805
    
    Changes
    
     * Translations update from Servarr Weblate
     * Fix SDR Files Being Parsed As HLG
     * New: Genres and Images for Webhooks and Notifiarr
     * Fixed: Include full series title in episode search
     * Fixed: Manual Interaction Required with possible null series
     * Translations update from Servarr Weblate
     * New: Refresh cache for tracked queue on series add
     * Fixed: Ignore case for name validation in providers
     * Fixed: Skip invalid series paths during validation
     * Fixed: Improve error messaging if config file isn't formatted correctly
     * Ignore Grabbed from API docs
     * New: Add TMDB id support
     * Fixed: Adding series with unknown items in queue
     * Fixed: Importing from IMDb list
     * New: Ignore inaccessible folders with getting folders
     * New: Display stats for delete multiple series modal
     * Translations update from Servarr Weblate
     * New: Parse anime seasons with trailing number in title
     * New: Improve UI status when downloads cannot be imported automatically
     * Fixed: Exclude invalid releases from Newznab and Torznab parsers
     * New: Ability to select Plex Media Server from plex.tv
     * New: Ignore Deluge torrents without a title
     * Fixed: Prevent errors parsing releases in unexpected formats
     * Fixed: Reprocessing items that were previously blocked during importing
     * Fixed: Limit Queue maximum page size to 200
     * Fixed: Don't use cleaned up release title for release title
     * Remove seriesTitle from EpisodeResource
     * Fixed: Use only trackable downloads in queue
     * Disable trim log database housekeeping task
     * Translations update from Servarr Weblate
     * Bump version to 4.0.6
    
    PR:             280083
    Reported by:    benoit@guillemaud.fr
---
 net-p2p/sonarr/Makefile        |  2 +-
 net-p2p/sonarr/distinfo        |  6 +++---
 net-p2p/sonarr/files/sonarr.in |  3 +++
 net-p2p/sonarr/pkg-plist       | 13 +++++++------
 4 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile
index e04c1f68f542..d588e34098c7 100644
--- a/net-p2p/sonarr/Makefile
+++ b/net-p2p/sonarr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sonarr
-DISTVERSION=	4.0.5.1710
+DISTVERSION=	4.0.6.1805
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/Sonarr/Sonarr/releases/download/v${PORTVERSION}/
 DISTNAME=	Sonarr.main.${DISTVERSION}.freebsd-x64
diff --git a/net-p2p/sonarr/distinfo b/net-p2p/sonarr/distinfo
index 08f6fd3a8caf..1a1519f528ab 100644
--- a/net-p2p/sonarr/distinfo
+++ b/net-p2p/sonarr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717236415
-SHA256 (Sonarr.main.4.0.5.1710.freebsd-x64.tar.gz) = e33a2fa14551c014743f06e139e6a1580e97711804cff7a9f565931495dd3128
-SIZE (Sonarr.main.4.0.5.1710.freebsd-x64.tar.gz) = 59752274
+TIMESTAMP = 1719911882
+SHA256 (Sonarr.main.4.0.6.1805.freebsd-x64.tar.gz) = 895546c19e22df97124c2b0bce75060d6673896ad74e9766ade0849af38b9958
+SIZE (Sonarr.main.4.0.6.1805.freebsd-x64.tar.gz) = 59792477
diff --git a/net-p2p/sonarr/files/sonarr.in b/net-p2p/sonarr/files/sonarr.in
index 7d43d8e22f95..fda57d341bf2 100644
--- a/net-p2p/sonarr/files/sonarr.in
+++ b/net-p2p/sonarr/files/sonarr.in
@@ -52,6 +52,9 @@ start_precmd=${name}_precmd
         export CLR_OPENSSL_VERSION_OVERRIDE=30
     fi
 
+    # Set path so pre and post import scripts work with 3rd party binaries
+    export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
+
     rc_flags="-r -f -p ${pidfile_child} -P ${pidfile} ${%%PORTNAME%%_exec_dir}/Sonarr --data=${%%PORTNAME%%_data_dir} --nobrowser >> /dev/null 2>&1 ${rc_flags}"
 }
 
diff --git a/net-p2p/sonarr/pkg-plist b/net-p2p/sonarr/pkg-plist
index ceff7b57d730..1634ef148811 100644
--- a/net-p2p/sonarr/pkg-plist
+++ b/net-p2p/sonarr/pkg-plist
@@ -281,6 +281,7 @@
 %%DATADIR%%/bin/Sonarr.pdb
 %%DATADIR%%/bin/Sonarr.runtimeconfig.json
 %%DATADIR%%/bin/Sonarr.xml
+%%DATADIR%%/bin/Swashbuckle.AspNetCore.Annotations.dll
 %%DATADIR%%/bin/Swashbuckle.AspNetCore.Swagger.dll
 %%DATADIR%%/bin/Swashbuckle.AspNetCore.SwaggerGen.dll
 %%DATADIR%%/bin/System.AppContext.dll
@@ -454,13 +455,13 @@
 %%DATADIR%%/bin/System.Xml.XmlSerializer.dll
 %%DATADIR%%/bin/System.Xml.dll
 %%DATADIR%%/bin/System.dll
+%%DATADIR%%/bin/UI/165-741ea435a5bfcafa2a8d.js
+%%DATADIR%%/bin/UI/165-741ea435a5bfcafa2a8d.js.map
 %%DATADIR%%/bin/UI/767-b358f3ba5f72b363e80a.js
 %%DATADIR%%/bin/UI/767-b358f3ba5f72b363e80a.js.LICENSE.txt
 %%DATADIR%%/bin/UI/767-b358f3ba5f72b363e80a.js.map
-%%DATADIR%%/bin/UI/965-8247822d1e180a9bc6d4.js
-%%DATADIR%%/bin/UI/965-8247822d1e180a9bc6d4.js.map
-%%DATADIR%%/bin/UI/Content/965-a175a15e417d6c2abf63.css
-%%DATADIR%%/bin/UI/Content/965-a175a15e417d6c2abf63.css.map
+%%DATADIR%%/bin/UI/Content/165-1ae205f1cf0b0d1cc9e7.css
+%%DATADIR%%/bin/UI/Content/165-1ae205f1cf0b0d1cc9e7.css.map
 %%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.ttf
 %%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.woff
 %%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.woff2
@@ -496,8 +497,8 @@
 %%DATADIR%%/bin/UI/Content/robots.txt
 %%DATADIR%%/bin/UI/Content/styles.css
 %%DATADIR%%/bin/UI/Content/styles.css.map
-%%DATADIR%%/bin/UI/index-4424f130a627b1fdcc4d.js
-%%DATADIR%%/bin/UI/index-4424f130a627b1fdcc4d.js.map
+%%DATADIR%%/bin/UI/index-5556f0e55db8a42bcc98.js
+%%DATADIR%%/bin/UI/index-5556f0e55db8a42bcc98.js.map
 %%DATADIR%%/bin/UI/index.html
 %%DATADIR%%/bin/UI/login.html
 %%DATADIR%%/bin/UI/oauth.html