summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/radarr-bin')
-rw-r--r--www-apps/radarr-bin/Manifest6
-rw-r--r--www-apps/radarr-bin/files/radarr.init7
-rw-r--r--www-apps/radarr-bin/files/radarr.logrotate4
-rw-r--r--www-apps/radarr-bin/files/radarr.service30
-rw-r--r--www-apps/radarr-bin/metadata.xml21
-rw-r--r--www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild78
6 files changed, 146 insertions, 0 deletions
diff --git a/www-apps/radarr-bin/Manifest b/www-apps/radarr-bin/Manifest
new file mode 100644
index 000000000000..7ecbdf0d856d
--- /dev/null
+++ b/www-apps/radarr-bin/Manifest
@@ -0,0 +1,6 @@
+DIST Radarr.develop.5.4.3.8677.linux-core-arm.tar.gz 95005925 BLAKE2B 230ef9f434a7680e26c99255265b39c8846cc8f5cbc3ff31fbef999dc9fe646bdb25cc8ef78186b7cec11b0622d1f2da7189eabf9bb95c6d6f184ebcd2fb5178 SHA512 d897f0281bb4dd76539a9c2549b78a2377176a8c6efb1d8bcdb01c81a87f91c759ce6e45d582b93341f0eba0a0a5431bf3a2c9186e7d702c4a63a94c6f01d636
+DIST Radarr.develop.5.4.3.8677.linux-core-arm64.tar.gz 94654344 BLAKE2B a7ecb80f1286ed61f15682c7df85371889eb1c1569ab6327f390423afd68c63c9b4381c0232bdfca747b09990c493f1c8bce0a836254194b601b7045d675890c SHA512 dbf0a2c47d3e506736f5ea17779b49d1c29dd7cc9b0b90cdcf2cee19d9315407ce0e47159b4812f0dfcfec6629aac5e2b6ea38349e677120fb8f2581ae19cbeb
+DIST Radarr.develop.5.4.3.8677.linux-core-x64.tar.gz 100672362 BLAKE2B d35ff508485ef4b7f20c43657865fdc5ae90196a95c02f0fcbb8b193c6000a082f4693cbdff8b1832d5d43a9b4b1d084f5ad874fc8f940da97ad4a6a8d4ec797 SHA512 e5c7b91a396067f89f338dc7ebe8c83e7a7b92be3ce4324ffa9b509c6e6195688cf1b0541dad9cd5995af138ce07788cb569083dc3a0e494913d9b60bd267057
+DIST Radarr.develop.5.4.3.8677.linux-musl-core-arm.tar.gz 95051172 BLAKE2B 20834724fe9faf853c8a25e0cc270371300d174db7b5475907724f311fcefdf6c995d16710b303799da655f468153ea17642a1d99bb7ccffe483931a8e824669 SHA512 00fc593caaf0f7667dd003e4cd770d9c5faa64372ca3919cf83fa5b31aba025311161b7fca31423b7262f3a6f27022a1d6440ce7e35b0866b883cffdf4e982a6
+DIST Radarr.develop.5.4.3.8677.linux-musl-core-arm64.tar.gz 94691418 BLAKE2B 20ccb6351d647b4af04870845d7170c4298ca36c7e7aa550aee884fe69178dd4d5c2199a82713de0b2ab52515dd91f88c2f13f3f8318788224e10ee7139d60cf SHA512 58c7ac11ab77a2dfe95b76022a2617f9baa446c066882f2dc5bd14ced8f0e3cf75aba7d4bd3cc85cab88c926d9d616e081cd8ca0d1acf355b496743966a23cd2
+DIST Radarr.develop.5.4.3.8677.linux-musl-core-x64.tar.gz 99725689 BLAKE2B ed8387806a9955f19d43aaa0183ec3d845d525f3d834252b630a0da126efe99cca76bfe521fc0e2c103843c94d22600bfba117e3b1bc42c4cf9b7dd14cb0b109 SHA512 798943fa8263cf38b8780d18246b37cf2af7ba6d1423b5f3448863684da3487aa5228fe27eff7b9612966b712e4f61ada983ee4c8b57cdfbb924a102ab8796a1
diff --git a/www-apps/radarr-bin/files/radarr.init b/www-apps/radarr-bin/files/radarr.init
new file mode 100644
index 000000000000..8abff709a970
--- /dev/null
+++ b/www-apps/radarr-bin/files/radarr.init
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+
+pidfile="/run/radarr.pid"
+command="/opt/radarr/Radarr"
+command_user="radarr:radarr"
+command_background=true
+
diff --git a/www-apps/radarr-bin/files/radarr.logrotate b/www-apps/radarr-bin/files/radarr.logrotate
new file mode 100644
index 000000000000..166b80807334
--- /dev/null
+++ b/www-apps/radarr-bin/files/radarr.logrotate
@@ -0,0 +1,4 @@
+/var/lib/radarr/.config/Radarr/logs/*.txt{
+ missingok
+ su radarr radarr
+}
diff --git a/www-apps/radarr-bin/files/radarr.service b/www-apps/radarr-bin/files/radarr.service
new file mode 100644
index 000000000000..daff14f543b1
--- /dev/null
+++ b/www-apps/radarr-bin/files/radarr.service
@@ -0,0 +1,30 @@
+[Unit]
+Description=A fork of Sonarr to work with movies à la Couchpotato.
+After=syslog.target network.target
+
+[Service]
+User=radarr
+Group=radarr
+
+Type=simple
+ExecStart=/opt/radarr/Radarr
+TimeoutStopSec=20
+KillMode=process
+Restart=always
+
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateMounts=yes
+ProtectHome=yes
+ProtectSystem=full
+NoNewPrivileges=yes
+ProtectHostname=yes
+ProtectClock=yes
+ProtectKernelTunables=yes
+ProtectKernelModules=yes
+ProtectKernelLogs=yes
+ProtectControlGroups=yes
+RestrictRealtime=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/www-apps/radarr-bin/metadata.xml b/www-apps/radarr-bin/metadata.xml
new file mode 100644
index 000000000000..49ea8bc60df5
--- /dev/null
+++ b/www-apps/radarr-bin/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mcrawford@eliteitminds.com</email>
+ <name>Michael Crawford</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>candrews@gentoo.org</email>
+ <name>Craig Andrews</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Radarr/Radarr</remote-id>
+ <bugs-to>https://github.com/Radarr/Radarr/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild b/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild
new file mode 100644
index 000000000000..c3c1e324bf75
--- /dev/null
+++ b/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="A fork of Sonarr to work with movies a la Couchpotato"
+HOMEPAGE="https://www.radarr.video/
+ https://github.com/Radarr/Radarr/"
+
+SRC_URI="
+ amd64? (
+ elibc_glibc? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-x64.tar.gz
+ )
+ elibc_musl? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-x64.tar.gz
+ )
+ )
+ arm? (
+ elibc_glibc? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-arm.tar.gz
+ )
+ elibc_musl? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-arm.tar.gz
+ )
+ )
+ arm64? (
+ elibc_glibc? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-arm64.tar.gz
+ )
+ elibc_musl? (
+ https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-arm64.tar.gz
+ )
+ )
+"
+S="${WORKDIR}/Radarr"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist strip test"
+
+RDEPEND="
+ acct-group/radarr
+ acct-user/radarr
+ media-video/mediainfo
+ dev-libs/icu
+ dev-util/lttng-ust:0
+ dev-db/sqlite
+"
+
+QA_PREBUILT="*"
+
+src_prepare() {
+ default
+
+ # https://github.com/dotnet/runtime/issues/57784
+ rm libcoreclrtraceptprovider.so Radarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ newinitd "${FILESDIR}/jellyfin.init" jellyfin
+
+ keepdir /var/lib/jellyfin
+ fowners -R jellyfin:jellyfin /var/lib/jellyfin
+
+ insinto /etc/logrotate.d
+ insopts -m0644 -o root -g root
+ newins "${FILESDIR}/jellyfin.logrotate" jellyfin
+
+ dodir "/opt/jellyfin"
+ cp -R "${S}/." "${D}/opt/radarr" || die "Install failed!"
+
+ systemd_dounit "${FILESDIR}/radarr.service"
+ systemd_newunit "${FILESDIR}/radarr.service" "jellyfin@.service"
+}