diff --git a/srcpkgs/apache/files/apache.tmpfiles b/srcpkgs/apache/files/apache.tmpfiles index 81f0ff71a9..4f7850230f 100644 --- a/srcpkgs/apache/files/apache.tmpfiles +++ b/srcpkgs/apache/files/apache.tmpfiles @@ -1,4 +1 @@ -d /var/log/httpd 755 root httpd -d /var/run/httpd 710 root httpd -d /srv/httpd 755 root httpd -d /srv/httpd/cgi-bin 755 root httpd +d /run/httpd 710 root httpd diff --git a/srcpkgs/apache/template b/srcpkgs/apache/template index c5ca9e6994..f0ecc168d0 100644 --- a/srcpkgs/apache/template +++ b/srcpkgs/apache/template @@ -1,7 +1,7 @@ # Template file for 'apache' pkgname=apache version=2.4.2 -revision=2 +revision=3 wrksrc=httpd-${version} distfiles="http://www.apache.org/dist/httpd/httpd-${version}.tar.bz2" build_style=gnu-configure @@ -54,6 +54,11 @@ conf_files=" 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" httpd_descr="Apache HTTP server" httpd_homedir="/srv/httpd"