Commit Graph

130 Commits (15cdc313b500e2473de7bafdcf1c703dbfd11e56)

Author SHA1 Message Date
Glenn Strauss e790203a75 [build] PGSQL_CFLAGS with pkg-config for postgres (#2965)
x-ref:
  "pg_config is deprecated to build postgres client applications"
  https://redmine.lighttpd.net/issues/2965
4 years ago
Glenn Strauss 3eff9bac4e [build] prefer pkg-config for postgres (fixes #2965)
x-ref:
  "pg_config is deprecated to build postgres client applications"
  https://redmine.lighttpd.net/issues/2965
4 years ago
Stefan Bühler 79760d935a Use explicit_memset from NetBSD if available for safe_memclear (fixes #2971) 4 years ago
Glenn Strauss 51a46f0211 - next is 1.4.55 4 years ago
Glenn Strauss 4ac239c401 [mod_maxminddb] MaxMind GeoIP2 support 4 years ago
Glenn Strauss 52c489837f [build] detect FreeBSD elftc_copyfile() 4 years ago
yangfl 6962fc2a5a [mod_webdav] fix uuid detection macro
github: #97

x-ref:
  https://github.com/lighttpd/lighttpd1.4/pull/97
4 years ago
Glenn Strauss 2f46736edc [build] remove -Wdeclaration-after-statement
Declarations after statements has been permitted since C99.
(That was 20 years ago!)
4 years ago
Glenn Strauss 40ded06b08 - next is 1.4.54 4 years ago
Glenn Strauss 4608ddec2f [build] autotools: try mysqlclient.pc and mariadb.pc (fixes #2925)
(thx helmut)

x-ref:
  "autotools cross build failure with lighttpd"
  https://redmine.lighttpd.net/issues/2925
4 years ago
Glenn Strauss 53c231a764 - next is 1.4.53 5 years ago
Glenn Strauss 3d60d8535f [build] Fix unportable test(1) operator
(thx Thomas Klausner)
5 years ago
Glenn Strauss c9a64d94fc - next is 1.4.52 5 years ago
Glenn Strauss 778b07a034 [build] automake support for wolfSSL 5 years ago
Glenn Strauss fc1ddbed33 [mod_sockproxy] add to build
(experimental)
5 years ago
Glenn Strauss df4812ec2e [mod_authn_pam] mod_auth PAM support (fixes #688)
x-ref:
  "auth via pam"
  https://redmine.lighttpd.net/issues/688
5 years ago
Glenn Strauss a9e131fa37 - next is 1.4.51 5 years ago
Glenn Strauss 6ccccaaa38 [tests] move src/test_*.c to src/t/ 5 years ago
Glenn Strauss fefc82153a [build] remove m4 AC_PATH_PROG for PKG_CONFIG
replaced by PKG_PROG_PKG_CONFIG and PKG_CHECK_MODULES()
5 years ago
Glenn Strauss ae54806dc2 - next is 1.4.50 5 years ago
Glenn Strauss 7265c72b6c [autoconf] reduce minimum automake version to 1.13
Although removal of AM_PROG_CC_C_O in f107bac8 requires automake 1.14
to provide the same functionality in AC_PROG_CC, any widely used,
modern compiler supports cc -c -o.  Reducing the minimum required
automake version avoids the current need for Centos 7 maintainers
to patch configure.ac in order to build binary packages.
5 years ago
Glenn Strauss de937f47f8 - next is 1.4.49 6 years ago
Glenn Strauss d61714dd0d [mod_authn_sasl] SASL auth (new) (fixes #2275)
(experimental)

HTTP Basic authentication using saslauthd

server.modules += ( "mod_auth" )
server.modules += ( "mod_authn_sasl" )
auth.backend = "sasl"
auth.backend.sasl.opts = ( "pwcheck_method" => "saslauthd" ) # default

x-ref:
  "SASL auth like libapache2-mod-authn-sasl"
  https://redmine.lighttpd.net/issues/2275
6 years ago
Glenn Strauss fdc4c324c4 [mod_authn_ldap] replace use of deprecated funcs
[mod_authn_ldap,mod_vhostdb_ldap]
replace use of deprecated funcs
remove -DLDAP_DEPRECATED
6 years ago
Glenn Strauss 82d374328f [autobuild] allow sendfile() in cross-compile (fixes #2836)
allow sendfile() in cross-compile if sys/sendfile.h header detected
and sendfile() symbol detected (e.g. in libc)

If sendfile() is present but always returns ENOSYS, lighttpd will
be slightly less efficient, but will fall back to writev() or write()

User should explicitly set server.network-backend = "writev" in
lighttpd.conf on systems with broken sendfile()

x-ref:
  "Remove check for broken sendfile implementations"
  https://redmine.lighttpd.net/issues/2836
6 years ago
Glenn Strauss caab4cdf8a [autobuild] remove obsolete warning about mmap use
lighttpd protects against SIGBUS when accessing mmap'd files
6 years ago
Stefan Bühler 6976b5e8a8 [autobuild] generate version id with m4 instead of awk 6 years ago
Stefan Bühler a45f3bac58 [autobuild] improve feature+module counting 6 years ago
Stefan Bühler 6751571805 [autobuild] simple check for fork 6 years ago
Stefan Bühler 5854466908 [autobuild] improve crypt[_r] 6 years ago
Stefan Bühler 34ded72469 [autobuild] improve openssl 6 years ago
Stefan Bühler 2c69ef6704 [autobuild] kerberos improvements 6 years ago
Stefan Bühler 955b029f2f [autobuild] move some checks to the top
Moved some generic checks from the middle of the "feature checks" to the
top.
6 years ago
Stefan Bühler 41cd7d25a8 [autobuild] lots of small cleanups
- remove checks with unused results
- make some failures explicit
- improve some fail messages
6 years ago
Stefan Bühler d8d7d1977a [autobuild] m4 and shell quoting, whitespace changes, sort some lists 6 years ago
Stefan Bühler f107bac819 [autobuild] require autoconf >= 2.60, automake >= 1.14
- AC_USE_SYSTEM_EXTENSIONS requires autoconf 2.60; using it replaces
  AC_AIX, AC_ISC_POSIX, AC_MINIX and -D__EXTENSIONS__
- require at least automake 1.12 to remove hack for serial-tests
- automake 1.12 is from 2012, automake 1.14 from 2013
- automake 1.14 allows us to drop AM_PROG_CC_C_O
- we don't use $LN_S, drop AC_PROG_LN_S
- silent-rules replaces AM_SILENT_RULES
6 years ago
Glenn Strauss 6a17133a75 - next is 1.4.48 6 years ago
Glenn Strauss 6be68f569f [mod_authn_gssapi] needs -lcom_err under Darwin 6 years ago
Glenn Strauss 5780d6cc58 - next is 1.4.47 6 years ago
Glenn Strauss 477534084a [mod_wstunnel] websocket tunnel to other protocol
*experimental*

decodes websockets and passes body back and forth from backend
(body could be known protocol such as JSON, or any custom protocol)

originally based off https://github.com/nori0428/mod_websocket
6 years ago
Glenn Strauss 6f88c28c44 [core] fix compiler warnings on Mac OS X
(thx wardw)
6 years ago
Glenn Strauss 6f75cdddda [build] autotools use AC_PROG_CC_STDC macro
autotools now use AC_PROG_CC_STDC macro instead of -std=gnu99.
The default in current modern gcc compilers is -std=gnu11

(Note: src/CMakeLists.txt and SConstruct still specify -std=gnu99)
6 years ago
Glenn Strauss 1e8147fc3a [build] -Werror if --enable-extra-warnings=error
enable -Werror if ./configure --enable-extra-warnings=error

x-ref:
   "Fix warnings"
   https://github.com/lighttpd/lighttpd1.4/pull/81
6 years ago
Glenn Strauss 2986221cab [core] sys-strings.h abstraction for strings.h 6 years ago
Glenn Strauss f94d666d15 [mod_authn_gssapi] needs -lcom_err under cygwin 6 years ago
Glenn Strauss 92c724eac6 [doc] doc/initscripts.txt (fixes #2782)
add doc/initscripts.txt with description of lighttpd signal handling
  and links to the initscripts of various operating system distros

remove doc/initscripts/*

x-ref:
  "init scripts outdated, should be removed"
  https://redmine.lighttpd.net/issues/2782
6 years ago
Glenn Strauss 2f83aac9fb mod_vhostdb* (dbi,mysql,pgsql,ldap) (fixes #485, fixes #1936, fixes #2297)
mod_vhostdb - vhost docroot lookups

backends:

mod_vhostdb_dbi
mod_vhostdb_ldap
mod_vhostdb_mysql  (now preferred over mod_mysql_vhost.c)
mod_vhostdb_pgsql

STATUS: experimental  (testing and feedback appreciated)

x-ref:
  "PostgreSQL virtual host support"
  https://redmine.lighttpd.net/issues/485
  "LDAP Virtual Host Definition Storage Integration"
  https://redmine.lighttpd.net/issues/1936
  "mod_dbi_vhost (patch included)"
  https://redmine.lighttpd.net/issues/2297
6 years ago
Glenn Strauss cb9ebe9fa6 [mod_openssl] new module (preliminary layout) 6 years ago
Glenn Strauss b0d63e31e8 - next is 1.4.46 6 years ago
Glenn Strauss 656f9e454d - next is 1.4.45 7 years ago