* [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/
@ 2011-10-20 13:10 Hans de Graaff
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2011-10-20 13:10 UTC (permalink / raw
To: gentoo-commits
commit: c04a4d91132c285c73ae6ce15a45c873883b9f71
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Thu Oct 20 13:10:07 2011 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 13:10:07 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=c04a4d91
New
(Portage version: 2.1.10.11/git/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
---
app-office/radicale/ChangeLog | 18 +++++++++
app-office/radicale/Manifest | 15 ++++++++
app-office/radicale/files/radicale.init.d | 26 ++++++++++++++
app-office/radicale/metadata.xml | 6 +++
app-office/radicale/radicale-0.6.2.ebuild | 54 +++++++++++++++++++++++++++++
5 files changed, 119 insertions(+), 0 deletions(-)
diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLog
new file mode 100644
index 0000000..18d4792
--- /dev/null
+++ b/app-office/radicale/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for app-office/radicale
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
+ +files/radicale.init.d, +metadata.xml:
+ New version for testing purposes.
+
+ 20 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
+ +files/radicale.init.d:
+ New version for testing purposes.
+
+*radicale-0.6.2 (11 Oct 2011)
+
+ 11 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
+ +files/radicale.init.d:
+ Add new version from bug 322811 for testing purposes.
+
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
new file mode 100644
index 0000000..775d20e
--- /dev/null
+++ b/app-office/radicale/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX radicale.init.d 550 RMD160 7ef17c53ea0833bd39a205bdf2cb975f1e99bb62 SHA1 cd9f9d78e448299528e7605d52487d3c3511d3f2 SHA256 1f3a6586a3ab9c9abc561b6ce663942908a5ad359848cb244a1850a4268139eb
+DIST Radicale-0.6.2.tar.gz 30784 RMD160 8b2559116f6f196a610069d8f9fde7d640c3cbb6 SHA1 c80be198b3ea7c47f73642b1e7e76fdb0ed20e9d SHA256 90067706ef8f03a7debcea5c91e87ff94756dfc59eaad26d13d4cd84cda592c9
+EBUILD radicale-0.6.2.ebuild 1244 RMD160 0e6141bf71f76c5bb0167cb0e09ae3563b96813f SHA1 c6906f98667806ac6b48a1182399136b2c345865 SHA256 c877b26955737f4042bd3b12744736993829f17ffd42eeab30ad802ddccfb5b7
+MISC ChangeLog 597 RMD160 1cb50adab580e218b7dc7ab985ecc99bde7ebde1 SHA1 971327d2e1cdaee87ee9ee3a6ba77407b9adf59c SHA256 8ba524d84fd8964848193cb9b1ee820bef4233651a883676b9a4ca0662ea6897
+MISC metadata.xml 222 RMD160 c395116c51764efaa671a0f89a7d8992ecbe7304 SHA1 2095e0ced2657346964271e45cc69027b0ccd49d SHA256 0adb6b2a2a8cc78f3d28b8b629db9d9e5731f21da86168ae88eeadc8b82d3225
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk6gHa4ACgkQiIP6VqMIqNcyIgD/Zi4fV3NOynVWyZQNh6wJjC0f
+wjevu2B76N+Jv/tLhRsA/1cHXY6bjAVonri9bOdkcfes7Am8NtOuOoigZKLM+yWz
+=RZkp
+-----END PGP SIGNATURE-----
diff --git a/app-office/radicale/files/radicale.init.d b/app-office/radicale/files/radicale.init.d
new file mode 100644
index 0000000..bfda83d
--- /dev/null
+++ b/app-office/radicale/files/radicale.init.d
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2011 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 \
+ --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/app-office/radicale/metadata.xml b/app-office/radicale/metadata.xml
new file mode 100644
index 0000000..fadb566
--- /dev/null
+++ b/app-office/radicale/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>graaff@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/app-office/radicale/radicale-0.6.2.ebuild b/app-office/radicale/radicale-0.6.2.ebuild
new file mode 100644
index 0000000..14ee0cb
--- /dev/null
+++ b/app-office/radicale/radicale-0.6.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS=1
+
+inherit distutils
+
+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="~x86 ~amd64"
+IUSE="fastcgi ldap ssl"
+
+# the '>=' goes ok, as radicale supports _all_ other python version
+# this includes all 3.* versions
+RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
+ ldap? ( dev-python/python-ldap )
+ fastcgi? ( dev-python/flup )"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ # delete the useless .rst, so that it is not installed
+ rm README.rst
+
+ distutils_src_install
+
+ # init file
+ newinitd "${FILESDIR}"/radicale.init.d radicale || die
+
+ # config file
+ insinto /etc/${PN}
+ doins config logging || die
+
+ # fcgi and wsgi files
+ insinto /usr/share/${PN}
+ doins radicale.wsgi
+ use fastcgi && doins radicale.fcgi
+}
+
+pkg_postinst() {
+ einfo "Radicale now supports WSGI."
+ einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
+ use fastcgi && einfo "You will also find there an example fcgi-script."
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/
@ 2013-10-08 9:29 Hans de Graaff
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2013-10-08 9:29 UTC (permalink / raw
To: gentoo-commits
commit: b4657ba4bfcaee51226a7efd178c1835b921b757
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Oct 6 15:59:58 2013 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 15:59:58 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=b4657ba4
Update from bug 322811.
Package-Manager: portage-2.2.1
---
app-office/radicale/ChangeLog | 8 ++-
app-office/radicale/Manifest | 11 +---
.../radicale/files/radicale-0.8-config.patch | 77 ++++++++++++++++++++++
app-office/radicale/metadata.xml | 5 ++
app-office/radicale/radicale-0.8.ebuild | 75 +++++++++++++++++++++
5 files changed, 165 insertions(+), 11 deletions(-)
diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLog
index fd8ba38..573946d 100644
--- a/app-office/radicale/ChangeLog
+++ b/app-office/radicale/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for app-office/radicale
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*radicale-0.8 (06 Oct 2013)
+
+ 06 Oct 2013; Hans de Graaff <graaff@gentoo.org> +radicale-0.8.ebuild,
+ +files/radicale-0.8-config.patch:
+ Update from bug 322811.
+
*radicale-0.7.1 (04 Aug 2012)
04 Aug 2012; Hans de Graaff <graaff@gentoo.org> +radicale-0.7.1.ebuild:
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
index 338aab8..b17b4f3 100644
--- a/app-office/radicale/Manifest
+++ b/app-office/radicale/Manifest
@@ -1,12 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST Radicale-0.7.1.tar.gz 35355 SHA256 36e076b8c54be9df61a8434e9670d852429dcae557fadb77de23e762258bb8e4 SHA512 00ad9788b39a33f94e656e9104e1a81a9052b182021ea486d865a826c8e8711d58476beb35b89fd46371166886d9a312f417db49d81293d0434af0261c1636e1 WHIRLPOOL a353dad90c3391e104b113479b975e4a29049e7c4301122c6ed064233cc757661ea56ee92fbfe21c97e2702787bd8f639ae93418d68ac3abacb744848d909fa1
DIST Radicale-0.7.tar.gz 34061 SHA256 f3d17d16bac4cbeedc5e66a8b711f29d51309e9264a9ef930b5d466503794c09 SHA512 7c7fb9ad0b9820d490f615af9193bbbbb204aee9f940264221d2e74ef72ffcc28bdb84b97dcd225efe117d346e386465c25c1798875831587033341e432716f0 WHIRLPOOL e6322e41c0ebcf19eb8874f574a797a4aa4c63822587be4c59ebce105c2b19b9e9bc1dc09890f5a5d0a5d95a6029ab6ab8ea0f82362d3f893a65d91d42482e22
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iF4EAREIAAYFAlAcwaAACgkQiIP6VqMIqNeDxQD9Ey9TZRN+lBymoOguWbuQxmPa
-duuvkpCTH9oCgrDHf+cA/iyvIMT+bal/O1kjCrJRJgks+K4ClAO4F1uPgeN5BeNn
-=Bav1
------END PGP SIGNATURE-----
+DIST Radicale-0.8.tar.gz 39813 SHA256 e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941 SHA512 8b4db28b1fedc78e6d638a8e00dbbe0f37ada39686aae4afdf427461bbd7189d8222adf417fa5e546d9f6a6c7ff0c08eb3aa8609e9fb57c17a9e30161eabba85 WHIRLPOOL c705914db79503215f86e40545950e0fb07d439bc89372849865fece597eb863c28bd13255206a6e298308ba0a819b2e065ca05b592fc7bbb0c2c44896322138
diff --git a/app-office/radicale/files/radicale-0.8-config.patch b/app-office/radicale/files/radicale-0.8-config.patch
new file mode 100644
index 0000000..aa867bc
--- /dev/null
+++ b/app-office/radicale/files/radicale-0.8-config.patch
@@ -0,0 +1,77 @@
+From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@necoro.eu>
+Date: Sun, 15 Sep 2013 14:02:32 +0200
+Subject: Fix the config for Gentoo's default needs.
+
+ * Set pathes
+ * Set rights.type to 'owner_only' to model pre-0.8 behavior
+ (None means 'everyone is allowed everything')
+ * Remove 'public_users' and 'private_users' as they are obsolete.
+---
+ config | 13 ++++---------
+ logging | 2 +-
+ 2 files changed, 5 insertions(+), 10 deletions(-)
+
+diff --git a/config b/config
+index 453a45e..10c1595 100644
+--- a/config
++++ b/config
+@@ -30,7 +30,7 @@ dns_lookup = True
+ # Root URL of Radicale (starting and ending with a slash)
+ base_prefix = /
+ # Message displayed in the client when a password is needed
+-realm = Radicale - Password Required lol
++realm = Radicale - Password Required
+
+
+ [encoding]
+@@ -45,11 +45,6 @@ stock = utf-8
+ # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http
+ type = None
+
+-# Usernames used for public collections, separated by a comma
+-public_users = public
+-# Usernames used for private collections, separated by a comma
+-private_users = private
+-
+ # Htpasswd filename
+ htpasswd_filename = /etc/radicale/users
+ # Htpasswd encryption method
+@@ -97,10 +92,10 @@ http_password_parameter =
+ [rights]
+ # Rights management method
+ # Value: None | owner_only | owner_write | from_file
+-type = None
++type = owner_only
+
+ # File for rights management from_file
+-file = ~/.config/radicale/rights
++file = /etc/radicale/rights
+
+
+ [storage]
+@@ -109,7 +104,7 @@ file = ~/.config/radicale/rights
+ type = filesystem
+
+ # 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
+index f4efb88..b10f88c 100644
+--- 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
+
+
+--
+1.8.1.5
+
diff --git a/app-office/radicale/metadata.xml b/app-office/radicale/metadata.xml
index f977299..d53c88f 100644
--- a/app-office/radicale/metadata.xml
+++ b/app-office/radicale/metadata.xml
@@ -2,4 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer><email>graaff@gentoo.org</email></maintainer>
+<use>
+ <flag name="sql">
+ Add SQL support.
+ </flag>
+</use>
</pkgmetadata>
diff --git a/app-office/radicale/radicale-0.8.ebuild b/app-office/radicale/radicale-0.8.ebuild
new file mode 100644
index 0000000..9881005
--- /dev/null
+++ b/app-office/radicale/radicale-0.8.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# radicale also supports python3_{2,3}
+# but python-ldap and flup are blocking here
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="ssl?"
+
+inherit 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="~x86 ~amd64"
+IUSE="fastcgi ldap sql ssl"
+
+RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
+ fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
+ sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
+
+# radicale's authentication against PAM is not possible here:
+# Gentoo has not included the package
+# also it seems old, which is bad with respect to
+# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
+
+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() {
+ # delete the useless .rst, so that it is not installed
+ rm README.rst
+
+ # init file
+ newinitd "${FILESDIR}"/radicale.init.d radicale || die
+
+ # directories
+ diropts -m0750
+ dodir ${RDIR}; fowners radicale:radicale ${RDIR}
+ dodir ${LDIR}; fowners radicale:radicale ${LDIR}
+
+ # config file
+ insinto /etc/${PN}
+ doins config logging || die
+
+ # fcgi and wsgi files
+ insinto /usr/share/${PN}
+ doins radicale.wsgi
+ use fastcgi && doins radicale.fcgi
+
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ einfo "Radicale now supports WSGI."
+ einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
+ use fastcgi && einfo "You will also find there an example fcgi-script."
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/
@ 2015-06-15 17:40 Hans de Graaff
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2015-06-15 17:40 UTC (permalink / raw
To: gentoo-commits
commit: d7f94acd19fe34b1cbf81a0db94054b826308ee2
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jun 15 17:40:15 2015 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 17:40:15 2015 +0000
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=d7f94acd
Version bump.
Package-Manager: portage-2.2.18
app-office/radicale/ChangeLog | 8 ++-
app-office/radicale/Manifest | 1 +
.../radicale/files/radicale-0.10-config.patch | 30 +++++++++
app-office/radicale/radicale-0.10.ebuild | 75 ++++++++++++++++++++++
4 files changed, 113 insertions(+), 1 deletion(-)
diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLog
index 573946d..49ac643 100644
--- a/app-office/radicale/ChangeLog
+++ b/app-office/radicale/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for app-office/radicale
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*radicale-0.10 (15 Jun 2015)
+
+ 15 Jun 2015; Hans de Graaff <graaff@gentoo.org> +radicale-0.10.ebuild,
+ +files/radicale-0.10-config.patch:
+ Version bump.
+
*radicale-0.8 (06 Oct 2013)
06 Oct 2013; Hans de Graaff <graaff@gentoo.org> +radicale-0.8.ebuild,
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
index b17b4f3..6522ce5 100644
--- a/app-office/radicale/Manifest
+++ b/app-office/radicale/Manifest
@@ -1,3 +1,4 @@
+DIST Radicale-0.10.tar.gz 43051 SHA256 0c6522f5751685fc159524ed7acee811ccb9a582db2adb6bbb4da99ce0103d64 SHA512 d223df0277e43081c9d5a95f30fb5ad5f852b24fc9493b089e36d82ee45ce1549b68e28bf8bdd12352bc3f087babc8f3b6d4e3fce87980e6ca5e3e75f4ace820 WHIRLPOOL 9e4b1beae792e47badb7b33bf343e442f92e9add9d3f877b8796f0c51eda448b0ed975bb9ad99d8d18a69c106813595a16ec108889cefffb6504c8fcae02450f
DIST Radicale-0.7.1.tar.gz 35355 SHA256 36e076b8c54be9df61a8434e9670d852429dcae557fadb77de23e762258bb8e4 SHA512 00ad9788b39a33f94e656e9104e1a81a9052b182021ea486d865a826c8e8711d58476beb35b89fd46371166886d9a312f417db49d81293d0434af0261c1636e1 WHIRLPOOL a353dad90c3391e104b113479b975e4a29049e7c4301122c6ed064233cc757661ea56ee92fbfe21c97e2702787bd8f639ae93418d68ac3abacb744848d909fa1
DIST Radicale-0.7.tar.gz 34061 SHA256 f3d17d16bac4cbeedc5e66a8b711f29d51309e9264a9ef930b5d466503794c09 SHA512 7c7fb9ad0b9820d490f615af9193bbbbb204aee9f940264221d2e74ef72ffcc28bdb84b97dcd225efe117d346e386465c25c1798875831587033341e432716f0 WHIRLPOOL e6322e41c0ebcf19eb8874f574a797a4aa4c63822587be4c59ebce105c2b19b9e9bc1dc09890f5a5d0a5d95a6029ab6ab8ea0f82362d3f893a65d91d42482e22
DIST Radicale-0.8.tar.gz 39813 SHA256 e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941 SHA512 8b4db28b1fedc78e6d638a8e00dbbe0f37ada39686aae4afdf427461bbd7189d8222adf417fa5e546d9f6a6c7ff0c08eb3aa8609e9fb57c17a9e30161eabba85 WHIRLPOOL c705914db79503215f86e40545950e0fb07d439bc89372849865fece597eb863c28bd13255206a6e298308ba0a819b2e065ca05b592fc7bbb0c2c44896322138
diff --git a/app-office/radicale/files/radicale-0.10-config.patch b/app-office/radicale/files/radicale-0.10-config.patch
new file mode 100644
index 0000000..ae5e81c
--- /dev/null
+++ b/app-office/radicale/files/radicale-0.10-config.patch
@@ -0,0 +1,30 @@
+From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@necoro.eu>
+Date: Sun, 15 Sep 2013 14:02:32 +0200
+Subject: Fix the config for Gentoo's default needs.
+
+ * Set pathes
+ * Set rights.type to 'owner_only' to model pre-0.8 behavior
+ (None means 'everyone is allowed everything')
+ * Remove 'public_users' and 'private_users' as they are obsolete.
+---
+ config | 13 ++++---------
+ logging | 2 +-
+ 2 files changed, 5 insertions(+), 10 deletions(-)
+
+diff --git a/config b/config
+index 453a45e..10c1595 100644
+--- 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
+
+
+--
+1.8.1.5
+
diff --git a/app-office/radicale/radicale-0.10.ebuild b/app-office/radicale/radicale-0.10.ebuild
new file mode 100644
index 0000000..553f04b
--- /dev/null
+++ b/app-office/radicale/radicale-0.10.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# radicale also supports python3_{2,3}
+# but python-ldap and flup are blocking here
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="ssl?"
+
+inherit 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="~x86 ~amd64"
+IUSE="fastcgi ldap sql ssl"
+
+RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
+ fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
+ sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
+
+# radicale's authentication against PAM is not possible here:
+# Gentoo has not included the package
+# also it seems old, which is bad with respect to
+# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
+
+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() {
+ # delete the useless .rst, so that it is not installed
+ rm README.rst
+
+ # init file
+ newinitd "${FILESDIR}"/radicale.init.d radicale || die
+
+ # directories
+ diropts -m0750
+ dodir ${RDIR}; fowners radicale:radicale ${RDIR}
+ dodir ${LDIR}; fowners radicale:radicale ${LDIR}
+
+ # config file
+ insinto /etc/${PN}
+ doins config logging || die
+
+ # fcgi and wsgi files
+ insinto /usr/share/${PN}
+ doins radicale.wsgi
+ use fastcgi && doins radicale.fcgi
+
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ einfo "Radicale now supports WSGI."
+ einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
+ use fastcgi && einfo "You will also find there an example fcgi-script."
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/
@ 2016-05-04 8:41 Hans de Graaff
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2016-05-04 8:41 UTC (permalink / raw
To: gentoo-commits
commit: 4d5dd1278e68fb8a12e6840baa8ac63ad2add9c0
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Wed May 4 08:41:10 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed May 4 08:41:10 2016 +0000
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=4d5dd127
newer versions are now in the gentoo tree
app-office/radicale/ChangeLog | 61 -----------------
app-office/radicale/Manifest | 3 -
.../radicale/files/radicale-0.10-config.patch | 30 ---------
.../radicale/files/radicale-0.8-config.patch | 77 ----------------------
app-office/radicale/files/radicale.init.d | 26 --------
app-office/radicale/metadata.xml | 10 ---
app-office/radicale/radicale-0.10.ebuild | 75 ---------------------
app-office/radicale/radicale-0.7.1.ebuild | 56 ----------------
app-office/radicale/radicale-0.8.ebuild | 75 ---------------------
9 files changed, 413 deletions(-)
diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLog
deleted file mode 100644
index aae86a4..0000000
--- a/app-office/radicale/ChangeLog
+++ /dev/null
@@ -1,61 +0,0 @@
-# ChangeLog for app-office/radicale
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 15 Jun 2015; Hans de Graaff <graaff@gentoo.org> -radicale-0.7.ebuild:
- Cleanup.
-
-*radicale-0.10 (15 Jun 2015)
-
- 15 Jun 2015; Hans de Graaff <graaff@gentoo.org> +radicale-0.10.ebuild,
- +files/radicale-0.10-config.patch:
- Version bump.
-
-*radicale-0.8 (06 Oct 2013)
-
- 06 Oct 2013; Hans de Graaff <graaff@gentoo.org> +radicale-0.8.ebuild,
- +files/radicale-0.8-config.patch:
- Update from bug 322811.
-
-*radicale-0.7.1 (04 Aug 2012)
-
- 04 Aug 2012; Hans de Graaff <graaff@gentoo.org> +radicale-0.7.1.ebuild:
- Version bump.
-
- 04 Aug 2012; Hans de Graaff <graaff@gentoo.org> -radicale-0.6.2.ebuild,
- -radicale-0.6.3.ebuild, -radicale-0.6.4.ebuild:
- Cleanup.
-
-*radicale-0.7 (02 Jun 2012)
-
- 02 Jun 2012; Hans de Graaff <graaff@gentoo.org> +radicale-0.7.ebuild:
- Version bump.
-
- 09 Mar 2012; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.4.ebuild,
- metadata.xml:
- Version bump.
-
-*radicale-0.6.4 (09 Mar 2012)
-
- 09 Mar 2012; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.4.ebuild:
- Version bump.
-
-*radicale-0.6.3 (02 Dec 2011)
-
- 02 Dec 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.3.ebuild:
- Version bump.
-
- 20 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
- +files/radicale.init.d, +metadata.xml:
- New version for testing purposes.
-
- 20 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
- +files/radicale.init.d:
- New version for testing purposes.
-
-*radicale-0.6.2 (11 Oct 2011)
-
- 11 Oct 2011; Hans de Graaff <graaff@gentoo.org> +radicale-0.6.2.ebuild,
- +files/radicale.init.d:
- Add new version from bug 322811 for testing purposes.
-
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
deleted file mode 100644
index c6632c4..0000000
--- a/app-office/radicale/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST Radicale-0.10.tar.gz 43051 SHA256 0c6522f5751685fc159524ed7acee811ccb9a582db2adb6bbb4da99ce0103d64 SHA512 d223df0277e43081c9d5a95f30fb5ad5f852b24fc9493b089e36d82ee45ce1549b68e28bf8bdd12352bc3f087babc8f3b6d4e3fce87980e6ca5e3e75f4ace820 WHIRLPOOL 9e4b1beae792e47badb7b33bf343e442f92e9add9d3f877b8796f0c51eda448b0ed975bb9ad99d8d18a69c106813595a16ec108889cefffb6504c8fcae02450f
-DIST Radicale-0.7.1.tar.gz 35355 SHA256 36e076b8c54be9df61a8434e9670d852429dcae557fadb77de23e762258bb8e4 SHA512 00ad9788b39a33f94e656e9104e1a81a9052b182021ea486d865a826c8e8711d58476beb35b89fd46371166886d9a312f417db49d81293d0434af0261c1636e1 WHIRLPOOL a353dad90c3391e104b113479b975e4a29049e7c4301122c6ed064233cc757661ea56ee92fbfe21c97e2702787bd8f639ae93418d68ac3abacb744848d909fa1
-DIST Radicale-0.8.tar.gz 39813 SHA256 e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941 SHA512 8b4db28b1fedc78e6d638a8e00dbbe0f37ada39686aae4afdf427461bbd7189d8222adf417fa5e546d9f6a6c7ff0c08eb3aa8609e9fb57c17a9e30161eabba85 WHIRLPOOL c705914db79503215f86e40545950e0fb07d439bc89372849865fece597eb863c28bd13255206a6e298308ba0a819b2e065ca05b592fc7bbb0c2c44896322138
diff --git a/app-office/radicale/files/radicale-0.10-config.patch b/app-office/radicale/files/radicale-0.10-config.patch
deleted file mode 100644
index ae5e81c..0000000
--- a/app-office/radicale/files/radicale-0.10-config.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@necoro.eu>
-Date: Sun, 15 Sep 2013 14:02:32 +0200
-Subject: Fix the config for Gentoo's default needs.
-
- * Set pathes
- * Set rights.type to 'owner_only' to model pre-0.8 behavior
- (None means 'everyone is allowed everything')
- * Remove 'public_users' and 'private_users' as they are obsolete.
----
- config | 13 ++++---------
- logging | 2 +-
- 2 files changed, 5 insertions(+), 10 deletions(-)
-
-diff --git a/config b/config
-index 453a45e..10c1595 100644
---- 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
-
-
---
-1.8.1.5
-
diff --git a/app-office/radicale/files/radicale-0.8-config.patch b/app-office/radicale/files/radicale-0.8-config.patch
deleted file mode 100644
index aa867bc..0000000
--- a/app-office/radicale/files/radicale-0.8-config.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@necoro.eu>
-Date: Sun, 15 Sep 2013 14:02:32 +0200
-Subject: Fix the config for Gentoo's default needs.
-
- * Set pathes
- * Set rights.type to 'owner_only' to model pre-0.8 behavior
- (None means 'everyone is allowed everything')
- * Remove 'public_users' and 'private_users' as they are obsolete.
----
- config | 13 ++++---------
- logging | 2 +-
- 2 files changed, 5 insertions(+), 10 deletions(-)
-
-diff --git a/config b/config
-index 453a45e..10c1595 100644
---- a/config
-+++ b/config
-@@ -30,7 +30,7 @@ dns_lookup = True
- # Root URL of Radicale (starting and ending with a slash)
- base_prefix = /
- # Message displayed in the client when a password is needed
--realm = Radicale - Password Required lol
-+realm = Radicale - Password Required
-
-
- [encoding]
-@@ -45,11 +45,6 @@ stock = utf-8
- # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http
- type = None
-
--# Usernames used for public collections, separated by a comma
--public_users = public
--# Usernames used for private collections, separated by a comma
--private_users = private
--
- # Htpasswd filename
- htpasswd_filename = /etc/radicale/users
- # Htpasswd encryption method
-@@ -97,10 +92,10 @@ http_password_parameter =
- [rights]
- # Rights management method
- # Value: None | owner_only | owner_write | from_file
--type = None
-+type = owner_only
-
- # File for rights management from_file
--file = ~/.config/radicale/rights
-+file = /etc/radicale/rights
-
-
- [storage]
-@@ -109,7 +104,7 @@ file = ~/.config/radicale/rights
- type = filesystem
-
- # 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
-index f4efb88..b10f88c 100644
---- 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
-
-
---
-1.8.1.5
-
diff --git a/app-office/radicale/files/radicale.init.d b/app-office/radicale/files/radicale.init.d
deleted file mode 100644
index bfda83d..0000000
--- a/app-office/radicale/files/radicale.init.d
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 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 \
- --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/app-office/radicale/metadata.xml b/app-office/radicale/metadata.xml
deleted file mode 100644
index d53c88f..0000000
--- a/app-office/radicale/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version = '1.0' encoding = 'UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer><email>graaff@gentoo.org</email></maintainer>
-<use>
- <flag name="sql">
- Add SQL support.
- </flag>
-</use>
-</pkgmetadata>
diff --git a/app-office/radicale/radicale-0.10.ebuild b/app-office/radicale/radicale-0.10.ebuild
deleted file mode 100644
index 553f04b..0000000
--- a/app-office/radicale/radicale-0.10.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-# radicale also supports python3_{2,3}
-# but python-ldap and flup are blocking here
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl?"
-
-inherit 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="~x86 ~amd64"
-IUSE="fastcgi ldap sql ssl"
-
-RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
- sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
-
-# radicale's authentication against PAM is not possible here:
-# Gentoo has not included the package
-# also it seems old, which is bad with respect to
-# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
-
-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() {
- # delete the useless .rst, so that it is not installed
- rm README.rst
-
- # init file
- newinitd "${FILESDIR}"/radicale.init.d radicale || die
-
- # directories
- diropts -m0750
- dodir ${RDIR}; fowners radicale:radicale ${RDIR}
- dodir ${LDIR}; fowners radicale:radicale ${LDIR}
-
- # config file
- insinto /etc/${PN}
- doins config logging || die
-
- # fcgi and wsgi files
- insinto /usr/share/${PN}
- doins radicale.wsgi
- use fastcgi && doins radicale.fcgi
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- einfo "Radicale now supports WSGI."
- einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
- use fastcgi && einfo "You will also find there an example fcgi-script."
-}
diff --git a/app-office/radicale/radicale-0.7.1.ebuild b/app-office/radicale/radicale-0.7.1.ebuild
deleted file mode 100644
index 372a5e3..0000000
--- a/app-office/radicale/radicale-0.7.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-PYTHON_DEPEND="*:2.6"
-SUPPORT_PYTHON_ABIS=1
-
-inherit distutils eutils
-
-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="~x86 ~amd64"
-IUSE="fastcgi ldap ssl"
-
-# the '>=' goes ok, as radicale supports _all_ other python version
-# this includes all 3.* versions
-RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
- ldap? ( dev-python/python-ldap )
- fastcgi? ( dev-python/flup )"
-
-S=${WORKDIR}/${MY_P}
-
-src_install() {
- # delete the useless .rst, so that it is not installed
- rm README.rst
-
- distutils_src_install
-
- # init file
- newinitd "${FILESDIR}"/radicale.init.d radicale || die
-
- # config file
- insinto /etc/${PN}
- doins config logging || die
-
- # fcgi and wsgi files
- insinto /usr/share/${PN}
- doins radicale.wsgi
- use fastcgi && doins radicale.fcgi
-
- dodoc NEWS.rst TODO.rst
-}
-
-pkg_postinst() {
- einfo "Radicale now supports WSGI."
- einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
- use fastcgi && einfo "You will also find there an example fcgi-script."
-}
diff --git a/app-office/radicale/radicale-0.8.ebuild b/app-office/radicale/radicale-0.8.ebuild
deleted file mode 100644
index 9881005..0000000
--- a/app-office/radicale/radicale-0.8.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-# radicale also supports python3_{2,3}
-# but python-ldap and flup are blocking here
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl?"
-
-inherit 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="~x86 ~amd64"
-IUSE="fastcgi ldap sql ssl"
-
-RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
- sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
-
-# radicale's authentication against PAM is not possible here:
-# Gentoo has not included the package
-# also it seems old, which is bad with respect to
-# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
-
-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() {
- # delete the useless .rst, so that it is not installed
- rm README.rst
-
- # init file
- newinitd "${FILESDIR}"/radicale.init.d radicale || die
-
- # directories
- diropts -m0750
- dodir ${RDIR}; fowners radicale:radicale ${RDIR}
- dodir ${LDIR}; fowners radicale:radicale ${LDIR}
-
- # config file
- insinto /etc/${PN}
- doins config logging || die
-
- # fcgi and wsgi files
- insinto /usr/share/${PN}
- doins radicale.wsgi
- use fastcgi && doins radicale.fcgi
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- einfo "Radicale now supports WSGI."
- einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
- use fastcgi && einfo "You will also find there an example fcgi-script."
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-04 8:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 8:41 [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2015-06-15 17:40 Hans de Graaff
2013-10-08 9:29 Hans de Graaff
2011-10-20 13:10 Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox