added files ...

This commit is contained in:
Manuel Friedli 2011-03-13 12:06:19 +00:00
parent 414ac68e1f
commit cb754d77cd
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,3 @@
AUX radicale.init.d 550 RMD160 f1f6aa919952b744900c781b8d6cd9283bc44534 SHA1 3c2043b9f2680b14969bd7f3727e3df85c7f9c48 SHA256 1b28de6c1bc2c6119eb654622713fdd2c16d89105940c6b55d2bc081fbb2fd2c
DIST master 23120 RMD160 2c95d61a675d6584638c2bbd4897e10ccff47ad9 SHA1 5de5f95fd7066b6953bdf1208e171e05c0522fe8 SHA256 a9efc356d469809ce62caa4fec90fb30c2216ae1df420b709f9f8a47e252ff47
EBUILD radicale-9999.ebuild 807 RMD160 f23fd8cd0442739b13530aa2b3c8e199c6a1ab79 SHA1 df4257b618c2c40b58484f4565c8d413a36be06f SHA256 aa7d04b30834d824e1ad2a440acc6ac24affb23c7060ad90c178126ac2a9b709

View file

@ -0,0 +1,26 @@
#!/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() {
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 $?
}

View file

@ -0,0 +1,39 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
PYTHON_DEPEND="*:2.5"
SUPPORT_PYTHON_ABIS=1
inherit distutils
MY_P="${PN/r/R}-${PV}"
DESCRIPTION="A simple CalDAV calendar server"
HOMEPAGE="http://www.radicale.org/"
#SRC_URI="http://www.radicale.org/src/${PN}/${MY_P}.tar.gz"
SRC_URI="http://gitorious.org/radicale/radicale/archive-tarball/master"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
src_install() {
distutils_src_install
# init file
newinitd "${FILESDIR}"/radicale.init.d radicale || die
# config file
insinto /etc/${PN}
doins config || die
}
pkg_postinst() {
elog "If you want to use SSL with ${PN}, please check that you have"
elog "installed >=dev-lang/python-2.6[ssl]."
}