mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/lighttpd: bump to version 1.4.58
the part concerning pdf is merged upstream Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
c6655a0e62
commit
0cf80c53ae
@@ -3,8 +3,6 @@ Modify the default lighttpd configuration file to have one a starting conf
|
|||||||
* Changed the log path to /var/log and logs filenames
|
* Changed the log path to /var/log and logs filenames
|
||||||
* Disable IPv6
|
* Disable IPv6
|
||||||
* Do not setuid to a user that doesn't exist on the system
|
* Do not setuid to a user that doesn't exist on the system
|
||||||
* Disable pdf ranges fix for Adobe Reader since it uses regex and we
|
|
||||||
don't always have pcre support
|
|
||||||
* Change the network backend to writev since linux-sendfile fails on buildroot
|
* Change the network backend to writev since linux-sendfile fails on buildroot
|
||||||
|
|
||||||
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||||
@@ -35,7 +33,7 @@ diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/con
|
|||||||
-var.server_root = "/srv/www"
|
-var.server_root = "/srv/www"
|
||||||
+var.log_root = "/var/log"
|
+var.log_root = "/var/log"
|
||||||
+var.server_root = "/var/www"
|
+var.server_root = "/var/www"
|
||||||
var.state_dir = "/var/run"
|
var.state_dir = "/run"
|
||||||
var.home_dir = "/var/lib/lighttpd"
|
var.home_dir = "/var/lib/lighttpd"
|
||||||
var.conf_dir = "/etc/lighttpd"
|
var.conf_dir = "/etc/lighttpd"
|
||||||
@@ -90,7 +90,7 @@
|
@@ -90,7 +90,7 @@
|
||||||
@@ -56,9 +54,9 @@ diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/con
|
|||||||
+server.username = "www-data"
|
+server.username = "www-data"
|
||||||
+server.groupname = "www-data"
|
+server.groupname = "www-data"
|
||||||
|
|
||||||
##
|
##
|
||||||
## enable core files.
|
## Enable lighttpd to serve requests on sockets received from systemd
|
||||||
@@ -112,7 +112,7 @@
|
@@ -118,7 +118,7 @@
|
||||||
##
|
##
|
||||||
## Document root
|
## Document root
|
||||||
##
|
##
|
||||||
@@ -67,7 +65,7 @@ diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/con
|
|||||||
|
|
||||||
##
|
##
|
||||||
## The value for the "Server:" response field.
|
## The value for the "Server:" response field.
|
||||||
@@ -138,7 +138,7 @@
|
@@ -144,7 +144,7 @@
|
||||||
##
|
##
|
||||||
## Path to the error log file
|
## Path to the error log file
|
||||||
##
|
##
|
||||||
@@ -76,7 +74,7 @@ diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/con
|
|||||||
|
|
||||||
##
|
##
|
||||||
## If you want to log to syslog you have to unset the
|
## If you want to log to syslog you have to unset the
|
||||||
@@ -188,7 +188,7 @@
|
@@ -195,7 +195,7 @@
|
||||||
## sendfile - is recommended for small files.
|
## sendfile - is recommended for small files.
|
||||||
## writev - is recommended for sending many large files
|
## writev - is recommended for sending many large files
|
||||||
##
|
##
|
||||||
@@ -85,16 +83,3 @@ diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/con
|
|||||||
|
|
||||||
##
|
##
|
||||||
## As lighttpd is a single-threaded server, its main resource limit is
|
## As lighttpd is a single-threaded server, its main resource limit is
|
||||||
@@ -311,9 +311,9 @@
|
|
||||||
## disable range requests for pdf files
|
|
||||||
## workaround for a bug in the Acrobat Reader plugin.
|
|
||||||
##
|
|
||||||
-$HTTP["url"] =~ "\.pdf$" {
|
|
||||||
- server.range-requests = "disable"
|
|
||||||
-}
|
|
||||||
+# $HTTP["url"] =~ "\.pdf$" {
|
|
||||||
+# server.range-requests = "disable"
|
|
||||||
+# }
|
|
||||||
|
|
||||||
##
|
|
||||||
## url handling modules (rewrite, redirect)
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ config BR2_PACKAGE_LIGHTTPD
|
|||||||
webserver-software for every server that is suffering load
|
webserver-software for every server that is suffering load
|
||||||
problems.
|
problems.
|
||||||
|
|
||||||
http://www.lighttpd.net/
|
https://www.lighttpd.net/
|
||||||
|
|
||||||
if BR2_PACKAGE_LIGHTTPD
|
if BR2_PACKAGE_LIGHTTPD
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.55.sha256sum
|
# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.58.sha256sum
|
||||||
sha256 6a0b50e9c9d5cc3d9e48592315c25a2d645858f863e1ccd120507a30ce21e927 lighttpd-1.4.55.tar.xz
|
sha256 267feffda13a190ebdce7b15172d8be16da98008457f30fddecd72832d126d0e lighttpd-1.4.58.tar.xz
|
||||||
# Locally calculated
|
# Locally calculated
|
||||||
sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING
|
sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIGHTTPD_VERSION_MAJOR = 1.4
|
LIGHTTPD_VERSION_MAJOR = 1.4
|
||||||
LIGHTTPD_VERSION = $(LIGHTTPD_VERSION_MAJOR).55
|
LIGHTTPD_VERSION = $(LIGHTTPD_VERSION_MAJOR).58
|
||||||
LIGHTTPD_SOURCE = lighttpd-$(LIGHTTPD_VERSION).tar.xz
|
LIGHTTPD_SOURCE = lighttpd-$(LIGHTTPD_VERSION).tar.xz
|
||||||
LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSION_MAJOR).x
|
LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSION_MAJOR).x
|
||||||
LIGHTTPD_LICENSE = BSD-3-Clause
|
LIGHTTPD_LICENSE = BSD-3-Clause
|
||||||
|
|||||||
Reference in New Issue
Block a user