Skip to contentSkip to conversation

selinux: upgrade 3.5 -> 3.6

PATCH In review Yi Zhao 1 participant 15 messages Dec 16, 2023

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/15 selinux: upgrade 3.5 -> 3.6

ChangeLog:
https://github.com/SELinuxProject/selinux/releases/tag/3.6

* Switch branch to main

---
 recipes-security/selinux/selinux_common.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/selinux/selinux_common.inc +2 -2
index 145b21a..cecb0b5 100644
@@ -1,7 +1,7 @@
 HOMEPAGE = "https://github.com/SELinuxProject"
 
-SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=master;protocol=https"
-SRCREV = "d6e96c5929a3f1aa1dce93505edd9f0158757ac2"
+SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=main;protocol=https"
+SRCREV = "97fa708d867ecb26e8d1c766760947f8e3b9e59a"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
Signature · 1 line
2.25.1
author
#1 lore raw

[[meta-selinux]PATCH 02/15] libsepol: upgrade 3.5 -> 3.6

---
 recipes-security/selinux/{libsepol_3.5.bb => libsepol_3.6.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{libsepol_3.5.bb => libsepol_3.6.bb} (100%)
recipes-security/selinux/libsepol_3.6.bb renamed from recipes-security/selinux/libsepol_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/libsepol_3.5.bb
rename to recipes-security/selinux/libsepol_3.6.bb
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH 3/15 libselinux: upgrade 3.5 -> 3.6

In reply to Yi Zhao

* Refresh patches.
* Merge libselinux and libselinux-python.
The previous libselinux recipe was split into libselinux and libselinux-python due to loop dependency[1]. Now this error is gone, we can merge these two recipes into one again.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=7bb1507928f2e0f54ff8eac4135e15e821cdb1e2

---
 ...hon-modules-install-path-for-multili.patch | 10 +++---
 ...T-and-rely-on-the-installed-file-nam.patch |  8 ++---
 ...re-drop-the-obsolete-LSF-transitiona.patch | 21 ++++++------
 recipes-security/selinux/libselinux_3.5.bb    | 33 -------------------
 ...elinux-python_3.5.bb => libselinux_3.6.bb} | 20 ++++++-----
 5 files changed, 32 insertions(+), 60 deletions(-)
 delete mode 100644 recipes-security/selinux/libselinux_3.5.bb
 rename recipes-security/selinux/{libselinux-python_3.5.bb => libselinux_3.6.bb} (83%)
recipes-security/selinux/libselinux/0001-Makefile-fix-python-modules-install-path-for-multili.patch +5 -5
index 1b9dfbb..b307b6f 100644
@@ -1,4 +1,4 @@
-From 57a087de68d6f7fe955268ee36b523cbe7c0c6db Mon Sep 17 00:00:00 2001
+From dff260851ccecf9723a6ddfce0103e09f3ba4613 Mon Sep 17 00:00:00 2001
 From: Yi Zhao <[email protected]>
 Date: Mon, 13 Apr 2020 12:44:23 +0800
 Subject: [PATCH] Makefile: fix python modules install path for multilib
@@ -11,15 +11,15 @@ Signed-off-by: Yi Zhao <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/Makefile b/src/Makefile
-index 36d5712..983f8af 100644
+index d3b981f..265f1be 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -187,7 +187,7 @@ install: all
+@@ -191,7 +191,7 @@ install: all
  	ln -sf --relative $(DESTDIR)$(SHLIBDIR)/$(LIBSO) $(DESTDIR)$(LIBDIR)/$(TARGET)
  
  install-pywrap: pywrap
--	$(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
-+	$(PYTHON) -m pip install --prefix=$(PREFIX) --root $(DESTDIR) --ignore-installed --no-deps $(PYTHON_SETUP_ARGS) .
+-	CFLAGS="$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
++	CFLAGS="$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) -m pip install --prefix=$(PREFIX) --root $(DESTDIR) --ignore-installed --no-deps $(PYTHON_SETUP_ARGS) .
  	install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py
  	ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux$(PYCEXT) $(DESTDIR)$(PYTHONLIBDIR)/_selinux$(PYCEXT)
  
recipes-security/selinux/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch +4 -4
index cd5510d..7ebe64f 100644
@@ -1,4 +1,4 @@
-From 1454521f2b9f2cbc3c40177aae9c260ec8966ae0 Mon Sep 17 00:00:00 2001
+From 303d8dfe53fcd02ea5818f976369cdb629bc1114 Mon Sep 17 00:00:00 2001
 From: Thomas Petazzoni <[email protected]>
 Date: Fri, 25 Oct 2019 13:37:14 +0200
 Subject: [PATCH] Do not use PYCEXT, and rely on the installed file name
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <[email protected]>
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/src/Makefile b/src/Makefile
-index 983f8af..3d777bb 100644
+index 265f1be..47e51d6 100644
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -15,7 +15,6 @@ INCLUDEDIR ?= $(PREFIX)/include
@@ -38,9 +38,9 @@ index 983f8af..3d777bb 100644
  RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]')
  RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -L" + RbConfig::CONFIG["archlibdir"] + " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]')
  RUBYINSTALL ?= $(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]')
