selinux-python: update to 3.10
authorAlexandru Ardelean <redacted>
Fri, 17 Apr 2026 19:36:02 +0000 (22:36 +0300)
committerAlexandru Ardelean <redacted>
Fri, 1 May 2026 18:01:30 +0000 (21:01 +0300)
Changes in 3.10:
- python/sepolicy: add support for DNF5
- sandbox/seunshare: replace system() with execv() to prevent shell
  injection vulnerability
- seunshare: always use translations when printing
- setfiles: add -A option to disable SELINUX_RESTORECON_ADD_ASSOC

Signed-off-by: Alexandru Ardelean <redacted>
utils/selinux-python/Makefile
utils/selinux-python/patches/0005-no-translations.patch

index cc038ff3196557b9dfc4e5e911dbb4404f5943ff..d113f018cc63102d58449cf3a84ddd99e490dd7b 100644 (file)
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=selinux-python
-PKG_VERSION:=3.9
-PKG_RELEASE:=2
+PKG_VERSION:=3.10
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/$(PKG_VERSION)
-PKG_HASH:=dcfa5f1919dcb7e7b775851994eb5c83b7580dc496cd2d1f73867dfa074d2339
+PKG_HASH:=9d0a5b69f2fbcce8e5ccd8e0f17d56f71e6005a756386f8fb36c31f9424191a2
 
 PKG_MAINTAINER:=Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 PKG_LICENSE:=GPL-2.0-only
index 9b1cb8cfeec1e187fb0f8bebe6eae92b7674c8fb..d79cf90f15064a00884fd3fe0736c725cbc0a0a1 100644 (file)
@@ -4,5 +4,5 @@
 -SUBDIRS = sepolicy audit2allow semanage sepolgen chcat po
 +SUBDIRS = sepolicy audit2allow semanage sepolgen chcat
  
- all install relabel clean indent test:
+ all install relabel clean format test:
        @for subdir in $(SUBDIRS); do \
git clone https://git.99rst.org/PROJECT