Here is an update to lighttpd 1.4.57.
Highlights
- HTTP/2 support
- must be enabled in lighttpd.conf in lighttpd 1.4.56;
may be enabled by default in a future release
- server.feature-flags += ("server.h2proto" => "enable", "server.h2c" =>
"enable")
- TLS OCSP stapling
- TLS session ticket key rotation control
- mod_deflate brotli support
- mod_proxy makes HTTP/1.1 requests to backends (change from HTTP/1.0)
- RFC 8297 support for 103 Early Hints produced by backends (scripts)
- graceful restart option to transfer listen fds (minimal pause)
- server.systemd-socket-activation = "enable"
- server.feature-flags += ("server.graceful-restart-bg" => "enable",
"server.graceful-shutdown-timeout" => "15")
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.159
diff -u -p -u -p -r1.159 Makefile
--- Makefile 5 Feb 2020 20:18:19 -0000 1.159
+++ Makefile 18 Dec 2020 22:42:39 -0000
@@ -2,7 +2,7 @@
COMMENT= secure, fast, compliant, and very flexible web-server
-DISTNAME= lighttpd-1.4.55
+DISTNAME= lighttpd-1.4.57
CATEGORIES= www net
MASTER_SITES= https://download.lighttpd.net/lighttpd/releases-1.4.x/
EXTRACT_SUFX= .tar.xz
@@ -16,7 +16,7 @@ PERMIT_PACKAGE= Yes
WANTLIB= c crypto m pcre ssl z ${MODLUA_WANTLIB}
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER= base-clang ports-gcc base-gcc
MODULES= lang/lua
MODLUA_SA= Yes
@@ -30,7 +30,6 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --libdir="${PREFIX}/lib/lighttpd" \
--with-lua \
--with-openssl \
- --without-bzip2 \
--without-libev
CONFIGURE_ENV+= CC_FOR_BUILD="${CC}" \
CFLAGS_FOR_BUILD="${CFLAGS}" \
@@ -45,13 +44,13 @@ FLAVOR?=
.if ${FLAVOR:Mldap}
CONFIGURE_ARGS+= --with-ldap
LIB_DEPENDS+= databases/openldap
-WANTLIB+= lber-2.4 ldap-2.4 sasl2
+WANTLIB+= lber ldap sasl2
.endif
.if ${FLAVOR:Mmysql}
CONFIGURE_ARGS+= --with-mysql
LIB_DEPENDS+= databases/mariadb
-WANTLIB+= mysqlclient pthread ${COMPILER_LIBCXX}
+WANTLIB+= mariadb pthread
.endif
post-extract:
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.61
diff -u -p -u -p -r1.61 distinfo
--- distinfo 5 Feb 2020 20:18:19 -0000 1.61
+++ distinfo 18 Dec 2020 22:42:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (lighttpd-1.4.55.tar.xz) = agtQ6cnVzD2eSFkjFcJaLWRYWPhj4czRIFB6MM4h6Sc=
-SIZE (lighttpd-1.4.55.tar.xz) = 765660
+SHA256 (lighttpd-1.4.57.tar.xz) = UsqWG4nBL37LsuTgxannmyhjxk4zxCgyoWXn+JTWIX8=
+SIZE (lighttpd-1.4.57.tar.xz) = 954152
Index: patches/patch-doc_lighttpd_8
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/patches/patch-doc_lighttpd_8,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-doc_lighttpd_8
--- patches/patch-doc_lighttpd_8 17 Sep 2016 20:22:41 -0000 1.3
+++ patches/patch-doc_lighttpd_8 26 Oct 2020 05:31:00 -0000
@@ -1,6 +1,8 @@
$OpenBSD: patch-doc_lighttpd_8,v 1.3 2016/09/17 20:22:41 ajacoutot Exp $
---- doc/lighttpd.8.orig Sun Jul 31 08:42:39 2016
-+++ doc/lighttpd.8 Wed Sep 14 20:52:57 2016
+
+Index: doc/lighttpd.8
+--- doc/lighttpd.8.orig
++++ doc/lighttpd.8
@@ -56,7 +56,7 @@ Show a brief help message and exit.
.
.SH FILES
@@ -9,4 +11,4 @@ $OpenBSD: patch-doc_lighttpd_8,v 1.3 201
+${SYSCONFDIR}/lighttpd.conf
The standard location for the configuration file.
.TP 8
- /var/run/lighttpd.pid
+ /run/lighttpd.pid
Index: pkg/PFRAG.ldap
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/pkg/PFRAG.ldap,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 PFRAG.ldap
--- pkg/PFRAG.ldap 11 Nov 2016 10:23:34 -0000 1.1
+++ pkg/PFRAG.ldap 27 Oct 2020 07:11:42 -0000
@@ -1,2 +1,3 @@
@comment $OpenBSD: PFRAG.ldap,v 1.1 2016/11/11 10:23:34 sthen Exp $
-lib/lighttpd/mod_authn_ldap.so
+@so lib/lighttpd/mod_authn_ldap.so
+@so lib/lighttpd/mod_vhostdb_ldap.so
Index: pkg/PFRAG.mysql
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/pkg/PFRAG.mysql,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PFRAG.mysql
--- pkg/PFRAG.mysql 11 Nov 2016 10:23:34 -0000 1.3
+++ pkg/PFRAG.mysql 27 Oct 2020 07:12:32 -0000
@@ -1,3 +1,4 @@
@comment $OpenBSD: PFRAG.mysql,v 1.3 2016/11/11 10:23:34 sthen Exp $
-lib/lighttpd/mod_authn_mysql.so
-lib/lighttpd/mod_mysql_vhost.so
+@so lib/lighttpd/mod_authn_mysql.so
+@so lib/lighttpd/mod_mysql_vhost.so
+@so lib/lighttpd/mod_vhostdb_mysql.so
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/www/lighttpd/pkg/PLIST,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 PLIST
--- pkg/PLIST 5 Feb 2020 20:18:19 -0000 1.27
+++ pkg/PLIST 27 Oct 2020 06:51:48 -0000
@@ -10,7 +10,6 @@ lib/lighttpd/
@so lib/lighttpd/mod_authn_file.so
@so lib/lighttpd/mod_cgi.so
@so lib/lighttpd/mod_cml.so
-@so lib/lighttpd/mod_compress.so
@so lib/lighttpd/mod_deflate.so
@so lib/lighttpd/mod_dirlisting.so
@so lib/lighttpd/mod_evasive.so