[gentoo-commits] repo/gentoo:master commit in: www-apps/readarr/, www-apps/readarr/files/

2023-07-16 Thread Sam James
commit: d5ccc30e95a033b00e62aa7b1da7b17c35260500
Author: PF4Public  users  noreply  github  
com>
AuthorDate: Sun Jul 16 16:55:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 16 21:10:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ccc30e

www-apps/readarr: fix logrotate

Signed-off-by: PF4Public  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 www-apps/readarr/files/readarr.logrotate| 2 +-
 .../readarr/{readarr-0.2.2.1943.ebuild => readarr-0.2.2.1943-r1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/readarr/files/readarr.logrotate 
b/www-apps/readarr/files/readarr.logrotate
index 2dc56f43cceb..4675f682b629 100644
--- a/www-apps/readarr/files/readarr.logrotate
+++ b/www-apps/readarr/files/readarr.logrotate
@@ -1,4 +1,4 @@
-/var/lib/readarr/.config/readarr/logs/*.log{
+/var/lib/readarr/.config/Readarr/logs/*.txt{
 missingok
 su readarr readarr
 }

diff --git a/www-apps/readarr/readarr-0.2.2.1943.ebuild 
b/www-apps/readarr/readarr-0.2.2.1943-r1.ebuild
similarity index 100%
rename from www-apps/readarr/readarr-0.2.2.1943.ebuild
rename to www-apps/readarr/readarr-0.2.2.1943-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: www-apps/readarr/, www-apps/readarr/files/

2022-07-20 Thread Craig Andrews
commit: 47a2f82823c78a965aa6556ddf7daa9e83bcd575
Author: Craig Andrews  gentoo  org>
AuthorDate: Tue Jul 19 20:34:07 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Jul 20 12:14:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a2f828

www-apps/readarr: An ebook and audiobook collection manager

Signed-off-by: Craig Andrews  gentoo.org>

 www-apps/readarr/Manifest  |  3 ++
 www-apps/readarr/files/readarr.init|  7 
 www-apps/readarr/files/readarr.logrotate   |  4 +++
 www-apps/readarr/files/readarr.service | 30 
 www-apps/readarr/metadata.xml  | 21 
 www-apps/readarr/readarr-0.1.1.1320.ebuild | 55 ++
 6 files changed, 120 insertions(+)

diff --git a/www-apps/readarr/Manifest b/www-apps/readarr/Manifest
new file mode 100644
index ..6a6c11397204
--- /dev/null
+++ b/www-apps/readarr/Manifest
@@ -0,0 +1,3 @@
+DIST Readarr.develop.0.1.1.1320.linux-core-arm.tar.gz 84120232 BLAKE2B 
5a1e89011594d9e4bfe93eb9b9a78f90e5c1d6ebde7fa3c47f7e2e5fb500af2e691c38ab6ae86faa05983c76d57d2c0e4990b3749cd9912261ff58a652809bfb
 SHA512 
6d132d054483a5f084ff3e99e9d10772faaf28aee277ff182289a0c49459d702349885171b5147f1c23af3c5dafde92d00acb1789926918e138baeb47026fb9e
+DIST Readarr.develop.0.1.1.1320.linux-core-arm64.tar.gz 83430995 BLAKE2B 
d4879cb9430f9555eed1a319a0509ea50b0f51396fa0cb808e763a032af5e5c6153daf6df94edf2a2b9d2c639356d6ffe5bcc6a022e770c9dda014c4601d3628
 SHA512 
e32c15a2b8f2e35f41fb91a4bf427bb65712001d9287862d171ba9c20057b112d4437ef5e4c327d961ecc93d6003acd0c5ff6c7e15b59e84cf66167d667b513b
+DIST Readarr.develop.0.1.1.1320.linux-core-x64.tar.gz 88446682 BLAKE2B 
e63eb2ebd873f2f07589496957cead36eaf4505c090f65e926813bedc03d013a72423c5d5019a4db24e83975ff906c57a787a5bf50354ad0a66825c9f9cfda74
 SHA512 
a0f3f0513a66a824ce4efa8284c185b37200325d2d2a43203a9ec6b04b579fea9a67817921800c2c20fa9b6cb30ce5dbaef428b9c04f62db288d7be61a7cb1bc

diff --git a/www-apps/readarr/files/readarr.init 
b/www-apps/readarr/files/readarr.init
new file mode 100644
index ..5795edbcceb3
--- /dev/null
+++ b/www-apps/readarr/files/readarr.init
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+
+pidfile="/run/readarr.pid"
+command="/opt/readarr/Radarr"
+command_user="readarr:readarr"
+command_background=true
+

diff --git a/www-apps/readarr/files/readarr.logrotate 
b/www-apps/readarr/files/readarr.logrotate
new file mode 100644
index ..2dc56f43cceb
--- /dev/null
+++ b/www-apps/readarr/files/readarr.logrotate
@@ -0,0 +1,4 @@
+/var/lib/readarr/.config/readarr/logs/*.log{
+missingok
+su readarr readarr
+}

diff --git a/www-apps/readarr/files/readarr.service 
b/www-apps/readarr/files/readarr.service
new file mode 100644
index ..c96ba634b514
--- /dev/null
+++ b/www-apps/readarr/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/metadata.xml b/www-apps/readarr/metadata.xml
new file mode 100644
index ..b097043a5b49
--- /dev/null
+++ b/www-apps/readarr/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mcrawf...@eliteitminds.com
+   Michael Crawford
+   Primary maintainer
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   candr...@gentoo.org
+   Craig Andrews
+   
+   
+   Radarr/Radarr
+   https://github.com/Radarr/Radarr/issues
+   
+

diff --git a/www-apps/readarr/readarr-0.1.1.1320.ebuild 
b/www-apps/readarr/readarr-0.1.1.1320.ebuild
new file mode 100644
index ..23747b5fc1ac
--- /dev/null
+++ b/www-apps/readarr/readarr-0.1.1.1320.ebuild
@@ -0,0 +1,55 @@
+# 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/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-x64.tar.gz
 )
+   arm? ( 
https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm.tar.gz
 )
+   arm64? ( 
https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm64.tar.gz
 )
+"
+
+DESCRIPTION="An ebook and audiobook collection manager for Usenet and 
BitTorrent