Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/
Date: Wed, 04 May 2016 08:41:29
Message-Id: 1462351270.4d5dd1278e68fb8a12e6840baa8ac63ad2add9c0.graaff@gentoo
1 commit: 4d5dd1278e68fb8a12e6840baa8ac63ad2add9c0
2 Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
3 AuthorDate: Wed May 4 08:41:10 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 08:41:10 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=4d5dd127
7
8 newer versions are now in the gentoo tree
9
10 app-office/radicale/ChangeLog | 61 -----------------
11 app-office/radicale/Manifest | 3 -
12 .../radicale/files/radicale-0.10-config.patch | 30 ---------
13 .../radicale/files/radicale-0.8-config.patch | 77 ----------------------
14 app-office/radicale/files/radicale.init.d | 26 --------
15 app-office/radicale/metadata.xml | 10 ---
16 app-office/radicale/radicale-0.10.ebuild | 75 ---------------------
17 app-office/radicale/radicale-0.7.1.ebuild | 56 ----------------
18 app-office/radicale/radicale-0.8.ebuild | 75 ---------------------
19 9 files changed, 413 deletions(-)
20
21 diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLog
22 deleted file mode 100644
23 index aae86a4..0000000
24 --- a/app-office/radicale/ChangeLog
25 +++ /dev/null
26 @@ -1,61 +0,0 @@
27 -# ChangeLog for app-office/radicale
28 -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: $
30 -
31 - 15 Jun 2015; Hans de Graaff <graaff@g.o> -radicale-0.7.ebuild:
32 - Cleanup.
33 -
34 -*radicale-0.10 (15 Jun 2015)
35 -
36 - 15 Jun 2015; Hans de Graaff <graaff@g.o> +radicale-0.10.ebuild,
37 - +files/radicale-0.10-config.patch:
38 - Version bump.
39 -
40 -*radicale-0.8 (06 Oct 2013)
41 -
42 - 06 Oct 2013; Hans de Graaff <graaff@g.o> +radicale-0.8.ebuild,
43 - +files/radicale-0.8-config.patch:
44 - Update from bug 322811.
45 -
46 -*radicale-0.7.1 (04 Aug 2012)
47 -
48 - 04 Aug 2012; Hans de Graaff <graaff@g.o> +radicale-0.7.1.ebuild:
49 - Version bump.
50 -
51 - 04 Aug 2012; Hans de Graaff <graaff@g.o> -radicale-0.6.2.ebuild,
52 - -radicale-0.6.3.ebuild, -radicale-0.6.4.ebuild:
53 - Cleanup.
54 -
55 -*radicale-0.7 (02 Jun 2012)
56 -
57 - 02 Jun 2012; Hans de Graaff <graaff@g.o> +radicale-0.7.ebuild:
58 - Version bump.
59 -
60 - 09 Mar 2012; Hans de Graaff <graaff@g.o> +radicale-0.6.4.ebuild,
61 - metadata.xml:
62 - Version bump.
63 -
64 -*radicale-0.6.4 (09 Mar 2012)
65 -
66 - 09 Mar 2012; Hans de Graaff <graaff@g.o> +radicale-0.6.4.ebuild:
67 - Version bump.
68 -
69 -*radicale-0.6.3 (02 Dec 2011)
70 -
71 - 02 Dec 2011; Hans de Graaff <graaff@g.o> +radicale-0.6.3.ebuild:
72 - Version bump.
73 -
74 - 20 Oct 2011; Hans de Graaff <graaff@g.o> +radicale-0.6.2.ebuild,
75 - +files/radicale.init.d, +metadata.xml:
76 - New version for testing purposes.
77 -
78 - 20 Oct 2011; Hans de Graaff <graaff@g.o> +radicale-0.6.2.ebuild,
79 - +files/radicale.init.d:
80 - New version for testing purposes.
81 -
82 -*radicale-0.6.2 (11 Oct 2011)
83 -
84 - 11 Oct 2011; Hans de Graaff <graaff@g.o> +radicale-0.6.2.ebuild,
85 - +files/radicale.init.d:
86 - Add new version from bug 322811 for testing purposes.
87 -
88
89 diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
90 deleted file mode 100644
91 index c6632c4..0000000
92 --- a/app-office/radicale/Manifest
93 +++ /dev/null
94 @@ -1,3 +0,0 @@
95 -DIST Radicale-0.10.tar.gz 43051 SHA256 0c6522f5751685fc159524ed7acee811ccb9a582db2adb6bbb4da99ce0103d64 SHA512 d223df0277e43081c9d5a95f30fb5ad5f852b24fc9493b089e36d82ee45ce1549b68e28bf8bdd12352bc3f087babc8f3b6d4e3fce87980e6ca5e3e75f4ace820 WHIRLPOOL 9e4b1beae792e47badb7b33bf343e442f92e9add9d3f877b8796f0c51eda448b0ed975bb9ad99d8d18a69c106813595a16ec108889cefffb6504c8fcae02450f
96 -DIST Radicale-0.7.1.tar.gz 35355 SHA256 36e076b8c54be9df61a8434e9670d852429dcae557fadb77de23e762258bb8e4 SHA512 00ad9788b39a33f94e656e9104e1a81a9052b182021ea486d865a826c8e8711d58476beb35b89fd46371166886d9a312f417db49d81293d0434af0261c1636e1 WHIRLPOOL a353dad90c3391e104b113479b975e4a29049e7c4301122c6ed064233cc757661ea56ee92fbfe21c97e2702787bd8f639ae93418d68ac3abacb744848d909fa1
97 -DIST Radicale-0.8.tar.gz 39813 SHA256 e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941 SHA512 8b4db28b1fedc78e6d638a8e00dbbe0f37ada39686aae4afdf427461bbd7189d8222adf417fa5e546d9f6a6c7ff0c08eb3aa8609e9fb57c17a9e30161eabba85 WHIRLPOOL c705914db79503215f86e40545950e0fb07d439bc89372849865fece597eb863c28bd13255206a6e298308ba0a819b2e065ca05b592fc7bbb0c2c44896322138
98
99 diff --git a/app-office/radicale/files/radicale-0.10-config.patch b/app-office/radicale/files/radicale-0.10-config.patch
100 deleted file mode 100644
101 index ae5e81c..0000000
102 --- a/app-office/radicale/files/radicale-0.10-config.patch
103 +++ /dev/null
104 @@ -1,30 +0,0 @@
105 -From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
106 -From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@××××××.eu>
107 -Date: Sun, 15 Sep 2013 14:02:32 +0200
108 -Subject: Fix the config for Gentoo's default needs.
109 -
110 - * Set pathes
111 - * Set rights.type to 'owner_only' to model pre-0.8 behavior
112 - (None means 'everyone is allowed everything')
113 - * Remove 'public_users' and 'private_users' as they are obsolete.
114 ----
115 - config | 13 ++++---------
116 - logging | 2 +-
117 - 2 files changed, 5 insertions(+), 10 deletions(-)
118 -
119 -diff --git a/config b/config
120 -index 453a45e..10c1595 100644
121 ---- a/logging
122 -+++ b/logging
123 -@@ -45,7 +45,7 @@ formatter = simple
124 - [handler_file]
125 - # File handler
126 - class = FileHandler
127 --args = ('/var/log/radicale',)
128 -+args = ('/var/log/radicale/radicale.log',)
129 - formatter = full
130 -
131 -
132 ---
133 -1.8.1.5
134 -
135
136 diff --git a/app-office/radicale/files/radicale-0.8-config.patch b/app-office/radicale/files/radicale-0.8-config.patch
137 deleted file mode 100644
138 index aa867bc..0000000
139 --- a/app-office/radicale/files/radicale-0.8-config.patch
140 +++ /dev/null
141 @@ -1,77 +0,0 @@
142 -From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
143 -From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@××××××.eu>
144 -Date: Sun, 15 Sep 2013 14:02:32 +0200
145 -Subject: Fix the config for Gentoo's default needs.
146 -
147 - * Set pathes
148 - * Set rights.type to 'owner_only' to model pre-0.8 behavior
149 - (None means 'everyone is allowed everything')
150 - * Remove 'public_users' and 'private_users' as they are obsolete.
151 ----
152 - config | 13 ++++---------
153 - logging | 2 +-
154 - 2 files changed, 5 insertions(+), 10 deletions(-)
155 -
156 -diff --git a/config b/config
157 -index 453a45e..10c1595 100644
158 ---- a/config
159 -+++ b/config
160 -@@ -30,7 +30,7 @@ dns_lookup = True
161 - # Root URL of Radicale (starting and ending with a slash)
162 - base_prefix = /
163 - # Message displayed in the client when a password is needed
164 --realm = Radicale - Password Required lol
165 -+realm = Radicale - Password Required
166 -
167 -
168 - [encoding]
169 -@@ -45,11 +45,6 @@ stock = utf-8
170 - # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http
171 - type = None
172 -
173 --# Usernames used for public collections, separated by a comma
174 --public_users = public
175 --# Usernames used for private collections, separated by a comma
176 --private_users = private
177 --
178 - # Htpasswd filename
179 - htpasswd_filename = /etc/radicale/users
180 - # Htpasswd encryption method
181 -@@ -97,10 +92,10 @@ http_password_parameter =
182 - [rights]
183 - # Rights management method
184 - # Value: None | owner_only | owner_write | from_file
185 --type = None
186 -+type = owner_only
187 -
188 - # File for rights management from_file
189 --file = ~/.config/radicale/rights
190 -+file = /etc/radicale/rights
191 -
192 -
193 - [storage]
194 -@@ -109,7 +104,7 @@ file = ~/.config/radicale/rights
195 - type = filesystem
196 -
197 - # Folder for storing local collections, created if not present
198 --filesystem_folder = ~/.config/radicale/collections
199 -+filesystem_folder = /var/lib/radicale/
200 -
201 - # Database URL for SQLAlchemy
202 - # dialect+driver://user:password@host/dbname[?key=value..]
203 -diff --git a/logging b/logging
204 -index f4efb88..b10f88c 100644
205 ---- a/logging
206 -+++ b/logging
207 -@@ -45,7 +45,7 @@ formatter = simple
208 - [handler_file]
209 - # File handler
210 - class = FileHandler
211 --args = ('/var/log/radicale',)
212 -+args = ('/var/log/radicale/radicale.log',)
213 - formatter = full
214 -
215 -
216 ---
217 -1.8.1.5
218 -
219
220 diff --git a/app-office/radicale/files/radicale.init.d b/app-office/radicale/files/radicale.init.d
221 deleted file mode 100644
222 index bfda83d..0000000
223 --- a/app-office/radicale/files/radicale.init.d
224 +++ /dev/null
225 @@ -1,26 +0,0 @@
226 -#!/sbin/runscript
227 -# Copyright 1999-2011 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -# $Header: $
230 -
231 -PIDFILE=/var/run/radicale.pid
232 -
233 -depend() {
234 - use net
235 - need localmount
236 -}
237 -
238 -start() {
239 - ebegin "Starting radicale"
240 - start-stop-daemon --start --quiet --background \
241 - --pidfile ${PIDFILE} --make-pidfile \
242 - --exec /usr/bin/radicale -- --foreground
243 - eend $?
244 -}
245 -
246 -stop() {
247 - ebegin "Stopping radicale"
248 - start-stop-daemon --stop --quiet \
249 - --pidfile ${PIDFILE}
250 - eend $?
251 -}
252
253 diff --git a/app-office/radicale/metadata.xml b/app-office/radicale/metadata.xml
254 deleted file mode 100644
255 index d53c88f..0000000
256 --- a/app-office/radicale/metadata.xml
257 +++ /dev/null
258 @@ -1,10 +0,0 @@
259 -<?xml version = '1.0' encoding = 'UTF-8'?>
260 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
261 -<pkgmetadata>
262 -<maintainer><email>graaff@g.o</email></maintainer>
263 -<use>
264 - <flag name="sql">
265 - Add SQL support.
266 - </flag>
267 -</use>
268 -</pkgmetadata>
269
270 diff --git a/app-office/radicale/radicale-0.10.ebuild b/app-office/radicale/radicale-0.10.ebuild
271 deleted file mode 100644
272 index 553f04b..0000000
273 --- a/app-office/radicale/radicale-0.10.ebuild
274 +++ /dev/null
275 @@ -1,75 +0,0 @@
276 -# Copyright 1999-2015 Gentoo Foundation
277 -# Distributed under the terms of the GNU General Public License v2
278 -# $Header: $
279 -
280 -EAPI=5
281 -
282 -# radicale also supports python3_{2,3}
283 -# but python-ldap and flup are blocking here
284 -PYTHON_COMPAT=( python2_7 )
285 -PYTHON_REQ_USE="ssl?"
286 -
287 -inherit distutils-r1 user
288 -
289 -MY_PN="Radicale"
290 -MY_P="${MY_PN}-${PV}"
291 -
292 -DESCRIPTION="A simple CalDAV calendar server"
293 -HOMEPAGE="http://www.radicale.org/"
294 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
295 -
296 -LICENSE="GPL-3"
297 -SLOT="0"
298 -KEYWORDS="~x86 ~amd64"
299 -IUSE="fastcgi ldap sql ssl"
300 -
301 -RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
302 - fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
303 - sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
304 -
305 -# radicale's authentication against PAM is not possible here:
306 -# Gentoo has not included the package
307 -# also it seems old, which is bad with respect to
308 -# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
309 -
310 -S=${WORKDIR}/${MY_P}
311 -
312 -RDIR=/var/lib/radicale
313 -LDIR=/var/log/radicale
314 -
315 -PATCHES=( "${FILESDIR}"/${P}-config.patch )
316 -
317 -pkg_setup() {
318 - enewgroup radicale
319 - enewuser radicale -1 -1 ${RDIR} radicale
320 -}
321 -
322 -python_install_all() {
323 - # delete the useless .rst, so that it is not installed
324 - rm README.rst
325 -
326 - # init file
327 - newinitd "${FILESDIR}"/radicale.init.d radicale || die
328 -
329 - # directories
330 - diropts -m0750
331 - dodir ${RDIR}; fowners radicale:radicale ${RDIR}
332 - dodir ${LDIR}; fowners radicale:radicale ${LDIR}
333 -
334 - # config file
335 - insinto /etc/${PN}
336 - doins config logging || die
337 -
338 - # fcgi and wsgi files
339 - insinto /usr/share/${PN}
340 - doins radicale.wsgi
341 - use fastcgi && doins radicale.fcgi
342 -
343 - distutils-r1_python_install_all
344 -}
345 -
346 -pkg_postinst() {
347 - einfo "Radicale now supports WSGI."
348 - einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
349 - use fastcgi && einfo "You will also find there an example fcgi-script."
350 -}
351
352 diff --git a/app-office/radicale/radicale-0.7.1.ebuild b/app-office/radicale/radicale-0.7.1.ebuild
353 deleted file mode 100644
354 index 372a5e3..0000000
355 --- a/app-office/radicale/radicale-0.7.1.ebuild
356 +++ /dev/null
357 @@ -1,56 +0,0 @@
358 -# Copyright 1999-2012 Gentoo Foundation
359 -# Distributed under the terms of the GNU General Public License v2
360 -# $Header: $
361 -
362 -EAPI=2
363 -PYTHON_DEPEND="*:2.6"
364 -SUPPORT_PYTHON_ABIS=1
365 -
366 -inherit distutils eutils
367 -
368 -MY_PN="Radicale"
369 -MY_P="${MY_PN}-${PV}"
370 -
371 -DESCRIPTION="A simple CalDAV calendar server"
372 -HOMEPAGE="http://www.radicale.org/"
373 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
374 -
375 -LICENSE="GPL-3"
376 -SLOT="0"
377 -KEYWORDS="~x86 ~amd64"
378 -IUSE="fastcgi ldap ssl"
379 -
380 -# the '>=' goes ok, as radicale supports _all_ other python version
381 -# this includes all 3.* versions
382 -RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
383 - ldap? ( dev-python/python-ldap )
384 - fastcgi? ( dev-python/flup )"
385 -
386 -S=${WORKDIR}/${MY_P}
387 -
388 -src_install() {
389 - # delete the useless .rst, so that it is not installed
390 - rm README.rst
391 -
392 - distutils_src_install
393 -
394 - # init file
395 - newinitd "${FILESDIR}"/radicale.init.d radicale || die
396 -
397 - # config file
398 - insinto /etc/${PN}
399 - doins config logging || die
400 -
401 - # fcgi and wsgi files
402 - insinto /usr/share/${PN}
403 - doins radicale.wsgi
404 - use fastcgi && doins radicale.fcgi
405 -
406 - dodoc NEWS.rst TODO.rst
407 -}
408 -
409 -pkg_postinst() {
410 - einfo "Radicale now supports WSGI."
411 - einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
412 - use fastcgi && einfo "You will also find there an example fcgi-script."
413 -}
414
415 diff --git a/app-office/radicale/radicale-0.8.ebuild b/app-office/radicale/radicale-0.8.ebuild
416 deleted file mode 100644
417 index 9881005..0000000
418 --- a/app-office/radicale/radicale-0.8.ebuild
419 +++ /dev/null
420 @@ -1,75 +0,0 @@
421 -# Copyright 1999-2013 Gentoo Foundation
422 -# Distributed under the terms of the GNU General Public License v2
423 -# $Header: $
424 -
425 -EAPI=5
426 -
427 -# radicale also supports python3_{2,3}
428 -# but python-ldap and flup are blocking here
429 -PYTHON_COMPAT=( python2_7 )
430 -PYTHON_REQ_USE="ssl?"
431 -
432 -inherit distutils-r1 user
433 -
434 -MY_PN="Radicale"
435 -MY_P="${MY_PN}-${PV}"
436 -
437 -DESCRIPTION="A simple CalDAV calendar server"
438 -HOMEPAGE="http://www.radicale.org/"
439 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
440 -
441 -LICENSE="GPL-3"
442 -SLOT="0"
443 -KEYWORDS="~x86 ~amd64"
444 -IUSE="fastcgi ldap sql ssl"
445 -
446 -RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
447 - fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
448 - sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
449 -
450 -# radicale's authentication against PAM is not possible here:
451 -# Gentoo has not included the package
452 -# also it seems old, which is bad with respect to
453 -# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
454 -
455 -S=${WORKDIR}/${MY_P}
456 -
457 -RDIR=/var/lib/radicale
458 -LDIR=/var/log/radicale
459 -
460 -PATCHES=( "${FILESDIR}"/${P}-config.patch )
461 -
462 -pkg_setup() {
463 - enewgroup radicale
464 - enewuser radicale -1 -1 ${RDIR} radicale
465 -}
466 -
467 -python_install_all() {
468 - # delete the useless .rst, so that it is not installed
469 - rm README.rst
470 -
471 - # init file
472 - newinitd "${FILESDIR}"/radicale.init.d radicale || die
473 -
474 - # directories
475 - diropts -m0750
476 - dodir ${RDIR}; fowners radicale:radicale ${RDIR}
477 - dodir ${LDIR}; fowners radicale:radicale ${LDIR}
478 -
479 - # config file
480 - insinto /etc/${PN}
481 - doins config logging || die
482 -
483 - # fcgi and wsgi files
484 - insinto /usr/share/${PN}
485 - doins radicale.wsgi
486 - use fastcgi && doins radicale.fcgi
487 -
488 - distutils-r1_python_install_all
489 -}
490 -
491 -pkg_postinst() {
492 - einfo "Radicale now supports WSGI."
493 - einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
494 - use fastcgi && einfo "You will also find there an example fcgi-script."
495 -}