summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/apache-httpd/APKBUILD35
1 files changed, 29 insertions, 6 deletions
diff --git a/user/apache-httpd/APKBUILD b/user/apache-httpd/APKBUILD
index 29810bdfd..f156f7094 100644
--- a/user/apache-httpd/APKBUILD
+++ b/user/apache-httpd/APKBUILD
@@ -10,13 +10,16 @@ arch="all"
license="Apache-2.0"
depends=""
install="$pkgname.pre-install $pkgname.pre-upgrade"
-makedepends="apr-dev apr-util-dev autoconf automake libxml2-dev nghttp2-dev openssl-dev pcre-dev sed zlib-dev"
+makedepends="apr-dev apr-util-dev autoconf automake libxml2-dev nghttp2-dev
+ openssl-dev pcre-dev sed zlib-dev"
pkgusers="apache"
pkggroups="apache"
subpackages="$pkgname-dev
$pkgname-doc
+ $pkgname-http2
$pkgname-icons::noarch
- $pkgname-openrc::noarch"
+ $pkgname-ldap
+ $pkgname-openrc"
provides="apache2 apache2-ssl"
source="http://archive.apache.org/dist/$_pkgreal/$_pkgreal-$pkgver.tar.bz2
adelie.layout
@@ -57,7 +60,7 @@ build() {
--with-suexec-bin=/usr/sbin/suexec \
--with-apr=/usr/bin/apr-1-config \
--with-apr-util=/usr/bin/apu-1-config \
- --with-pcre=/usr
+ --with-pcre=/usr
make
}
@@ -95,21 +98,41 @@ dev() {
mv "$pkgdir"/usr/share/apache2/build "$subpkgdir"/usr/share/apache2
}
+http2() {
+ pkgdesc="Highly experimental protocol support for Apache HTTP server"
+ local _file
+ install -d "$subpkgdir"/etc/apache2/conf.d
+ install -d "$subpkgdir"/usr/libexec/apache2
+
+ for _file in etc/apache2/conf.d/http2.conf \
+ usr/libexec/apache2/mod_proxy_http2.so \
+ usr/libexec/apache2/mod_http2.so; do
+ mv "$pkgdir"/$_file "$subpkgdir"/$_file
+ done
+}
+
icons() {
pkgdesc="Public-domain icon pack for Apache HTTP server"
install -d "$subpkgdir"/usr/share/apache2
mv "$pkgdir"/usr/share/apache2/icons "$subpkgdir"/usr/share/apache2
}
+ldap() {
+ pkgdesc="LDAP authentication support for Apache HTTP server"
+ install -d "$subpkgdir"/usr/libexec/apache2
+ mv "$pkgdir"/usr/libexec/apache2/*_ldap.so \
+ "$subpkgdir"/usr/libexec/apache2
+}
+
sha512sums="840982fd3d21463bc5c1747f211dfacf3abdf634d149e49bb49fd2e5deda140de602dbdf31e1bbe5337a48f718ab2261c408e83a8dd39a9291ee7b6b7a85639a httpd-2.4.29.tar.bz2
c8bc2bb06ae51b0956e0ee673e80c444551c9b33dfcbb845106477c46d9e52786a8896022e1f00102264fecdf66e35e47fc6cf0abe9836fa536735cff4e6adf4 adelie.layout
336e81fa0d08f8fbe6243d52bd59b12cf2e925deb49b29d7a22953c5d40a951b6b753f51e5a396752cb0bbaf1cf25b1358902f375fb65639d00e62db7ae55ff2 apache-httpd.confd
9893248f1724748c9ef91171728b4c557ced7de543e23ed72cb75c02728048b2813ac99015a4a28e7984daa51faa6e42403c17b875539fe71c33424865eccecf apache-httpd.initd
18e8859c7d99c4483792a5fd20127873aad8fa396cafbdb6f2c4253451ffe7a1093a3859ce719375e0769739c93704c88897bd087c63e1ef585e26dcc1f5dd9b apache-httpd.logrotate
-cef5423158021c8c8459a41d471df5cb5cbce625e2af7628d80a00f919fc14cf7f4332ef9c3e28f4ad2bded69af0165b3bfd7372d2e45a61cc1112a9d4953426 httpd.conf
+cba279f31c12c3516bacf74856493c5a62a94017b3911d457b33e350af646b3e97632b15e396992e5115532c88c81fdd680a951ca0c71eb8a207f39d6c027c41 httpd.conf
83d57c57b809340bb07291c340ded5903ae55c0bba7c48e4eb0d27529ce4ecb6e235378ad770c69c8be2762b5346fa5bec94b6c585510719c37fe6addb33f998 alias.conf
7def0982bda42d5fe3a1812128be455fe0a47161f7fd0facd9ff85056f043a19f520bdb1c01b9f3fb25ddd66aa6224fb4b183f107bccd56719e0c7a88ad70bd9 http2.conf
9745ec511331b2ec399bf7895bc935f9c8526fd81d47cb17e42c1f5c010bbbea0b5ef2f2f4b12984dc8c77f410132010c3e73347a49ebe5feb0c1a763fe73a82 host.conf
-aba88ad06c1fef4a4599dd0e5fe915b74620e44e59039dd04cec9be23bf509e438b9e44d8822d47bf1bbafe4787c76a957c8dfb013844691cc370a5dd70f043f proxy.conf
-3847d4db35ea711201a11464bebb5bd399dedc6831572d7cd73532c72aa9435eb71193131c627341c4603ec8e786204205ebde8dcec48e8b8b47d3eface2fbfb ssl.conf
+905212b9107d71e4d64b338b1c1cf222f7a78979b928e7fa89b06620fbc010df00204a20aa22e69ed49682412d95ecc4e6abaafbb4cb043b31610d5b7a36ac00 proxy.conf
+44f97ac0bab5122d409767af388046dfce5cad42ff18d79394f258546d3e578db334da4722cce4dc2ac03f9508a8b97587370cdede5e7678f02b9abc5dda88ee ssl.conf
dd3c8fa9bc32a92c35df8728f6750fab8dd39be9e90e448a44a77efabc3e5516772607548856af520d4d5e8f2aff11f0b56d29db642e69ab72b1683e6aba5aed userdir.conf"