Bump buidlroot version to 2018.02.6
This commit is contained in:
19
bsp/buildroot/package/semodule-utils/Config.in
Normal file
19
bsp/buildroot/package/semodule-utils/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_SEMODULE_UTILS
|
||||
bool "semodule-utils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol
|
||||
select BR2_PACKAGE_LIBSEPOL
|
||||
help
|
||||
semodule-utils is a package that contains tools for handling
|
||||
selinux modules.
|
||||
|
||||
The package will install the following utilities:
|
||||
* semodule_deps - Show the dependencies between SELinux
|
||||
policy packages.
|
||||
* semodule_expand - Expand a SELinux policy module package.
|
||||
* semodule_link - Link SELinux policy module packages together
|
||||
* semodule_package - Create a SELinux policy module package.
|
||||
|
||||
https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
|
||||
comment "semodule-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
bsp/buildroot/package/semodule-utils/semodule-utils.hash
Normal file
2
bsp/buildroot/package/semodule-utils/semodule-utils.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
sha256 90c98b3362a43b4da2a51a9176820a56f3e615225e23e3395bc566c4490786ba semodule-utils-2.7.tar.gz
|
||||
27
bsp/buildroot/package/semodule-utils/semodule-utils.mk
Normal file
27
bsp/buildroot/package/semodule-utils/semodule-utils.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# semodule-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SEMODULE_UTILS_VERSION = 2.7
|
||||
SEMODULE_UTILS_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804
|
||||
SEMODULE_UTILS_LICENSE = GPL-2.0
|
||||
SEMODULE_UTILS_LICENSE_FILES = COPYING
|
||||
SEMODULE_UTILS_DEPENDENCIES = libsepol
|
||||
|
||||
SEMODULE_UTILS_MAKE_OPTS += \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
LIBSEPOLA=$(STAGING_DIR)/usr/lib/libsepol.a
|
||||
|
||||
# We need to pass DESTDIR at build time because it's used by
|
||||
# semodule-utils build system to find headers and libraries.
|
||||
define SEMODULE_UTILS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
|
||||
endef
|
||||
|
||||
define SEMODULE_UTILS_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user