-@@ -189,7 +188,7 @@ install: all
+@@ -193,7 +192,7 @@ install: all
  install-pywrap: pywrap
- 	$(PYTHON) -m pip install --prefix=$(PREFIX) --root $(DESTDIR) --ignore-installed --no-deps $(PYTHON_SETUP_ARGS) .
+ 	CFLAGS="$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) -m pip install --prefix=$(PREFIX) --root $(DESTDIR) --ignore-installed --no-deps $(PYTHON_SETUP_ARGS) .
  	install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py
 -	ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux$(PYCEXT) $(DESTDIR)$(PYTHONLIBDIR)/_selinux$(PYCEXT)
 +	ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux*.so $(DESTDIR)$(PYTHONLIBDIR)/
recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch +11 -10
index 5b37395..0cd8f20 100644
@@ -1,4 +1,4 @@
-From a822176c6f181d1e6989900dfc58bbdab6d9065a Mon Sep 17 00:00:00 2001
+From 6c2af45ec8cff9b282d599dc098db0ca127bdc59 Mon Sep 17 00:00:00 2001
 From: Renato Caldas <[email protected]>
 Date: Thu, 29 Jun 2023 13:59:11 +0100
 Subject: [PATCH] libselinux: restore: drop the obsolete LSF transitional API.
