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/readarr-bin | |
parent | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (diff) |
gentoo auto-resync : 24:03:2024 - 01:01:06
Diffstat (limited to 'www-apps/readarr-bin')
-rw-r--r-- | www-apps/readarr-bin/Manifest | 11 | ||||
-rw-r--r-- | www-apps/readarr-bin/files/readarr.init | 6 | ||||
-rw-r--r-- | www-apps/readarr-bin/files/readarr.logrotate | 4 | ||||
-rw-r--r-- | www-apps/readarr-bin/files/readarr.service | 30 | ||||
-rw-r--r-- | www-apps/readarr-bin/metadata.xml | 21 | ||||
-rw-r--r-- | www-apps/readarr-bin/readarr-bin-0.3.20.2452.ebuild | 77 |
6 files changed, 149 insertions, 0 deletions
diff --git a/www-apps/readarr-bin/Manifest b/www-apps/readarr-bin/Manifest new file mode 100644 index 000000000000..63b596ba1019 --- /dev/null +++ b/www-apps/readarr-bin/Manifest @@ -0,0 +1,11 @@ +AUX readarr.init 133 BLAKE2B 9b5ce96077ce37eb30636eceb9d7969bbece3cbf31f5dc7b433728b6d8810f87097f1b878c82f521fc5c0b79aa89b116deb0ea67e518fa2376935a3ec321d574 SHA512 d22884d967ab6a7cec8733fd21354f089295bc54d66ec08cec05e9bd6f2d20d5581e8bcb91a5c1f4832d3865f8eda58cdc0823d3d06f79f9c587e93e34b274ed +AUX readarr.logrotate 84 BLAKE2B 6a54e269054b8a86cf6f569b6096105267cd897ff9099527ea7b831a968c58fb42aa31dfb91afb55cb4f250242c8829eaf905aa5ec8a1083a8bfb0c47189b14f SHA512 b25c568c4dba0221f33461277c3dd2dbf0a11536523483d4e2e6dd053ec54d5df188256962ec5eb5813f45b0ad5cb3b80fe35ceea45c8a93ca1eb959ece25370 +AUX readarr.service 562 BLAKE2B 1e19fb54d0557d166088b4df9e5a6fc4940db68121cc62a31d00678961c7490e597d6981fc89350bc3d8ad5bf179f7b95ccf1791697f3cfc653216a7234f7598 SHA512 251336794f4c14f3cfe761584964896a9bd6ebe07868356e5ebfdc1ae6f6e8bf661d7c2f04ea7950f03c3d355da67e365bfbb7ad463d8a07eb709e4076ea6878 +DIST Readarr.develop.0.3.20.2452.linux-core-arm.tar.gz 88552277 BLAKE2B 9ac8119e390eb4b0d4c38cdacea4512edb7f5ef9b9319a81ef9286f0fc7ebf48206c4d7cdbc600bc591273f878a2097eb124a52e9af3593745bc3733e70d9842 SHA512 cec90163f22aae2b82b220356ab8b99242d2cba7e691522ac90f359324992bdb22fc357b8e733a9129ea811094d48eb09078851d8c6101dccb0520b49c00ad54 +DIST Readarr.develop.0.3.20.2452.linux-core-arm64.tar.gz 87846412 BLAKE2B 1c33da1ee56ad78efb6c8d2ac43b9a84a0f8af3110af0eebaf604d71b30386aceac46e195049e0e47b7edcf55083e4c9d4b955e3f7e7859e031b2b08c5f2ba26 SHA512 958f475406576e3e9fedba64412659dc1b67af25394f91087064089925b203093c215fec498cc2bb9c376afe9dadde7432fad6850724a0aedc06dc9ec0b16e4b +DIST Readarr.develop.0.3.20.2452.linux-core-x64.tar.gz 92857661 BLAKE2B 37efd9a40e7f44594bd601017344c5cb61d41ef3d34bdf748051a64779193a6d00062ad4119f96665952944eae02112d91beab169f42124f071321498bbca0ff SHA512 94ccbc6bf5db9af270840c69b8e6c0d0152ed4a09db7bd9c51d2d5fde60134b647fbf9244c3da1ea9e830c6c931633ecd1730076baea19d9089d1ecf06e3bb48 +DIST Readarr.develop.0.3.20.2452.linux-musl-core-arm.tar.gz 88617862 BLAKE2B ad868e363b1c8f983ba9cc57523dd8ba291f7cdfd16b92c21ef53e5855e43cc2a62827716b3d7aaaaf16caac26fe33cbf4601bbcce9cca134ecc9fcaf6355093 SHA512 c3b2b10cc23022e68622d213250f451f06afce50ddd69139948dc9533a38003ebaf51c0efbb56699af6347a2627526349817793495828bfb9612175ae936f138 +DIST Readarr.develop.0.3.20.2452.linux-musl-core-arm64.tar.gz 87898992 BLAKE2B 658bb30ad92bd37ac0a1b3dd85572c7a9b941b1e670842196756be67c10997ab51821d3b787a20b37eb03b5200d5945eecad12672533a1910bbe81b815696df7 SHA512 41a58dc72073d904051b6d2078bfdb4ec91b93e9d6454d42ad045a72e5c43e471cf37eab3bea1f07f8cf91ee8303fe366cbf8fefb0350effd40ce46729d94bcd +DIST Readarr.develop.0.3.20.2452.linux-musl-core-x64.tar.gz 91918090 BLAKE2B 639b1a361c071296b15eb3d8fd400a3006a6ea24d802850fa3747b4e3dfdb0147a17823a89d160822be23e951f3909f5778c21bc320c1719e889a2c730868f5d SHA512 9c3878974846078b7775e6e9143985429026713a4f08cb1ca56adfbceb52a80a48d1cda9ad5d81268356699f9f08abbe0bec3493ee801e70d8ac39ce70314664 +EBUILD readarr-bin-0.3.20.2452.ebuild 1941 BLAKE2B 0fee52b10b6ca64aa85f0abe621688e66ddff3de4409b15b058605efdb2ce7cffc1dd49f3e89e476e698e1baea9c426f9509f73fc724aa4bcf815a79f7228d14 SHA512 1bf1c6fb5cf9630f4fb9e701cdd5d534b1fbaaa15011e94d062ed458d70f357ceddb5d8873daca5e4401e5502796f478fd9395850ed09a7cd0afbd5d824599c3 +MISC metadata.xml 688 BLAKE2B d528c66cb7915d661b673524d559fdd7309551f0b473a454e3372bc7f8d06d81e9760fe6c0273e2cfb6b8974f3d516fbc9349f986ca5a986c843db42fa01096b SHA512 006139a3c40bf1f18b8323bd80908ed0de9fa9782fa2b295339b843de5b204fb2595a325a95f2227d27c88abf37dc916d83389a8251f6c684c51b1c256f3a8b7 diff --git a/www-apps/readarr-bin/files/readarr.init b/www-apps/readarr-bin/files/readarr.init new file mode 100644 index 000000000000..88cdbc9f597d --- /dev/null +++ b/www-apps/readarr-bin/files/readarr.init @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +pidfile="/run/readarr.pid" +command="/opt/readarr/Readarr" +command_user="readarr:readarr" +command_background=true diff --git a/www-apps/readarr-bin/files/readarr.logrotate b/www-apps/readarr-bin/files/readarr.logrotate new file mode 100644 index 000000000000..4675f682b629 --- /dev/null +++ b/www-apps/readarr-bin/files/readarr.logrotate @@ -0,0 +1,4 @@ +/var/lib/readarr/.config/Readarr/logs/*.txt{ + missingok + su readarr readarr +} diff --git a/www-apps/readarr-bin/files/readarr.service b/www-apps/readarr-bin/files/readarr.service new file mode 100644 index 000000000000..c96ba634b514 --- /dev/null +++ b/www-apps/readarr-bin/files/readarr.service @@ -0,0 +1,30 @@ +[Unit] +Description=An ebook and audiobook collection manager for Usenet and BitTorrent users +After=syslog.target network.target + +[Service] +User=readarr +Group=readarr + +Type=simple +ExecStart=/opt/readarr/Readarr +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/readarr-bin/metadata.xml b/www-apps/readarr-bin/metadata.xml new file mode 100644 index 000000000000..49ea8bc60df5 --- /dev/null +++ b/www-apps/readarr-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/readarr-bin/readarr-bin-0.3.20.2452.ebuild b/www-apps/readarr-bin/readarr-bin-0.3.20.2452.ebuild new file mode 100644 index 000000000000..5ef7e008750e --- /dev/null +++ b/www-apps/readarr-bin/readarr-bin-0.3.20.2452.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 ebook and audiobook collection manager for Usenet and BitTorrent users" +HOMEPAGE="https://readarr.com/ + https://github.com/Readarr/Readarr/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-musl-core-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-musl-core-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-musl-core-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/Readarr" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/readarr + acct-user/readarr + 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 Readarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/readarr.init" readarr + + keepdir /var/lib/readarr + fowners -R readarr:readarr /var/lib/readarr + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/readarr.logrotate" readarr + + dodir "/opt/readarr" + cp -R "${S}/." "${D}/opt/readarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/readarr.service" + systemd_newunit "${FILESDIR}/readarr.service" "readarr@.service" +} |