summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-24 13:55:52 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-24 13:55:52 +0000
commit7f5e68e07cc5e18cafed10ce572879b7bcd28972 (patch)
treeff55d5d35efd9700a0377db4482e268da07dd3ea /www-apache
parentAdd USE=http2 support to enable HTTP/2.0 support via nghttp2. (diff)
downloadhistorical-7f5e68e07cc5e18cafed10ce572879b7bcd28972.tar.gz
historical-7f5e68e07cc5e18cafed10ce572879b7bcd28972.tar.bz2
historical-7f5e68e07cc5e18cafed10ce572879b7bcd28972.zip
Initial ebuild by me.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_h2/ChangeLog10
-rw-r--r--www-apache/mod_h2/Manifest26
-rw-r--r--www-apache/mod_h2/files/mod_h2.conf8
-rw-r--r--www-apache/mod_h2/metadata.xml7
-rw-r--r--www-apache/mod_h2/mod_h2-0.6.0.ebuild46
-rw-r--r--www-apache/mod_h2/mod_h2-9999.ebuild46
6 files changed, 143 insertions, 0 deletions
diff --git a/www-apache/mod_h2/ChangeLog b/www-apache/mod_h2/ChangeLog
new file mode 100644
index 000000000000..58e68a3e4680
--- /dev/null
+++ b/www-apache/mod_h2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apache/mod_h2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_h2/ChangeLog,v 1.1 2015/05/24 13:55:51 vapier Exp $
+
+*mod_h2-9999 (24 May 2015)
+*mod_h2-0.6.0 (24 May 2015)
+
+ 24 May 2015; Mike Frysinger <vapier@gentoo.org> +files/mod_h2.conf,
+ +metadata.xml, +mod_h2-0.6.0.ebuild, +mod_h2-9999.ebuild:
+ Initial ebuild by me.
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
new file mode 100644
index 000000000000..1e06bad127ea
--- /dev/null
+++ b/www-apache/mod_h2/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX mod_h2.conf 153 SHA256 076c8ff502ab71cc09895163ce79ef87d2deb8b08477609ff74ffaebe640c98f SHA512 318a24017144dc84f952c43dfb04cb2dc01a53a90e63272d7913bef8ade97f0f5fd838b61d4b0a86d56f60e86788218e09fa396556cfec4b937dff4029eeffd5 WHIRLPOOL 4e61ba3745a3c56e51a80103e5f8e9a4a3e317664b6aaea5743b27834c180f6e310377c82be24b303e7e85f423e13df0140cfcc00c8fb42b4af277b8ce0d18d2
+DIST mod_h2-0.6.0.tar.gz 2596664 SHA256 0d306096bfa0a134550adbdbaf4a1a067b66b1463d8041ba741322404f62ab67 SHA512 2b2e2c8152fc384d6f902859e33f65f05397ba61bcc91cff5c9c6c0e79384b3f5ad507c1878be914489a60c78942f41558fee571793e1ea8e82811faaa987223 WHIRLPOOL 150d23829718f7acdc476fbab3c7c106fd55fb574f1bac211d3937bbbd31f69b7457363eb261b87518e92997210ebd382e6870fa9481adc57428d1460955e1d3
+EBUILD mod_h2-0.6.0.ebuild 942 SHA256 a0575e70d35b59bc8ecea22b3180d3ed11bd8905e4784722e6072bf60cc27e06 SHA512 7827b3bd50efeeefe03ce4b1c9c1865e8e735aeccd30231ca36644f61c0f6582b8e91b6fd0e9a4b743a41e9f8b1367654f0614f75f99f4b7d84c68ef683b3b9c WHIRLPOOL 3845b7d765d4e1722f90143f62df4c91b1b9e3d66ea879d325792947c8e59c2c0d8f43265b1a2dd28da2a54390ed3e1a1356cf54a2d30d13ba6d79d7b9e3ddba
+EBUILD mod_h2-9999.ebuild 941 SHA256 a29373fc3aba5e22f0c9d046a26ae481e36bcc606d386d32985b51335c45b645 SHA512 7c3361a5f7429251295e08df67b4a4c531370ffe9dfcd8f44071827d5ef754ed58441d275b786d19e6ba219fbd20f992b617050ae85f1e6565b991bac6a26df3 WHIRLPOOL 043578d61f64228361fdee969890578695eb72110cde46e6ea651a71da7fbc5390b5508e396b298f7ae1576413d3079dc80f1d568f6ea86fc61312de09541574
+MISC ChangeLog 417 SHA256 e59543952ed3d2e41a01c255fff74bf83d8b07fb06edc3f4167312456c4e0470 SHA512 d8e8e597863bae9910fbe96221bdf8c3c3f4aeb1b6e0074dd384feb596866f008f9b78649e6607a83604bd906089ecc8bc62d409a1944a5849da0fdd666e75fb WHIRLPOOL cc2082381f47ed48e8c531f459a20f820b8bfed842554779ff75854fb4293f9e6432f570103d17dd836c613d3e66dc8964a764bd44e9b80511d641af74234793
+MISC metadata.xml 200 SHA256 eb63f2affd0b8e3f5149df2f2f964910eb2127b650919a9e7892fae011e2b22b SHA512 da94c752d3f451652f15c0c459caa079e1d11f37278f86da057ed915ba167688ea62ec62c3c6406200fa951f8f495e9dd782d0e12f9e315187ba4de305f13a1d WHIRLPOOL 80bd517227281caf99e291cd59cd6e5deec972d693473727c7dcd6195450ea9dca63a151e52111c7c2456831f19113008ec60a5c1a66cc3b24f8b17c74e2c373
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQIcBAEBCAAGBQJVYdhnAAoJEPGu1DbS6WIAiDcQAJP8GzJVgav+9kdFo5CwQF//
+gkLzWO+xtlsIkqdZe0nnWanPQOFxI7T05Wl+QjbcGdq4Z+qGRS380eLOvrkZFBsh
+6ocKMzF2IJuBYe4Dr15ugVYSYJD5/JipcY/bhrUMGAqv8UbdnCtyzmWReIwZpjXl
+rirt8h6veeX806YT7Z/J3+jfqpcYoxOdL+/Ew7HA7yzzDhCt1IV5GiAsHGpbkBkU
+mS6ZXnlRYBW8IKZci0gDl9D38o8ByenXS5wpnUMdOq/MylhmOX/Z8xa+4wABhJJm
+SiWnGN/1+BhQvakoYpAvJbVw7tvK0+fB3ParFwNfvAMENuj5CVZ1U69dx57yDjMw
+CJpT7Fp5obKmndcfNtOMDyb+n9D4ISqRnLx9L3IRiZH6H5uz+vFm3dsf67t1abro
++RKKyBtJ+6LZR4rY1LlNFkgHpAPzFFNnKyLPUiWlfVKINl8yJoAQQAT7ybuk/2uV
+uxK7e0gK2w+jiSn55huBI6PQ+VFDftFmFDgjR5gYie9qctdTzwlpredFPAFrQ6fs
+tmmxve6NJVSzST1wVkHhS5PFW1RmYgEREKIZCMi1zvkUJKoPtlQFPbUJP1jhfj3Z
+wplpALTKz0ETRq3OhLaIPjXkBWq+k5LcpudDkKVXPT1p8sKv4dkFwmmJhyohdDKp
+DxCIBZnQjSk5G9syxg/N
+=K1KW
+-----END PGP SIGNATURE-----
diff --git a/www-apache/mod_h2/files/mod_h2.conf b/www-apache/mod_h2/files/mod_h2.conf
new file mode 100644
index 000000000000..564e97b66549
--- /dev/null
+++ b/www-apache/mod_h2/files/mod_h2.conf
@@ -0,0 +1,8 @@
+<IfDefine HTTP2>
+
+LoadModule h2_module modules/mod_h2.so
+
+# See https://github.com/icing/mod_h2#configuration for more options.
+H2Engine on
+
+</IfDefine>
diff --git a/www-apache/mod_h2/metadata.xml b/www-apache/mod_h2/metadata.xml
new file mode 100644
index 000000000000..7123fa8f9ece
--- /dev/null
+++ b/www-apache/mod_h2/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_h2/mod_h2-0.6.0.ebuild b/www-apache/mod_h2/mod_h2-0.6.0.ebuild
new file mode 100644
index 000000000000..c1ddb75f7ed2
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-0.6.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_h2/mod_h2-0.6.0.ebuild,v 1.1 2015/05/24 13:55:51 vapier Exp $
+
+EAPI="5"
+
+inherit apache-module
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
+ inherit git-2
+else
+ SRC_URI="https://github.com/icing/mod_h2/releases/download/v${PV}/${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-0.7*"
+DEPEND="${RDEPEND}"
+
+need_apache2_4
+
+src_configure() {
+ econf \
+ --docdir='$(datarootdir)'/doc/${PF} \
+ --disable-werror \
+ --disable-sandbox
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+
+ APACHE2_MOD_DEFINE="HTTP2"
+ insinto "${APACHE_MODULES_CONFDIR}"
+ newins "${FILESDIR}/mod_h2.conf" "75_mod_h2.conf"
+}
diff --git a/www-apache/mod_h2/mod_h2-9999.ebuild b/www-apache/mod_h2/mod_h2-9999.ebuild
new file mode 100644
index 000000000000..1a94c23b61a8
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_h2/mod_h2-9999.ebuild,v 1.1 2015/05/24 13:55:51 vapier Exp $
+
+EAPI="5"
+
+inherit apache-module
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
+ inherit git-2
+else
+ SRC_URI="https://github.com/icing/mod_h2/releases/download/v${PV}/${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-0.7*"
+DEPEND="${RDEPEND}"
+
+need_apache2_4
+
+src_configure() {
+ econf \
+ --docdir='$(datarootdir)'/doc/${PF} \
+ --disable-werror \
+ --disable-sandbox
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+
+ APACHE2_MOD_DEFINE="HTTP2"
+ insinto "${APACHE_MODULES_CONFDIR}"
+ newins "${FILESDIR}/mod_h2.conf" "75_mod_h2.conf"
+}