aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-12-02 18:30:35 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-12-02 23:45:58 +0200
commitc8e63783f8ad1caef6a7db893f1d293c28c0f9e9 (patch)
treef634532f0563f8c8ef70d1778b4da56ca732f85e
parentc2633c117798af77850c8fe2efbb9dc9b75f49f8 (diff)
downloadaports-c8e63783f8ad1caef6a7db893f1d293c28c0f9e9.tar.gz
aports-c8e63783f8ad1caef6a7db893f1d293c28c0f9e9.tar.bz2
aports-c8e63783f8ad1caef6a7db893f1d293c28c0f9e9.tar.xz
main/apache2: brotli subpackage
ref #11863
-rw-r--r--main/apache2/APKBUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD
index 0981cc9904..449d4a851e 100644
--- a/main/apache2/APKBUILD
+++ b/main/apache2/APKBUILD
@@ -3,7 +3,7 @@
pkgname=apache2
_pkgreal=httpd
pkgver=2.4.46
-pkgrel=2
+pkgrel=3
pkgdesc="A high performance Unix-based HTTP server"
url="https://httpd.apache.org/"
arch="all"
@@ -17,6 +17,7 @@ subpackages="$pkgname-ctl
$pkgname-error:_error:noarch
$pkgname-dev
$pkgname-doc
+ $pkgname-brotli
$pkgname-http2
$pkgname-icons::noarch
$pkgname-ldap
@@ -247,8 +248,18 @@ _error() {
_mv_conf multilang-errordoc
}
+brotli() {
+ pkgdesc="Brotli content compression for the Apache HTTP Server"
+ depends="apache2"
+ install -d "$subpkgdir"/usr/lib/apache2
+ mv "$pkgdir"/usr/lib/apache2/mod_brotli.so \
+ "$subpkgdir"/usr/lib/apache2
+ _load_mods
+}
+
http2() {
pkgdesc="HTTP/2 transport layer for the Apache HTTP Server"
+ depends="apache2"
install -d "$subpkgdir"/usr/lib/apache2
mv "$pkgdir"/usr/lib/apache2/mod_http2.so \
"$subpkgdir"/usr/lib/apache2