diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-12-15 12:24:55 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-12-15 12:24:55 +0200 |
commit | 81b1706c0f35d00f6053ef096c3461e32ce7fc62 (patch) | |
tree | bedc232e459abfcb8fdef378bcee4ce435a99c27 /main | |
parent | dfb1e11b9edcfe9876e8130da45d06cb31d6fa03 (diff) | |
download | aports-81b1706c0f35d00f6053ef096c3461e32ce7fc62.tar.bz2 aports-81b1706c0f35d00f6053ef096c3461e32ce7fc62.tar.xz |
main/apache2: fix module configuration
Diffstat (limited to 'main')
-rw-r--r-- | main/apache2/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD index 2121ff82a5..3e80b9a369 100644 --- a/main/apache2/APKBUILD +++ b/main/apache2/APKBUILD @@ -3,7 +3,7 @@ pkgname=apache2 _pkgreal=httpd pkgver=2.4.17 -pkgrel=2 +pkgrel=3 pkgdesc="A high performance Unix-based HTTP server" url="http://httpd.apache.org/" arch="all" @@ -123,6 +123,9 @@ package() { "$(dirname $file)/${file#$pkgdir/etc/apache2/conf.d/httpd-}" || \ return 1 done + sed -Ei \ + 's:^(#?LoadModule .+ )lib/apache2(/.+)$:\1modules\2:;ta;b;:a;s/^#?LoadModule (lbmethod_.+|proxy.*|xml2enc)_module //;tb;b;:b;d' \ + "$pkgdir"/etc/apache2/httpd.conf # init scripts and logrotate install -D -m755 "$srcdir"/apache2.initd \ |