summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <Marco Scardovi>2021-03-28 13:50:33 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-04-07 10:51:49 +0300
commitc56005092fc25ec00417e2853c7650d342f97248 (patch)
tree36ee3fd4b3c840a0f8e3a9971c7833f6226bab05 /www-apps/radicale
parentwww-apps/radicale: fix radicale.init.d (diff)
downloadgentoo-c56005092fc25ec00417e2853c7650d342f97248.tar.gz
gentoo-c56005092fc25ec00417e2853c7650d342f97248.tar.bz2
gentoo-c56005092fc25ec00417e2853c7650d342f97248.zip
www-apps/radicale: remove older version
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Marco Scardovi <marco@scardovi.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/radicale')
-rw-r--r--www-apps/radicale/Manifest1
-rw-r--r--www-apps/radicale/files/radicale-r2.init.d27
-rw-r--r--www-apps/radicale/radicale-2.1.12.ebuild72
3 files changed, 0 insertions, 100 deletions
diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index 158b1ea3b9c0..65bd4d52291c 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1,2 +1 @@
-DIST Radicale-2.1.12.tar.gz 109781 BLAKE2B 743eaeffab43f2efcfc798f84d00fee40a09609beeb555e3afe3c9f4c54d8e0ce3a7eba4c1e14d6702775ab7d156b085408ee968b0d53437982cf2ea7cb4653c SHA512 a708fb1269f7ba8c9e351e101f613a8adb18c12b1239b832ed9e0287476f30aa7ded30f9bc259da9c4b5f3aefe90bbf9980d0d08d98dd07b79cd19930b0e204c
DIST radicale-3.0.6.tar.gz 123817 BLAKE2B fa4b70c9920d518df6c939395eca857c237a75218b90ada45564f2d84266d65df12898e4efbb52905829948061e10e72b5442943fd5061a28447330ae8d491e8 SHA512 e9741547395fae8886ad84b6807422ebb196f5293d484f5f6136498058576cff697e28c117216f151d56494af83593347ceee40a6efa21272b803d0f301a396d
diff --git a/www-apps/radicale/files/radicale-r2.init.d b/www-apps/radicale/files/radicale-r2.init.d
deleted file mode 100644
index 6b1e0b37d952..000000000000
--- a/www-apps/radicale/files/radicale-r2.init.d
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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 -- --foreground
- eend $?
-}
-
-stop() {
- ebegin "Stopping radicale"
- start-stop-daemon --stop --quiet \
- --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/www-apps/radicale/radicale-2.1.12.ebuild b/www-apps/radicale/radicale-2.1.12.ebuild
deleted file mode 100644
index aef65e3ee5dd..000000000000
--- a/www-apps/radicale/radicale-2.1.12.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1 eutils systemd
-
-MY_PN="Radicale"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A simple CalDAV calendar server"
-HOMEPAGE="https://radicale.org/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+bcrypt"
-
-RDEPEND="
- acct-user/radicale
- acct-group/radicale
- >=dev-python/vobject-0.9.6[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]
- sys-apps/util-linux
- bcrypt? ( dev-python/passlib[bcrypt,${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-RDIR=/var/lib/${PN}
-
-python_install_all() {
- rm README* || die
-
- # init file
- newinitd "${FILESDIR}"/radicale-r2.init.d radicale
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- # directories
- keepdir ${RDIR}
- fowners ${PN}:${PN} ${RDIR}
- fperms 0750 ${RDIR}
-
- # config file
- insinto /etc/${PN}
- doins config logging
-
- # fcgi and wsgi files
- exeinto /usr/share/${PN}
- doexe radicale.fcgi radicale.wsgi
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- local _erdir="${EROOT}${RDIR}"
-
- 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 "Unsafe file permissions detected on ${_erdir}. This probably comes"
- ewarn "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
-}