Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618724 - www-apps/radicale: version bump to 1.1.2, 1.1.3, 2.0.0
Summary: www-apps/radicale: version bump to 1.1.2, 1.1.3, 2.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-17 08:41 UTC by fkater
Modified: 2018-04-23 04:30 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkater 2017-05-17 08:41:40 UTC
Version 1.1.2 is out.

And please consider #596726.



Reproducible: Always
Comment 1 fkater 2017-05-30 06:03:57 UTC
While Gentoo is on version 1.1.1, there are now several new versions:

- 1.1.2: security fix
- 1.1.3: important option for migration to 2.0.0
- 2.0.0: good to see weak code being disabled/replaced
Comment 2 Reimundo Heluani 2017-06-21 12:07:09 UTC
Tested 2.0.0 on ~arm and it's working fine here.

*) Python 2 is no longer supported
*) No need for the config patch since the directories are now corrected upstream
*) Added dependencies for dev-python/vobject
*) In case of using bcrypt then passlib and htpasswd are needed, so it's better to add a dependency for those. 

The following small alteration of the ebuild worked for me (added the USE bcrypt)

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python{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="+bcrypt"

DEPEND="
	dev-python/vobject
	bcrypt? ( app-admin/apache-tools dev-python/passlib[bcrypt] )"

S=${WORKDIR}/${MY_P}

RDIR=/var/lib/radicale
LDIR=/var/log/radicale

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."
}
Comment 3 Christopher Head 2017-09-09 18:34:16 UTC
It’s now up to 2.1.5.
Comment 4 fariouche 2017-09-12 19:37:37 UTC
working with 2.1.6!
Comment 5 Christopher Head 2017-09-25 07:18:35 UTC
2.1.8 seems fine with Reimundo’s ebuild.
Comment 6 Henning Schild 2017-10-19 20:43:18 UTC
I am trying to finally get some movement in bumping the version. Let us see how that works out for 1.x before going for 2.x.

https://github.com/gentoo/gentoo/pull/5990
Comment 7 Forza 2017-12-30 12:19:28 UTC
Radicale 2.1.8 is out. 
Also a reminder that upgrading from 1.x to 2.x needs manual migration to work: http://radicale.org/1to2/
Comment 8 Forza 2018-01-21 09:39:50 UTC
I ran in to issues with current stable dev-python/vobject-0.9.3 where some migrated contacts could not be read (error: 'bytes' object has no attribute 'encode'). This is resolved in dev-python/vobject-0.9.5.

Also I think that logging should be on by default by setting "config = /etc/radicale/logging" in /etc/radicale/config. I used the example from http://radicale.org/logging/ which seems to work fine.
Comment 9 Christopher Head 2018-01-22 02:17:49 UTC
I have been using vobject-0.9.5 on my server as well, probably for the same reason (I don’t remember now).
Comment 10 Larry the Git Cow gentoo-dev 2018-02-24 03:21:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a16b479386b0087d551eac28b81e2facc97166d

commit 7a16b479386b0087d551eac28b81e2facc97166d
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2018-02-24 03:16:42 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-24 03:21:13 +0000

    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@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(+)}
Comment 11 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-24 03:25:21 UTC
@ Henning, thanks for the PR.

Looking forward for a v2.x PR :)
Comment 12 Christopher Head 2018-02-24 07:21:22 UTC
You mean like this one? <https://github.com/gentoo/gentoo/pull/7274>
Comment 13 Larry the Git Cow gentoo-dev 2018-04-08 09:20:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd02aa1216dee1c3d448a66664f940bbb8286d22

commit fd02aa1216dee1c3d448a66664f940bbb8286d22
Author:     Christopher Head <chead@chead.ca>
AuthorDate: 2018-02-24 07:19:04 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-04-08 09:19:57 +0000

    www-apps/radicale: Version bump to 2.1.8
    
    Bug: https://bugs.gentoo.org/618724
    Closes: https://github.com/gentoo/gentoo/pull/7274
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 www-apps/radicale/Manifest              |  1 +
 www-apps/radicale/metadata.xml          |  3 ++
 www-apps/radicale/radicale-2.1.8.ebuild | 83 +++++++++++++++++++++++++++++++++
 3 files changed, 87 insertions(+)}
Comment 14 Christopher Head 2018-04-23 00:28:31 UTC
I think this can be closed now.