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,31 @@
From a1659e261888bdbed51803132d52d9a6c6803c8a Mon Sep 17 00:00:00 2001
From: Joachim Nilsson <troglobit@gmail.com>
Date: Sat, 19 Oct 2019 12:26:26 +0200
Subject: [PATCH] Use standard int64_t instead of __int64_t for mingw cross
build
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
[Retrieved from:
https://github.com/libnet/libnet/commit/a1659e261888bdbed51803132d52d9a6c6803c8a]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
include/libnet/libnet-structures.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
index 6084caa..34fffc6 100644
--- a/include/libnet/libnet-structures.h
+++ b/include/libnet/libnet-structures.h
@@ -49,9 +49,9 @@ struct libnet_port_list_chain
/* libnet statistics structure */
struct libnet_stats
{
- __int64_t packets_sent; /* packets sent */
- __int64_t packet_errors; /* packets errors */
- __int64_t bytes_written; /* bytes written */
+ int64_t packets_sent; /* packets sent */
+ int64_t packet_errors; /* packets errors */
+ int64_t bytes_written; /* bytes written */
};
+7
View File
@@ -0,0 +1,7 @@
config BR2_PACKAGE_LIBNET
bool "libnet"
help
libnet provides a portable framework for low-level network
packet construction.
https://github.com/libnet/libnet
+5
View File
@@ -0,0 +1,5 @@
# From https://github.com/libnet/libnet/releases/download/v1.2/libnet-1.2.tar.gz.md5
md5 a36c669e0cdfda6a2aa3adfb1f6fe60a libnet-1.2.tar.gz
# Locally computed
sha256 caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7 libnet-1.2.tar.gz
sha256 a06f600f67f239898d85f083aeed82ce6015b1c57599ab1def00fb68787ef388 LICENSE
+18
View File
@@ -0,0 +1,18 @@
################################################################################
#
# libnet
#
################################################################################
LIBNET_VERSION = 1.2
LIBNET_SITE = \
https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)
LIBNET_INSTALL_STAGING = YES
# PF_PACKET is always available on Linux
LIBNET_CONF_OPTS = libnet_cv_have_packet_socket=yes
LIBNET_LICENSE = BSD-2-Clause, BSD-3-Clause
LIBNET_LICENSE_FILES = LICENSE
LIBNET_CPE_ID_VENDOR = libnet_project
LIBNET_CONFIG_SCRIPTS = libnet-config
$(eval $(autotools-package))