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
+35
View File
@@ -0,0 +1,35 @@
config BR2_PACKAGE_SMACK
bool "smack"
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
User space programs and libraries for SMACK.
SMACK stands for Simplified Mandatory Access Control Kernel.
It is a Linux Security Module which provides a Mandatory
Access Control mechanism, aimed towards simplicity.
This package provides a library which allows applications to
work with SMACK and tools to load/unload rules from the
kernel, as well as query the policy.
SMACK requires the following kernel options to be enabled:
- CONFIG_SECURITY
- CONFIG_SECURITY_SMACK
- CONFIG_SECURITY_NETWORK
These options will be automatically enabled by Buildroot if
it is responsible for building the kernel. Otherwise, if you
are building your kernel outside of Buildroot, make sure
these options are enabled.
To activate SMACK, do not forget to add "security=smack" to
your kernel command line.
https://github.com/smack-team/smack
comment "smack needs a toolchain w/ dynamic library, threads, headers >= 3.0"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|| !BR2_TOOLCHAIN_HAS_THREADS
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 1a607da3b1a661dc76b7a5b8571f4a2d56b4d61d78376088d19f2d8637dc6822 smack-1.3.1.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+23
View File
@@ -0,0 +1,23 @@
################################################################################
#
# smack
#
################################################################################
SMACK_VERSION = 1.3.1
SMACK_SITE = $(call github,smack-team,smack,v$(SMACK_VERSION))
SMACK_LICENSE = LGPL-2.1
SMACK_LICENSE_FILES = COPYING
SMACK_INSTALL_STAGING = YES
SMACK_DEPENDENCIES = host-pkgconf
# Sources from GitHub, no configure script included.
SMACK_AUTORECONF = YES
define SMACK_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK)
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
endef
$(eval $(autotools-package))