www-apache/mod_h2: 1.12.2 version bump
authorCraig Andrews <candrews@gentoo.org>
Fri, 25 Jan 2019 17:02:56 +0000 (12:02 -0500)
committerCraig Andrews <candrews@gentoo.org>
Fri, 25 Jan 2019 17:03:49 +0000 (12:03 -0500)
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
www-apache/mod_h2/Manifest
www-apache/mod_h2/mod_h2-1.12.2.ebuild [new file with mode: 0644]

index c58a2ba112a794ee008060f3ffbf3a94f0a1a33c..5fa909f4d8d8547d15e7902bdb37d321b6b389a4 100644 (file)
@@ -3,3 +3,4 @@ DIST mod_http2-1.11.3.tar.gz 1028467 BLAKE2B 3a5d644f87104e1f7baae05396fefe94975
 DIST mod_http2-1.11.4.tar.gz 1028706 BLAKE2B f2c662913a30e96fe28d68690cf0fe33e4de2d7072bb46016f063a9aa979dfdbb9e39f88110c56bc3a319e1220365159fd0c15356bfbf981ae57377e137c1e96 SHA512 1347e8fe4d88d8d87ca547270a27ac63c7b7804b57a06a225ab4199a24a55ad3048cb4c7a50fb7cc2ea2a78b2cf0f1dd8f5bad6191d2854df30042f0d64e6a1c
 DIST mod_http2-1.12.0.tar.gz 1029587 BLAKE2B 10578491ce39b91e1d6363cb98d45c2c3ca74c5126af489b1c4261e80aef907b9b737a9322a54a144af7cd0892b8d0c0a86ba4467aeaf826199b989226593154 SHA512 50d8d8e44ba8d4516fac642aea9c2ce5afe766aaa1bb930ca64fd9fdb4983ee5db9677d4e9d10d88391d39b9a9be127594a90670493c39ef6368e073456034f0
 DIST mod_http2-1.12.1.tar.gz 1030534 BLAKE2B cbe02be6dfd1d1563a86c020f7eb8f5922e5d171b3a5d4714539658d5a3e067774b4bbb803e67943ef9b04caef6f3d69291d9ab0f6d8334839a98f466bd3851b SHA512 72cb915bdd283742a7bc2676adf3440d5e30588df87e4dc5750886747b0026e0cd0a36f08a39c323e647c83ecef6b434b33c23c96bb7c00ad480d430c1f37f44
+DIST mod_http2-1.12.2.tar.gz 1030072 BLAKE2B efb829eb98bb40489e9a52267125d79093ed2055e50ef6ae6c5fed7616df050e9ec659dd72764534ec778d75e6c462764baff88193970d2bbadf85572d5535f2 SHA512 2fab9625ba7adaa85fa4b1c55e0e1420851d1e44766f81c1e5b60b0b310b071047651c07b44b0dbeaf2d3cb2c722b9de3c52f145eb12e63c08301cf8c1f294cc
diff --git a/www-apache/mod_h2/mod_h2-1.12.2.ebuild b/www-apache/mod_h2/mod_h2-1.12.2.ebuild
new file mode 100644 (file)
index 0000000..3e6d435
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+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
+       S="${WORKDIR}/${MY_P}"
+       SRC_URI="https://github.com/icing/mod_h2/releases/download/v${PV}/${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.20[-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"
+}