package/refpolicy: bump version to 2.20190609
authorAdam Duskett <aduskett@gmail.com>
Mon, 3 Feb 2020 13:29:48 +0000 (05:29 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Feb 2020 14:28:19 +0000 (15:28 +0100)
Other changes:
  - Depend on host-python3, as python2 support was removed.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/refpolicy/refpolicy.hash
package/refpolicy/refpolicy.mk

index 856d8cb8a2c70772a5977aca1d216d2d1b0481c4..0c77b626cca57672d0928ea4c37de80869bd2b44 100644 (file)
@@ -1,5 +1,5 @@
 # From https://github.com/SELinuxProject/refpolicy/releases
-sha256 ed620dc91c4e09eee6271b373f7c61a364a82ea57bd2dc86ca1f7075304e2843  refpolicy-2.20190201.tar.bz2
+sha256 67bd1213e9d014ada15512028bb7f35ef6610c2d209cc5117b8577474aa6147f  refpolicy-2.20190609.tar.bz2
 
 # Locally computed
 sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
index 66bddd1aee710424661cd1f575dd9255b9e6632e..d13be18f7324719af400deb9bfdd393ff1f8f2e6 100644 (file)
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-REFPOLICY_VERSION = 2.20190201
+REFPOLICY_VERSION = 2.20190609
 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2
-REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20190201
+REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20190609
 REFPOLICY_LICENSE = GPL-2.0
 REFPOLICY_LICENSE_FILES = COPYING
 REFPOLICY_INSTALL_STAGING = YES
@@ -14,18 +14,13 @@ REFPOLICY_DEPENDENCIES = \
        host-m4 \
        host-checkpolicy \
        host-policycoreutils \
+       host-python3 \
        host-setools \
        host-gawk
 
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
-REFPOLICY_DEPENDENCIES += host-python3
-else
-REFPOLICY_DEPENDENCIES += host-python
-endif
-
 # Cannot use multiple threads to build the reference policy
 REFPOLICY_MAKE = \
-       PYTHON=$(HOST_DIR)/usr/bin/python \
+       PYTHON=$(HOST_DIR)/usr/bin/python3 \
        TEST_TOOLCHAIN=$(HOST_DIR) \
        $(TARGET_MAKE_ENV) \
        $(MAKE1)