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 037C2159C9B for ; Tue, 13 Aug 2024 12:42:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31C9BE2B5E; Tue, 13 Aug 2024 12:42:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 088A1E2B5D for ; Tue, 13 Aug 2024 12:42:01 +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 0F2B234302E for ; Tue, 13 Aug 2024 12:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39C4E1EE4 for ; Tue, 13 Aug 2024 12:41:58 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1723552466.bbf423c1a494c9e17e1f7dafaf52164c3f0205e2.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/radicale/files/radicale-r4.init.d www-apps/radicale/radicale-3.1.9-r1.ebuild X-VCS-Directories: www-apps/radicale/files/ www-apps/radicale/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: bbf423c1a494c9e17e1f7dafaf52164c3f0205e2 X-VCS-Branch: master Date: Tue, 13 Aug 2024 12:41:58 +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: c07c7d4b-745c-4d19-bbc3-bba17f4e6707 X-Archives-Hash: 0cb5a129efe07d058f8627475b6b6f92 commit: bbf423c1a494c9e17e1f7dafaf52164c3f0205e2 Author: Henning Schild hennsch de> AuthorDate: Mon Aug 5 15:06:14 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Aug 13 12:34:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf423c1 www-apps/radicale: add openrc service description Closes: https://bugs.gentoo.org/935897 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/37980 Signed-off-by: Joonas Niilola gentoo.org> www-apps/radicale/files/radicale-r4.init.d | 28 ++++++++++ www-apps/radicale/radicale-3.1.9-r1.ebuild | 90 ++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/www-apps/radicale/files/radicale-r4.init.d b/www-apps/radicale/files/radicale-r4.init.d new file mode 100644 index 000000000000..b83d91d79a04 --- /dev/null +++ b/www-apps/radicale/files/radicale-r4.init.d @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="A simple CalDAV (calendar) and CardDAV (contact) server" +PIDFILE=/run/radicale.pid + +depend() { + need localmount +} + +start() { + ebegin "Starting radicale" + start-stop-daemon --start --quiet --background \ + --user radicale \ + --umask 0027 \ + --stderr-logger /usr/bin/logger \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec /usr/bin/radicale + eend $? +} + +stop() { + ebegin "Stopping radicale" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} + eend $? +} diff --git a/www-apps/radicale/radicale-3.1.9-r1.ebuild b/www-apps/radicale/radicale-3.1.9-r1.ebuild new file mode 100644 index 000000000000..3ba042c24436 --- /dev/null +++ b/www-apps/radicale/radicale-3.1.9-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 systemd + +MY_P=${P^} +DESCRIPTION="A simple CalDAV calendar server" +HOMEPAGE="https://radicale.org/" +SRC_URI=" + https://github.com/Kozea/Radicale/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + >=acct-user/radicale-0-r2 + acct-group/radicale + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + sys-apps/util-linux +" + +BDEPEND=" + test? ( +