cherokee: use make_dirs.

This commit is contained in:
Juan RP 2012-07-14 23:42:34 +02:00
parent bb1110b56c
commit 1c9cf30a50
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +0,0 @@
d /etc/cherokee/ssl 0755 httpd httpd -
d /var/log/cherokee 0755 httpd httpd -
d /var/lib/cherokee/graphs/images 0755 httpd httpd -

View File

@ -1,7 +1,7 @@
# Template file for 'cherokee'
pkgname=cherokee
version=1.2.101
revision=4
revision=5
build_style=gnu-configure
configure_args="--prefix=/usr --sysconfdir=/etc --localstatedir=/var
--disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd
@ -32,6 +32,10 @@ system_accounts="httpd"
httpd_descr="Cherokee HTTP server"
httpd_homedir="/srv/httpd"
make_dirs="
/etc/cherokee/ssl 0755 httpd httpd
/var/log/cherokee 0755 httpd httpd
/var/lib/cherokee/graphs/images 0755 httpd httpd"
pre_configure() {
# use /var/log/cherokee instead of /var/log
@ -44,8 +48,5 @@ post_install() {
vinstall ${FILESDIR}/${pkgname}.logrotate 644 etc/logrotate.d ${pkgname}
# Install systemd service
vinstall ${FILESDIR}/${pkgname}.service 644 \
usr/lib/systemd/system
vinstall ${FILESDIR}/${pkgname}.tmpfiles.d 644 \
usr/lib/tmpfiles.d ${pkgname}.conf
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
}