From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45CDC15801B for ; Tue, 18 Jul 2023 00:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 457D4E08AE; Tue, 18 Jul 2023 00:20:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 246F7E08AA for ; Tue, 18 Jul 2023 00:20:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E98E9340D85 for ; Tue, 18 Jul 2023 00:20:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C1F3137 for ; Tue, 18 Jul 2023 00:20:55 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1689639652.4950d09a14c201c8fde28daa38733aa6afb8bcf4.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/lidarr/files/, www-apps/lidarr/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/lidarr/files/lidarr.logrotate www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild X-VCS-Directories: www-apps/lidarr/ www-apps/lidarr/files/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 4950d09a14c201c8fde28daa38733aa6afb8bcf4 X-VCS-Branch: master Date: Tue, 18 Jul 2023 00:20:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8d3f54cb-73d7-4beb-9872-da1f310237e8 X-Archives-Hash: 7b7862276bb04795e2f89d8b9eb03842 commit: 4950d09a14c201c8fde28daa38733aa6afb8bcf4 Author: Craig Andrews gentoo org> AuthorDate: Tue Jul 18 00:19:36 2023 +0000 Commit: Craig Andrews gentoo org> CommitDate: Tue Jul 18 00:20:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4950d09a www-apps/lidarr: fix logrotate configuration Signed-off-by: Craig Andrews gentoo.org> www-apps/lidarr/files/lidarr.logrotate | 2 +- www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild | 58 +++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/www-apps/lidarr/files/lidarr.logrotate b/www-apps/lidarr/files/lidarr.logrotate index abd09ad04336..c1038e3cf9e8 100644 --- a/www-apps/lidarr/files/lidarr.logrotate +++ b/www-apps/lidarr/files/lidarr.logrotate @@ -1,4 +1,4 @@ -/var/lib/lidarr/.config/lidarr/logs/*.txt{ +/var/lib/lidarr/.config/Lidarr/logs/*.txt{ missingok su lidarr lidarr } diff --git a/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild b/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild new file mode 100644 index 000000000000..47d13184e338 --- /dev/null +++ b/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +SRC_URI=" + amd64? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-x64.tar.gz ) + arm? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm.tar.gz ) + arm64? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm64.tar.gz ) +" + +DESCRIPTION="Looks and smells like Sonarr but made for music" +HOMEPAGE="https://lidarr.audio" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/lidarr + acct-user/lidarr + media-video/mediainfo + dev-libs/icu + dev-util/lttng-ust:0 + dev-db/sqlite + sys-libs/glibc +" + +QA_PREBUILT="*" + +S="${WORKDIR}/Lidarr" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so Lidarr.Update/libcoreclrtraceptprovider.so || die +} + +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/lidarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/lidarr.service" + systemd_newunit "${FILESDIR}/lidarr.service" "${PN}@.service" +}