-
Notifications
You must be signed in to change notification settings - Fork 130
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 1.4.71 #917
lighttpd 1.4.71 #917
Conversation
Drop LDAP support since OpenLDAP in Leopard & Tiger lack support for ldap_distroy() which the module calls. Provide the missing parameters for getxattr() to fix build. Provide the definition of STAILQ_FOREACH if not found in <sys/queue.h> as with Tiger. use-ipv6 is nolonger a configurable option.
Hi @sevan Thanks for putting this together. I am a lighttpd developer and will accept (reasonable) portability patches upstream, such as preprocessor options like
in order to use a different function signature for Is there a reason the openldap libraries on Leopard and Tiger are too old to have You may wish to submit your STAILQ_FOREACH patch upstream to https://github.com/litespeedtech/ls-hpack FYI: openssl 1.1.1 will reach end-of-life this September: https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/ |
Hi @gstrauss This is the prototype in Regarding OpenLDAP on Tiger, the OS itself was released in 2005
Since it wasn't packaged already I refrained from packaging it but I guess we could package a new version of OpenLDAP and use that if it is buildable on Tiger. OpenSSL 3 is packaged (#865), no idea how it'll be handled within Tigerbrew in terms of integration. |
I have of course made the mistake of assuming that
I'll raise the relevant changes upstream as you suggested. |
@sevan, why does your patch remove FYI: lighttpd no longer provides an option to use libev, so that option should probably be removed from the config file. For I've added the following patch for the next release of lighttpd. Compile-tested on MacOS 11 (Big Sur):
However, unless there is a need, you probably should compile lighttpd without |
I dropped the call to autogen because the stock release source archive we build from is autotoolsed up and since we don't touch any of that infra, we don't need to re-run again. The configure stage also didn't complain about automake either so it seemed safe to drop & it saves on a lenghty build process to get those things installed before you get to build lighttpd if you don't have prebuilt packages at hand. Just a thought regarding kqueue since I haven't tried building with it, though Tiger & Leopard have kqueue, it is not so much that it's buggy but it is very old and missing functionality found in newer versions so like the case for Dovecot, which uses ioloop & notify from kqueue but it only checks if kqueue is at all available, build passes but when it comes to run time, it fails. Are you explicitly checking for the functionality from kqueue which you require or just that kqueue is available? I'll drop the attr & libev bits in the formula. |
It if works without the
lighttpd does not explicitly check for functionality from |
I'd recommend removing |
Based on feedback in PR mistydemeo#917 Drop attr support Building with libev is no longer a supported option Use kqueue support as it's the optimum means sendfile support is officially supported in 10.5 but is actually there in 10.4 but guarded off, one of the parameters is a different type though. Play it safe. bzip2 encoding was non-standard so skip using it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding
All those are available in |
@sevan your changes look good to me. With the removal of
or else that will conflict with future releases of lighttpd (which will contain the patch I posted further above) FYI: if the input file is lighttpd source FYI: If you're not sure about |
Decided to leave the patch there should someone want to build with attr support. It'll be dropped when the formula is upgraded in the future as the patch won't apply. |
Thank you so much everyone for all the work on this. Just to check, is this PR now ready for merge/binary builds? |
LGTM. Thanks! |
Yep, ready to land. |
(thx sevan) x-ref: mistydemeo/tigerbrew#917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Drop LDAP support since OpenLDAP in Leopard & Tiger lack support for ldap_distroy() which the module calls.
Provide the missing parameters for getxattr() to fix build. Provide the definition of STAILQ_FOREACH if not found in <sys/queue.h> as with Tiger.
use-ipv6 is nolonger a configurable option.
Requires #805 so should be added to the OpenSSL branch or merged after.