public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2016-01-26 20:06 Maxim Koltsov
  0 siblings, 0 replies; 7+ messages in thread
From: Maxim Koltsov @ 2016-01-26 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     3ab430380cf9887c09753890e28bfb96c05e367a
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 20:02:09 2016 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 20:05:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab43038

www-apps/radicale: add to tree, reworking Sunrise ebuild

Package-Manager: portage-2.2.27

 www-apps/radicale/Manifest                         |  1 +
 .../radicale/files/radicale-1.1.1-config.patch     | 34 ++++++++++
 www-apps/radicale/files/radicale.init.d            | 27 ++++++++
 www-apps/radicale/metadata.xml                     |  8 +++
 www-apps/radicale/radicale-1.1.1.ebuild            | 73 ++++++++++++++++++++++
 5 files changed, 143 insertions(+)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
new file mode 100644
index 0000000..ab96bab
--- /dev/null
+++ b/www-apps/radicale/Manifest
@@ -0,0 +1 @@
+DIST Radicale-1.1.1.tar.gz 47174 SHA256 e2c9812913c464ab88ae1f66b29e81f87a4cc6ee1c94d167b33508c530dab4b0 SHA512 dc251d8fa4d347c2bbcf472b7a2da94d674f858a007fec1d74774cd1f3ae43eb2d5902ed45762638ec49546b8ee1f66446d07b50fc0ff6595deb67ea07f87af2 WHIRLPOOL 315977a0bed6c1d5bfac24617b23e791d6c306658a14a478364dde61b5df5ac4136be18139d3edb7ab554f40a1d3cfce367770dab4c023868bb476f34e28a3b6

diff --git a/www-apps/radicale/files/radicale-1.1.1-config.patch b/www-apps/radicale/files/radicale-1.1.1-config.patch
new file mode 100644
index 0000000..4eb286f
--- /dev/null
+++ b/www-apps/radicale/files/radicale-1.1.1-config.patch
@@ -0,0 +1,34 @@
+diff --git a/config b/config
+index 453a45e..10c1595 100644
+--- a/config
++++ b/config
+@@ -146,7 +146,7 @@ http_password_parameter =
+ #custom_handler =
+ 
+ # File for rights management from_file
+-#file = ~/.config/radicale/rights
++file = /etc/radicale/rights
+ 
+ 
+ [storage]
+@@ -163,7 +163,7 @@ file = ~/.config/radicale/rights
+ #custom_handler =
+ 
+ # Folder for storing local collections, created if not present
+-#filesystem_folder = ~/.config/radicale/collections
++filesystem_folder = /var/lib/radicale/
+ 
+ # Database URL for SQLAlchemy
+ # dialect+driver://user:password@host/dbname[?key=value..]
+diff --git a/logging b/logging
+--- a/logging
++++ b/logging
+@@ -45,7 +45,7 @@ formatter = simple
+ [handler_file]
+ # File handler
+ class = FileHandler
+-args = ('/var/log/radicale',)
++args = ('/var/log/radicale/radicale.log',)
+ formatter = full
+ 
+ 

