Bump Buildroot to 2021.02-rc3 (#1260)

* Rebase patches to Buildroot 2021.02-rc3

* Update Buildroot to 2021.02-rc3

* Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
Stefan Agner
2021-03-04 00:50:33 +01:00
committed by GitHub
parent b77d633382
commit f358f322da
2130 changed files with 23612 additions and 21038 deletions

View File

@@ -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
* Disable IPv6
* 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
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.log_root = "/var/log"
+var.server_root = "/var/www"
var.state_dir = "/var/run"
var.state_dir = "/run"
var.home_dir = "/var/lib/lighttpd"
var.conf_dir = "/etc/lighttpd"
@@ -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.groupname = "www-data"
##
## enable core files.
@@ -112,7 +112,7 @@
##
## Enable lighttpd to serve requests on sockets received from systemd
@@ -118,7 +118,7 @@
##
## 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.
@@ -138,7 +138,7 @@
@@ -144,7 +144,7 @@
##
## 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
@@ -188,7 +188,7 @@
@@ -195,7 +195,7 @@
## sendfile - is recommended for small 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
@@ -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)

View File

@@ -16,7 +16,7 @@ config BR2_PACKAGE_LIGHTTPD
webserver-software for every server that is suffering load
problems.
http://www.lighttpd.net/
https://www.lighttpd.net/
if BR2_PACKAGE_LIGHTTPD

View File

@@ -1,4 +1,4 @@
# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.55.sha256sum
sha256 6a0b50e9c9d5cc3d9e48592315c25a2d645858f863e1ccd120507a30ce21e927 lighttpd-1.4.55.tar.xz
# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.58.sha256sum
sha256 267feffda13a190ebdce7b15172d8be16da98008457f30fddecd72832d126d0e lighttpd-1.4.58.tar.xz
# Locally calculated
sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING
sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING

View File

@@ -5,11 +5,12 @@
################################################################################
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_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSION_MAJOR).x
LIGHTTPD_LICENSE = BSD-3-Clause
LIGHTTPD_LICENSE_FILES = COPYING
LIGHTTPD_CPE_ID_VENDOR = lighttpd
LIGHTTPD_DEPENDENCIES = host-pkgconf
LIGHTTPD_CONF_OPTS = \
--without-wolfssl \