Commit Graph

27 Commits

Author SHA1 Message Date
Vincent Riou 193ef9ab9c lighttpd: add mod-wstunnel
Exposes the mod-wstunnel plugin which implements websocket proxying over http

Signed-off-by: Vincent Riou <vincent@invizbox.com>
2018-03-23 14:54:11 +00:00
Michael Heimpold 9ca0961d49 lighttpd: fix PKG_CONFIG_DEPENDS (fixes #4210)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-01-08 21:29:44 +01:00
Philip Prindeville e13fbbad62 lighttpd: CONFIG_LIGHTTPD_SSL includes mod_openssl
If we're built with CONFIG_LIGHTTPD_SSL then mod_openssl.so should
be included into the base package. Fixes issue #5343.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-03 14:14:20 -07:00
Philip Prindeville 3d59ce6f50 lighttpd: update to 1.4.48
All of the bugs for which we had patches have been fixed upstream
in 1.4.46, so the patches can be dropped.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-16 12:49:22 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Philip Prindeville c3345a6d4a lighttpd: add 'reload' to init script to make logrotate-friendly
If lighttpd's scripts are rotated from under it while they're still open,
this will cause some weird things to happen.  Give it a heads up that
the logs have moved.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-10 16:11:19 -06:00
Rafał Miłecki 1359e072be lighttpd: backport more mod_cgi fixes queued for 1.4.46
The most important change is local redirects being disabled by default.
There is an option called cgi.local-redir that allows enabling this
optimization manually back if needed.

Local redirects were initially introduced in 1.4.40 but caused many
problems for *some* web services.

One of problems is breaking Post/Redirect/Get design pattern. With
redirects handled on server side there is no browser redirection making
it "lose" the POST data.

Another possible issue are HTML forms with action="". With CGI local
redirects browser may be sending form data to the wrong URL (the one
that was supposed to redirect the browser).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-06-29 09:41:30 +02:00
Philip Prindeville 79f9f1a3ec lighttpd: use procd-based init.d script
This will allow procd to restart the service if it crashes or otherwise
exits.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-01 20:12:58 -06:00
Glenn Strauss 6e788aca0c lighttpd: add new modules, upd URLs, add restart()
(with feedback from @hnyman and patch additions from @MikePetullo)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2017-03-22 03:03:36 -04:00
Rafał Miłecki f99c3b2510 lighttpd: fix regression in local-redir used with url.rewrite-once
This fixes upstream regression introduced in 1.4.40. It was reported &
debugged in https://redmine.lighttpd.net/issues/2793
This fix is queued for 1.4.46 in the personal/gstrauss/master upstream
branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-02-23 10:21:27 +01:00
Rafał Miłecki a0cade8094 lighttpd: update to 1.4.45
Update to 1.4.42 introduced a problem with starting lighttpd as
OpenWrt/LEDE service. It was stopping whole init process at sth like:
  783 root      1124 S    {S50lighttpd} /bin/sh /etc/rc.common /etc/rc.d/S50lighttpd boot
  799 root      1164 S    /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

It was hanging until getting random pool:
[  176.340007] random: nonblocking pool is initialized
and then immediately the rest of init process followed:
[  176.423475] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[  176.430754] jffs2_build_filesystem(): unlocking the mtd device... done.
[  176.437615] jffs2_build_filesystem(): erasing all blocks after the end marker... done.

This was fixed in 1.4.44, but bump directly to 1.4.45 while at it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-02-20 17:46:07 -05:00
W. Michael Petullo 410e4ea3d1 lighttpd: add option to build mod_authn_file.so
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-11-25 11:11:47 -05:00
W. Michael Petullo 1215622476 lighttpd: update to 1.4.42
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-10-29 04:17:08 -04:00
W. Michael Petullo 0d06bb7bf0 lighttpd: update to 1.4.41
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-09-14 09:04:32 -04:00
W. Michael Petullo 064a3260e4 lighttpd: update to 1.4.38
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-30 19:25:01 -05:00
W. Michael Petullo 01b087c043 lighttpd: update to 1.4.37
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-09-20 20:18:04 -04:00
Rafał Miłecki 2872ed64cc lighttpd: backport a fix for running out of filedescriptors
It was breaking uploads of files 4 MiB+. This patch fixes:
https://github.com/openwrt/packages/issues/1658

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2015-08-19 17:19:22 +02:00
W. Michael Petullo 7c01d83a65 lighttpd: update to 1.4.36
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-07-26 12:56:41 -04:00
Alexander Ryzhov 8e26160834 lighttpd: add liblua deps for lighttpd-mod-cml and lighttpd-mod-magnet
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-04-23 07:58:33 +00:00
W. Michael Petullo 14aa488309 lighttpd: reorder modules so that redirect loads before auth
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-12-16 19:01:39 -05:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
W. Michael Petullo f7fd574f2a lighttpd: clean up configuration file
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-21 17:40:18 -04:00
W. Michael Petullo a0885f117e lighttpd: create user http and run as http by default
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-21 17:33:47 -04:00
W. Michael Petullo 4ec9d99303 lighttpd: include some updates from old repository package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-20 20:28:03 -04:00
chris5560 a909d2d7a2 [PATCH] lighttpd: errorlog failed as non root user
if running as non root user (what's should be the default on web-servers) you get:
(log.c.118) opening errorlog '/var/log/lighttpd/server.log' failed: Permission denied

Fix: create log directory only if not exist and chmod 777 to allow anyone 
to write and create files inside default log directory

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-23 21:50:16 +02:00
W. Michael Petullo 9b3a76017c lighttpd: update to 1.4.35
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo 1e122071b1 Copy lighttpd package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00