lighttpd (pronounced /lighty/) is a secure, fast, compliant, and very flexible
web server that has been optimized for high-performance environments.
lighttpd uses memory and CPU efficiently and has lower resource use than other
popular web servers. Its advanced feature-set (FastCGI, CGI, Auth,
Output-Compression, URL-Rewriting and much more) make lighttpd the perfect web
server for all systems, small and large. lighttpd is released under the Open
Source revised BSD license.
===> The following configuration options are available for lighttpd-1.4.85:
ATTR=off: extended attributes support
DBI=off: DBI authentication (mod_authn_dbi)
DOCS=on: Build and/or install documentation
KRB5=off: Kerberos authentication (mod_authn_gssapi)
LDAP=off: LDAP authentication (mod_authn_ldap)
LUA=on: lua support (mod_magnet)
MAXMINDDB=off: IP-based geolocation lookup (mod_maxminddb)
NETTLE=on: Crypto support from Nettle
SPAWNFCGI=off: Depend on spawn-fcgi utility
WEBDAV=off: WebDAV support
ZSTD=off: mod_deflate support for zstd (Zstandard)
====> SSL protocol support
OPENSSL=on: SSL/TLS support via OpenSSL
GNUTLS=off: SSL/TLS support via GnuTLS
MBEDTLS=off: SSL/TLS support via mbed TLS
NSS=off: SSL/TLS support via NSS
WOLFSSL=off: SSL/TLS support via wolfSSL
===> Use 'make config' to modify these settings
security/wolfssl: Bump PORTREVISION of dependent ports for shlib change
(followup of ebd1ab3805d31a82613a1db818e6dc2bf5cdf75d)
wolfssl was updated to 5.9.2 in ebd1ab3805d31a82613a1db818e6dc2bf5cdf75d which
updates from libwolfssl.so.44 to libwolfssl.so.45. Therefore, PORTREVISION bump
is required. ftp/curl and net/libngtcp2-wolfssl are skipped because both ports
have version updates after ebd1ab3805d31a82613a1db818e6dc2bf5cdf75d.
% readelf -d /usr/local/lib/libwolfssl.so | grep SONAME
0x000000000000000e (SONAME) Library soname: [libwolfssl.so.45]
www/lighttpd: add missing annotated config file
Per the documentation of lighttpd 1.4.77, "Behavior Changes":
"doc/config/lighttpd.conf has been renamed doc/config/lighttpd.annotated.conf
and doc/config/lighttpd.conf is now a simpler header which includes
lighttpd.annotated.conf. lighttpd package maintainers must review their
packaging scripts and include both lighttpd.conf and lighttpd.annotated.conf
(e.g. doc/config/.conf) along with doc/config/conf.d/.conf."
PR: 285008
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
www/lighttpd: port improvements
1. Don't add the default settings to the config.
2. Change graceful to SIGUSR1.
3. Remove old mod_h264_streaming-related configs.
4. Sync pkg-descr with lighttpd.net.
Reported by: Glenn Strauss
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
a) just using the pkg-descr from the parents
b) or had their own separate pkg-descr with custom WWW
Use WWW?= in parents when the child's WWW is different.
Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.
Approved by: portmgr (implicit)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
www/lighttpd: remove GDBM option
mod_trigger_b4_dl was the only module that depended on gdbm and it was removed.
Reported by: Glenn Strauss <gstrauss@gluelogic.com>
www/lighttpd: fix regression on service restart
Problem:
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.
2021-10-12 23:02:07: (network.c.419) can't bind to socket: 0.0.0.0:80: Address
already in use
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd
Workaround:
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.
Diagnostics:
When "lighttpd_checkconfig" runs,
the content of the pid file is removed.
PR: 259114
Submitted by: dinoex
www/lighttpd: update to 1.4.59
Changelog:
* HTTP/2 enabled by default
* mod_deflate support for zstd (Zstandard)
(libzstd-devel dependency and configure --with-zstd)
* mod_ajp13 AJPv13 Tomcat connector
* bugfixes for issues in lighttpd 1.4.56, 1.4.57, 1.4.58
www/lighttpd: fix build on GCC architectures
ls-hpack/lshpack.c: In function 'lshpack_enc_huff_encode':
ls-hpack/lshpack.c:703: error: #pragma GCC diagnostic not allowed inside
functions
Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts)
Fix runtime problem when lighttpd is built with IPV6 option turned
on.
PR: 223288
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
Obtained from: https://redmine.lighttpd.net/issues/2832
www/lighttpd: Update to version 1.4.44.
- Removed mod_cgi patch, because upstream now correctly recognizes when
pipe(2) isn't available.
While here, modernize and simplify.
- Use OPT_ when possible.
- Remove variables that are not referenced or only referenced once.
PR: 215536
Submitted by: pkubaj@anongoth.pl (maintainer)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8900
- Update lighttpd to 1.4.42 [1]
- Convert WEBDAV option to option helpers [1]
- Remove MYSQLAUTH option, upstream integrated their own solution
in MYSQL support [1]
- Add GEOIP option to main port [1]
- Fix sorting in pkg-plist [1]
- Remove lighttpd-mod_geoip port, it's beeen integrated in the main
port [2]
PR: 213568 [1], 213569 [2]
Sumitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
- Update to 1.4.40
- Convert to USES=localbase
- Update MAINTAINER address
- Remove NODELAY option, it has been integrated upstream
- Modernize Makefile
PR: 211163
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl> (maintainer)
Update option description as proposed by port maintainer
PR: 175775
Submitted by: xaero at xaerolimit.net
Approved by: pkubaj at riseup.net (maintainer)