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,30 @@
From 4b5c7eb63894bd2b1fedeb2a8e9bd16bf3c8c555 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bernd=20Holzm=C3=BCller?=
<bernd.holzmueller@tiggerswelt.net>
Date: Mon, 11 Feb 2019 23:57:01 +0100
Subject: [PATCH] Change order of v3-attributes according to
draft-ietf-secsh-filexfer-00/02
[yann.morin.1998@free.fr: backport from upstream]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
v3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v3.c b/v3.c
index 57cc31e..1fd86ad 100644
--- a/v3.c
+++ b/v3.c
@@ -121,8 +121,8 @@ static void v3_sendattrs(struct sftpjob *job, const struct sftpattr *attrs) {
fatal("sending out-of-range mtime");
if(a != attrs->atime.seconds)
fatal("sending out-of-range mtime");
- sftp_send_uint32(job->worker, m);
sftp_send_uint32(job->worker, a);
+ sftp_send_uint32(job->worker, m);
}
/* Note that we just discard unknown bits rather than reporting errors. */
}
--
2.14.1
+18
View File
@@ -0,0 +1,18 @@
config BR2_PACKAGE_GESFTPSERVER
bool "gesftpserver"
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Green End SFTP Server
This is an SFTP server supporting up to protocol version 6.
It is possible to use it as a drop-in replacement for the
OpenSSH server, or to provide sftp support for Dropbear.
http://www.greenend.org.uk/rjk/sftpserver/
comment "gesftpserver needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 4963b85787de3485085a5356c671c58b8b33125f528ff1b2fe8b534ed8a0c1bd sftpserver-1.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
+37
View File
@@ -0,0 +1,37 @@
################################################################################
#
# gesftpserver
#
################################################################################
GESFTPSERVER_VERSION = 1
GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz
GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver
GESFTPSERVER_LICENSE = GPL-2.0+
GESFTPSERVER_LICENSE_FILES = COPYING
# "Missing prototype" warning treated as error
GESFTPSERVER_CONF_OPTS = --disable-warnings-as-errors
GESFTPSERVER_CPE_ID_VENDOR = green_end
GESFTPSERVER_CPE_ID_PRODUCT = sftpserver
# forgets to link against pthread when cross compiling
GESFTPSERVER_CONF_ENV = LIBS=-lpthread
# overwrite openssh version if enabled
GESFTPSERVER_DEPENDENCIES += \
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
$(if $(BR2_PACKAGE_OPENSSH),openssh)
# Python on the host is only used for tests, which we don't use in
# Buildroot
GESFTPSERVER_CONF_ENV += rjk_cv_python24=false
# openssh/dropbear looks here
define GESFTPSERVER_ADD_SYMLINK
ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server
endef
GESFTPSERVER_POST_INSTALL_TARGET_HOOKS += GESFTPSERVER_ADD_SYMLINK
$(eval $(autotools-package))