summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2024-05-06 15:12:11 -0400
committerSam James <sam@gentoo.org>2024-06-30 09:27:48 +0100
commita75d66cee08872901d84fc7fd6a1595a98b22f7e (patch)
treed6ab4c8fb535a67e0934305aac1bf48db783162d /www-servers/lighttpd
parentwww-servers/lighttpd: lighttpd-9999.ebuild (diff)
downloadgentoo-a75d66cee08872901d84fc7fd6a1595a98b22f7e.tar.gz
gentoo-a75d66cee08872901d84fc7fd6a1595a98b22f7e.tar.bz2
gentoo-a75d66cee08872901d84fc7fd6a1595a98b22f7e.zip
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@gluelogic.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-servers/lighttpd')
-rw-r--r--www-servers/lighttpd/lighttpd-9999.ebuild7
-rw-r--r--www-servers/lighttpd/metadata.xml1
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>