diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-11 01:28:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-11 01:28:44 +0100 |
commit | b46b9834b3fbf80b22ccc12e95f660512cd0fa75 (patch) | |
tree | f7eb18ccc89e078e2f175e5249fe0d4dfdb5b104 /www-apps/prowlarr | |
parent | 62f7102650b24618880e8e6f08fcb8fbd235025b (diff) |
gentoo auto-resync : 11:07:2022 - 01:28:44
Diffstat (limited to 'www-apps/prowlarr')
-rw-r--r-- | www-apps/prowlarr/Manifest | 8 | ||||
-rw-r--r-- | www-apps/prowlarr/files/prowlarr.init | 7 | ||||
-rw-r--r-- | www-apps/prowlarr/files/prowlarr.logrotate | 4 | ||||
-rw-r--r-- | www-apps/prowlarr/files/prowlarr.service | 30 | ||||
-rw-r--r-- | www-apps/prowlarr/metadata.xml | 21 | ||||
-rw-r--r-- | www-apps/prowlarr/prowlarr-0.4.2.1879.ebuild | 46 |
6 files changed, 116 insertions, 0 deletions
diff --git a/www-apps/prowlarr/Manifest b/www-apps/prowlarr/Manifest new file mode 100644 index 000000000000..5f431191c812 --- /dev/null +++ b/www-apps/prowlarr/Manifest @@ -0,0 +1,8 @@ +AUX prowlarr.init 139 BLAKE2B 5d2e870b142fd95c42459d5fbce0370a222c64385eb30d7642a1b9b42e76ba8ee3b6d4577e4fad1d6c27ac0018e966f8846fe3dd5451e67c2d42ed65e6ba551f SHA512 b32cadf3ee9ce142cb48c01cbc576dc8a56a03b55fe9e371cd4205a9c927001a988621827dad02618b1bd95cb44ace3fb90974340e8ce5d9f553c4be1ac8ba5e +AUX prowlarr.logrotate 88 BLAKE2B c5480a0b3f2f21aeb7632c6f7bd6fd95aab8c4fde55447281939f1e1fc67bc4786b64db74f56682af5705b1654eb4a1bdb3f62300001b46eb92536f62502c15e SHA512 fbf91e62a30a929bf6b8b24a2708ef7eaaee7e42e83247f2f2af88a6d6f83571aabf7e9e8fc14253cf5b0efd4271f34ce143e24bd92c67674eba279e332e3ba1 +AUX prowlarr.service 558 BLAKE2B 8bb379f30a93ce537016133627e54cf5d71b666f31db50c29659d0e44fc0df54374fce23cf1e2d20f59e19b9cfaab66253c79df718e86b402c0572ac781e1f58 SHA512 0cb3461a5160da1a617691040c7d6378e5d89f5809a12faa8cb182c8180bceb7a459d3d881cd3a96eee4928eac410533876b90c90d3d62dcde12ba2f0b9f328b +DIST Prowlarr.develop.0.4.2.1879.linux-core-arm.tar.gz 85892990 BLAKE2B 5e0cb3dba04f2cf1824527e0274cb8f11a8636de12b2ced43eaa234352860ec18bd83d65dc6fdccae2fd127fe9fefbd09578a43446dd0bc43f21d9c32b160d6e SHA512 115bf5c62091c514867129046d662bae17b721c3d46376493be5caf44f09929d6b0b3844ef93747bf56b64e9f4fdc4b5c0824ee6842f170776b7a4536ec4bef7 +DIST Prowlarr.develop.0.4.2.1879.linux-core-arm64.tar.gz 85152796 BLAKE2B 033a426af2ce96eba38606216bb1f75689c8f16dec460395f432f57041cbd28b197f9eacf0ad0f8cb2558a7980ae1b9c4eec70601b2bdd5ac96f77e9aeb93ea9 SHA512 f652f40713d27cc9486444b4fd0185e343bcc869b4798d22446097bff962bd3a51cf0f54a66a7a1acf07a6d7db29e8cf828427f3c81cd637c30618a19de85da6 +DIST Prowlarr.develop.0.4.2.1879.linux-core-x64.tar.gz 90155053 BLAKE2B 3baca7360f9d8e1a6c02783288423f01591b70895bae5909748f56d9a8e830d51809ebb378a0010a72f28dec76cc6563100d969bf224acc6ef966cccb40fa60d SHA512 a9c0a52a3ee02ed38f501307c59bdc90dee8ddd686fbd132de8625892cba89b4267594f3c4df714e488aad14612238c6400ccb82d3d0438c078ed92f61cd49ce +EBUILD prowlarr-0.4.2.1879.ebuild 1265 BLAKE2B b381689ece9f5b8b476b9bfb994c362a1f62d4aebcaed6e3663e10ef022fe6123f41a60fd8cbcd4c1b03eb8cedf436b8058a0749b1c4d5ab71355873f6de5a2a SHA512 df58f2ae28200e604dc04100fa8bdcf91134e4c0902b374fe8dc4cf35abf30fe3d2a40537c51b41db58db94c8160824f2527eb7ac7e24dbae291c77d0a2c8e13 +MISC metadata.xml 706 BLAKE2B 2e6aa23d0f7dd1e3c42ef8f7795260246e21cb6d678786befdf2a371c4b6222437bd1145c1bec5e93f35c613ee5ef001b791b13e995ef7e073966c88e1ffb15d SHA512 10c7e504364a6f3296474146cf8dd6ce632df77674c0f21768249388ce1584b3ff37c9053b9da943dae9bf9384beadde3a459b7ce383013663d801f3e2174f77 diff --git a/www-apps/prowlarr/files/prowlarr.init b/www-apps/prowlarr/files/prowlarr.init new file mode 100644 index 000000000000..831a4425a80a --- /dev/null +++ b/www-apps/prowlarr/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/files/prowlarr.logrotate b/www-apps/prowlarr/files/prowlarr.logrotate new file mode 100644 index 000000000000..5b7588e2b51a --- /dev/null +++ b/www-apps/prowlarr/files/prowlarr.logrotate @@ -0,0 +1,4 @@ +/var/lib/prowlarr/.config/prowlarr/logs/*.log{ + missingok + su prowlarr prowlarr +} diff --git a/www-apps/prowlarr/files/prowlarr.service b/www-apps/prowlarr/files/prowlarr.service new file mode 100644 index 000000000000..7fe9097bf338 --- /dev/null +++ b/www-apps/prowlarr/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/metadata.xml b/www-apps/prowlarr/metadata.xml new file mode 100644 index 000000000000..4540c8160d1d --- /dev/null +++ b/www-apps/prowlarr/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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/prowlarr-0.4.2.1879.ebuild b/www-apps/prowlarr/prowlarr-0.4.2.1879.ebuild new file mode 100644 index 000000000000..1ffb456610d0 --- /dev/null +++ b/www-apps/prowlarr/prowlarr-0.4.2.1879.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +SRC_URI=" + amd64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-x64.tar.gz ) + arm? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-arm.tar.gz ) + arm64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-arm64.tar.gz ) +" + +DESCRIPTION="An indexer manager/proxy to integrate with your various PVR apps" +HOMEPAGE="https://wiki.servarr.com/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" + +S="${WORKDIR}/Prowlarr" + +src_install() { + newinitd "${FILESDIR}/${PN}.init" ${PN} + + keepdir /var/lib/${PN} + fowners -R ${PN}:${PN} /var/lib/${PN} + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + dodir "/opt/${PN}" + cp -R "${S}/." "${D}/opt/prowlarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/prowlarr.service" + systemd_newunit "${FILESDIR}/prowlarr.service" "${PN}@.service" +} |