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
+30
View File
@@ -0,0 +1,30 @@
config BR2_PACKAGE_NETCAT_OPENBSD
bool "netcat-openbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS # libbsd
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
select BR2_PACKAGE_LIBBSD
help
A simple Unix utility which reads and writes data across
network connections using TCP or UDP protocol. It is
designed to be a reliable "back-end" tool that can be used
directly or easily driven by other programs and scripts. At
the same time it is a feature-rich network debugging and
exploration tool, since it can create almost any kind of
connection you would need and has several interesting
built-in capabilities.
This package contains the OpenBSD rewrite of netcat,
including support for IPv6, proxies, and Unix sockets.
https://packages.debian.org/sid/netcat-openbsd
comment "netcat-openbsd needs a glibc toolchain w/ dynamic library, threads, headers >= 3.12"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
@@ -0,0 +1,3 @@
# Locally calculated
sha256 55e578f652cbf6ffc95f75ea3e2645ab335fab63649568bd7cdb0a6331ca87de netcat-openbsd-debian_1.195-2-br1.tar.gz
sha256 e2e86d58c38f044a49f51e45515747585db58a2305419c73323eaad88fcaef5c debian/copyright
+30
View File
@@ -0,0 +1,30 @@
################################################################################
#
# netcat-openbsd
#
################################################################################
NETCAT_OPENBSD_VERSION = debian/1.195-2
NETCAT_OPENBSD_SITE = https://salsa.debian.org/debian/netcat-openbsd.git
NETCAT_OPENBSD_SITE_METHOD = git
NETCAT_OPENBSD_LICENSE = BSD-3-Clause
NETCAT_OPENBSD_LICENSE_FILES = debian/copyright
NETCAT_OPENBSD_DEPENDENCIES = host-pkgconf libbsd
define NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES
if [ -d $(@D)/debian/patches ]; then \
$(APPLY_PATCHES) $(@D) $(@D)/debian/patches *.dpatch; \
fi
endef
NETCAT_OPENBSD_POST_PATCH_HOOKS += NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES
define NETCAT_OPENBSD_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define NETCAT_OPENBSD_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -D $(@D)/nc $(TARGET_DIR)/usr/bin/nc
endef
$(eval $(generic-package))