selinux-policy: update to version 0.4
authorDaniel Golle <daniel@makrotopia.org>
Sat, 12 Dec 2020 14:45:16 +0000 (14:45 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 12 Dec 2020 14:45:32 +0000 (14:45 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/selinux-policy/Makefile

index c2cef3a270559a0f28a740f9d7cb4cae0c9765bc..dad57e16b8b70a402f44df7b167cf3d3d2b2225d 100644 (file)
@@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=selinux-policy
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://git.defensec.nl/selinux-policy.git
-PKG_VERSION:=0.3
-PKG_MIRROR_HASH:=8f224e4e0ecb459648563862e26fcd5d4d113de5daa277363fc4316da5a05360
+PKG_VERSION:=0.4
+PKG_MIRROR_HASH:=6bf4df7df2e1a4f641e4068ec79b1f4921e29e531d5b76843f39c79470e646f8
 PKG_SOURCE_VERSION:=v$(PKG_VERSION)
 PKG_BUILD_DEPENDS:=secilc/host policycoreutils/host
 
@@ -44,6 +44,7 @@ endef
 define Package/selinux-policy/install
        $(INSTALL_DIR) $(1)/etc/selinux/$(PKG_NAME)/contexts/files/
        $(INSTALL_DIR) $(1)/etc/selinux/$(PKG_NAME)/policy/
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/customizable_types $(1)/etc/selinux/$(PKG_NAME)/contexts/
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/file_contexts.subs_dist $(1)/etc/selinux/$(PKG_NAME)/contexts/files/
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/file_contexts $(1)/etc/selinux/$(PKG_NAME)/contexts/files/
        $(INSTALL_CONF) $(PKG_BUILD_DIR)/policy.* $(1)/etc/selinux/$(PKG_NAME)/policy/