public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr/, www-apps/sonarr/files/
@ 2022-07-10 18:26 Craig Andrews
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Andrews @ 2022-07-10 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7a6bfbbb5b55ba4e6986443e47d230e50db3c080
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  6 20:16:54 2022 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 18:25:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6bfbbb

www-apps/sonarr: Smart PVR for newsgroup and bittorrent users.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/sonarr/Manifest                 |  1 +
 www-apps/sonarr/files/sonarr.init        |  8 ++++++
 www-apps/sonarr/files/sonarr.logrotate   |  7 ++++++
 www-apps/sonarr/files/sonarr.service     | 30 +++++++++++++++++++++++
 www-apps/sonarr/metadata.xml             | 21 ++++++++++++++++
 www-apps/sonarr/sonarr-3.0.8.1507.ebuild | 42 ++++++++++++++++++++++++++++++++
 6 files changed, 109 insertions(+)

diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
new file mode 100644
index 000000000000..02cb272ebb45
--- /dev/null
+++ b/www-apps/sonarr/Manifest
@@ -0,0 +1 @@
+DIST Sonarr.main.3.0.8.1507.linux.tar.gz 13647325 BLAKE2B bd269ec2e628075548c9c11db0f9d31f0b9a8c24bb55e0b7d0c58cc32c33423ca4988e9e63170fa6b5f49d438877a88402cebca3183fb98ac5995eb2a38e96e5 SHA512 32efec2207e853a1d7737fc72e9484e62c07a4b39f7e9c6ea0519bcc3220bf4bdb189c6b5dc30aa168912ba912a78c4c5832e2b84bc0a42c46844e76d3b9cc1a

diff --git a/www-apps/sonarr/files/sonarr.init b/www-apps/sonarr/files/sonarr.init
new file mode 100644
index 000000000000..2ca5082cfbc0
--- /dev/null
+++ b/www-apps/sonarr/files/sonarr.init
@@ -0,0 +1,8 @@
+#!/sbin/openrc-run
+
+pidfile="/run/sonarr.pid"
+command="mono"
+command_args="/opt/sonarr/Sonarr.exe"
+command_user="sonarr:sonarr"
+command_background=true
+

