From 258823b8efec57d9e56bfc941d6fd97f4a615f96 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 1 Oct 2026 20:45:24 +0200 Subject: [PATCH 1/2] lighttpd: Convert to versionless bee file Assisted-by: Claude Opus 5.5 --- lighttpd-1.4.28-0.bee => lighttpd.be0 | 2 ++ 1 file changed, 2 insertions(+) rename lighttpd-1.4.28-0.bee => lighttpd.be0 (93%) diff --git a/lighttpd-1.4.28-0.bee b/lighttpd.be0 similarity index 93% rename from lighttpd-1.4.28-0.bee rename to lighttpd.be0 index ff69bcf8f..ac8034652 100755 --- a/lighttpd-1.4.28-0.bee +++ b/lighttpd.be0 @@ -1,5 +1,7 @@ #!/bin/env beesh +# BEE_VERSION lighttpd-1.4.28-0 + SRCURL[0]="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.bz2" PATCHURL[0]="" From e786eb613b67d7c735cb625167dc4eeb5a2c1800 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 1 Oct 2026 20:49:04 +0200 Subject: [PATCH 2/2] lighttpd: Update version from 1.4.28 to 1.4.85 with TLS support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release tarball no longer contains a generated `configure`, but CMakeLists.txt and meson.build, the build system upstream recommends. bee picks CMake when it finds both, and the absolute CMAKE_INSTALL_LIBDIR it passes is prefixed once more, so the modules were installed to `/usr/usr/lib/lighttpd` and the binary looked for them there: -rwxr-xr-x Apmenzel/Apmenzel 51072 2026-10-01 20:46 /usr/usr/lib/lighttpd/mod_vhostdb.so -m module directory (default: /usr//usr/lib/lighttpd) Select meson explicitly. Its moduledir already defaults to `/usr/lib/lighttpd`, so the override `LIBDIR=/usr/share/lighttpd`, which kept the modules out of `/usr/lib` under autotools, is not needed anymore, and the architecture dependent modules leave `/usr/share`. The project’s default buildtype is debugoptimized, so it is built with `-O2 -g`. TLS is off by default, so enable OpenSSL, building `mod_openssl.so`: [BEE] meson --prefix /usr --sysconfdir=/etc --localstatedir=/var --wrap-mode=nofallback -Dwith_openssl=true … [108/108] cc -o src/mod_openssl.so src/mod_openssl.so.p/mod_openssl.c.o … /usr/lib/libssl.so /usr/lib/libcrypto.so … $ lighttpd -V lighttpd/1.4.85 (ssl) - a light and fast webserver + zlib support + OpenSSL support + PCRE support Smoke-tested with a self-signed certificate on 127.0.0.1:18443, which negotiates TLS 1.3 and HTTP/2, and rejects plain HTTP on that port: $ curl --cacert cert.pem https://localhost:18443/ -w '%{http_code} HTTP/%{http_version}\n' hello-tls 200 HTTP/2 $ openssl s_client -connect 127.0.0.1:18443 -brief Protocol version: TLSv1.3 Ciphersuite: TLS_AES_256_GCM_SHA384 (mod_openssl.c.4844) SSL: addr:127.0.0.1 ssl_err:1 error:0A00009C:SSL routines::http request Configurations written for 1.4.28 that load one of the modules upstream has removed since – mod_cml, mod_evasive, mod_flv_streaming, mod_mysql_vhost (superseded by mod_vhostdb), mod_secdownload, mod_trigger_b4_dl, and mod_usertrack – no longer start. mod_magnet remains, but requires Lua, which is not enabled. Most of the others (mod_access, mod_alias, mod_rewrite, mod_fastcgi, …) are built into the binary now, and mod_compress is an alias of mod_deflate. The tarball matches upstream’s SHA-512 checksum. 54eda55229f762868db4a5941532448036a83a12de3065f6fcbe04f57f8be030a25ad6a82cabc014474449ebb01f0a23d08c23bb729737783a9 Assisted-by: Claude Opus 5.5 --- lighttpd.be0 | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/lighttpd.be0 b/lighttpd.be0 index ac8034652..4845f12d1 100755 --- a/lighttpd.be0 +++ b/lighttpd.be0 @@ -1,31 +1,21 @@ #!/bin/env beesh -# BEE_VERSION lighttpd-1.4.28-0 +# BEE_VERSION lighttpd-1.4.85-0 -SRCURL[0]="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.bz2" +# SRCURL[0]="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PKGVERSION}.tar.xz" +SRCURL[0]="https://beehive.molgen.mpg.de/d8b436e0688a09594fc292ad18fb6eb5/lighttpd-1.4.85.tar.xz" -PATCHURL[0]="" +# PATCHURL[0]="" PGRP=( uncategorized ) - -LIBDIR=/usr/share/lighttpd - - -# BEE_CONFIGURE=compat +BEE_BUILDTYPE=meson # EXCLUDE="" -mee_patch() { - bee_patch -} - mee_configure() { - bee_configure -} - -mee_build() { - bee_build + bee_configure \ + -Dwith_openssl=true } mee_install() { @@ -33,4 +23,3 @@ mee_install() { mkdir -p ${D}/${SYSCONFDIR} cp -v ${S}/doc/config/lighttpd.conf ${D}/${SYSCONFDIR}/lighttpd.conf.sample } -