summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-09-22 15:49:41 -0400
committerCraig Andrews <candrews@gentoo.org>2022-09-23 09:47:07 -0400
commitc775eb77dce4683a5e360d5d0460a645aa2d3634 (patch)
treeac2118cb192bb1b04a11daa6996c750d4e63d60d /www-apache
parentapp-backup/snapper: add 0.10.3 (diff)
downloadgentoo-c775eb77dce4683a5e360d5d0460a645aa2d3634.tar.gz
gentoo-c775eb77dce4683a5e360d5d0460a645aa2d3634.tar.bz2
gentoo-c775eb77dce4683a5e360d5d0460a645aa2d3634.zip
www-apache/mod_h2: add 2.0.6
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.6.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index d7240b956242..7664deb32b72 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -3,3 +3,4 @@ DIST mod_h2-2.0.2.tar.gz 665479 BLAKE2B 9f23ffec269925aac6b3d7d336c740acf0c326b3
DIST mod_h2-2.0.3.tar.gz 669349 BLAKE2B cafd93b7a9b19024db579cd95830082adef302f7231cd3849aefe02ccaa708422f63793ba9f2a98bf98409367fc7bb4d2fd789b4abcd2d9946ed94f9cbcfd1f8 SHA512 a4d4fcd8f9add7342af3e99ddb5398f988d0e6a7181e86850dd548af81225d47a92e8dc381ca8436a87f78b32d51f81306709dfbcaebf06c3339bee71fb69b71
DIST mod_h2-2.0.4.tar.gz 671966 BLAKE2B 8357513e0d406a75de66d17e010b6f224dbbbf3963fb7a641b97cbf6a988b039e1093d351d6a7cccdae8a7b6c32d7a497951c565db5c154f48ade0a55c13ecef SHA512 d1839a54a7e239f896cd6ca008d551943cfed5b7d8d0faac0c0168f3a525decb30677b93d150b4a96828f65c16ea9d0a81ac31923273cbcd7c30b9c3ef3a8953
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
diff --git a/www-apache/mod_h2/mod_h2-2.0.6.ebuild b/www-apache/mod_h2/mod_h2-2.0.6.ebuild
new file mode 100644
index 000000000000..34f8a15777b3
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.6.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"
+}