gentoo/www-apache/mod_auth_openidc/mod_auth_openidc-2.4.14.4-r1.ebuild
Michał Górny f42710561c
*/*: update the remaining packages for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```

Plus reverts in sys-libs/minizip-ng, sys-libs/zlib-ng and profiles.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 09:39:44 +01:00

70 lines
1.3 KiB
Bash

# Copyright 1999-2025 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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="brotli redis"
RDEPEND="
app-misc/jq
dev-libs/apr
dev-libs/cjose
dev-libs/jansson:=
dev-libs/openssl:=
dev-libs/libpcre
net-misc/curl
virtual/zlib:=
brotli? ( app-arch/brotli:= )
redis? ( dev-libs/hiredis:= )
"
DEPEND="
${RDEPEND}
"
BDEPEND="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
}