Merge pull request #2654 from lemmi/radicale

New package: radicale-1.0.1
This commit is contained in:
Jürgen Buchmüller 2015-10-07 01:24:45 +02:00
commit a5889b0562
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec svlogd /var/log/radicale

View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
exec chpst -u radicale radicale -f -C /etc/radicale/config

34
srcpkgs/radicale/template Normal file
View file

@ -0,0 +1,34 @@
# Template file for 'radicale'
pkgname=radicale
version=1.0.1
revision=1
wrksrc=Radicale-${version}
build_style=python-module
conf_files="
/etc/radicale/config
/etc/sv/radicale/log/run"
make_dirs="
/etc/radicale 755 root root
/usr/share/radicale/ 755 root root
/var/log/radicale/ 700 root root
/var/lib/radicale 750 radicale radicale"
noarch=yes
hostmakedepends="python python-setuptools"
depends="python-pam python-requests python-dulwich"
pycompile_module="radicale"
short_desc="Complete calendar and contact storing and manipulating solution"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3"
homepage="http://radicale.org"
distfiles="${PYPI_SITE}/R/Radicale/Radicale-${version}.tar.gz"
checksum=e18a68d0793403e7591c725f7d2b83490dcc5f3cdd008bd75fe952311eee1b60
system_accounts="radicale"
radicale_homedir="/var/lib/radicale"
post_install() {
vinstall config 644 etc/radicale/
vinstall radicale.fcgi 644 usr/share/radicale
vinstall radicale.wsgi 644 usr/share/radicale
vsv radicale
}