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
+20
View File
@@ -0,0 +1,20 @@
config BR2_PACKAGE_LIBPWQUALITY
bool "libpwquality"
select BR2_PACKAGE_CRACKLIB
help
This is a library for password quality checks and generation
of random passwords that pass the checks. This library uses
the cracklib and cracklib dictionaries to perform some of
the checks.
https://github.com/libpwquality/libpwquality
if BR2_PACKAGE_LIBPWQUALITY
config BR2_PACKAGE_LIBPWQUALITY_TOOLS
bool "install tools"
help
Install libpwquality command line tools generating/checking
passwords.
endif
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 d43baf23dc6887fe8f8e9b75cabaabc5f4bbbaa0f9eff44278d276141752a545 libpwquality-1.4.4.tar.bz2
sha256 aa44d09f651bf99b56253187c7778a240740c767d28453ab7fdc9804c842baee COPYING
+44
View File
@@ -0,0 +1,44 @@
################################################################################
#
# libpwquality
#
################################################################################
LIBPWQUALITY_VERSION = 1.4.4
LIBPWQUALITY_SOURCE = libpwquality-$(LIBPWQUALITY_VERSION).tar.bz2
LIBPWQUALITY_SITE = https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$(LIBPWQUALITY_VERSION)
LIBPWQUALITY_LICENSE = BSD-3-Clause or GPL-2.0+
LIBPWQUALITY_INSTALL_STAGING = YES
LIBPWQUALITY_DEPENDENCIES = cracklib
LIBPWQUALITY_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_PYTHON),y)
LIBPWQUALITY_CONF_OPTS += --enable-python-bindings
LIBPWQUALITY_DEPENDENCIES += python
LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV)
else
LIBPWQUALITY_CONF_OPTS += --disable-python-bindings
endif
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
LIBPWQUALITY_CONF_OPTS += --enable-pam
LIBPWQUALITY_DEPENDENCIES += linux-pam
else
LIBPWQUALITY_CONF_OPTS += --disable-pam
endif
# Static link with cracklib requires -lz if zlib is enabled
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_ZLIB),yy)
LIBPWQUALITY_CONF_ENV += LIBS="-lz"
endif
ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),)
define LIBPWQUALITY_REMOVE_TOOLS
rm -f $(TARGET_DIR)/usr/bin/pwmake
rm -f $(TARGET_DIR)/usr/bin/pwscore
endef
LIBPWQUALITY_POST_INSTALL_TARGET_HOOKS += LIBPWQUALITY_REMOVE_TOOLS
endif
$(eval $(autotools-package))