@@ -6,10 +6,11 @@ comment "policycoreutils needs a toolchain w/ threads, dynamic library, gcc >= 5
config BR2_PACKAGE_POLICYCOREUTILS
bool "policycoreutils"
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
- depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage
- depends on !BR2_STATIC_LIBS # libsemanage
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage, libsepol
+ depends on !BR2_STATIC_LIBS # libsemanage, libsepol
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage -> libselinux -> libsepol
select BR2_PACKAGE_LIBSEMANAGE
+ select BR2_PACKAGE_LIBSEPOL
select BR2_PACKAGE_LIBCAP_NG
help
Policycoreutils is a collection of policy utilities
@@ -1,3 +1,3 @@
# https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256 78453e1529fbbf800e88860094d555e781ce1fba11a7ef77b5aabb43e1173276 policycoreutils-3.5.tar.gz
+sha256 a76ac431ea40a35a83164ce9007909c1c6c12fd1056627f622144e4a705c0a2c policycoreutils-3.6.tar.gz
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE
@@ -4,13 +4,13 @@
#
################################################################################
-POLICYCOREUTILS_VERSION = 3.5
+POLICYCOREUTILS_VERSION = 3.6
POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(POLICYCOREUTILS_VERSION)
POLICYCOREUTILS_LICENSE = GPL-2.0
POLICYCOREUTILS_LICENSE_FILES = LICENSE
POLICYCOREUTILS_CPE_ID_VENDOR = selinuxproject
-POLICYCOREUTILS_DEPENDENCIES = libsemanage libcap-ng $(TARGET_NLS_DEPENDENCIES)
+POLICYCOREUTILS_DEPENDENCIES = libsemanage libsepol libcap-ng $(TARGET_NLS_DEPENDENCIES)
POLICYCOREUTILS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) LDLIBS=$(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
setsebool/Makefile now unconditionally links against libsepol. As such, it is now a new dependency. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> --- changes v1 -> v2: - Update dependency comments [Thomas] package/policycoreutils/Config.in | 5 +++-- package/policycoreutils/policycoreutils.hash | 2 +- package/policycoreutils/policycoreutils.mk | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-)