commit: a75d66cee08872901d84fc7fd6a1595a98b22f7e
Author: Glenn Strauss <gstrauss <AT> gluelogic <DOT> com>
AuthorDate: Mon May 6 19:12:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 08:27:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a75d66ce
www-servers/lighttpd: USE_LIBDEFLATE option
Note: libdeflate not currently available on s390
TODO: drop ~s390 from ebuild KEYWORDS; file rekeywording bug
Signed-off-by: Glenn Strauss <gstrauss <AT> gluelogic.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-servers/lighttpd/lighttpd-9999.ebuild | 7 ++++---
www-servers/lighttpd/metadata.xml | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/www-servers/lighttpd/lighttpd-9999.ebuild
b/www-servers/lighttpd/lighttpd-9999.ebuild
index dce878470fb1..ea8a10005ca7 100644
--- a/www-servers/lighttpd/lighttpd-9999.ebuild
+++ b/www-servers/lighttpd/lighttpd-9999.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="BSD GPL-2"
SLOT="0"
-IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss
+pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd"
+IUSE="+brotli dbi gnutls kerberos ldap libdeflate +lua maxminddb mbedtls
+nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -42,6 +42,7 @@ COMMON_DEPEND="
gnutls? ( net-libs/gnutls )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-2.1.26:= )
+ libdeflate? ( app-arch/libdeflate )
lua? ( ${LUA_DEPS} )
maxminddb? ( dev-libs/libmaxminddb )
mbedtls? ( net-libs/mbedtls )
@@ -116,8 +117,6 @@ src_configure() {
$(meson_feature dbi with_dbi)
- # Unpackaged in Gentoo
- -Dwith_libdeflate=disabled
# Obsolete
-Dwith_fam=disabled
@@ -125,6 +124,8 @@ src_configure() {
$(meson_feature kerberos with_krb5)
$(meson_feature ldap with_ldap)
+ $(meson_feature libdeflate with_libdeflate)
+
$(meson_feature unwind with_libunwind)
$(meson_use lua with_lua)
diff --git a/www-servers/lighttpd/metadata.xml
b/www-servers/lighttpd/metadata.xml
index 33390f7e2be2..e4c15c0ffdca 100644
--- a/www-servers/lighttpd/metadata.xml
+++ b/www-servers/lighttpd/metadata.xml
@@ -16,6 +16,7 @@
<use>
<flag name="brotli">Enable output compression via
<pkg>app-arch/brotli</pkg> (recommended)</flag>
<flag name="gnutls">Build module for TLS via
<pkg>net-libs/gnutls</pkg></flag>
+ <flag name="libdeflate">Enable output compression via
<pkg>app-arch/libdeflate</pkg></flag>
<flag name="maxminddb">Add support for geolocation using
<pkg>dev-libs/libmaxminddb</pkg></flag>
<flag name="mbedtls">Build module for TLS via
<pkg>net-libs/mbedtls</pkg></flag>
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> as crypto
backend</flag>