update buildroot to 2017.02.11
This commit is contained in:
11
bsp/buildroot-2017.02.11/package/pax-utils/Config.in
Normal file
11
bsp/buildroot-2017.02.11/package/pax-utils/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_PAX_UTILS
|
||||
bool "pax-utils"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 # needs PR_SET_NO_NEW_PRIVS
|
||||
help
|
||||
ELF related utils for ELF 32/64 binaries that can check files
|
||||
for security relevant properties.
|
||||
|
||||
http://www.gentoo.org/proj/en/hardened/pax-utils.xml
|
||||
|
||||
comment "pax-utils needs a toolchain w/ headers >= 3.5"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414 pax-utils-1.1.4.tar.xz
|
||||
39
bsp/buildroot-2017.02.11/package/pax-utils/pax-utils.mk
Normal file
39
bsp/buildroot-2017.02.11/package/pax-utils/pax-utils.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# pax-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PAX_UTILS_VERSION = 1.1.4
|
||||
PAX_UTILS_SITE = http://distfiles.gentoo.org/distfiles
|
||||
PAX_UTILS_SOURCE = pax-utils-$(PAX_UTILS_VERSION).tar.xz
|
||||
PAX_UTILS_LICENSE = GPLv2
|
||||
PAX_UTILS_LICENSE_FILES = COPYING
|
||||
|
||||
PAX_UTILS_DEPENDENCIES = host-pkgconf
|
||||
PAX_UTILS_CONF_OPTS = --without-python
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
PAX_UTILS_DEPENDENCIES += libcap
|
||||
PAX_UTILS_CONF_OPTS += --with-caps
|
||||
else
|
||||
PAX_UTILS_CONF_OPTS += --without-caps
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
PAX_UTILS_DEPENDENCIES += libseccomp
|
||||
PAX_UTILS_CONF_OPTS += --with-seccomp
|
||||
else
|
||||
PAX_UTILS_CONF_OPTS += --without-seccomp
|
||||
endif
|
||||
|
||||
# lddtree and symtree need bash
|
||||
ifeq ($(BR2_PACKAGE_BASH),)
|
||||
define PAX_UTILS_REMOVE_BASH_TOOLS
|
||||
rm -f $(TARGET_DIR)/usr/bin/{lddtree,symtree}
|
||||
endef
|
||||
endif
|
||||
PAX_UTILS_POST_INSTALL_TARGET_HOOKS += PAX_UTILS_REMOVE_BASH_TOOLS
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user