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 d27062fe7a520d5791f7a56d175a5cb6a39bae61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= <stefan.sorensen@spectralink.com>
Date: Tue, 18 Apr 2017 12:00:39 +0200
Subject: [PATCH] Force grep to treat the input as text when formatting word
files.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
---
util/cracklib-format | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cracklib-format b/util/cracklib-format
index 1d7be5b..b1de8e8 100644
--- a/util/cracklib-format
+++ b/util/cracklib-format
@@ -4,7 +4,7 @@
# into cracklib-packer
#
gzip -cdf "$@" |
- grep -v '^\(#\|$\)' |
+ grep -a -v '^\(#\|$\)' |
tr '[A-Z]' '[a-z]' |
tr -cd '\012[a-z][0-9]' |
env LC_ALL=C sort -u
--
2.9.3
+28
View File
@@ -0,0 +1,28 @@
config BR2_PACKAGE_CRACKLIB
bool "cracklib"
help
CrackLib tests passwords to determine whether they match
certain security-oriented characteristics, with the purpose
of stopping users from choosing passwords that are easy to
guess. CrackLib performs several tests on passwords: it
tries to generate words from a username and gecos entry and
checks those words against the password; it checks for
simplistic patterns in passwords; and it checks for the
password in a dictionary.
https://github.com/cracklib/cracklib
if BR2_PACKAGE_CRACKLIB
config BR2_PACKAGE_CRACKLIB_TOOLS
bool "install tools"
help
Install cracklib command line tools for creating dicts.
config BR2_PACKAGE_CRACKLIB_FULL_DICT
bool "full dict"
help
Install the full cracklib dict (requires about 8Mb extra
target space).
endif
+4
View File
@@ -0,0 +1,4 @@
# Locally calculated
sha256 8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd cracklib-2.9.7.tar.gz
sha256 7f0c45faf84a2494f15d1e2720394aca4a379163a70c4acad948186c0047d389 cracklib-words-2.9.7.gz
sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB
+54
View File
@@ -0,0 +1,54 @@
################################################################################
#
# cracklib
#
################################################################################
CRACKLIB_VERSION = 2.9.7
CRACKLIB_SITE = https://github.com/cracklib/cracklib/releases/download/v$(CRACKLIB_VERSION)
CRACKLIB_LICENSE = LGPL-2.1
CRACKLIB_LICENSE_FILES = COPYING.LIB
CRACKLIB_CPE_ID_VENDOR = cracklib_project
CRACKLIB_INSTALL_STAGING = YES
CRACKLIB_DEPENDENCIES = host-cracklib $(TARGET_NLS_DEPENDENCIES)
CRACKLIB_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_ZLIB),y)
CRACKLIB_CONF_OPTS += --with-zlib
CRACKLIB_DEPENDENCIES += zlib
else
CRACKLIB_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
CRACKLIB_CONF_OPTS += --with-python
CRACKLIB_DEPENDENCIES += python
else
CRACKLIB_CONF_OPTS += --without-python
endif
HOST_CRACKLIB_CONF_OPTS += --without-python --without-zlib
ifeq ($(BR2_PACKAGE_CRACKLIB_FULL_DICT),y)
CRACKLIB_EXTRA_DOWNLOADS = cracklib-words-$(CRACKLIB_VERSION).gz
CRACKLIB_DICT_SOURCE = $(CRACKLIB_DL_DIR)/cracklib-words-$(CRACKLIB_VERSION).gz
else
CRACKLIB_DICT_SOURCE = $(@D)/dicts/cracklib-small
endif
ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),)
define CRACKLIB_REMOVE_TOOLS
rm -f $(TARGET_DIR)/usr/sbin/*cracklib*
endef
CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_REMOVE_TOOLS
endif
define CRACKLIB_BUILD_DICT
$(HOST_MAKE_ENV) cracklib-format $(CRACKLIB_DICT_SOURCE) | \
$(HOST_MAKE_ENV) cracklib-packer $(TARGET_DIR)/usr/share/cracklib/pw_dict
rm $(TARGET_DIR)/usr/share/cracklib/cracklib-small
endef
CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT
$(eval $(autotools-package))
$(eval $(host-autotools-package))