diff --git a/www-apps/radicale/files/radicale.init.d b/www-apps/radicale/files/radicale.init.d
new file mode 100644
index 0000000..8e3e94a
--- /dev/null
+++ b/www-apps/radicale/files/radicale.init.d
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+PIDFILE=/var/run/radicale.pid
+
+depend() {
+    use net
+    need localmount
+}
+
+start() {
+    ebegin "Starting radicale"
+        start-stop-daemon --start --quiet --background \
+        --user radicale \
+        --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/metadata.xml b/www-apps/radicale/metadata.xml
new file mode 100644
index 0000000..fe24726
--- /dev/null
+++ b/www-apps/radicale/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+        <maintainer type="person">
+                <email>maksbotan@gentoo.org</email>
+                <name>Maxim Koltsov</name>
+        </maintainer>
+</pkgmetadata>

diff --git a/www-apps/radicale/radicale-1.1.1.ebuild b/www-apps/radicale/radicale-1.1.1.ebuild
new file mode 100644
index 0000000..6ac4c3b
--- /dev/null
+++ b/www-apps/radicale/radicale-1.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit eutils distutils-r1 user
+
+MY_PN="Radicale"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A simple CalDAV calendar server"
+HOMEPAGE="http://www.radicale.org/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+RDIR=/var/lib/radicale
+LDIR=/var/log/radicale
+
+PATCHES=( "${FILESDIR}"/${P}-config.patch )
+
+pkg_setup() {
+	enewgroup radicale
+	enewuser radicale -1 -1 ${RDIR} radicale
+}
+
+python_install_all() {
+	rm README* || die
+
+	# init file
+	newinitd "${FILESDIR}"/radicale.init.d radicale
+
+	# directories
+	diropts -m0750
+	dodir ${RDIR}
+	fowners radicale:radicale ${RDIR}
+	diropts -m0755
+	dodir ${LDIR}
+	fowners radicale:radicale ${LDIR}
+
+	# config file
+	insinto /etc/${PN}
+	doins config logging
+
+	# fcgi and wsgi files
+	exeinto /usr/share/${PN}
+	doexe radicale.wsgi
+	doexe radicale.fcgi
+
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	einfo "A sample WSGI script has been put into ${ROOT}usr/share/${PN}."
+	einfo "You will also find there an example FastCGI script."
+
+	einfo "Radicale supports different authentication backends that depend on external libraries."
+	einfo "Please install"
+	optfeature "LDAP auth" dev-python/python-ldap
+	optfeature "PAM auth" dev-python/python-pam
+	optfeature "HTTP auth" dev-python/requests
+	optfeature "FastCGI mode" dev-python/flup
+	optfeature "Database storage backend" dev-python/sqlalchemy
+	einfo "Please note that some of these libraries are Python 2 only."
+}


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2018-02-24  3:21 Thomas Deutschmann
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Deutschmann @ 2018-02-24  3:21 UTC (permalink / raw
  To: gentoo-commits

commit:     7a16b479386b0087d551eac28b81e2facc97166d
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sat Feb 24 03:16:42 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 03:21:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a16b479

www-apps/radicale: Bump to v1.1.6

Closes: https://github.com/gentoo/gentoo/pull/5990
Bug: https://bugs.gentoo.org/618176
Bug: https://bugs.gentoo.org/618724

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-apps/radicale/Manifest                         |  1 +
 .../radicale/files/radicale-1.1.6-config.patch     | 34 ++++++++++
 www-apps/radicale/radicale-1.1.6.ebuild            | 75 ++++++++++++++++++++++
 3 files changed, 110 insertions(+)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index 8a93a667d07..a84266d4ed5 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1 +1,2 @@
 DIST Radicale-1.1.1.tar.gz 47174 BLAKE2B 60b2ccff2a2c604becc8c4c40d106c467f43be93593471732528cf1939165451702aa6e0ed8435584eb1202072fbe82a9afecd292b6365143d095f784e7eecb5 SHA512 dc251d8fa4d347c2bbcf472b7a2da94d674f858a007fec1d74774cd1f3ae43eb2d5902ed45762638ec49546b8ee1f66446d07b50fc0ff6595deb67ea07f87af2
+DIST Radicale-1.1.6.tar.gz 48280 BLAKE2B 38d3047d473fad24188b597a57d3e1f0e34df03f00f6806b86c447ed731be074bf0b5f6dfb951c8a9f627993bf0763792150bc06532414a658e4d306123fcdd6 SHA512 3fed85fc5fa2b041277112870b8b508a22cc85ec0680dd1cf9411e73715e18a9b0ddd651eafb0c9529bd308e7fd87ae44ecdd82935f4062050919780301d56d9

diff --git a/www-apps/radicale/files/radicale-1.1.6-config.patch b/www-apps/radicale/files/radicale-1.1.6-config.patch
new file mode 100644
index 00000000000..4eb286f8d40
--- /dev/null
+++ b/www-apps/radicale/files/radicale-1.1.6-config.patch
@@ -0,0 +1,34 @@
+diff --git a/config b/config
+index 453a45e..10c1595 100644
+--- a/config
++++ b/config
+@@ -146,7 +146,7 @@ http_password_parameter =
+ #custom_handler =
+ 
+ # File for rights management from_file
+-#file = ~/.config/radicale/rights
++file = /etc/radicale/rights
+ 
+ 
+ [storage]
+@@ -163,7 +163,7 @@ file = ~/.config/radicale/rights
+ #custom_handler =
+ 
+ # Folder for storing local collections, created if not present
+-#filesystem_folder = ~/.config/radicale/collections
++filesystem_folder = /var/lib/radicale/
+ 
+ # Database URL for SQLAlchemy
+ # dialect+driver://user:password@host/dbname[?key=value..]
+diff --git a/logging b/logging
+--- a/logging
++++ b/logging
+@@ -45,7 +45,7 @@ formatter = simple
+ [handler_file]
+ # File handler
+ class = FileHandler
+-args = ('/var/log/radicale',)
++args = ('/var/log/radicale/radicale.log',)
+ formatter = full
+ 
+ 

diff --git a/www-apps/radicale/radicale-1.1.6.ebuild b/www-apps/radicale/radicale-1.1.6.ebuild
new file mode 100644
index 00000000000..702c9e9c110
--- /dev/null
+++ b/www-apps/radicale/radicale-1.1.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+
+inherit eutils distutils-r1 user
+
+MY_PN="Radicale"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A simple CalDAV calendar server"
+HOMEPAGE="http://radicale.org/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-python/vobject-0.9.5[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+RDIR=/var/lib/radicale
+LDIR=/var/log/radicale
+
+PATCHES=( "${FILESDIR}"/${P}-config.patch )
+
+pkg_setup() {
+	enewgroup radicale
+	enewuser radicale -1 -1 ${RDIR} radicale
+}
+
+python_install_all() {
+	rm README* || die
+
+	# init file
+	newinitd "${FILESDIR}"/radicale.init.d radicale
+
+	# directories
+	diropts -m0750
+	dodir ${RDIR}
+	fowners radicale:radicale ${RDIR}
+	keepdir ${RDIR}
+	diropts -m0755
+	dodir ${LDIR}
+	fowners radicale:radicale ${LDIR}
+	keepdir ${LDIR}
+
+	# config file
+	insinto /etc/${PN}
+	doins config logging
+
+	# fcgi and wsgi files
+	exeinto /usr/share/${PN}
+	doexe radicale.wsgi
+	doexe radicale.fcgi
+
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	einfo "A sample WSGI and FastCGI script are in ${EROOT}usr/share/${PN}."
+	einfo "Radicale supports different authentication backends that depend on external libraries."
+	einfo "Please install"
+	optfeature "LDAP auth" dev-python/python-ldap
+	optfeature "PAM auth" dev-python/python-pam
+	optfeature "HTTP auth" dev-python/requests
+	optfeature "FastCGI mode" dev-python/flup
+	optfeature "Database storage backend" dev-python/sqlalchemy
+	einfo "Please note that some of these libraries are Python 2 only."
+}


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2021-01-01  2:03 Michał Górny
  0 siblings, 0 replies; 7+ messages in thread
From: Michał Górny @ 2021-01-01  2:03 UTC (permalink / raw
  To: gentoo-commits

commit:     12f17084ba03c9b80491e8a8e4656c8d12ec1bc8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  1 02:01:44 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  1 02:01:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f17084

www-apps/radicale: Remove old (py3.6)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 www-apps/radicale/Manifest                         |  1 -
 .../radicale/files/radicale-1.1.6-config.patch     | 34 ----------
 www-apps/radicale/files/radicale.init.d            | 26 --------
 www-apps/radicale/radicale-1.1.6.ebuild            | 75 ----------------------
 4 files changed, 136 deletions(-)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index cc9e5c54aa9..912cc59fe18 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1,2 +1 @@
-DIST Radicale-1.1.6.tar.gz 48280 BLAKE2B 38d3047d473fad24188b597a57d3e1f0e34df03f00f6806b86c447ed731be074bf0b5f6dfb951c8a9f627993bf0763792150bc06532414a658e4d306123fcdd6 SHA512 3fed85fc5fa2b041277112870b8b508a22cc85ec0680dd1cf9411e73715e18a9b0ddd651eafb0c9529bd308e7fd87ae44ecdd82935f4062050919780301d56d9
 DIST Radicale-2.1.11.tar.gz 76490 BLAKE2B 35578b693a32d4a77f8ff1c93cbb8fb63fd8dabf9fde79cd928d4afa6e059fe836840ca6a33621c13e9421a69bfb25cbb59688ba83bed62003ef3b56b54804b1 SHA512 e85f12664d3db6b911dd534eaddd15c498ca4f641cc15523644300aca8b1ef3f6fd4d9645857235502f03a7903111905537b04f9a6fdbde1a60fbb720d377733

diff --git a/www-apps/radicale/files/radicale-1.1.6-config.patch b/www-apps/radicale/files/radicale-1.1.6-config.patch
deleted file mode 100644
index 4eb286f8d40..00000000000
--- a/www-apps/radicale/files/radicale-1.1.6-config.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/config b/config
-index 453a45e..10c1595 100644
---- a/config
-+++ b/config
-@@ -146,7 +146,7 @@ http_password_parameter =
- #custom_handler =
- 
- # File for rights management from_file
--#file = ~/.config/radicale/rights
-+file = /etc/radicale/rights
- 
- 
- [storage]
-@@ -163,7 +163,7 @@ file = ~/.config/radicale/rights
- #custom_handler =
- 
- # Folder for storing local collections, created if not present
--#filesystem_folder = ~/.config/radicale/collections
-+filesystem_folder = /var/lib/radicale/
- 
- # Database URL for SQLAlchemy
- # dialect+driver://user:password@host/dbname[?key=value..]
-diff --git a/logging b/logging
---- a/logging
-+++ b/logging
-@@ -45,7 +45,7 @@ formatter = simple
- [handler_file]
- # File handler
- class = FileHandler
--args = ('/var/log/radicale',)
-+args = ('/var/log/radicale/radicale.log',)
- formatter = full
- 
- 

diff --git a/www-apps/radicale/files/radicale.init.d b/www-apps/radicale/files/radicale.init.d
deleted file mode 100644
index a59e8d38709..00000000000
--- a/www-apps/radicale/files/radicale.init.d
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/radicale.pid
-
-depend() {
-    use net
-    need localmount
-}
-
-start() {
-    ebegin "Starting radicale"
-        start-stop-daemon --start --quiet --background \
-        --user radicale \
-        --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-1.1.6.ebuild b/www-apps/radicale/radicale-1.1.6.ebuild
deleted file mode 100644
index 529fb1d8de2..00000000000
--- a/www-apps/radicale/radicale-1.1.6.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1 optfeature user
-
-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 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=dev-python/vobject-0.9.5[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/${MY_P}
-
-RDIR=/var/lib/radicale
-LDIR=/var/log/radicale
-
-PATCHES=( "${FILESDIR}"/${P}-config.patch )
-
-pkg_setup() {
-	enewgroup radicale
-	enewuser radicale -1 -1 ${RDIR} radicale
-}
-
-python_install_all() {
-	rm README* || die
-
-	# init file
-	newinitd "${FILESDIR}"/radicale.init.d radicale
-
-	# directories
-	diropts -m0750
-	dodir ${RDIR}
-	fowners radicale:radicale ${RDIR}
-	keepdir ${RDIR}
-	diropts -m0755
-	dodir ${LDIR}
-	fowners radicale:radicale ${LDIR}
-	keepdir ${LDIR}
-
-	# config file
-	insinto /etc/${PN}
-	doins config logging
-
-	# fcgi and wsgi files
-	exeinto /usr/share/${PN}
-	doexe radicale.wsgi
-	doexe radicale.fcgi
-
-	distutils-r1_python_install_all
-}
-
-pkg_postinst() {
-	einfo "A sample WSGI and FastCGI script are in ${EROOT}usr/share/${PN}."
-	einfo "Radicale supports different authentication backends that depend on external libraries."
-	einfo "Please install"
-	optfeature "LDAP auth" dev-python/python-ldap
-	optfeature "PAM auth" dev-python/python-pam
-	optfeature "HTTP auth" dev-python/requests
-	optfeature "FastCGI mode" dev-python/flup
-	optfeature "Database storage backend" dev-python/sqlalchemy
-	einfo "Please note that some of these libraries are Python 2 only."
-}


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2021-03-27 17:01 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-03-27 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     d9a66fab5eecfcdab4730e5164957c939741fcf8
Author:     scardracs <marco <AT> scardovi <DOT> com>
AuthorDate: Sat Mar 27 12:52:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 16:42:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a66fab

www-apps/radicale: bump to 3.0.6

Bumped to new version and added dev-python/defusedxml as RDEPEND.
Tested against python3.8/3.9 and gcc10. Not tested with musl.

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/20143
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apps/radicale/Manifest                 |  1 +
 www-apps/radicale/files/radicale-r2.init.d |  2 +-
 www-apps/radicale/metadata.xml             | 23 ++++++----
 www-apps/radicale/radicale-3.0.6.ebuild    | 73 ++++++++++++++++++++++++++++++
 4 files changed, 90 insertions(+), 9 deletions(-)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index 9147cf28c9a..158b1ea3b9c 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1 +1,2 @@
 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
index 00f85d29e0e..6e7d734ebef 100644
--- a/www-apps/radicale/files/radicale-r2.init.d
+++ b/www-apps/radicale/files/radicale-r2.init.d
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 PIDFILE=/run/radicale.pid

diff --git a/www-apps/radicale/metadata.xml b/www-apps/radicale/metadata.xml
index 6d1efe9490c..a62d044f7fd 100644
--- a/www-apps/radicale/metadata.xml
+++ b/www-apps/radicale/metadata.xml
@@ -1,12 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-    <!-- maintainer-needed -->
-    <stabilize-allarches/>
-    <upstream>
-        <remote-id type="pypi">Radicale</remote-id>
-    </upstream>
-    <use>
-        <flag name="bcrypt">Depend on passlib to enable bcrypt and md5 authentication methods</flag>
-    </use>
+	<maintainer type="person" proxied="yes">
+		<email>marco@scardovi.com</email>
+		<name>Marco Scardovi</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">Radicale</remote-id>
+	</upstream>
+	<use>
+		<flag name="bcrypt">Depend on passlib to enable bcrypt and md5 authentication methods</flag>
+	</use>
 </pkgmetadata>

diff --git a/www-apps/radicale/radicale-3.0.6.ebuild b/www-apps/radicale/radicale-3.0.6.ebuild
new file mode 100644
index 00000000000..9f347464292
--- /dev/null
+++ b/www-apps/radicale/radicale-3.0.6.ebuild
@@ -0,0 +1,73 @@
+# 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..9} )
+
+inherit distutils-r1 eutils systemd
+
+DESCRIPTION="A simple CalDAV calendar server"
+HOMEPAGE="https://radicale.org/"
+SRC_URI="https://github.com/Kozea/Radicale/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+bcrypt"
+
+MY_P="Radicale-${PV}"
+
+RDEPEND="
+	acct-user/radicale
+	acct-group/radicale
+	dev-python/defusedxml
+	>=dev-python/vobject-0.9.6[${PYTHON_USEDEP}]
+	>=dev-python/python-dateutil-2.8.1[${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
+
+	# fcgi and wsgi files
+	exeinto /usr/share/${PN}
+	doexe 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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2021-04-07  7:51 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2021-04-07  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     4859bc9fe2b11a7b8a8233462b8efe91781f41dc
Author:     Marco Scardovi <Marco <Scardovi>
AuthorDate: Sun Mar 28 11:02:08 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 07:51:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4859bc9f

www-apps/radicale: fix radicale.init.d

Closes: https://bugs.gentoo.org/778878
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/radicale/files/radicale-r2.init.d         | 26 ++++++++++-----------
 www-apps/radicale/files/radicale-r3.init.d         | 27 ++++++++++++++++++++++
 ...icale-3.0.6.ebuild => radicale-3.0.6-r1.ebuild} |  4 ++--
 3 files changed, 42 insertions(+), 15 deletions(-)

diff --git a/www-apps/radicale/files/radicale-r2.init.d b/www-apps/radicale/files/radicale-r2.init.d
index 6e7d734ebef..6b1e0b37d95 100644
--- a/www-apps/radicale/files/radicale-r2.init.d
+++ b/www-apps/radicale/files/radicale-r2.init.d
@@ -5,23 +5,23 @@
 PIDFILE=/run/radicale.pid
 
 depend() {
-    need localmount
+	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 $?
+	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 $?
+	ebegin "Stopping radicale"
+		start-stop-daemon --stop --quiet \
+		--pidfile ${PIDFILE}
+	eend $?
 }

diff --git a/www-apps/radicale/files/radicale-r3.init.d b/www-apps/radicale/files/radicale-r3.init.d
new file mode 100644
index 00000000000..bb0cc5db08b
--- /dev/null
+++ b/www-apps/radicale/files/radicale-r3.init.d
@@ -0,0 +1,27 @@
+#!/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
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping radicale"
+		start-stop-daemon --stop --quiet \
+		--pidfile ${PIDFILE}
+	eend $?
+}

diff --git a/www-apps/radicale/radicale-3.0.6.ebuild b/www-apps/radicale/radicale-3.0.6-r1.ebuild
similarity index 96%
rename from www-apps/radicale/radicale-3.0.6.ebuild
rename to www-apps/radicale/radicale-3.0.6-r1.ebuild
index 9f347464292..c0d9d9f313b 100644
--- a/www-apps/radicale/radicale-3.0.6.ebuild
+++ b/www-apps/radicale/radicale-3.0.6-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{7..9} )
@@ -37,7 +37,7 @@ python_install_all() {
 	rm README* || die
 
 	# init file
-	newinitd "${FILESDIR}"/radicale-r2.init.d radicale
+	newinitd "${FILESDIR}"/radicale-r3.init.d radicale
 	systemd_dounit "${FILESDIR}/${PN}.service"
 
 	# directories


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2021-04-28  6:42 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2021-04-28  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     a3327bfde9e17d219080e9aeb7ec744c1b61a38b
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Apr 16 12:03:12 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 06:42:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3327bfd

www-apps/radicale: add back radicale 2.1.12

Added 2.1.12 back due to bug: https://bugs.gentoo.org/783057

Waiting upstream for bugfix: https://github.com/Kozea/Radicale/issues/1142

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/20407
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/radicale/Manifest                 |  1 +
 www-apps/radicale/files/radicale-r2.init.d | 27 +++++++++++
 www-apps/radicale/metadata.xml             |  5 ++-
 www-apps/radicale/radicale-2.1.12.ebuild   | 72 ++++++++++++++++++++++++++++++
 4 files changed, 104 insertions(+), 1 deletion(-)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index 65bd4d52291..1f7f02d5411 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1 +1,2 @@
+DIST radicale-2.1.12.tar.gz 123828 BLAKE2B 38ffb264b1f8e185642e0236821bd1a7714c34306f4d67d181a9130c7955b9f3a616547fa04a15781c2587bbdc5e7ea1eeab9da65790b72fb78cd83d78b0fd43 SHA512 98b5c1e6c71928859de9f497b7e968e56c659e9e5d8c559d4359718511d67a23d4daa9adca679f5f732ad531cb04d184b022cf2684fa5fdbfe24a35c92813968
 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
new file mode 100644
index 00000000000..23da22d7fc9
--- /dev/null
+++ b/www-apps/radicale/files/radicale-r2.init.d
@@ -0,0 +1,27 @@
+#!/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/metadata.xml b/www-apps/radicale/metadata.xml
index 4c4f4b3022a..4912a745a44 100644
--- a/www-apps/radicale/metadata.xml
+++ b/www-apps/radicale/metadata.xml
@@ -11,6 +11,9 @@
 	</maintainer>
 	<stabilize-allarches/>
 	<upstream>
-		<remote-id type="pypi">Radicale</remote-id>
+		<remote-id type="github">Kozea/Radicale</remote-id>
 	</upstream>
+	<use>
+		<flag name="bcrypt">Enable bcrypt</flag>
+	</use>
 </pkgmetadata>

diff --git a/www-apps/radicale/radicale-2.1.12.ebuild b/www-apps/radicale/radicale-2.1.12.ebuild
new file mode 100644
index 00000000000..1db7cd93f32
--- /dev/null
+++ b/www-apps/radicale/radicale-2.1.12.ebuild
@@ -0,0 +1,72 @@
+# 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..9} )
+
+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="https://github.com/Kozea/Radicale/archive/refs/tags/${PV}.tar.gz -> ${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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
@ 2024-08-13 12:41 Joonas Niilola
  0 siblings, 0 replies; 7+ messages in thread
From: Joonas Niilola @ 2024-08-13 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     bbf423c1a494c9e17e1f7dafaf52164c3f0205e2
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Mon Aug  5 15:06:14 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/37980
Signed-off-by: Joonas Niilola <juippis <AT> 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? (
+		<dev-python/pytest-8[${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}"
+
+	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
+}


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

end of thread, other threads:[~2024-08-13 12:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-07  7:51 [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2024-08-13 12:41 Joonas Niilola
2021-04-28  6:42 Joonas Niilola
2021-03-27 17:01 Sam James
2021-01-01  2:03 Michał Górny
2018-02-24  3:21 Thomas Deutschmann
2016-01-26 20:06 Maxim Koltsov

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