apache: use make_dirs.

This commit is contained in:
Juan RP 2012-07-14 23:30:51 +02:00
parent feb3a23794
commit fea0a04c65
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1 @@
d /var/log/httpd 755 root httpd d /run/httpd 710 root httpd
d /var/run/httpd 710 root httpd
d /srv/httpd 755 root httpd
d /srv/httpd/cgi-bin 755 root httpd

View file

@ -1,7 +1,7 @@
# Template file for 'apache' # Template file for 'apache'
pkgname=apache pkgname=apache
version=2.4.2 version=2.4.2
revision=2 revision=3
wrksrc=httpd-${version} wrksrc=httpd-${version}
distfiles="http://www.apache.org/dist/httpd/httpd-${version}.tar.bz2" distfiles="http://www.apache.org/dist/httpd/httpd-${version}.tar.bz2"
build_style=gnu-configure build_style=gnu-configure
@ -54,6 +54,11 @@ conf_files="
systemd_services="apache.service on" systemd_services="apache.service on"
make_dirs="
/var/log/httpd 755 root httpd
/srv/httpd 755 root httpd
/srv/httpd/cgi-bin 755 root httpd"
system_accounts="httpd" system_accounts="httpd"
httpd_descr="Apache HTTP server" httpd_descr="Apache HTTP server"
httpd_homedir="/srv/httpd" httpd_homedir="/srv/httpd"