diff --git a/srcpkgs/cherokee/template b/srcpkgs/cherokee/template index edb833c9197..d3f44abd175 100644 --- a/srcpkgs/cherokee/template +++ b/srcpkgs/cherokee/template @@ -1,15 +1,22 @@ # Template file for 'cherokee' pkgname=cherokee version=1.2.101 -revision=7 +revision=8 build_style=gnu-configure configure_args=" --prefix=/usr --sysconfdir=/etc --localstatedir=/var ---disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd ---with-wwwgroup=httpd --with-python=python --enable-os-string=Linux" + --disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd + --with-wwwgroup=httpd --with-python=python --enable-os-string=Linux" +hostmakedepends="automake libtool python" makedepends="pcre-devel>=8.30 python-devel libldap-devel pam-devel libmysqlclient-devel ffmpeg-devel>=2.1 geoip-devel" -depends="shadow" +short_desc="An innovative, feature rich, and yet easy to configure open source Web Server" +maintainer="davehome " +homepage="http://www.cherokee-project.com/" +license="GPL-2" +distfiles="http://www.cherokee-project.de/mirrors/cherokee/1.2/${version}/cherokee-${version}.tar.gz" +checksum=ca465ab3772479fc843b38ffc45113bf24d8bfae9185cdd5176b099d5a17feb8 + conf_files="/etc/${pkgname}/${pkgname}.conf" systemd_services="cherokee.service on" system_accounts="httpd" @@ -19,26 +26,11 @@ make_dirs=" /etc/cherokee/ssl 0755 httpd httpd /var/log/cherokee 0755 httpd httpd /var/lib/cherokee/graphs/images 0755 httpd httpd" -short_desc="An innovative, feature rich, and yet easy to configure open source Web Server" -maintainer="davehome " -homepage="http://www.cherokee-project.com/" -license="GPL-2" -distfiles="http://www.cherokee-project.de/mirrors/cherokee/1.2/${version}/cherokee-${version}.tar.gz" -checksum=ca465ab3772479fc843b38ffc45113bf24d8bfae9185cdd5176b099d5a17feb8 -long_desc=" - Cherokee is an open-source Cross-platform Web server that runs on Linux, BSD - variants, Solaris, Mac OS X, and Microsoft Windows. It is a lightweight, - high-performance Web Server/reverse proxy licensed under the GNU General - Public License. Its goal is to be fast and fully functional yet still light. - - Major features of Cherokee include a graphical administration interface named - cherokee-admin, and a modular light-weight design. Cherokee is maintained and - developed by an Open Source Community." pre_configure() { + autoreconf -fi # use /var/log/cherokee instead of /var/log - sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' \ - cherokee.conf.sample.pre + sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre } post_install() {