From 81b1706c0f35d00f6053ef096c3461e32ce7fc62 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 15 Dec 2015 12:24:55 +0200 Subject: main/apache2: fix module configuration --- main/apache2/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/apache2') 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 \ -- cgit v1.2.3