@@ -10,23 +10,23 @@ Upstream-Status: Submitted [https://github.com/SELinuxProject/selinux/pull/401]
 
 Signed-off-by: Renato Caldas <[email protected]>
 ---
- libselinux/src/selinux_restorecon.c | 4 ++--
+ src/selinux_restorecon.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c
-index 7ef2d45d..2ff920b0 100644
+diff --git a/src/selinux_restorecon.c b/src/selinux_restorecon.c
+index 38f10f1..5b3d035 100644
 --- a/src/selinux_restorecon.c
 +++ b/src/selinux_restorecon.c
-@@ -437,7 +437,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file,
+@@ -436,7 +436,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file,
  	file_spec_t *prevfl, *fl;
  	uint32_t h;
  	int ret;
 -	struct stat64 sb;
 +	struct stat sb;
-
+ 
  	__pthread_mutex_lock(&fl_mutex);
-
-@@ -451,7 +451,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file,
+ 
+@@ -450,7 +450,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file,
  	for (prevfl = &fl_head[h], fl = fl_head[h].next; fl;
  	     prevfl = fl, fl = fl->next) {
  		if (ino == fl->ino) {
@@ -35,5 +35,6 @@ index 7ef2d45d..2ff920b0 100644
  			if (ret < 0 || sb.st_ino != ino) {
  				freecon(fl->con);
  				free(fl->file);
---
-2.41.0
+-- 
+2.25.1
+
recipes-security/selinux/libselinux_3.5.bb deleted +0 -33
deleted file mode 100644
index 37383eb..0000000
@@ -1,33 +0,0 @@
-SUMMARY = "SELinux library and simple utilities"
-DESCRIPTION = "libselinux provides an API for SELinux applications to get and set \
-process and file security contexts and to obtain security policy \
-decisions.  Required for any applications that use the SELinux API."
-SECTION = "base"
-LICENSE = "PD"
-LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0"
-
-require selinux_common.inc
-
-inherit lib_package pkgconfig
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/libselinux:"
-SRC_URI += "\
-        file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \
-        "
-
-DEPENDS = "libsepol libpcre2"
-DEPENDS:append:libc-musl = " fts"
-
-S = "${WORKDIR}/git/libselinux"
-
-def get_policyconfigarch(d):
-    import re
-    target = d.getVar('TARGET_ARCH')
-    p = re.compile('i.86')
-    target = p.sub('i386',target)
-    return "ARCH=%s" % (target)
-
-EXTRA_OEMAKE = "${@get_policyconfigarch(d)}"
-EXTRA_OEMAKE:append:libc-musl = " FTS_LDLIBS=-lfts"
-
-BBCLASSEXTEND = "native"
recipes-security/selinux/libselinux_3.6.bb renamed from recipes-security/selinux/libselinux-python_3.5.bb +12 -8
similarity index 83%
rename from recipes-security/selinux/libselinux-python_3.5.bb
rename to recipes-security/selinux/libselinux_3.6.bb
index b382be1..dab4965 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0"
 
 require selinux_common.inc
 
-inherit python3targetconfig pkgconfig
+inherit lib_package pkgconfig python3targetconfig
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/libselinux:"
 SRC_URI += "\
@@ -22,8 +22,6 @@ S = "${WORKDIR}/git/libselinux"
 DEPENDS = "libsepol libpcre2 swig-native python3-setuptools-scm-native"
 DEPENDS:append:libc-musl = " fts"
 
-RDEPENDS:${PN} = "libselinux python3-core python3-shell"
-
 def get_policyconfigarch(d):
     import re
     target = d.getVar('TARGET_ARCH')
@@ -34,19 +32,17 @@ def get_policyconfigarch(d):
 EXTRA_OEMAKE = "${@get_policyconfigarch(d)}"
 EXTRA_OEMAKE:append:libc-musl = " FTS_LDLIBS=-lfts"
 
-FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
-INSANE_SKIP:${PN} = "dev-so"
-
-do_compile() {
+do_compile:append() {
     oe_runmake pywrap -j1 \
         PYLIBVER='python${PYTHON_BASEVERSION}' \
         PYINC='-I${STAGING_INCDIR}/${PYLIBVER}' \
         PYLIBS='-L${STAGING_LIBDIR}/${PYLIBVER} -l${PYLIBVER}'
 }
 
-do_install() {
+do_install:append() {
     oe_runmake install-pywrap \
         DESTDIR=${D} \
+        PREFIX=${prefix}
         PYLIBVER='python${PYTHON_BASEVERSION}' \
         PYTHONLIBDIR='${PYTHON_SITEPACKAGES_DIR}'
 
@@ -54,3 +50,11 @@ do_install() {
     sed -i -e 's,${WORKDIR},,g' \
         ${D}${PYTHON_SITEPACKAGES_DIR}/selinux-${PV}.dist-info/direct_url.json
 }
+
+PACKAGES += "${PN}-python"
+RDEPENDS:${PN}-python = "python3-core python3-shell"
+
+FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
+INSANE_SKIP:${PN}-python = "dev-so"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.25.1
author
#3 lore raw

PATCH 4/15 libsemanage: upgrade 3.5 -> 3.6

In reply to Yi Zhao

* Refresh patches

---
 ...anage-Fix-execve-segfaults-on-Ubuntu.patch |  4 ++--
 ...anage-allow-to-disable-audit-support.patch | 22 +++++++++----------
 ...-disable-expand-check-on-policy-load.patch |  2 +-
 ...{libsemanage_3.5.bb => libsemanage_3.6.bb} |  0
 4 files changed, 14 insertions(+), 14 deletions(-)
 rename recipes-security/selinux/{libsemanage_3.5.bb => libsemanage_3.6.bb} (100%)
recipes-security/selinux/libsemanage/libsemanage-Fix-execve-segfaults-on-Ubuntu.patch +2 -2
index 5a03d30..daaeb3b 100644
@@ -1,4 +1,4 @@
-From 2111f86dce8defd9bebd9b43008339e3b5af0aa7 Mon Sep 17 00:00:00 2001
+From a91134e98ba4b3b6645d12bb68a07976b60f86c8 Mon Sep 17 00:00:00 2001
 From: Xin Ouyang <[email protected]>
 Date: Mon, 26 Mar 2012 15:15:16 +0800
 Subject: [PATCH] libsemanage: Fix execve segfaults on Ubuntu.
@@ -17,7 +17,7 @@ Signed-off-by: Yi Zhao <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/semanage_store.c b/src/semanage_store.c
-index 14a0957..0a9200e 100644
+index 27c5d34..519f298 100644
 --- a/src/semanage_store.c
 +++ b/src/semanage_store.c
 @@ -1470,7 +1470,7 @@ static int semanage_exec_prog(semanage_handle_t * sh,
recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch +11 -11
index 19263d8..e9df8be 100644
@@ -1,4 +1,4 @@
-From 5718384543ff06ad4032e90291f9e4398a2749c4 Mon Sep 17 00:00:00 2001
+From c96010440e7a2a87787a535fd0f9ccf26a2b4a5e Mon Sep 17 00:00:00 2001
 From: Wenzong Fan <[email protected]>
 Date: Mon, 20 Jan 2014 03:53:48 -0500
 Subject: [PATCH] libsemanage: allow to disable audit support
@@ -13,10 +13,10 @@ Signed-off-by: Wenzong Fan <[email protected]>
  3 files changed, 31 insertions(+), 2 deletions(-)
 
 diff --git a/src/Makefile b/src/Makefile
-index 71c2a1d..52f335e 100644
+index d525996..2f5e159 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -26,6 +26,14 @@ ifeq ($(DEBUG),1)
+@@ -27,6 +27,14 @@ ifeq ($(DEBUG),1)
  	export LDFLAGS ?= -g
  endif
  
@@ -31,17 +31,17 @@ index 71c2a1d..52f335e 100644
  LEX = flex
  LFLAGS = -s
  YACC = bison
-@@ -89,7 +97,7 @@ $(LIBA): $(OBJS)
+@@ -90,7 +98,7 @@ $(LIBA): $(OBJS)
  	$(RANLIB) $@
  
  $(LIBSO): $(LOBJS)
--	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
-+	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol $(LIBAUDIT) -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
+-	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
++	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol $(LIBAUDIT) -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
  	ln -sf $@ $(TARGET)
  
  $(LIBPC): $(LIBPC).in ../VERSION
 diff --git a/src/seusers_local.c b/src/seusers_local.c
-index 6508ec0..1b26956 100644
+index 795a33d..6539cdf 100644
 --- a/src/seusers_local.c
 +++ b/src/seusers_local.c
 @@ -8,7 +8,11 @@ typedef struct semanage_seuser record_t;
@@ -56,7 +56,7 @@ index 6508ec0..1b26956 100644
  #include <errno.h>
  #include "user_internal.h"
  #include "seuser_internal.h"
-@@ -55,6 +59,7 @@ static char *semanage_user_roles(semanage_handle_t * handle, const char *sename)
+@@ -56,6 +60,7 @@ static char *semanage_user_roles(semanage_handle_t * handle, const char *sename)
  	return roles;
  }
  
@@ -64,7 +64,7 @@ index 6508ec0..1b26956 100644
  static int semanage_seuser_audit(semanage_handle_t * handle,
  			  const semanage_seuser_t * seuser,
  			  const semanage_seuser_t * previous,
-@@ -119,6 +124,7 @@ err:
+@@ -120,6 +125,7 @@ err:
  	free(proles);
  	return rc;
  }
@@ -72,7 +72,7 @@ index 6508ec0..1b26956 100644
  
  int semanage_seuser_modify_local(semanage_handle_t * handle,
  				 const semanage_seuser_key_t * key,
-@@ -163,8 +169,11 @@ int semanage_seuser_modify_local(semanage_handle_t * handle,
+@@ -164,8 +170,11 @@ int semanage_seuser_modify_local(semanage_handle_t * handle,
  	(void) semanage_seuser_query(handle, key, &previous);
  	handle->msg_callback = callback;
  	rc = dbase_modify(handle, dconfig, key, new);
@@ -84,7 +84,7 @@ index 6508ec0..1b26956 100644
  err:
  	if (previous)
  		semanage_seuser_free(previous);
-@@ -180,8 +189,12 @@ int semanage_seuser_del_local(semanage_handle_t * handle,
+@@ -181,8 +190,12 @@ int semanage_seuser_del_local(semanage_handle_t * handle,
  	dbase_config_t *dconfig = semanage_seuser_dbase_local(handle);
  	rc = dbase_del(handle, dconfig, key);
  	semanage_seuser_query(handle, key, &seuser);
recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch +1 -1
index 6e0faeb..d880e1e 100644
@@ -1,4 +1,4 @@
-From dd52bfb66d710473aeb75c5fe92d5cf0a66b637e Mon Sep 17 00:00:00 2001
+From 7af73c1684ce0e30ce0cd58b51708bde1e3a1984 Mon Sep 17 00:00:00 2001
 From: Joe MacDonald <[email protected]>
 Date: Wed, 7 May 2014 11:36:27 -0400
 Subject: [PATCH] libsemanage: disable expand-check on policy load
recipes-security/selinux/libsemanage_3.6.bb renamed from recipes-security/selinux/libsemanage_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/libsemanage_3.5.bb
rename to recipes-security/selinux/libsemanage_3.6.bb
Signature · 1 line
2.25.1
author
#4 lore raw

PATCH 5/15 checkpolicy: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{checkpolicy_3.5.bb => checkpolicy_3.6.bb}            | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{checkpolicy_3.5.bb => checkpolicy_3.6.bb} (100%)
recipes-security/selinux/checkpolicy_3.6.bb renamed from recipes-security/selinux/checkpolicy_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/checkpolicy_3.5.bb
rename to recipes-security/selinux/checkpolicy_3.6.bb
Signature · 1 line
2.25.1
author
#5 lore raw

PATCH 6/15 secilc: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 recipes-security/selinux/{secilc_3.5.bb => secilc_3.6.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{secilc_3.5.bb => secilc_3.6.bb} (100%)
recipes-security/selinux/secilc_3.6.bb renamed from recipes-security/selinux/secilc_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/secilc_3.5.bb
rename to recipes-security/selinux/secilc_3.6.bb
Signature · 1 line
2.25.1
author
#6 lore raw

PATCH 7/15 policycoreutils: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{policycoreutils_3.5.bb => policycoreutils_3.6.bb}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{policycoreutils_3.5.bb => policycoreutils_3.6.bb} (100%)
recipes-security/selinux/policycoreutils_3.6.bb renamed from recipes-security/selinux/policycoreutils_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/policycoreutils_3.5.bb
rename to recipes-security/selinux/policycoreutils_3.6.bb
Signature · 1 line
2.25.1
author
#7 lore raw

PATCH 8/15 mcstrans: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 recipes-security/selinux/{mcstrans_3.5.bb => mcstrans_3.6.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{mcstrans_3.5.bb => mcstrans_3.6.bb} (100%)
recipes-security/selinux/mcstrans_3.6.bb renamed from recipes-security/selinux/mcstrans_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/mcstrans_3.5.bb
rename to recipes-security/selinux/mcstrans_3.6.bb
Signature · 1 line
2.25.1
author
#8 lore raw

PATCH 9/15 restorecond: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{restorecond_3.5.bb => restorecond_3.6.bb}            | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{restorecond_3.5.bb => restorecond_3.6.bb} (100%)
recipes-security/selinux/restorecond_3.6.bb renamed from recipes-security/selinux/restorecond_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/restorecond_3.5.bb
rename to recipes-security/selinux/restorecond_3.6.bb
Signature · 1 line
2.25.1
author
#9 lore raw

PATCH 10/15 selinux-python: upgrade 3.5 -> 3.6

In reply to Yi Zhao

* Refresh patch

---
 .../selinux/selinux-python/fix-sepolicy-install-path.patch    | 4 ++--
 .../selinux/{selinux-python_3.5.bb => selinux-python_3.6.bb}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-security/selinux/{selinux-python_3.5.bb => selinux-python_3.6.bb} (100%)
recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch +2 -2
index 5eb2e54..bc048c1 100644
@@ -1,4 +1,4 @@
-From 2a0c2489e9d245502e7a9dc5878da01f9d64db2a Mon Sep 17 00:00:00 2001
+From fb449373ae92a05c324895cd7daee1461a0f0349 Mon Sep 17 00:00:00 2001
 From: Xin Ouyang <[email protected]>
 Date: Mon, 23 Sep 2013 21:17:59 +0800
 Subject: [PATCH] sepolicy: fix install path for new pymodule sepolicy
@@ -13,7 +13,7 @@ Signed-off-by: Yi Zhao <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sepolicy/Makefile b/sepolicy/Makefile
-index 4e9e93d..512aab5 100644
+index 1a26cfd..6e40691 100644
 --- a/sepolicy/Makefile
 +++ b/sepolicy/Makefile
 @@ -27,7 +27,7 @@ test:
recipes-security/selinux/selinux-python_3.6.bb renamed from recipes-security/selinux/selinux-python_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/selinux-python_3.5.bb
rename to recipes-security/selinux/selinux-python_3.6.bb
Signature · 1 line
2.25.1
author
#10 lore raw

PATCH 11/15 selinux-dbus: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{selinux-dbus_3.5.bb => selinux-dbus_3.6.bb}          | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{selinux-dbus_3.5.bb => selinux-dbus_3.6.bb} (100%)
recipes-security/selinux/selinux-dbus_3.6.bb renamed from recipes-security/selinux/selinux-dbus_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/selinux-dbus_3.5.bb
rename to recipes-security/selinux/selinux-dbus_3.6.bb
Signature · 1 line
2.25.1
author
#11 lore raw

PATCH 12/15 selinux-gui: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{selinux-gui_3.5.bb => selinux-gui_3.6.bb}            | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{selinux-gui_3.5.bb => selinux-gui_3.6.bb} (100%)
recipes-security/selinux/selinux-gui_3.6.bb renamed from recipes-security/selinux/selinux-gui_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/selinux-gui_3.5.bb
rename to recipes-security/selinux/selinux-gui_3.6.bb
Signature · 1 line
2.25.1
author
#12 lore raw

PATCH 13/15 selinux-sandbox: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{selinux-sandbox_3.5.bb => selinux-sandbox_3.6.bb}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{selinux-sandbox_3.5.bb => selinux-sandbox_3.6.bb} (100%)
recipes-security/selinux/selinux-sandbox_3.6.bb renamed from recipes-security/selinux/selinux-sandbox_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/selinux-sandbox_3.5.bb
rename to recipes-security/selinux/selinux-sandbox_3.6.bb
Signature · 1 line
2.25.1
author
#13 lore raw

PATCH 14/15 semodule-utils: upgrade 3.5 -> 3.6

In reply to Yi Zhao
---
 .../selinux/{semodule-utils_3.5.bb => semodule-utils_3.6.bb}      | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-security/selinux/{semodule-utils_3.5.bb => semodule-utils_3.6.bb} (100%)
recipes-security/selinux/semodule-utils_3.6.bb renamed from recipes-security/selinux/semodule-utils_3.5.bb +0 -0
similarity index 100%
rename from recipes-security/selinux/semodule-utils_3.5.bb
rename to recipes-security/selinux/semodule-utils_3.6.bb
Signature · 1 line
2.25.1
author
#14 lore raw

PATCH 15/15 setools: upgrade 4.4.3 -> 4.4.4

In reply to Yi Zhao

ChangeLog:
https://github.com/SELinuxProject/setools/releases/tag/4.4.4

* Refresh local patch

---
 .../setools/setools4-fixes-for-cross-compiling.patch      | 8 ++++----
 .../setools/{setools_4.4.3.bb => setools_4.4.4.bb}        | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
 rename recipes-security/setools/{setools_4.4.3.bb => setools_4.4.4.bb} (96%)
recipes-security/setools/setools/setools4-fixes-for-cross-compiling.patch +4 -4
index 51c7603..cdaa45c 100644
@@ -1,4 +1,4 @@
-From e0a112874d10dbf741c27b107edddedd86d51529 Mon Sep 17 00:00:00 2001
+From 673bac44ce13f475845e0b69dc73bfaa5a0866aa Mon Sep 17 00:00:00 2001
 From: Wenzong Fan <[email protected]>
 Date: Tue, 14 Feb 2017 06:32:35 +0000
 Subject: [PATCH] setools4: fixes for cross compiling
@@ -15,10 +15,10 @@ Signed-off-by: Yi Zhao <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/setup.py b/setup.py
-index ac8a876..df7ebbc 100644
+index 5584e55..057bbb5 100644
 --- a/setup.py
 +++ b/setup.py
-@@ -78,7 +78,7 @@ class QtHelpCommand(Command):
+@@ -79,7 +79,7 @@ class QtHelpCommand(Command):
  
  
  # Library linkage
@@ -28,5 +28,5 @@ index ac8a876..df7ebbc 100644
  
  with suppress(KeyError):
 -- 
-2.7.4
+2.25.1
 
recipes-security/setools/setools_4.4.4.bb renamed from recipes-security/setools/setools_4.4.3.bb +1 -1
similarity index 96%
rename from recipes-security/setools/setools_4.4.3.bb
rename to recipes-security/setools/setools_4.4.4.bb
index 313dd0b..37bb86a 100644
@@ -8,7 +8,7 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
 SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.4;protocol=https \
            file://setools4-fixes-for-cross-compiling.patch \
           "
-SRCREV = "d3dbddb4e162dda3a25c419d10afe042a3dff7fa"
+SRCREV = "a04b015459512d0460ff6bc50f28d746861f4a0b"
 
 LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \
                     file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
Signature · 1 line
2.25.1