added latest ebuild for radicale (v 0.7)
This commit is contained in:
parent
6f7d4f8241
commit
911136e10a
5 changed files with 136 additions and 0 deletions
28
app-office/radicale/ChangeLog
Normal file
28
app-office/radicale/ChangeLog
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ChangeLog for app-office/radicale
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
21 May 2012; Manuel Friedli (fritteli) <manuel@fritteli.ch>
|
||||
-radicale-0.6.4, +radicale-0.7.ebuild:
|
||||
Bump to version 0.7
|
||||
|
||||
30 Jan 2012; René Neumann (Necoro) <gentoo@necoro.eu>
|
||||
-radicale-0.6.2.ebuild, +radicale-0.6.4.ebuild:
|
||||
Bump to version 0.6.4 / apply changes from bug #32281. Thanks to Micha Gleve.
|
||||
|
||||
17 Jan 2012; Michael Palimaka (kensington) <kensington@astralcloak.net>
|
||||
-radicale-0.5.ebuild:
|
||||
Remove old.
|
||||
|
||||
10 Oct 2011; René Neumann (Necoro) <gentoo@necoro.eu>
|
||||
+radicale-0.6.2.ebuild:
|
||||
Bump to version 0.6.2
|
||||
|
||||
03 Apr 2011; René Neumann (Necoro) <gentoo@necoro.eu>
|
||||
-radicale-0.4.ebuild, +radicale-0.5.ebuild:
|
||||
Bump to version 0.5
|
||||
|
||||
10 Aug 2010; René Neumann (Necoro) <gentoo@necoro.eu>
|
||||
+radicale-0.4.ebuild, +files/radicale.init.d, +metadata.xml:
|
||||
New ebuild for bug #322811
|
||||
|
5
app-office/radicale/Manifest
Normal file
5
app-office/radicale/Manifest
Normal file
|
@ -0,0 +1,5 @@
|
|||
AUX radicale.init.d 650 RMD160 4c250c0c3967db0cdc8387419fd3f435efe9403e SHA1 a5c604f08d3829d374d6a08bb00529a571cc4b51 SHA256 9cf1ef81ab063759b72a54012aa33052f92ad69598943522e1c03d826dbace07
|
||||
DIST Radicale-0.7.tar.gz 34061 RMD160 6acf53c591fd9b5d425d226e2c0737ae80ab689e SHA1 2f248e61957cb9c99b404d73b17dbac72875fa68 SHA256 f3d17d16bac4cbeedc5e66a8b711f29d51309e9264a9ef930b5d466503794c09
|
||||
EBUILD radicale-0.7.ebuild 1494 RMD160 d127bd645f555c308f0bce8385158eb3bad3ccd4 SHA1 fe5f3dd39f865d4509e10b196775bdbeb82e65f0 SHA256 046a3087153fcdda6c952e53b524cf53542cef7cc929f454cfda3f73933cefb8
|
||||
MISC ChangeLog 931 RMD160 d1ebab5ba6cd2a9423861e741e6cb0a8bde53195 SHA1 7444179e5e9033d724fdb69eed545f99d6b26ab3 SHA256 db4e3c0d6f48bac83d338277d908fc8ad45f81f3fa48314bc8c5d592201faca6
|
||||
MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
|
29
app-office/radicale/files/radicale.init.d
Normal file
29
app-office/radicale/files/radicale.init.d
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2010 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() {
|
||||
touch /var/log/radicale
|
||||
chown radicale:radicale /var/log/radicale
|
||||
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 $?
|
||||
}
|
5
app-office/radicale/metadata.xml
Normal file
5
app-office/radicale/metadata.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
|
||||
</pkgmetadata>
|
69
app-office/radicale/radicale-0.7.ebuild
Normal file
69
app-office/radicale/radicale-0.7.ebuild
Normal file
|
@ -0,0 +1,69 @@
|
|||
# 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 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}
|
||||
|
||||
RDIR=/var/lib/radicale
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup radicale
|
||||
enewuser radicale -1 -1 ${RDIR} radicale
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:^folder = .*$:folder = ${RDIR}:g" \
|
||||
config || die
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
keepdir ${RDIR}
|
||||
fowners radicale:radicale ${RDIR}
|
||||
|
||||
# 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."
|
||||
}
|
Loading…
Reference in a new issue