From 379a07b9b85291d143c8226a244c42267d203770 Mon Sep 17 00:00:00 2001 From: Michiel van Baak Jansen Date: Fri, 29 Sep 2023 17:20:05 +0200 Subject: net-p2p/sonarr-devel: add new port Main updates to sonarr: * Switched from mono to .NET * Release profiles have been deleted in favour of Custom Formats * Authentication is now mandatory to prevent open instances on the internet that leak access to indexers * dark theme included by default Changes: https://wiki.servarr.com/sonarr/faq-v4 PR: 273898 --- MOVED | 1 - net-p2p/Makefile | 1 + net-p2p/sonarr-devel/Makefile | 58 ++++ net-p2p/sonarr-devel/distinfo | 3 + net-p2p/sonarr-devel/files/package_info.in | 5 + net-p2p/sonarr-devel/files/pkg-message.in | 33 ++ net-p2p/sonarr-devel/files/sonarr.in | 54 +++ net-p2p/sonarr-devel/pkg-descr | 1 + net-p2p/sonarr-devel/pkg-plist | 519 +++++++++++++++++++++++++++++ net-p2p/sonarr/Makefile | 4 +- 10 files changed, 677 insertions(+), 2 deletions(-) create mode 100644 net-p2p/sonarr-devel/Makefile create mode 100644 net-p2p/sonarr-devel/distinfo create mode 100644 net-p2p/sonarr-devel/files/package_info.in create mode 100644 net-p2p/sonarr-devel/files/pkg-message.in create mode 100644 net-p2p/sonarr-devel/files/sonarr.in create mode 100644 net-p2p/sonarr-devel/pkg-descr create mode 100644 net-p2p/sonarr-devel/pkg-plist diff --git a/MOVED b/MOVED index 470098517ba2..b463a3a62ba0 100644 --- a/MOVED +++ b/MOVED @@ -5681,7 +5681,6 @@ biology/py-fastTSNE|math/py-openTSNE|2021-03-13|project renamed/reimplemented un misc/py-XlsxWriter|textproc/py-xlsxwriter|2021-03-13|Remove duplicate emulators/open-vm-tools-nox11|emulators/open-vm-tools@nox11|2021-03-17|Moved to a flavored, generic, version math/s2geometry|graphics/s2|2021-03-22|Remove duplicate port -net-p2p/sonarr-devel|net-p2p/sonarr|2021-03-23|Removed, use net-p2p/sonarr instead www/py-django-jsonfield||2021-03-24|Removed: This port will be deleted in the future, please switch to use www/py-jsonfield or www/py-jsonfield2 devel/hs-c2hs||2021-03-27|Has expired: Was used as BUILD_DEPENDS, not useful on its own x11-toolkits/tile||2021-03-27|Has expired: The Tile widget set is part of Tk 8.5 and above, see TIP 248 diff --git a/net-p2p/Makefile b/net-p2p/Makefile index d76c8be07b14..4c82e290ccca 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -93,6 +93,7 @@ SUBDIR += rtorrent SUBDIR += shx SUBDIR += sonarr + SUBDIR += sonarr-devel SUBDIR += tooth SUBDIR += torrent-file-editor SUBDIR += torrentcheck diff --git a/net-p2p/sonarr-devel/Makefile b/net-p2p/sonarr-devel/Makefile new file mode 100644 index 000000000000..a2d2716c9f4d --- /dev/null +++ b/net-p2p/sonarr-devel/Makefile @@ -0,0 +1,58 @@ +PORTNAME= sonarr +DISTVERSION= 4.0.0.682 +CATEGORIES= net-p2p +MASTER_SITES= https://download.sonarr.tv/v4/develop/${PORTVERSION}/ +PKGNAMESUFFIX= -devel +DISTNAME= Sonarr.develop.${DISTVERSION}.freebsd-x64 + +MAINTAINER= michiel@vanbaak.eu +COMMENT= PVR for Usenet and BitTorrent users +WWW= https://sonarr.tv + +LICENSE= GPLv3 + +ONLY_FOR_ARCHS= amd64 + +RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \ + icu>0:devel/icu \ + krb5>0:security/krb5 \ + libiconv>0:converters/libiconv \ + libinotify>0:devel/libinotify \ + libunwind>0:devel/libunwind + +USES= ssl:run sqlite:3 + +USE_RC_SUBR= sonarr + +CONFLICTS_INSTALL= sonarr + +NO_BUILD= YES + +SUB_FILES= sonarr package_info pkg-message +SUB_LIST= DATADIR=${DATADIR} \ + GROUPS=${GROUPS} \ + MAINTAINER=${MAINTAINER} \ + PKGVERSION=${PKGVERSION} \ + PORTNAME=${PORTNAME} \ + USERS=${USERS} + +WRKSRC= ${WRKDIR}/Sonarr + +USERS= sonarr +GROUPS= sonarr + +.include + +post-extract: + ${RM} -rf ${WRKSRC}/Sonarr.Update + +do-install: + ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}/bin/ + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/bin/ "! -name Sonarr -and ! -name ffprobe" + ${INSTALL_PROGRAM} ${WRKSRC}/Sonarr ${STAGEDIR}/${DATADIR}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}/${DATADIR}/bin/ + +post-install: + ${INSTALL_DATA} ${WRKDIR}/package_info ${STAGEDIR}/${DATADIR}/ + +.include diff --git a/net-p2p/sonarr-devel/distinfo b/net-p2p/sonarr-devel/distinfo new file mode 100644 index 000000000000..f21a819ee5e5 --- /dev/null +++ b/net-p2p/sonarr-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695559560 +SHA256 (Sonarr.develop.4.0.0.682.freebsd-x64.tar.gz) = b018f52e76f90e77bced639ef1e2f6ca4a62d9199e6a4735e0a7485a3036e0a0 +SIZE (Sonarr.develop.4.0.0.682.freebsd-x64.tar.gz) = 57728821 diff --git a/net-p2p/sonarr-devel/files/package_info.in b/net-p2p/sonarr-devel/files/package_info.in new file mode 100644 index 000000000000..f8602956c97a --- /dev/null +++ b/net-p2p/sonarr-devel/files/package_info.in @@ -0,0 +1,5 @@ +PackageVersion=%%PKGVERSION%% +PackageAuthor=%%MAINTAINER%% +UpdateMethod=External +UpdateMethodMessage=use 'pkg upgrade' or [create a PR](https://bugs.freebsd.org/bugzilla/enter_bug.cgi?component=Individual%20Port%28s%29&product=Ports%20%26%20Packages) requesting an update of the port +Branch=develop diff --git a/net-p2p/sonarr-devel/files/pkg-message.in b/net-p2p/sonarr-devel/files/pkg-message.in new file mode 100644 index 000000000000..0f27aef1d91a --- /dev/null +++ b/net-p2p/sonarr-devel/files/pkg-message.in @@ -0,0 +1,33 @@ +[ +{ type: install + message: <0:multimedia/mediainfo \ USES= sqlite:3 USE_RC_SUBR= sonarr +CONFLICTS_INSTALL= sonarr-devel + NO_ARCH= YES NO_BUILD= YES -- cgit v1.2.3