Skip to content

Commit

Permalink
net-p2p/sonarr-devel: Select correct openssl runtime version
Browse files Browse the repository at this point in the history
Removes dependency on the openssl111 port/package

PR:		275694
Reported by:	michiel@vanbaak.eu (maintainer)
  • Loading branch information
mvanbaak authored and fernape committed Dec 13, 2023
1 parent 051e52a commit 5fadc72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net-p2p/sonarr-devel/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= sonarr
DISTVERSION= 4.0.0.733
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= https://download.sonarr.tv/v4/develop/${PORTVERSION}/
PKGNAMESUFFIX= -devel
Expand All @@ -18,10 +19,9 @@ RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
krb5>0:security/krb5 \
libiconv>0:converters/libiconv \
libinotify>0:devel/libinotify \
libunwind>0:devel/libunwind \
openssl111>0:security/openssl111
libunwind>0:devel/libunwind

USES= sqlite:3
USES= sqlite:3 ssl:run
USE_RC_SUBR= sonarr

CONFLICTS_INSTALL= sonarr
Expand Down
4 changes: 4 additions & 0 deletions net-p2p/sonarr-devel/files/sonarr.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ start_precmd=${name}_precmd
export DOTNET_SYSTEM_NET_DISABLEIPV6=1
fi

if [ `uname -K` -ge 1400092 ]; then
export CLR_OPENSSL_VERSION_OVERRIDE=30
fi

rc_flags="-r -f -p ${pidfile_child} -P ${pidfile} ${%%PORTNAME%%_exec_dir}/Sonarr --data=${%%PORTNAME%%_data_dir} --nobrowser >> /dev/null 2>&1 ${rc_flags}"
}

Expand Down

0 comments on commit 5fadc72

Please sign in to comment.