aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/apache2/APKBUILD5
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 \