initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,22 @@
Makefile.in: Use LIBS from configure rather than specifying -lfcgi manually.
libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
detect libfcgi, so we need to add -lm explicitely when using static
libs. Buildroot does this by providing LIBS=-lm to configure when
needed. However fcgiwrap does not use Automake and its Makefile.in
ignores LIBS from configure. Fix it with this patch.
Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
diff -ur a/Makefile.in b/Makefile.in
--- a/Makefile.in 2013-02-03 14:25:17.000000000 +0100
+++ b/Makefile.in 2015-05-29 16:33:23.895280138 +0200
@@ -16,7 +16,7 @@
install -m 644 systemd/fcgiwrap.service $(DESTDIR)@systemdsystemunitdir@
endif
-LDLIBS = -lfcgi @systemd_LIBS@
+LDLIBS = @LIBS@ @systemd_LIBS@
CFLAGS = @AM_CFLAGS@
fcgiwrap: fcgiwrap.c
@@ -0,0 +1,20 @@
configure.ac: Check for libsystemd, not libsystemd-daemon.
Newer versions of systemd do not provide libsystemd-daemon anymore.
Therefore, use libsystemd instead.
Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
diff --git a/configure.ac b/configure.ac
index bb3674e..2b02ef4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ AC_ARG_WITH([systemd],
[], [with_systemd=check])
have_systemd=no
if test "x$with_systemd" != "xno"; then
- PKG_CHECK_MODULES(systemd, [libsystemd-daemon],
+ PKG_CHECK_MODULES(systemd, [libsystemd],
[AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is available])
have_systemd=yes],
have_systemd=no)
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_FCGIWRAP
bool "fcgiwrap"
depends on BR2_USE_MMU # libfcgi
select BR2_PACKAGE_LIBFCGI
help
fcgiwrap is a simple server for running CGI applications
over FastCGI. It hopes to provide clean CGI support to Nginx
(and other web servers that may need it).
https://github.com/gnosek/fcgiwrap
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 c72f2933669ebd21605975c5a11f26b9739e32e4f9d324fb9e1a1925e9c2ae88 fcgiwrap-99c942c90063c73734e56bacaa65f947772d9186.tar.gz
sha256 1504c301f6d417f2626085337e5c3bb3dc0282265089396ab36bfe1942feef1c COPYING
+33
View File
@@ -0,0 +1,33 @@
################################################################################
#
# fcgiwrap
#
################################################################################
FCGIWRAP_VERSION = 99c942c90063c73734e56bacaa65f947772d9186
FCGIWRAP_SITE = $(call github,gnosek,fcgiwrap,$(FCGIWRAP_VERSION))
FCGIWRAP_DEPENDENCIES = host-pkgconf libfcgi
FCGIWRAP_LICENSE = MIT
FCGIWRAP_LICENSE_FILES = COPYING
FCGIWRAP_AUTORECONF = YES
FCGIWRAP_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error"
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
FCGIWRAP_DEPENDENCIES += systemd
FCGIWRAP_CONF_OPTS += --with-systemd
else
FCGIWRAP_CONF_OPTS += --without-systemd
endif
# libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
# detect libfcgi, so we need to add -lm explicitely when using static
# libs.
ifeq ($(BR2_STATIC_LIBS),y)
FCGIWRAP_CONF_OPTS += LIBS=-lm
endif
# fcgiwrap uses Autoconf, but not Automake, so we need to provide
# these to make.
FCGIWRAP_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
$(eval $(autotools-package))