summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-09-29 09:47:18 -0400
committerCraig Andrews <candrews@gentoo.org>2022-09-29 09:47:48 -0400
commitb5435a3626c93c2ab646325c9182fe2230dbc7e4 (patch)
tree9e9cd7f5aa9d3240aa23f8870f8a129c9d43afd1 /www-apache
parentapp-office/libreoffice: Drop --without-system-cuckoo, obsolete tarball (diff)
downloadgentoo-b5435a3626c93c2ab646325c9182fe2230dbc7e4.tar.gz
gentoo-b5435a3626c93c2ab646325c9182fe2230dbc7e4.tar.bz2
gentoo-b5435a3626c93c2ab646325c9182fe2230dbc7e4.zip
www-apache/mod_h2: add 2.0.8
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_h2/Manifest1
-rw-r--r--www-apache/mod_h2/mod_h2-2.0.8.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index c322e9a001de..fabc5940bcb5 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -5,3 +5,4 @@ DIST mod_h2-2.0.4.tar.gz 671966 BLAKE2B 8357513e0d406a75de66d17e010b6f224dbbbf39
DIST mod_h2-2.0.5.tar.gz 675341 BLAKE2B 491b94da342ee65c0f086795652893cf98005c88a3d88566f49c92aab52670c46f533217f03df8f0178039098f546cdbb10cf423c7a59a25e078d2fd87a45dc7 SHA512 0473b69a9842d6f45cf1f5d43b21291b34996e5804559247909ac532817bbb8aa1a7d461dbc30efe50cf5f758875cee42ac76d68d42f8d91c3d0967c82f9e5ba
DIST mod_h2-2.0.6.tar.gz 675254 BLAKE2B 753a3771291e8b096d53c01c6936a8956260d16a6225bde26e596365142f18aa62d8288f5e3cca53b62cf47be5dfd21056ab249bf715a4abf8ce8c6948a4ae9a SHA512 00bc034f8b0bd69bbf860916d1457d514cab1a75818d29952129d302a2ef64368963169373eb4ad3eb4401d23424abbb98680ff4d67be86a312e88fbe9e83913
DIST mod_h2-2.0.7.tar.gz 675492 BLAKE2B 8712388d72288b78e12e53f409889f22c67fa92aa7a2f1c6dd6aed7bfb4e1b4ceb144f0ad3c18bd7a18149df08b4fb873f19fc42dd86a565d743e6d5681bed2f SHA512 9b17fb98785b00b7a9a7eda745e269d82e06e95eeb0bbfbff9b45dde883a941cfea90864a9e6e9e57d1e51e2b4b47e3874f25d7bcf2235ce60e5637fb21888db
+DIST mod_h2-2.0.8.tar.gz 679037 BLAKE2B 59a105a905becc80c01fa0e0be46bb6c6bc2c65c50af806fc310ac22371049dd42e448bb5b41ad2dbee081789d2a530115f2b31836b620bad5793fb302be08ee SHA512 6fc2aaff10bc1b418dd1d3021f1d49b04db34d69ef9ad88d38c30a2a0b03ff30092ebcea0470a38fbe9f3506dddb1fc6b79bd734ca4883029094d3a57434ce47
diff --git a/www-apache/mod_h2/mod_h2-2.0.8.ebuild b/www-apache/mod_h2/mod_h2-2.0.8.ebuild
new file mode 100644
index 000000000000..34f8a15777b3
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit apache-module autotools
+
+MY_P="${PN/h2/http2}-${PV}"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
+ inherit git-r3
+else
+ MY_PV="${PV/_rc/-rc}"
+ MY_P="${PN}-${MY_PV}"
+ S="${WORKDIR}/${MY_P}"
+ SRC_URI="https://github.com/icing/mod_h2/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="HTTP/2 module for Apache"
+HOMEPAGE="https://github.com/icing/mod_h2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="ssl"
+
+RDEPEND=">=net-libs/nghttp2-1.0
+ >=www-servers/apache-2.4.48[-apache2_modules_http2,ssl?]"
+DEPEND="${RDEPEND}"
+
+need_apache2_4
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+
+ APACHE2_MOD_DEFINE="HTTP2"
+ insinto "${APACHE_MODULES_CONFDIR}"
+ newins "${FILESDIR}/mod_http2.conf" "41_mod_http2.conf"
+}