pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/lighttpd



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Jan 10 21:29:37 UTC 2025

Modified Files:
        pkgsrc/www/lighttpd: Makefile PLIST distinfo
Added Files:
        pkgsrc/www/lighttpd/patches: patch-doc_config_lighttpd.annotated.conf
Removed Files:
        pkgsrc/www/lighttpd/patches: patch-doc_config_lighttpd.conf

Log Message:
lighttpd: update to 1.4.77. Changes:

* [build] packdist.sh tweaks of convenience commands
* [build] remove ancient distribute.sh.in script
* [core] add .torrent to mimetype.assign builtin defaults
* Revert "[core] special value for Linux POLLRDHUP on SPARC" (fixes #3251)
* [core] special value for Linux POLLRDHUP on SPARC (fixes #3251)
* [mod_ssi] rename ssi_val_tobool to ssi_val_to_bool
* [multiple] rename config_plugin_value_tobool
* [core] fix graceful shutdown timeout handling
* [core] preprocessor option to force crypto lib
* [cmake] fix some typos in pcre2 detection
* [tests] disambiguate regex test value from string
* [tests] fix deflate tests w/ Fedora zlib-ng-compat
* [core] port for QNX7.1/8.0
* [doc] remove ancient doc/scripts/spawn-php.sh
* [mod_deflate] limit zstd max window size to 8 MB
* [mod_accesslog] ignore format specifier w/o label
* [autotools] add pkgconf test for libdbi
* [mod_webdav] use SQLITE_PREPARE_PERSISTENT
* [mod_webdav] call sqlite3_initialize() at init
* [mod_webdav] disable double-quoted string literal
* [core] clarify error msg for plugin ver mismatch
* [mod_dirlisting] Add dark mode support
* [autotools] Prefer libpcre.pc to pcre-config
* [core] server.ip-transparent option on listen sock
* [core] reject HTTP/1.x request-line URI trail sp
* [core] remove http_request_parse_proto_loose()
* [core] strictly require CRLF on chunked header
* [core] strictly require CRLF on all chunked header
* [multiple] quiet coverity false positives
* [core] http_request_check_uri_strict optimization
* [h2] fix spurious connection resets with zero log_monotonic_secs
* [mod_dirlisting] fix ?json output; emit JSON list (fixes #3256)
* [mod_dirlisting] minor optimization for ?json
* [mod_auth] fix Digest nonce validation w/ nonce_secret
* [core] omit pcre2 JIT error trace if JIT not avail
* [doc] rename sample config lighttpd.annotated.conf
* [doc] simplify doc/config/lighttpd.conf entry
* [doc] use shorter https://wiki.lighttpd.net/ url
* [meson] use pkg-config to find mbedtls 3.6
* [meson] update FORCE_* vars to select crypto lib
* [core] remove long-unused #ifdef USE_ALARM
* [core] avoid pedantic compiler warning (fixes #3262)
* [mod_auth] HTTP Digest and HTTP/2 extended CONNECT
* [mod_dirlisting] sort by exact value of size (fixes #3264)
* [mod_dirlisting] sort mtime using data-value (#3264)
* [core] remove mimetype.assign from tests/lighttpd.conf
* [doc] update create-mime.conf.pl compression types
* [doc] update doc/config/conf.d/mime.conf
* [core] remove cast from ioctl() RNDGETENTCNT
* [core] update ls-hpack
* [core] light_isprint(), light_iscntrl()
* [core] perf: tighter loops for str encode,escape
* [mod_wstunnel] Sec-WebSocket-Protocol: binary
* [core] light_iscntrl_or_utf8_invalid_byte()
* [core] option: allow unescaped UTF-8 in errorlog (fixes #3268)
* [systemd] test config in ExecReload before signal
* [core] config parsing: detect invalid keys
* [TLS] allow list of Groups/Curves
* [mbedtls] reset crt_profile when reconfigured
* [mod_mbedtls] guard mbedtls use of RSA_PSK
* [mod_nss] add ssl.openssl.ssl-conf-cmd Ciphersuite
* [mod_wolfssl] typo
* [mod_nss] ver check for experimental groups/curves
* [mod_wolfssl] missing return
* [tests] do not test for exact compress zlib size
* [tests] consolidate test value comparison logic
* [multiple] avoid sending body to GW_AUTHORIZER (fixes #3272)
* [mod_magnet] use local sys-dirent.h (portability)
* [mod_magnet] add code header to mod_magnet.c
* [TLS] skip SSL_CTX init if not in SOCKET condition
* [mod_openssl] ssl.ech-opts, load ECH keys
* [mod_openssl] ssl.non-ech-host opt to require ECH
* [mod_openssl] free mem from SSL_ech_get1_status()
* [mod_openssl] ECH: use new OSSL_ECHSTORE APIs
* [mod_openssl] ECH: refresh 4 year old patches
* [mod_openssl] ECH: kludge compat w/ OpenSSL ECH API
* [mod_openssl] omit OSSL_ECH_FOR_RETRY for ECH-only
* [mod_openssl] ECH: OSSL_ECH_FOR_RETRY for cur key
* [mod_openssl] ECH: boringssl support
* [TLS] modify TLS defaults to MinProtocol TLSv1.3
* [TLS] use TLSv1.3 groups X25519:P-256:P-384:X448
* [mod_openssl] skip *.ech files beginning with '.'
* [mod_openssl] ECH: rename directives to ECH terms
* [core] server.error-handler-404 handles only 404
* [mod_magnet] quiet coverity false positive
* [mod_openssl] ECH: use same (debug) CGI var names
* [mod_openssl] ECH: reload keys only if modified
* [mod_openssl] ECH: remove kludge compat w/ OpenSSL ECH API
* [core] reset cond cache item URL if pathinfo
* [mod_openssl] use BUF_PTR_LEN when buffer not NULL
* [mod_openssl] ECH: code comments for ECH-only host
* [core] import xxHash v0.8.3
* [autoconf] update ax_prog_cc_for_build.m4


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 pkgsrc/www/lighttpd/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/lighttpd/PLIST
cvs rdiff -u -r1.83 -r1.84 pkgsrc/www/lighttpd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/lighttpd/patches/patch-doc_config_lighttpd.annotated.conf
cvs rdiff -u -r1.8 -r0 \
    pkgsrc/www/lighttpd/patches/patch-doc_config_lighttpd.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/lighttpd/Makefile
diff -u pkgsrc/www/lighttpd/Makefile:1.134 pkgsrc/www/lighttpd/Makefile:1.135
--- pkgsrc/www/lighttpd/Makefile:1.134  Thu Nov 14 22:22:07 2024
+++ pkgsrc/www/lighttpd/Makefile        Fri Jan 10 21:29:37 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.134 2024/11/14 22:22:07 wiz Exp $
+# $NetBSD: Makefile,v 1.135 2025/01/10 21:29:37 schmonz Exp $
 
-DISTNAME=      lighttpd-1.4.76
-PKGREVISION=   5
+DISTNAME=      lighttpd-1.4.77
 CATEGORIES=    www
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
@@ -61,7 +60,7 @@ OWN_DIRS+=            ${LIGHTTPD_STATEDIR}
 SUBST_CLASSES+=                path
 SUBST_MESSAGE.path=    Fixing config file paths
 SUBST_STAGE.path=      pre-configure
-SUBST_FILES.path=      doc/config/lighttpd.conf doc/lighttpd.8
+SUBST_FILES.path=      doc/config/lighttpd.annotated.conf doc/lighttpd.8
 SUBST_VARS.path=       LIGHTTPD_LOGDIR LIGHTTPD_STATEDIR LIGHTTPD_USER \
                        LIGHTTPD_CACHEDIR LIGHTTPD_HOMEDIR              \
                        LIGHTTPD_GROUP PKG_SYSCONFDIR VARBASE

Index: pkgsrc/www/lighttpd/PLIST
diff -u pkgsrc/www/lighttpd/PLIST:1.28 pkgsrc/www/lighttpd/PLIST:1.29
--- pkgsrc/www/lighttpd/PLIST:1.28      Wed May 10 13:32:48 2023
+++ pkgsrc/www/lighttpd/PLIST   Fri Jan 10 21:29:37 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2023/05/10 13:32:48 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.29 2025/01/10 21:29:37 schmonz Exp $
 lib/lighttpd/mod_accesslog.la
 lib/lighttpd/mod_ajp13.la
 lib/lighttpd/mod_auth.la
@@ -92,8 +92,8 @@ share/examples/lighttpd/conf.d/ssi.conf
 share/examples/lighttpd/conf.d/status.conf
 share/examples/lighttpd/conf.d/userdir.conf
 share/examples/lighttpd/conf.d/webdav.conf
+share/examples/lighttpd/lighttpd.annotated.conf
 share/examples/lighttpd/lighttpd.conf
 share/examples/lighttpd/modules.conf
 share/examples/lighttpd/rrdtool-graph.sh
-share/examples/lighttpd/spawn-php.sh
 share/examples/lighttpd/vhosts.d/vhosts.template

Index: pkgsrc/www/lighttpd/distinfo
diff -u pkgsrc/www/lighttpd/distinfo:1.83 pkgsrc/www/lighttpd/distinfo:1.84
--- pkgsrc/www/lighttpd/distinfo:1.83   Sun Apr 14 18:04:59 2024
+++ pkgsrc/www/lighttpd/distinfo        Fri Jan 10 21:29:37 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.83 2024/04/14 18:04:59 schmonz Exp $
+$NetBSD: distinfo,v 1.84 2025/01/10 21:29:37 schmonz Exp $
 
-BLAKE2s (lighttpd-1.4.76.tar.xz) = e00c744cc3c9cd9f29dda5507b0a0cb23f699ab0b13a2e59726583f81cb5c305
-SHA512 (lighttpd-1.4.76.tar.xz) = 940f00f2d84e3424c389108d09756a0af41db3559474135b6c502deccd08ad051b5184f3f7907436384964d2b05045e27dca463af98c889cee69b0ae6e202782
-Size (lighttpd-1.4.76.tar.xz) = 847132 bytes
-SHA1 (patch-doc_config_lighttpd.conf) = 50f9529ea7ecfae741ca47f0514175dbf1aa52d9
+BLAKE2s (lighttpd-1.4.77.tar.xz) = 202ffc3682bffe837f43981495abd04a9f458465ac84afe323c0475640364f42
+SHA512 (lighttpd-1.4.77.tar.xz) = 696fd4fd8486a6c3fd1131c7e8a935a02b5384882b74ddc19bf79d085e2a0abed9184a30f97e3a7aafb816d3589e110e8d70115daa15cdc52cf61aa4129e3565
+Size (lighttpd-1.4.77.tar.xz) = 857872 bytes
+SHA1 (patch-doc_config_lighttpd.annotated.conf) = 7c0816955231964b01b8458890df344b71ef8abd
 SHA1 (patch-doc_lighttpd.8) = e08ac362784aebaca566d0f65380b70a829d6b4e

Added files:

Index: pkgsrc/www/lighttpd/patches/patch-doc_config_lighttpd.annotated.conf
diff -u /dev/null pkgsrc/www/lighttpd/patches/patch-doc_config_lighttpd.annotated.conf:1.1
--- /dev/null   Fri Jan 10 21:29:37 2025
+++ pkgsrc/www/lighttpd/patches/patch-doc_config_lighttpd.annotated.conf        Fri Jan 10 21:29:37 2025
@@ -0,0 +1,51 @@
+$NetBSD: patch-doc_config_lighttpd.annotated.conf,v 1.1 2025/01/10 21:29:37 schmonz Exp $
+
+Sane defaults.
+
+--- doc/config/lighttpd.annotated.conf.orig    2025-01-10 04:12:08.000000000 +0000
++++ doc/config/lighttpd.annotated.conf
+@@ -13,11 +13,11 @@
+ ## if you add a variable here. Add the corresponding variable in the
+ ## chroot example as well.
+ ##
+-var.log_root    = "/var/log/lighttpd"
++var.log_root    = "@LIGHTTPD_LOGDIR@"
+ var.server_root = "/srv/www"
+-var.state_dir   = "/run"
+-var.home_dir    = "/var/lib/lighttpd"
+-var.conf_dir    = "/etc/lighttpd"
++var.state_dir   = "@LIGHTTPD_STATEDIR@"
++var.home_dir    = "@LIGHTTPD_HOMEDIR@"
++var.conf_dir    = "@PKG_SYSCONFDIR@"
+ 
+ ##
+ ## run the server chrooted.
+@@ -58,7 +58,7 @@ var.vhosts_dir  = server_root + "/vhosts
+ ## used in:
+ ## conf.d/deflate.conf
+ ##
+-var.cache_dir   = "/var/cache/lighttpd"
++var.cache_dir   = "@LIGHTTPD_CACHEDIR@"
+ 
+ ##
+ ## Base directory for sockets.
+@@ -97,8 +97,8 @@ include conf_dir + "/modules.conf"
+ ## Run as a different username/groupname.
+ ## This requires root permissions during startup.
+ ##
+-server.username  = "lighttpd"
+-server.groupname = "lighttpd"
++server.username  = "@LIGHTTPD_USER@"
++server.groupname = "@LIGHTTPD_GROUP@"
+ 
+ ##
+ ## Enable lighttpd to serve requests on sockets received from systemd
+@@ -389,7 +389,7 @@ include conf_dir + "/conf.d/dirlisting.c
+ ##
+ ## defaults to /var/tmp as we assume it is a local harddisk
+ ## default: "/var/tmp"
+-#server.upload-dirs = ( "/var/tmp" )
++#server.upload-dirs = ( "@VARBASE@/tmp" )
+ 
+ ##
+ #######################################################################



Home | Main Index | Thread Index | Old Index