diff --git a/www-apps/sonarr/files/sonarr.logrotate b/www-apps/sonarr/files/sonarr.logrotate
new file mode 100644
index 000000000000..3d374d3ad3c2
--- /dev/null
+++ b/www-apps/sonarr/files/sonarr.logrotate
@@ -0,0 +1,7 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+/var/lib/sonarr/.config/NzbDrone/logs/*.txt{
+    missingok
+    su sonarr sonarr
+}

diff --git a/www-apps/sonarr/files/sonarr.service b/www-apps/sonarr/files/sonarr.service
new file mode 100644
index 000000000000..562ad1229fd8
--- /dev/null
+++ b/www-apps/sonarr/files/sonarr.service
@@ -0,0 +1,30 @@
+[Unit]
+Description=Sonarr is a Smart PVR for newsgroup and bittorrent users.
+After=syslog.target network.target network-online.target
+
+[Service]
+User=sonarr
+Group=sonarr
+
+Type=simple
+ExecStart=/usr/bin/mono /opt/sonarr/Sonarr.exe
+TimeoutStopSec=20
+KillMode=process
+Restart=on-failure
+
+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/sonarr/metadata.xml b/www-apps/sonarr/metadata.xml
new file mode 100644
index 000000000000..dac0f3be1aaa
--- /dev/null
+++ b/www-apps/sonarr/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">
+	<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">Sonarr/Sonarr</remote-id>
+		<bugs-to>https://github.com/Sonarr/Sonarr/issues</bugs-to>
+	</upstream>
+</pkgmetadata>

diff --git a/www-apps/sonarr/sonarr-3.0.8.1507.ebuild b/www-apps/sonarr/sonarr-3.0.8.1507.ebuild
new file mode 100644
index 000000000000..36a30c93cf45
--- /dev/null
+++ b/www-apps/sonarr/sonarr-3.0.8.1507.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+SRC_URI="https://download.sonarr.tv/v3/main/${PV}/Sonarr.main.${PV}.linux.tar.gz"
+
+DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
+HOMEPAGE="https://www.sonarr.tv"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist strip test"
+
+RDEPEND="
+	acct-group/sonarr
+	acct-user/sonarr
+	>=dev-lang/mono-6.6.0.161
+	media-video/mediainfo
+	dev-db/sqlite"
+
+S="${WORKDIR}/Sonarr"
+
+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/${PN}" || die "Install failed!"
+
+	systemd_dounit "${FILESDIR}/${PN}.service"
+	systemd_newunit "${FILESDIR}/${PN}.service" "${PN}@.service"
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr/, www-apps/sonarr/files/
@ 2022-08-10 13:17 Craig Andrews
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Andrews @ 2022-08-10 13:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2737bb5e0286b4b497fff427bf01b2c802e299df
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 13:16:47 2022 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 13:17:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2737bb5e

www-apps/sonarr: allowing overriding user/group in openrc init script

Closes: https://bugs.gentoo.org/864581
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/sonarr/files/sonarr.init-r2        |  7 +++++
 www-apps/sonarr/sonarr-3.0.9.1549-r2.ebuild | 47 +++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/www-apps/sonarr/files/sonarr.init-r2 b/www-apps/sonarr/files/sonarr.init-r2
new file mode 100644
index 000000000000..76b8dbed164b
--- /dev/null
+++ b/www-apps/sonarr/files/sonarr.init-r2
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+
+pidfile="/run/sonarr.pid"
+command="/opt/sonarr/Sonarr"
+command_user="${GROUP:-sonarr}:${USER:-sonarr}"
+command_background=true
+

diff --git a/www-apps/sonarr/sonarr-3.0.9.1549-r2.ebuild b/www-apps/sonarr/sonarr-3.0.9.1549-r2.ebuild
new file mode 100644
index 000000000000..49124b0696ba
--- /dev/null
+++ b/www-apps/sonarr/sonarr-3.0.9.1549-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+SRC_URI="https://download.sonarr.tv/v3/main/${PV}/Sonarr.main.${PV}.linux.tar.gz"
+
+DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
+HOMEPAGE="https://www.sonarr.tv"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist strip test"
+
+RDEPEND="
+	acct-group/sonarr
+	acct-user/sonarr
+	>=dev-lang/mono-6.6.0.161
+	media-video/mediainfo
+	dev-db/sqlite"
+
+QA_PREBUILT="*"
+
+S="${WORKDIR}/Sonarr"
+
+src_install() {
+	newinitd "${FILESDIR}/${PN}.init-r2" ${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/${PN}" || die "Install failed!"
+
+	exeinto "/opt/${PN}"
+	doexe "${FILESDIR}/Sonarr"
+
+	systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+	systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service"
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr/, www-apps/sonarr/files/
@ 2023-07-16 21:11 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-07-16 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     159d56d248e352f992616f9d331b4ae6a02ea0db
Author:     PF4Public <PF4Public <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Jul 16 17:00:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 21:10:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159d56d2

www-apps/sonarr: fix logrotate

Signed-off-by: PF4Public <PF4Public <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/31914
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/www-apps/sonarr/files/sonarr.logrotate b/www-apps/sonarr/files/sonarr.logrotate
index 3d374d3ad3c2..9514fa02651e 100644
--- a/www-apps/sonarr/files/sonarr.logrotate
+++ b/www-apps/sonarr/files/sonarr.logrotate
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-/var/lib/sonarr/.config/NzbDrone/logs/*.txt{
+/var/lib/sonarr/.config/Sonarr/logs/*.txt{
     missingok
     su sonarr sonarr
 }

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr/, www-apps/sonarr/files/
@ 2024-01-02 16:45 Craig Andrews
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Andrews @ 2024-01-02 16:45 UTC (permalink / raw
  To: gentoo-commits

commit:     404617aebbbf985571baf51e0ad389337b0ab2ea
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 16:44:20 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 16:44:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404617ae

www-apps/sonarr: drop 3.0.10.1567-r1

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/sonarr/Manifest                     |  1 -
 www-apps/sonarr/files/Sonarr                 |  3 --
 www-apps/sonarr/sonarr-3.0.10.1567-r1.ebuild | 47 ----------------------------
 3 files changed, 51 deletions(-)

diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index 63938867ffc2..1bbf5b483271 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -1,4 +1,3 @@
-DIST Sonarr.main.3.0.10.1567.linux.tar.gz 14107460 BLAKE2B d2a8eb16199677505175292dfe90549894a7dc450445f2df196c23a9d4f1da3999806c7a5fc956d0bd2dc2f9a949940e0ea78fe6f250aa77608c180117757d36 SHA512 6d588d1d36c51123586f737cf47e95bc0725a5f559cca86a951786fef8a5c6762c2bc9f06b038c9d6eba640a19f9e15f7d609171f7d4b4d5472c21f9e3aa415b
 DIST Sonarr.main.4.0.0.748.linux-arm.tar.gz 92973154 BLAKE2B 87bc7a73a120fc8b51a4759189b4f2dfd22cbbbdb975449ddfd8ee2209976e0b40164945dad916e9afb97260fd83148d52c4039e8c5851607c0be088cd5f94d5 SHA512 4519b00ff3bb10deb24d60d7e87e13abdb74a9f3fb83e4edc1cd9b4ab714ff71d7244e449ff6ab25c49e332bd8491b7c2d092bdcb615a71b4f658f7537bdaf76
 DIST Sonarr.main.4.0.0.748.linux-arm64.tar.gz 92678699 BLAKE2B 2b49aa02e25110b0d22a2ffa2c6462edd890dfb9cf6bdf57ce0d7b54aa27f8b752e65aa88bd1d0aed0acac6f6b71b6970d0ec613e0d8977ae51f225b1837c135 SHA512 9fd229a39434a6378c4f0eeb184fef5103572e06ec5281815126bdb24c09049a333848bf8f21d117f2274b51862e33586552eb90c33e533f47599f0fcdddc2f0
 DIST Sonarr.main.4.0.0.748.linux-x64.tar.gz 98607969 BLAKE2B a1bb7a3bb37b942b08bb63f1faf37bede6db59e72446ba08aba04e59ebb5810ca777aae876191f542eca28375c1c7cd71642480f7815b0e2268cede40e858f7f SHA512 16c7718d6015ecea0818af01f20cf737a87d953e9d5a501f83c6a4de0afa12cc83958a66780e59c911a0f692b99892953e574a62a9e87ec548e7f3735548b660

diff --git a/www-apps/sonarr/files/Sonarr b/www-apps/sonarr/files/Sonarr
deleted file mode 100644
index 773b3504ca3e..000000000000
--- a/www-apps/sonarr/files/Sonarr
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-/usr/bin/mono /opt/sonarr/Sonarr.exe "$@"
-

diff --git a/www-apps/sonarr/sonarr-3.0.10.1567-r1.ebuild b/www-apps/sonarr/sonarr-3.0.10.1567-r1.ebuild
deleted file mode 100644
index 34234de6098f..000000000000
--- a/www-apps/sonarr/sonarr-3.0.10.1567-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-SRC_URI="https://download.sonarr.tv/v3/main/${PV}/Sonarr.main.${PV}.linux.tar.gz"
-
-DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
-HOMEPAGE="https://www.sonarr.tv"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="bindist strip test"
-
-RDEPEND="
-	acct-group/sonarr
-	acct-user/sonarr
-	>=dev-lang/mono-6.6.0.161
-	media-video/mediainfo
-	dev-db/sqlite"
-
-QA_PREBUILT="*"
-
-S="${WORKDIR}/Sonarr"
-
-src_install() {
-	newinitd "${FILESDIR}/${PN}.init-r2" ${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/${PN}" || die "Install failed!"
-
-	exeinto "/opt/${PN}"
-	doexe "${FILESDIR}/Sonarr"
-
-	systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
-	systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service"
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-02 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 13:17 [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr/, www-apps/sonarr/files/ Craig Andrews
  -- strict thread matches above, loose matches on Subject: below --
2024-01-02 16:45 Craig Andrews
2023-07-16 21:11 Sam James
2022-07-10 18:26 Craig Andrews

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox