diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-02-04 16:52:58 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-02-04 20:32:23 +0200 |
commit | 7f599c2b5a71371537fdb3bccaee1c95d3929cb0 (patch) | |
tree | 52de577482531e8065baff9e6dbe4d2f0279c32f /main/apache2/APKBUILD | |
parent | f49f8361fbff134c6c45089e09a64d4ad2bfdbba (diff) | |
download | aports-7f599c2b5a71371537fdb3bccaee1c95d3929cb0.tar.bz2 aports-7f599c2b5a71371537fdb3bccaee1c95d3929cb0.tar.xz |
main/apache2: log directory permissions
Diffstat (limited to 'main/apache2/APKBUILD')
-rw-r--r-- | main/apache2/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD index 64bb47a47b..3bcbf02dc4 100644 --- a/main/apache2/APKBUILD +++ b/main/apache2/APKBUILD @@ -3,7 +3,7 @@ pkgname=apache2 _pkgreal=httpd pkgver=2.4.17 -pkgrel=4 +pkgrel=5 pkgdesc="A high performance Unix-based HTTP server" url="http://httpd.apache.org/" arch="all" @@ -136,6 +136,7 @@ package() { "$pkgdir"/etc/conf.d/apache2 || return 1 install -d "$pkgdir"/var/www || return 1 + install -d -m 2750 -g wheel "$pkgdir"/var/log/apache2 || return 1 ln -fs /var/log/apache2 "$pkgdir"/var/www/logs ln -fs /run/apache2 "$pkgdir"/var/www/run ln -fs /usr/lib/apache2 "$pkgdir"/var/www/modules |