Bug 275473 - net-p2p/sonarr-devel: Update to 4.0.0.733
Summary: net-p2p/sonarr-devel: Update to 4.0.0.733
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 17:06 UTC by Michiel van Baak Jansen
Modified: 2023-12-09 17:17 UTC (History)
3 users (show)

See Also:


Attachments
0001-net-p2p-sonarr-devel-Update-to-4.0.0.733.patch (3.24 KB, patch)
2023-12-01 17:06 UTC, Michiel van Baak Jansen
michiel: maintainer-approval+
Details | Diff
Add env variable to rc-script, remove openssl111 dep and bump PORTREVISION (1.71 KB, patch)
2023-12-09 13:45 UTC, Ralf van der Enden
tremere: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel van Baak Jansen 2023-12-01 17:06:54 UTC
Created attachment 246713 [details]
0001-net-p2p-sonarr-devel-Update-to-4.0.0.733.patch

Updated to 4.0.0.733
While at it, depend on openssl111 as sonarr will not start with openssl 3

poudriere ok
runs in production on my setup (14.0 amd64)

Changes (pasted from in-app list here as sonarr has no changelog or public link with changes):

New
Remove Defunct Boxcar notifications
Add more exception release groups
Confirmation before clearing blocklist
Require password confirmation when setting or changing password
Custom import scripts can communicate information back
Added option to only monitor recent episodes
Option to control whether new seasons get monitored automatically
Additional options for HDBits
Support import list lookup by TMDb ID
Don't retest connections, indexers, download clients, etc if re-saved with the exact same settings

Fixed
Saving indexer, download client, etc settings
Autotagging Genres are case insensitive
Plex RSS TMDb ID Lookup
Disable SSL when migrating from v3
Blocklisting torrents from indexers that do not provide torrent hash
Last Season always monitors the whole season
Logging length of sample file
Custom Format Deletion confirmation message
Enforce validation warnings when testing providers
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-08 18:14:29 UTC
A commit in branch main references this bug:

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

commit c2be11e6e33943d05fb10d4679e5c3f61ad8e178
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2023-12-08 18:11:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-08 18:13:50 +0000

    net-p2p/sonarr-devel: Update version 4.0.0.720=>4.0.0.733

    New:
    - Remove Defunct Boxcar notifications
    - Add more exception release groups
    - Confirmation before clearing blocklist
    - Require password confirmation when setting or changing password
    - Custom import scripts can communicate information back
    - Added option to only monitor recent episodes
    - Option to control whether new seasons get monitored automatically
    - Additional options for HDBits
    - Support import list lookup by TMDb ID
    - Don't retest connections, indexers, download clients, etc if re-saved
      with the exact same settings

    Fixed
    - Saving indexer, download client, etc settings
    - Autotagging Genres are case insensitive
    - Plex RSS TMDb ID Lookup
    - Disable SSL when migrating from v3
    - Blocklisting torrents from indexers that do not provide torrent hash
    - Last Season always monitors the whole season
    - Logging length of sample file
    - Custom Format Deletion confirmation message
    - Enforce validation warnings when testing providers

    PR:             275473
    Approved by:    submitter is maintainer

 net-p2p/sonarr-devel/Makefile  |  8 ++++----
 net-p2p/sonarr-devel/distinfo  |  6 +++---
 net-p2p/sonarr-devel/pkg-plist | 12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2023-12-09 12:40:35 UTC
As this is only required for < 14 versions, please make the dependency for

__FreeBSD_version < 1400092 

See https://docs.freebsd.org/en/books/porters-handbook/book/#versions-14
Comment 3 Ralf van der Enden 2023-12-09 13:45:58 UTC
Created attachment 246929 [details]
Add env variable to rc-script, remove openssl111 dep and bump PORTREVISION

Hi,

I have a more elegant solution (I think):

This is the output of "ldd `which openssl`":
        libssl.so.30 => /usr/lib/libssl.so.30 (0x3a0275007000)
        libcrypto.so.30 => /lib/libcrypto.so.30 (0x3a0275ea2000)

You can set the SO_VER of the openssl libraries to use with an environment variable (CLR_OPENSSL_VERSION_OVERRIDE=30). That way Sonarr starts normally.

I've added it to the RC script starting from internal kernel version 1400092 (OpenSSL 3.0.9 was imported in that one), so it should also work on FreeBSD versions prior to that release.

This way you don't need the openssl111 dep and to remove it again I bumped the PORTREVISION
Comment 4 Michiel van Baak Jansen 2023-12-09 17:17:47 UTC
(In reply to Ralf van der Enden from comment #3)
Awesome, I will add this to all them ports.