Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lighttpd: update to lighttpd 1.4.77 #1210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gstrauss
Copy link
Contributor

lighttpd: update to lighttpd 1.4.77

Copy link
Member

@dmacks dmacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I see a few support features are not enabled (brotli, xxhash, some others) that are lightweight dependencies. Worth trying to enable them?

@gstrauss
Copy link
Contributor Author

gstrauss commented Jan 11, 2025

xxhash is provided as part of lighttpd (and I generally keep it up to date), though there is an option to build lighttpd against a system-provided xxhash shared library. lighttpd 1.4.77 ships with xxHash v0.8.3. fink-distribution currently has xxHash v0.8.0, though that won't make much difference for lighttpd use off XXH32().

If fink is used on low-resource systems, it might be better to leave brotli out. However, on more modern hardware, then yes, lighttpd mod_deflate support for brotli is recommended.

lighttpd can be built with many features enabled or disabled, so I look to the fink maintainers for guidance and assistance configuring the fink-specific syntax in the *.info files.

BTW, lighttpd mod_webdav implements UUIDv4, so does not rely on libuuid anymore, and web/lighttpd.info can use --with-webdav-locks instead of --without-webdav-locks, though it does not really matter since mod_webdav locks are enabled if --with-webdav-props is enabled and the dependencies (libxml2 and sqlite3) are present.

Edit: also web/lighttpd.patch could remove mimetype.assign from the lighttpd.conf and use the mimetypes list of common web types which is built into modern lighttpd.
https://git.lighttpd.net/lighttpd/lighttpd1.4/src/branch/master/src/configfile.c#L949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants