diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /www-apache/mod_h2 | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'www-apache/mod_h2')
| -rw-r--r-- | www-apache/mod_h2/Manifest | 1 | ||||
| -rw-r--r-- | www-apache/mod_h2/files/mod_http2.conf | 8 | ||||
| -rw-r--r-- | www-apache/mod_h2/metadata.xml | 11 | ||||
| -rw-r--r-- | www-apache/mod_h2/mod_h2-2.0.42.ebuild | 49 | ||||
| -rw-r--r-- | www-apache/mod_h2/mod_h2-9999.ebuild | 49 |
5 files changed, 118 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest new file mode 100644 index 000000000000..3ed443e85d5c --- /dev/null +++ b/www-apache/mod_h2/Manifest @@ -0,0 +1 @@ +DIST mod_h2-2.0.42.tar.gz 701750 BLAKE2B 8d37728526a9a0524850b2aa0a01aa5c4c576e4bcce4bf2bdae70d596849e54671f67952bad71bfda24f3bcf656292f0f75c498072dc25605405d685a3df5753 SHA512 e6d53e052870eab70bc7eafbf58457a01bc0eeca60a4ab2a3ef8d2430198b2d76d1da7af22afa4141c96dc269a4808eff1414c01f42060e73ae13a0af525113d diff --git a/www-apache/mod_h2/files/mod_http2.conf b/www-apache/mod_h2/files/mod_http2.conf new file mode 100644 index 000000000000..aa36a6a1d65e --- /dev/null +++ b/www-apache/mod_h2/files/mod_http2.conf @@ -0,0 +1,8 @@ +<IfDefine HTTP2> + +LoadModule http2_module modules/mod_http2.so + +# https://httpd.apache.org/docs/2.4/mod/mod_http2.html +Protocols h2 http/1.1 + +</IfDefine> diff --git a/www-apache/mod_h2/metadata.xml b/www-apache/mod_h2/metadata.xml new file mode 100644 index 000000000000..68d3aca55936 --- /dev/null +++ b/www-apache/mod_h2/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <upstream> + <remote-id type="github">icing/mod_h2</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apache/mod_h2/mod_h2-2.0.42.ebuild b/www-apache/mod_h2/mod_h2-2.0.42.ebuild new file mode 100644 index 000000000000..69808b9dab77 --- /dev/null +++ b/www-apache/mod_h2/mod_h2-2.0.42.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 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" +} 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..352e2e78dea4 --- /dev/null +++ b/www-apache/mod_h2/mod_h2-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 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" +} |
