From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F69B158287 for ; Mon, 12 May 2025 11:03:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 86B4C343487 for ; Mon, 12 May 2025 11:03:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5EC7D11036D; Mon, 12 May 2025 11:03:04 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 57C6311036D for ; Mon, 12 May 2025 11:03:04 +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 0ACA7343479 for ; Mon, 12 May 2025 11:03:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FE2D2777 for ; Mon, 12 May 2025 11:03:02 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1747047488.3d43b0698fea2c3a6f378000366ebe8feafd4cf5.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/radicale/Manifest www-apps/radicale/radicale-3.5.3.ebuild X-VCS-Directories: www-apps/radicale/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 3d43b0698fea2c3a6f378000366ebe8feafd4cf5 X-VCS-Branch: master Date: Mon, 12 May 2025 11:03:02 +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: 5735d867-ca96-4fe6-97f2-a99fb11f1efd X-Archives-Hash: 5ad60aa99cc1e0357aacab8285581471 commit: 3d43b0698fea2c3a6f378000366ebe8feafd4cf5 Author: Henning Schild hennsch de> AuthorDate: Mon May 12 08:46:05 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Mon May 12 10:58:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d43b069 www-apps/radicale: bump to 3.5.3 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Yixun Lan gentoo.org> www-apps/radicale/Manifest | 1 + www-apps/radicale/radicale-3.5.3.ebuild | 95 +++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest index d6a1a13c31f2..246e8b9884bb 100644 --- a/www-apps/radicale/Manifest +++ b/www-apps/radicale/Manifest @@ -1,3 +1,4 @@ DIST Radicale-3.4.1.gh.tar.gz 184481 BLAKE2B 87c200466bb7879305ef2b692e9483746fa82c475d85ba552164ab5092c4f08ca9f5b69d2449d1993bd8406ddaf37d9c259556744c37a6c1903a18fdd58c610e SHA512 6907fd696dac25eff85114673f182b6998872d02549147a894cd69654c44a0bec3a51adbf69dacde0c4cd9b7e3005dda8edc6c11f237df514ba3d06508684191 DIST Radicale-3.5.0.gh.tar.gz 190792 BLAKE2B e0eeb1a9b0c5ce28481cdf3b840fec407a508cb5e38faab8c253cbcc15951f45b87ab4aff3b363fa88f112c2c44038b8fa1aae729145dbbb8837a4f6c65f2eb4 SHA512 00028bc94e4c41c844d24f51259ce8fb831194fd17e5fe29105d484d32c720295a45bb6ff44f9a1c4155b0143df5c0e74cef6eb8f9f48a0650c4cd89832f3620 DIST Radicale-3.5.2.gh.tar.gz 193014 BLAKE2B 05c8d4875de9d16930ad92eba5f53f0e8eda65d82e87723cb4db074bb9a98d46cd64f4265c5fd5d312fea87dec0a675d5672a23755f02a8f59c18ba93569272f SHA512 ebc3ab972107340d1bd2e5526f51bc87ce746a248278652a9b814e321d5c66fdacfd873ea3b7075c16a194c785f5eed64e2424496b5c0b47a7c53e91e61ed23a +DIST Radicale-3.5.3.gh.tar.gz 194792 BLAKE2B 7ce83576fcc2e92db8e2c28d62ce1c65ba0239ab58f59e0d15a4da70b267afca424d1745ca023bc11e2f8ca3547011991aa42487f7492db65f0a41651958f051 SHA512 24b7ae46457040a27877b63fc51aa2149d79f66f99a3ef39a0fc81f497212e00ded81ca7762d9b7dd3dad07776f47b21213f393ed5f05b41a134d9c710b3e291 diff --git a/www-apps/radicale/radicale-3.5.3.ebuild b/www-apps/radicale/radicale-3.5.3.ebuild new file mode 100644 index 000000000000..f1b4a62b1d47 --- /dev/null +++ b/www-apps/radicale/radicale-3.5.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature 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/defusedxml[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] + sys-apps/util-linux +" + +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/waitress[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDIR=/var/lib/"${PN}" + +DOCS=( DOCUMENTATION.md CHANGELOG.md ) + +python_test() { + epytest -o addopts= radicale/tests/ +} + +python_install_all() { + rm README* || die + # init file + newinitd "${FILESDIR}"/radicale-r4.init.d radicale + systemd_dounit "${FILESDIR}/${PN}.service" + + # directories + keepdir "${RDIR}" + fperms 0750 "${RDIR}" + fowners "${PN}:${PN}" "${RDIR}" + + # config file + insinto /etc/"${PN}" + doins config + + # fcgi and wsgi files + exeinto /usr/share/"${PN}" + doexe radicale.wsgi + + distutils-r1_python_install_all +} + +pkg_postinst() { + local _erdir="${EROOT}${RDIR}" + + ewarn "" + ewarn "Since 3.5.0 the default [auth] type is \"denyall\". You need to" + ewarn "change your config if you used the deafult type so far!" + ewarn "" + einfo "A sample WSGI script has been put into ${EROOT}/usr/share/${PN}." + einfo "You will also find there an example FastCGI script." + if [[ $(stat --format="%U:%G:%a" "${_erdir}") != "${PN}:${PN}:750" ]] + then + ewarn "" + ewarn "Unsafe file permissions detected on ${_erdir}." + ewarn "This probably comes from an earlier version of this ebuild." + ewarn "To fix run:" + ewarn "# \`chown -R ${PN}:${PN} ${_erdir}\`" + ewarn "# \`chmod 0750 ${_erdir}\`" + ewarn "# \`chmod -R o= ${_erdir}\`" + fi + + optfeature "Publish changes to rabbitmq" dev-python/pika + optfeature "LDAP/LDAPS authentication" dev-python/ldap3 dev-python/python-ldap + optfeature "bcrypt password hashing" dev-python/bcrypt +}