summaryrefslogtreecommitdiff
path: root/app-office
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app-office/radicale/Manifest4
-rw-r--r--app-office/radicale/radicale-0.7.ebuild (renamed from app-office/radicale/radicale-0.6.4.ebuild)12
2 files changed, 11 insertions, 5 deletions
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
index e6897a4..df57222 100644
--- a/app-office/radicale/Manifest
+++ b/app-office/radicale/Manifest
@@ -1,4 +1,4 @@
AUX radicale.init.d 650 RMD160 4c250c0c3967db0cdc8387419fd3f435efe9403e SHA1 a5c604f08d3829d374d6a08bb00529a571cc4b51 SHA256 9cf1ef81ab063759b72a54012aa33052f92ad69598943522e1c03d826dbace07
-DIST Radicale-0.6.4.tar.gz 30994 RMD160 9da7aede8ec48fa9725a85985cd3e6e3bd277689 SHA1 15854dd3a7070ef8438573b4a9fef92a2b46b8ab SHA256 83fd6d1b958cd2eae7fa8d773db508e1a4f87266e48346016d03e2b2c7eb80ea
-EBUILD radicale-0.6.4.ebuild 1494 RMD160 d127bd645f555c308f0bce8385158eb3bad3ccd4 SHA1 fe5f3dd39f865d4509e10b196775bdbeb82e65f0 SHA256 046a3087153fcdda6c952e53b524cf53542cef7cc929f454cfda3f73933cefb8
+DIST Radicale-0.7.tar.gz 34061 RMD160 6acf53c591fd9b5d425d226e2c0737ae80ab689e SHA1 2f248e61957cb9c99b404d73b17dbac72875fa68 SHA256 f3d17d16bac4cbeedc5e66a8b711f29d51309e9264a9ef930b5d466503794c09
+EBUILD radicale-0.7.ebuild 1642 RMD160 62dc873944f10048fda0b582b9c3c8db8bc70913 SHA1 debd261e62a36f99c9960ca4c01b94ced173a092 SHA256 4187f04f22f738267d6478f838f4d600ceb07aed6134a5496bd60d2f52d6f514
EBUILD radicale-9999.ebuild 792 RMD160 5239fd36cee932180729089609dcc94d1fed2653 SHA1 8988ea9bb90c439553e4fac74579c9cfd28a0fb3 SHA256 cad0db601c86dbe05299a558591cd23e885aa2b0faac700fee04fdae549f2d66
diff --git a/app-office/radicale/radicale-0.6.4.ebuild b/app-office/radicale/radicale-0.7.ebuild
index 04326ea..ad87e75 100644
--- a/app-office/radicale/radicale-0.6.4.ebuild
+++ b/app-office/radicale/radicale-0.7.ebuild
@@ -6,7 +6,7 @@ EAPI=2
PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS=1
-inherit distutils eutils
+inherit distutils user
MY_PN="Radicale"
MY_P="${MY_PN}-${PV}"
@@ -29,6 +29,7 @@ RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
S=${WORKDIR}/${MY_P}
RDIR=/var/lib/radicale
+LDIR=/var/log/radicale
pkg_setup() {
enewgroup radicale
@@ -38,6 +39,7 @@ pkg_setup() {
src_prepare() {
sed -i -e "s:^folder = .*$:folder = ${RDIR}:g" \
config || die
+ distutils_src_prepare
}
src_install() {
@@ -49,8 +51,10 @@ src_install() {
# init file
newinitd "${FILESDIR}"/radicale.init.d radicale || die
- keepdir ${RDIR}
- fowners radicale:radicale ${RDIR}
+ # directories
+ diropts -m0750
+ dodir ${RDIR}; fowners radicale:radicale ${RDIR}
+ dodir ${LDIR}; fowners radicale:radicale ${LDIR}
# config file
insinto /etc/${PN}
@@ -66,4 +70,6 @@ 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."
+
+ distutils_pkg_postinst
}