diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
commit | f52562a45d967e193210737b55de5f0ff9018b76 (patch) | |
tree | 909caa133f3a538fde8ed9dfd9efa42a2c7a0507 /www-apps/prowlarr-bin | |
parent | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (diff) |
gentoo auto-resync : 24:03:2024 - 01:01:06
Diffstat (limited to 'www-apps/prowlarr-bin')
-rw-r--r-- | www-apps/prowlarr-bin/Manifest | 11 | ||||
-rw-r--r-- | www-apps/prowlarr-bin/files/prowlarr.init | 7 | ||||
-rw-r--r-- | www-apps/prowlarr-bin/files/prowlarr.logrotate | 4 | ||||
-rw-r--r-- | www-apps/prowlarr-bin/files/prowlarr.service | 30 | ||||
-rw-r--r-- | www-apps/prowlarr-bin/metadata.xml | 21 | ||||
-rw-r--r-- | www-apps/prowlarr-bin/prowlarr-bin-1.14.3.4333.ebuild | 77 |
6 files changed, 150 insertions, 0 deletions
diff --git a/www-apps/prowlarr-bin/Manifest b/www-apps/prowlarr-bin/Manifest new file mode 100644 index 000000000000..356e23539d4a --- /dev/null +++ b/www-apps/prowlarr-bin/Manifest @@ -0,0 +1,11 @@ +AUX prowlarr.init 139 BLAKE2B 5d2e870b142fd95c42459d5fbce0370a222c64385eb30d7642a1b9b42e76ba8ee3b6d4577e4fad1d6c27ac0018e966f8846fe3dd5451e67c2d42ed65e6ba551f SHA512 b32cadf3ee9ce142cb48c01cbc576dc8a56a03b55fe9e371cd4205a9c927001a988621827dad02618b1bd95cb44ace3fb90974340e8ce5d9f553c4be1ac8ba5e +AUX prowlarr.logrotate 88 BLAKE2B 3997169f347e1d3091eaafba2571825cc631b41833bc9989eb241ddc96f4a7c75796c82878b7d1417967e669dd412474f145844ac1fad02cd13b0739eb65c854 SHA512 738ffac857f7146960ed39d8ec5e40b0a0273ed2cb44cd8c3a440c1d34aa02b0af9e748df7eef746f17f8e45167f8462a8cefbab3aa4f819de89f797ac622af9 +AUX prowlarr.service 558 BLAKE2B 8bb379f30a93ce537016133627e54cf5d71b666f31db50c29659d0e44fc0df54374fce23cf1e2d20f59e19b9cfaab66253c79df718e86b402c0572ac781e1f58 SHA512 0cb3461a5160da1a617691040c7d6378e5d89f5809a12faa8cb182c8180bceb7a459d3d881cd3a96eee4928eac410533876b90c90d3d62dcde12ba2f0b9f328b +DIST Prowlarr.master.1.14.3.4333.linux-core-arm.tar.gz 87104562 BLAKE2B 7ca1d95b4a34280a5da867de935af6bb6bd22eb2f28af8c0f4ff8a4372717b40b0de72ba4d3cddf3de5da26c218db8d22bdd12fbd88848cef6761382f9729e7d SHA512 8bca2a702f0048f2ec8a62ec3761180e390ec7c0ca9be5261505ff2c11a1c298bdac73c5d38ad64d66d052144c5c34d70be4960f35fca94dacbebfee6832c2a1 +DIST Prowlarr.master.1.14.3.4333.linux-core-arm64.tar.gz 86391731 BLAKE2B 6ee3779c434af683a349b31246c57c6bcc8de872f989e661048f70e0932d09e23f63a3f1f0bfa89d924112392a6dd3fcb28d287e8a2c017357ba3acc59754ad9 SHA512 857c98288d63e577fdb5a50d7aa8e2b81af8f14de692f32d7f328c1c73aaf8448240f4549dfcf656c25f24f49deafa7bc243855bcbb3cd3f43e78c2798a12128 +DIST Prowlarr.master.1.14.3.4333.linux-core-x64.tar.gz 91394597 BLAKE2B 3cfc7d6bbbba3652dd8fd4424c2e68bb11e64e1a425cbcf5f8d80cea8c90cb651b4cd6d48931fe65523bce7ddf98363ef66815d8f860a608ba95915d881c02ce SHA512 b49325d24d2000044072777716df383630282ac88eaf5e70338be612e8af0b1675375cc0b2d912e3fe5f1faa32e7249e90c73ce570a03a05a1c677572927556a +DIST Prowlarr.master.1.14.3.4333.linux-musl-core-arm.tar.gz 87172398 BLAKE2B 750d3bb0f3b3de0bbf124fdefe7ffd3b53290fc2002d4fc48760f6fe3710514d01e5ded6941b082c3b0b884ea788e0b9a010c84fd1f377667cc7ab75c021e302 SHA512 e41b83e2b3f080d2e104a966f097b73ec10022bf90ea4e85fbf8c91a8a5a21814dc8369fc4fe0567efe7a5fd617d5598473d52b31001e42630033035c306f500 +DIST Prowlarr.master.1.14.3.4333.linux-musl-core-arm64.tar.gz 86447873 BLAKE2B df5a0088f6b585a8c30df7dc29cc50fb08228c6d3eefba3009290dfe11e972bc127c1ef1bdbcc542c87dbe76425052fdf1fe5cfd879664645b48d3f31437a4f6 SHA512 708f075fd736c8f7ddefca2d50f109aeed9f9459ec1e983c88ff6bc6cc7591a3e170eccab436c0fb1d3716585a04c0e81db9c4c5dc077adb5ee0840f3b44221e +DIST Prowlarr.master.1.14.3.4333.linux-musl-core-x64.tar.gz 90471128 BLAKE2B 8e196326957b87c3ece9f183ebd2499f958655505f445d327813cc686be462033d8515584286cd35e20ad06eab2baa390ffed462abd14136bd7048b092f4e062 SHA512 90dc63f86ae87c540bf5cfba05e6e9ef9d460910a37bc7885bc91420493a1a1b21613fe594925269f012fac18dda3c8644d09a3395558bb775d5e38a81882b90 +EBUILD prowlarr-bin-1.14.3.4333.ebuild 1992 BLAKE2B 7655358506bbb13c33ea74648138f26d3b3088aee9d5f1a729bf5049fba07d8e1f87f23890380eaf33d1a9c16a9e49f94ddc068190f28146771793d52e791527 SHA512 5bb7abda9ea5cd03ef2494c14966318f0420c0b501dd6fe1ca7c88c7a32d57df5c5a702cb78d88d90ef0a8ee0374a33e78ffbffc3f6b48af122e0b81ac8249fe +MISC metadata.xml 707 BLAKE2B e235e7acd37580d513d82833ec45707d5a2074c77b31aaea4bb79ccebbe378938ca6eb88d2c2afe351f16afc29192b359558130edf249a9089f5bc9008969c56 SHA512 1531f1097c7c7b375a210caa2202dd4d3ca2c611d6c28bb357e0eeb6a1fdd9efcea157c12fe07a633e64475a590edc389a34e0cca1ca8e7e438f47c4793b260a diff --git a/www-apps/prowlarr-bin/files/prowlarr.init b/www-apps/prowlarr-bin/files/prowlarr.init new file mode 100644 index 000000000000..831a4425a80a --- /dev/null +++ b/www-apps/prowlarr-bin/files/prowlarr.init @@ -0,0 +1,7 @@ +#!/sbin/openrc-run + +pidfile="/run/prowlarr.pid" +command="/opt/prowlarr/Prowlarr" +command_user="prowlarr:prowlarr" +command_background=true + diff --git a/www-apps/prowlarr-bin/files/prowlarr.logrotate b/www-apps/prowlarr-bin/files/prowlarr.logrotate new file mode 100644 index 000000000000..32f121fb6378 --- /dev/null +++ b/www-apps/prowlarr-bin/files/prowlarr.logrotate @@ -0,0 +1,4 @@ +/var/lib/prowlarr/.config/Prowlarr/logs/*.txt{ + missingok + su prowlarr prowlarr +} diff --git a/www-apps/prowlarr-bin/files/prowlarr.service b/www-apps/prowlarr-bin/files/prowlarr.service new file mode 100644 index 000000000000..7fe9097bf338 --- /dev/null +++ b/www-apps/prowlarr-bin/files/prowlarr.service @@ -0,0 +1,30 @@ +[Unit] +Description=An indexer manager/proxy to integrate with your various PVR apps. +After=syslog.target network.target + +[Service] +User=prowlarr +Group=prowlarr + +Type=simple +ExecStart=/opt/prowlarr/Prowlarr +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/prowlarr-bin/metadata.xml b/www-apps/prowlarr-bin/metadata.xml new file mode 100644 index 000000000000..590d0e5c4cf8 --- /dev/null +++ b/www-apps/prowlarr-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" proxied="yes"> + <email>mcrawford@eliteitminds.com</email> + <name>Mike 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">Prowlarr/Prowlarr</remote-id> + <bugs-to>https://github.com/Prowlarr/Prowlarr/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/www-apps/prowlarr-bin/prowlarr-bin-1.14.3.4333.ebuild b/www-apps/prowlarr-bin/prowlarr-bin-1.14.3.4333.ebuild new file mode 100644 index 000000000000..2c9c3707ba6b --- /dev/null +++ b/www-apps/prowlarr-bin/prowlarr-bin-1.14.3.4333.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="An indexer manager/proxy to integrate with your various PVR apps" +HOMEPAGE="https://wiki.servarr.com/prowlarr/ + https://github.com/Prowlarr/Prowlarr/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/Prowlarr" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/prowlarr + acct-user/prowlarr + 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 Prowlarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/prowlarr.init" prowlarr + + keepdir /var/lib/prowlarr + fowners -R prowlarr:prowlarr /var/lib/prowlarr + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/prowlarr.logrotate" prowlarr + + dodir "/opt/prowlarr" + cp -R "${S}/." "${D}/opt/prowlarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/prowlarr.service" + systemd_newunit "${FILESDIR}/prowlarr.service" "prowlarr@.service" +} |