From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Matt Weber <matthew.weber@collins.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH v2,2/6] package/lighttpd: add zstd support
Date: Sun, 23 Jan 2022 10:59:53 +0100 [thread overview]
Message-ID: <20220123095957.492671-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20220123095957.492671-1-fontaine.fabrice@gmail.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/lighttpd/Config.in | 6 ++++++
package/lighttpd/lighttpd.mk | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index 59c1e0b2a6..05a7c84961 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -65,4 +65,10 @@ config BR2_PACKAGE_LIGHTTPD_ZLIB
help
Enable zlib support for lighttpd mod_deflate.
+config BR2_PACKAGE_LIGHTTPD_ZSTD
+ bool "zstd support"
+ select BR2_PACKAGE_ZSTD
+ help
+ Enable zstd support for lighttpd mod_deflate.
+
endif
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index bdbf75191c..4f05db4e29 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -32,7 +32,6 @@ LIGHTTPD_CONF_OPTS = \
-Dwith_wolfssl=false \
-Dwith_xattr=false \
-Dwith_xxhash=true \
- -Dwith_zstd=false \
-Dbuild_extra_warnings=false \
-Dbuild_static=false \
-Dmoduledir=lib/lighttpd
@@ -92,6 +91,13 @@ else
LIGHTTPD_CONF_OPTS += -Dwith_zlib=false
endif
+ifeq ($(BR2_PACKAGE_LIGHTTPD_ZSTD),y)
+LIGHTTPD_DEPENDENCIES += zstd
+LIGHTTPD_CONF_OPTS += -Dwith_zstd=true
+else
+LIGHTTPD_CONF_OPTS += -Dwith_zstd=false
+endif
+
define LIGHTTPD_INSTALL_CONFIG
$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/lighttpd/conf.d
$(INSTALL) -d -m 0755 $(TARGET_DIR)/var/www
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-01-23 10:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-23 9:59 [Buildroot] [PATCH v2, 1/6] package/lighttpd: reorder alphabetically options Fabrice Fontaine
2022-01-23 9:59 ` Fabrice Fontaine [this message]
2022-01-23 9:59 ` [Buildroot] [PATCH v2,3/6] package/lighttpd: add brotli support Fabrice Fontaine
2022-01-23 9:59 ` [Buildroot] [PATCH v2, 4/6] package/lighttpd: add maxminddb support Fabrice Fontaine
2022-01-23 9:59 ` [Buildroot] [PATCH v2,5/6] package/lighttpd: add krb5 support Fabrice Fontaine
2022-01-23 9:59 ` [Buildroot] [PATCH v2,6/6] package/lighttpd: add ldap support Fabrice Fontaine
2022-01-26 21:04 ` [Buildroot] [PATCH v2, 1/6] package/lighttpd: reorder alphabetically options Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220123095957.492671-2-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.org \
--cc=matthew.weber@collins.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox