lighttpd: adjust with glibc and libcrypt-compat - #30557
Open
Matthiasfranck wants to merge 1 commit into
Open
Matthiasfranck wants to merge 1 commit into
Matthiasfranck wants to merge 1 commit into
Conversation
Matthiasfranck
force-pushed
the
dev_libcrypt_compat_lighttpd
branch
from
September 18, 2026 11:33
8bdefa9 to
ac82142
Compare
glibc 2.39 has removed libcrypt completely. solution: link against libxcrypt built with glibc compatibility. Link: openwrt#19293 Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Matthiasfranck
force-pushed
the
dev_libcrypt_compat_lighttpd
branch
from
September 18, 2026 11:35
ac82142 to
a161e0b
Compare
Contributor
|
Thanks for the patch. I'll think it over. At the moment, I am focusing on the next lighttpd release (soon) For this PR, maybe lighttpd should look for libxcrypt and use that, if found, though libxcrypt is not small, weighing in at over 200 KB between .text and .rodata segments on my 64-bit system. |
openwrt-ai
reviewed
Sep 19, 2026
| $(call Package/lighttpd/Default) | ||
| MENU:=1 | ||
| DEPENDS:=+libpthread +LIGHTTPD_LOGROTATE:logrotate \ | ||
| DEPENDS:=+USE_GLIBC:libcrypt-compat +libpthread +LIGHTTPD_LOGROTATE:logrotate \ |
Collaborator
There was a problem hiding this comment.
libcrypt is linked into mod_authn_file and mod_authn_dbi only — the module table in src/meson.build gives libcrypt to those two and nothing else, and the lighttpd binary itself never calls crypt(). Declared on the core package it pulls libxcrypt onto every glibc install even when neither auth backend is selected; the plugin dependency lists at Makefile:257-258 are the matching place.
Generated by Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintainer: @gstrauss
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Link: #19293