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
+21
View File
@@ -0,0 +1,21 @@
config BR2_PACKAGE_SOFTHSM2
bool "softhsm2"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS # dlopen()
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
help
SoftHSM is an implementation of a cryptographic store
accessible through a PKCS#11 interface. You can use it
to explore PKCS#11 without having a Hardware Security
Module.
https://www.opendnssec.org/softhsm
comment "softhsm2 needs a toolchain w/ C++, threads, gcc >= 4.8 and dynamic library support"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+4
View File
@@ -0,0 +1,4 @@
# From https://www.opendnssec.org/2020/04/1602/
sha256 61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2 softhsm-2.6.1.tar.gz
# Locally computed
sha256 230cab7102816e99f7ce03ef476352fcad09d742fcbc6580d44393db6280b64c LICENSE
+24
View File
@@ -0,0 +1,24 @@
################################################################################
#
# softhsm2
#
################################################################################
SOFTHSM2_VERSION = 2.6.1
SOFTHSM2_SOURCE = softhsm-$(SOFTHSM2_VERSION).tar.gz
SOFTHSM2_SITE = https://dist.opendnssec.org/source
SOFTHSM2_LICENSE = BSD-2-Clause
SOFTHSM2_LICENSE_FILES = LICENSE
SOFTHSM2_DEPENDENCIES = openssl
SOFTHSM2_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_P11_KIT),y)
SOFTHSM2_CONF_OPTS += \
--enable-p11-kit \
--with-p11-kit=/usr/share/p11-kit/modules
SOFTHSM2_DEPENDENCIES += p11-kit
else
SOFTHSM2_CONF_OPTS += --disable-p11-kit
endif
$(eval $(autotools-package))