diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-15 19:18:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-15 19:18:29 +0000 |
commit | 4c588f061163483deaeecd52e6a5743762d2603e (patch) | |
tree | b350c2c1cadf3ac9598a043421fcaf654b9e2bc7 /www-apache/mod_auth_openidc | |
parent | b9d13f23ed10bb803607f6ef67f0df2f078aa70f (diff) |
gentoo auto-resync : 15:01:2024 - 19:18:28
Diffstat (limited to 'www-apache/mod_auth_openidc')
4 files changed, 93 insertions, 0 deletions
diff --git a/www-apache/mod_auth_openidc/Manifest b/www-apache/mod_auth_openidc/Manifest new file mode 100644 index 000000000000..2b583d1a2280 --- /dev/null +++ b/www-apache/mod_auth_openidc/Manifest @@ -0,0 +1,4 @@ +AUX 10_mod_auth_openidc.conf 180 BLAKE2B f9d4dd4554b208cfc649a7051bfd4bc984dc36333aa86ef1388c8dd57959b448aca8a83806ee54d2025889527917c42e49cd40d04fc63d591f8ee6fb4535ba96 SHA512 37161c4a699a4b687a65a5d3927c47e6890c96b9469cbd71aab31ecf549b181382298f096d5c5603a433cb64330174a45d05500f01742712b81f4cfd51cc2b7f +DIST mod_auth_openidc-2.4.14.4.tar.gz 632757 BLAKE2B e01df9c431df848c1773f8152d87b5efc183b016516718bbf5eff3de66d12c87396b649a06548b5f0e42a52d08baef9ced8cd4b79acfc1657b7427dab0c9c14d SHA512 b7d61f15d48292f2a567653632f7d9df8b6cb54303d4de0c333c8122a32df8749e508a0abd5259ac7ca15da5b244eec1e1d21f62140720ddb1705ec289551984 +EBUILD mod_auth_openidc-2.4.14.4-r1.ebuild 1363 BLAKE2B 0365ec264bd6adcdb49aebfc2be2274e482a8e270f8454cc77e161811c60b131145629aaefa2528a17d37e0da438e3174fa7de8c024ca57b33761b94e79128cd SHA512 1e163303dcb263de109a067e35184317b87672ae2b52cca06779967cc4c30b74023bfe98256b2c373061263277ee497441f291f0e6abf471dcb1c9cae300d14f +MISC metadata.xml 637 BLAKE2B 5a45bd9e72b30869c63e54d919e5d46db8565041a2b5e81bd65f3a98d2cf99e7c247fc8f080a85f367a520518526c44f01ca1c0d406097f41b71ae7489f2e793 SHA512 7bb65fc49e704d87d00defd68223ec438d8b6cc32119b73dd8976657cedaa5312e902ae62a1a30ce8876fb5818e65be98cff3ec5ef767c02df16d973e7752c69 diff --git a/www-apache/mod_auth_openidc/files/10_mod_auth_openidc.conf b/www-apache/mod_auth_openidc/files/10_mod_auth_openidc.conf new file mode 100644 index 000000000000..0290c4cfc162 --- /dev/null +++ b/www-apache/mod_auth_openidc/files/10_mod_auth_openidc.conf @@ -0,0 +1,4 @@ +<IfDefine AUTH_OPENIDC> +LoadModule auth_openidc_module modules/mod_auth_openidc.so +# See /usr/share/doc/mod_auth_openidc-*/auth_openidc.conf for configuration options. +</IfDefine> diff --git a/www-apache/mod_auth_openidc/metadata.xml b/www-apache/mod_auth_openidc/metadata.xml new file mode 100644 index 000000000000..13dbd324eab0 --- /dev/null +++ b/www-apache/mod_auth_openidc/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>infra@gentoo.org</email> + <name>Gentoo Infrastructure Team</name> + </maintainer> + <upstream> + <remote-id type="github">OpenIDC/mod_auth_openidc</remote-id> + </upstream> + <use> + <flag name="redis">Add support for the Redis caching via <pkg>dev-libs/hiredis</pkg></flag> + <flag name="brotli">Add support for brotli compressed data using <pkg>app-arch/brotli</pkg></flag> + </use> +</pkgmetadata> diff --git a/www-apache/mod_auth_openidc/mod_auth_openidc-2.4.14.4-r1.ebuild b/www-apache/mod_auth_openidc/mod_auth_openidc-2.4.14.4-r1.ebuild new file mode 100644 index 000000000000..4ab411903ee7 --- /dev/null +++ b/www-apache/mod_auth_openidc/mod_auth_openidc-2.4.14.4-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# + +EAPI=8 + +inherit depend.apache apache-module autotools + +DESCRIPTION="OpenID Connect Relying Party implementation for Apache HTTP Server 2.x" +HOMEPAGE="https://github.com/OpenIDC/mod_auth_openidc" +SRC_URI="https://github.com/OpenIDC/mod_auth_openidc/releases/download/v${PV}/${P}.tar.gz" +KEYWORDS="~amd64" +IUSE="redis brotli" + +SLOT="0" +LICENSE="Apache-2.0" + +RDEPEND="net-misc/curl + brotli? ( app-arch/brotli:= ) + sys-libs/zlib:= + dev-libs/openssl:= + dev-libs/apr + dev-libs/jansson:= + dev-libs/cjose + dev-libs/libpcre + redis? ( dev-libs/hiredis:= ) + app-misc/jq" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +APACHE2_MOD_CONF="10_mod_auth_openidc" +APACHE2_MOD_DEFINE="AUTH_OPENIDC" +DOCFILES="README.md ChangeLog AUTHORS INSTALL auth_openidc.conf" + +need_apache2_4 + +src_prepare() { + default + eautoreconf +} + +src_configure() { + ECONF_ARGS=( + $(use_with brotli) + $(use_with redis hiredis) + ) + econf "${ECONF_ARGS[@]}" +} + +src_compile() { + # Do not use apache-module_src_compile ; it does not compile properly + default +} + +src_install() { + # Do not use apache-module_src_install ; it does not link properly + default + + insinto "${APACHE_MODULES_CONFDIR}" + doins "${FILESDIR}/${APACHE2_MOD_CONF}.conf" + dodoc ${DOCFILES} +} + +pkg_postinst() { + apache-module_pkg_postinst +} |