Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6
@ 2024-02-26 20:54 Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 2/9] package/libsemanage: bump version to 3.6 Adam Duskett
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/libsepol/libsepol.hash | 2 +-
 package/libsepol/libsepol.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libsepol/libsepol.hash b/package/libsepol/libsepol.hash
index c243aaae2b..1369d820e1 100644
--- a/package/libsepol/libsepol.hash
+++ b/package/libsepol/libsepol.hash
@@ -1,5 +1,5 @@
 # From: https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  78fdaf69924db780bac78546e43d9c44074bad798c2c415d0b9bb96d065ee8a2  libsepol-3.5.tar.gz
+sha256  c9dc585ea94903d784d597c861cd5dce6459168f95e22b31a0eab1cdd800975a  libsepol-3.6.tar.gz
 
 # Hash for license file
 sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  LICENSE
diff --git a/package/libsepol/libsepol.mk b/package/libsepol/libsepol.mk
index f7782542ec..6361cc66bc 100644
--- a/package/libsepol/libsepol.mk
+++ b/package/libsepol/libsepol.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSEPOL_VERSION = 3.5
+LIBSEPOL_VERSION = 3.6
 LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEPOL_VERSION)
 LIBSEPOL_LICENSE = LGPL-2.1+
 LIBSEPOL_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/9] package/libsemanage: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 3/9] package/libselinux: " Adam Duskett
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/libsemanage/libsemanage.hash | 2 +-
 package/libsemanage/libsemanage.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libsemanage/libsemanage.hash b/package/libsemanage/libsemanage.hash
index 73df34bde9..862e49f52e 100644
--- a/package/libsemanage/libsemanage.hash
+++ b/package/libsemanage/libsemanage.hash
@@ -1,5 +1,5 @@
 # From: https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  f53534e50247538280ed0d76c6ce81d8fb3939bd64cadb89da10dba42e40dd9c  libsemanage-3.5.tar.gz
+sha256  41138f46222439e1242f27c1587e95cf54a059259aaf1681db642cc30c4e0d60  libsemanage-3.6.tar.gz
 
 # Hash for license file
 sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  LICENSE
diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 0fbdc5ae8d..7742e7060c 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSEMANAGE_VERSION = 3.5
+LIBSEMANAGE_VERSION = 3.6
 LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEMANAGE_VERSION)
 LIBSEMANAGE_LICENSE = LGPL-2.1+
 LIBSEMANAGE_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3/9] package/libselinux: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 2/9] package/libsemanage: bump version to 3.6 Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-03-02 17:07   ` Thomas Petazzoni via buildroot
  2024-02-26 20:54 ` [Buildroot] [PATCH 4/9] package/policycoreutils: " Adam Duskett
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Remove upstreamed patches

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/libselinux/0001-fix-musl-build.patch  | 38 --------------
 ...T-and-rely-on-the-installed-file-nam.patch | 50 -------------------
 ...inux-set-CFLAGS-for-pip-installation.patch | 43 ----------------
 package/libselinux/libselinux.hash            |  2 +-
 package/libselinux/libselinux.mk              |  2 +-
 5 files changed, 2 insertions(+), 133 deletions(-)
 delete mode 100644 package/libselinux/0001-fix-musl-build.patch
 delete mode 100644 package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
 delete mode 100644 package/libselinux/0003-libselinux-set-CFLAGS-for-pip-installation.patch

diff --git a/package/libselinux/0001-fix-musl-build.patch b/package/libselinux/0001-fix-musl-build.patch
deleted file mode 100644
index b8b16be26f..0000000000
--- a/package/libselinux/0001-fix-musl-build.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 78f7f09028fdd6a5e8e4e4b584749621eaef412f Mon Sep 17 00:00:00 2001
-From: Yann E. MORIN" <yann.morin.1998@free.fr>
-Date: Sat, 7 Dec 2019 17:24:50 -0800
-Subject: [PATCH] fix undefined macros in musl
-
-musl does not define glibc-specific macros, so use a simple version of
-the macro when it is not defined.
-
-This is very inefficient, however, but copying the code from glibc is
-not really possible because it is LGPL while libselinux in Public
-Domain, and we want to avoid license propagation, so this macro is
-completely written from scratch, and non-optimal.
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-[Updated for 3.5]
-Signed-off-by: Adam Duskett <Aduskett@gmail.com>
-diff --git a/src/booleans.c b/src/booleans.c
-index ffa8d26..8569002 100644
---- a/src/booleans.c
-+++ b/src/booleans.c
-@@ -64,6 +64,14 @@ int security_get_boolean_names(char ***names, int *len)
- 		goto bad;
- 	}
- 
-+/* Simple (but inefficient) version of _D_ALLOC_NAMLEN when
-+ * building with a C library that misses it (e.g. musl).
-+ * Note: glibc does a strlen on (d)->d_name, so assume it is safe.
-+ */
-+#ifndef _D_ALLOC_NAMLEN
-+#define _D_ALLOC_NAMLEN(d) (strlen((d)->d_name)+1)
-+#endif
-+
- 	for (i = 0; i < *len; i++) {
- 		n[i] = strdup(namelist[i]->d_name);
- 		if (!n[i]) {
--- 
-2.23.0
-
diff --git a/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch b/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
deleted file mode 100644
index c744ca4069..0000000000
--- a/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From c26495025ab1a2597e5433b67a3bf793d3ce1e08 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Fri, 25 Oct 2019 13:37:14 +0200
-Subject: [PATCH] Do not use PYCEXT, and rely on the installed file name
-
-PYCEXT is computed by asking the Python intrepreter what is the
-file extension used for native Python modules.
-
-Unfortunately, when cross-compiling, the host Python doesn't give the
-proper result: it gives the result matching the build machine, and not
-the target machine. Due to this, the symlink has an incorrect name,
-and doesn't point to the .so file that was actually built/installed.
-
-To address this and keep things simple, this patch just changes the ln
-invocation to rely on the name of the _selinux*.so Python module that
-was installed.
-
-Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
-[Refreshed for 3.1]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-[Refreshed for 3.5]
-Signed-off-by: Adam Duskett <Aduskett@gmail.com>
----
- src/Makefile | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index 190016e2af34..7ee22fd35da3 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -15,7 +15,6 @@ INCLUDEDIR ?= $(PREFIX)/include
- PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX))
- PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX))
- PYTHONLIBDIR ?= $(shell $(PYTHON) -c "import sysconfig; print(sysconfig.get_path('platlib', vars={'platbase': '$(PREFIX)', 'base': '$(PREFIX)'}))")
--PYCEXT ?= $(shell $(PYTHON) -c 'import importlib.machinery;print(importlib.machinery.EXTENSION_SUFFIXES[0])')
- 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
- install-pywrap: pywrap
- 	$(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --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)/
- 
- install-rubywrap: rubywrap
- 	test -d $(DESTDIR)$(RUBYINSTALL) || install -m 755 -d $(DESTDIR)$(RUBYINSTALL) 
--- 
-2.26.2
-
diff --git a/package/libselinux/0003-libselinux-set-CFLAGS-for-pip-installation.patch b/package/libselinux/0003-libselinux-set-CFLAGS-for-pip-installation.patch
deleted file mode 100644
index c08529c44f..0000000000
--- a/package/libselinux/0003-libselinux-set-CFLAGS-for-pip-installation.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From c9b3cbb654ca1e834d47f52af9f170b9f38c857a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
-Date: Thu, 20 Apr 2023 18:27:00 +0200
-Subject: [PATCH] libselinux: set CFLAGS for pip installation
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Explicitly set CFLAGS for the pip install command, similar to calling
-setup.py, to ignore known compiler warnings treated as errors, e.g.:
-
-    selinuxswig_python_wrap.c:3593:19: error: 'sidget' is deprecated [-Werror,-Wdeprecated-declarations]
-                result = (int)sidget(arg1);
-                              ^
-    selinuxswig_python_wrap.c:15024:1: error: no previous prototype for function 'PyInit__selinux' [-Werror,-Wmissing-prototypes]
-            SWIG_init(void) {
-            ^
-
-Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
-Acked-by: Petr Lautrbach <lautrbach@redhat.com>
-Upstream: https://github.com/SELinuxProject/selinux/commit/c9b3cbb654ca1e834d47f52af9f170b9f38c857a
-[yann.morin.1998@free.fr: backport from upstream]
-Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
----
- libselinux/src/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
-index 36d57122..f9a1e5f5 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -187,7 +187,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) .
-+	CFLAGS="$(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --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)
- 
--- 
-2.25.1
-
diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash
index 14bc627a80..4e0a2ca317 100644
--- a/package/libselinux/libselinux.hash
+++ b/package/libselinux/libselinux.hash
@@ -1,5 +1,5 @@
 # From: https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  9a3a3705ac13a2ccca2de6d652b6356fead10f36fb33115c185c5ccdf29eec19  libselinux-3.5.tar.gz
+sha256  ba4e0ef34b270e7672a5e5f1b523fe2beab3a40bb33d9389f4ad3a8728f21b52  libselinux-3.6.tar.gz
 
 # Hash for license file
 sha256  86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364  LICENSE
diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk
index 601038e46f..97671f1cca 100644
--- a/package/libselinux/libselinux.mk
+++ b/package/libselinux/libselinux.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSELINUX_VERSION = 3.5
+LIBSELINUX_VERSION = 3.6
 LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSELINUX_VERSION)
 LIBSELINUX_LICENSE = Public Domain
 LIBSELINUX_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 4/9] package/policycoreutils: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 2/9] package/libsemanage: bump version to 3.6 Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 3/9] package/libselinux: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-03-02 17:10   ` Thomas Petazzoni via buildroot
  2024-02-26 20:54 ` [Buildroot] [PATCH 5/9] package/checkpolicy: " Adam Duskett
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

setsebool/Makefile now unconditionally links against libsepol.
As such, it is now a new dependency.

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/policycoreutils/Config.in            | 1 +
 package/policycoreutils/policycoreutils.hash | 2 +-
 package/policycoreutils/policycoreutils.mk   | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/policycoreutils/Config.in b/package/policycoreutils/Config.in
index 3201c8fede..46a367129a 100644
--- a/package/policycoreutils/Config.in
+++ b/package/policycoreutils/Config.in
@@ -10,6 +10,7 @@ config BR2_PACKAGE_POLICYCOREUTILS
 	depends on !BR2_STATIC_LIBS # libsemanage
 	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
diff --git a/package/policycoreutils/policycoreutils.hash b/package/policycoreutils/policycoreutils.hash
index e29d192b13..ea45116912 100644
--- a/package/policycoreutils/policycoreutils.hash
+++ b/package/policycoreutils/policycoreutils.hash
@@ -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
diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
index 61d91066d4..773cd4626b 100644
--- a/package/policycoreutils/policycoreutils.mk
+++ b/package/policycoreutils/policycoreutils.mk
@@ -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 = LDLIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 5/9] package/checkpolicy: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
                   ` (2 preceding siblings ...)
  2024-02-26 20:54 ` [Buildroot] [PATCH 4/9] package/policycoreutils: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 6/9] package/restorecond: " Adam Duskett
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/checkpolicy/checkpolicy.hash | 2 +-
 package/checkpolicy/checkpolicy.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/checkpolicy/checkpolicy.hash b/package/checkpolicy/checkpolicy.hash
index fcfd81c554..d2ecc7265a 100644
--- a/package/checkpolicy/checkpolicy.hash
+++ b/package/checkpolicy/checkpolicy.hash
@@ -1,5 +1,5 @@
 # https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  7aa48ab2222a0b9881111d6d7f70c3014d3d9338827d9e02df105a68c0df5dbc  checkpolicy-3.5.tar.gz
+sha256  1b346b3cdd4f8a78a157627bad64a3b3479c67b6a19d15e6d5c8694620eadbc1  checkpolicy-3.6.tar.gz
 
 # Hash for license file
 sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  LICENSE
diff --git a/package/checkpolicy/checkpolicy.mk b/package/checkpolicy/checkpolicy.mk
index 024d306233..109aaf6072 100644
--- a/package/checkpolicy/checkpolicy.mk
+++ b/package/checkpolicy/checkpolicy.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CHECKPOLICY_VERSION = 3.5
+CHECKPOLICY_VERSION = 3.6
 CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(CHECKPOLICY_VERSION)
 CHECKPOLICY_LICENSE = GPL-2.0
 CHECKPOLICY_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 6/9] package/restorecond: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
                   ` (3 preceding siblings ...)
  2024-02-26 20:54 ` [Buildroot] [PATCH 5/9] package/checkpolicy: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 7/9] package/semodule-utils: " Adam Duskett
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/restorecond/restorecond.hash | 2 +-
 package/restorecond/restorecond.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/restorecond/restorecond.hash b/package/restorecond/restorecond.hash
index 215c9192f4..5b86afdcc0 100644
--- a/package/restorecond/restorecond.hash
+++ b/package/restorecond/restorecond.hash
@@ -1,5 +1,5 @@
 # https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  f00d8caddb6aba2793c65e69154d04671b52f3d37e081b0e96c1b443fe23c2fe  restorecond-3.5.tar.gz
+sha256  8f8aa2c6c66bcc6d91c6edd63913e5d738de6428928f27d1019d89c31cf347b1  restorecond-3.6.tar.gz
 
 # Hash for license file
 sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  LICENSE
diff --git a/package/restorecond/restorecond.mk b/package/restorecond/restorecond.mk
index cd40905230..4e9a66c592 100644
--- a/package/restorecond/restorecond.mk
+++ b/package/restorecond/restorecond.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RESTORECOND_VERSION = 3.5
+RESTORECOND_VERSION = 3.6
 RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(RESTORECOND_VERSION)
 RESTORECOND_LICENSE = GPL-2.0
 RESTORECOND_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 7/9] package/semodule-utils: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
                   ` (4 preceding siblings ...)
  2024-02-26 20:54 ` [Buildroot] [PATCH 6/9] package/restorecond: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 8/9] package/selinux-python: " Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 9/9] package/setools: bump version to 4.4.4 Adam Duskett
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/semodule-utils/semodule-utils.hash | 2 +-
 package/semodule-utils/semodule-utils.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/semodule-utils/semodule-utils.hash b/package/semodule-utils/semodule-utils.hash
index ac3357d3fa..5e7d698f3b 100644
--- a/package/semodule-utils/semodule-utils.hash
+++ b/package/semodule-utils/semodule-utils.hash
@@ -1,5 +1,5 @@
 # https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  c9a550a737051ebaf2c102f665c7ec2f85e7232870980aa0067998459b414283  semodule-utils-3.5.tar.gz
+sha256  eedb88f2b2124e538f2d614be063c0d9ac3eacc0c51a4da44500ca1ed1ba16f4  semodule-utils-3.6.tar.gz
 
 # Hash for license file
 sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  LICENSE
diff --git a/package/semodule-utils/semodule-utils.mk b/package/semodule-utils/semodule-utils.mk
index 9a0f084128..b58f7535f1 100644
--- a/package/semodule-utils/semodule-utils.mk
+++ b/package/semodule-utils/semodule-utils.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SEMODULE_UTILS_VERSION = 3.5
+SEMODULE_UTILS_VERSION = 3.6
 SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION)
 SEMODULE_UTILS_LICENSE = GPL-2.0
 SEMODULE_UTILS_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 8/9] package/selinux-python: bump version to 3.6
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
                   ` (5 preceding siblings ...)
  2024-02-26 20:54 ` [Buildroot] [PATCH 7/9] package/semodule-utils: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  2024-02-26 20:54 ` [Buildroot] [PATCH 9/9] package/setools: bump version to 4.4.4 Adam Duskett
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/selinux-python/selinux-python.hash | 2 +-
 package/selinux-python/selinux-python.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/selinux-python/selinux-python.hash b/package/selinux-python/selinux-python.hash
index 3592540703..96be214fd3 100644
--- a/package/selinux-python/selinux-python.hash
+++ b/package/selinux-python/selinux-python.hash
@@ -1,5 +1,5 @@
 # https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256  8245bb4dae59333461f19ca0c79a829081f07972fa5e3ad4c2b2b917dd71d96b  selinux-python-3.5.tar.gz
+sha256  e2867d4cd26f9869c55216cc20ca7d10442491a0fbf256116ade99ec39426ec0  selinux-python-3.6.tar.gz
 
 # Hash for license file
 sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  LICENSE
diff --git a/package/selinux-python/selinux-python.mk b/package/selinux-python/selinux-python.mk
index 7505474aa4..84fc9cbc22 100644
--- a/package/selinux-python/selinux-python.mk
+++ b/package/selinux-python/selinux-python.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SELINUX_PYTHON_VERSION = 3.5
+SELINUX_PYTHON_VERSION = 3.6
 SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SELINUX_PYTHON_VERSION)
 SELINUX_PYTHON_LICENSE = GPL-2.0
 SELINUX_PYTHON_LICENSE_FILES = LICENSE
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 9/9] package/setools: bump version to 4.4.4
  2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
                   ` (6 preceding siblings ...)
  2024-02-26 20:54 ` [Buildroot] [PATCH 8/9] package/selinux-python: " Adam Duskett
@ 2024-02-26 20:54 ` Adam Duskett
  7 siblings, 0 replies; 11+ messages in thread
From: Adam Duskett @ 2024-02-26 20:54 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 ...1-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch | 2 +-
 package/setools/setools.hash                                    | 2 +-
 package/setools/setools.mk                                      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch
index 36063a4e13..67c306e99c 100644
--- a/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch
+++ b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch
@@ -59,7 +59,7 @@ index 5f4e764..a27b781 100755
  import argparse
  import sys
  import logging
-@@ -91,8 +92,8 @@ elif args.booleans is not None:
+@@ -94,8 +95,8 @@ elif args.booleans is not None:
  try:
      p = setools.SELinuxPolicy(args.policy)
      m = setools.PermissionMap(args.map)
diff --git a/package/setools/setools.hash b/package/setools/setools.hash
index 6a61fc2809..bb98231de9 100644
--- a/package/setools/setools.hash
+++ b/package/setools/setools.hash
@@ -1,5 +1,5 @@
 # Locally computed
-sha256  29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace  setools-4.4.3.tar.gz
+sha256  92afeea2f2433cbb981ff47f6ce4e2485d9202b530842f7f5d95f905b2ddaea4  setools-4.4.4.tar.gz
 sha256  0e58d74751e394f39748c7b7b4039d6a883b5def9711160668ba962b52e69e01  COPYING
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING.GPL
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LGPL
diff --git a/package/setools/setools.mk b/package/setools/setools.mk
index efb3869e5b..1ffc2852d2 100644
--- a/package/setools/setools.mk
+++ b/package/setools/setools.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SETOOLS_VERSION = 4.4.3
+SETOOLS_VERSION = 4.4.4
 SETOOLS_SITE = $(call github,SELinuxProject,setools,$(SETOOLS_VERSION))
 SETOOLS_DEPENDENCIES = libselinux libsepol python-setuptools host-bison host-flex host-python-cython host-swig
 SETOOLS_INSTALL_STAGING = YES
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 3/9] package/libselinux: bump version to 3.6
  2024-02-26 20:54 ` [Buildroot] [PATCH 3/9] package/libselinux: " Adam Duskett
@ 2024-03-02 17:07   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-03-02 17:07 UTC (permalink / raw)
  To: Adam Duskett; +Cc: buildroot

Hello Adam,

On Mon, 26 Feb 2024 13:54:39 -0700
Adam Duskett <adam.duskett@amarulasolutions.com> wrote:

> Remove upstreamed patches
> 
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>

Thanks for this update.

However, could you clarify where patch 0002 has been upstreamed? I've
looked at the upstream code as of version 3.6, and it's still using
PYCEXT.

Also patch 0001 has not "really" been upstreamed, the issue has been
fixed in a different way, so I added to the commit log:

"""
Patch 0001-fix-musl-build.patch is no longer needed as the issue has
been fixed by upstream commit
d88597798fdb1a2b344ca47e48f2f80ad433fd95, which resolves the same
issue, in a different way.
"""

But unfortunately, I need additional details about why patch 0002 is no
longer needed.

Also, you missed updating .checkpackageignore, so this patch causes two
new "make check-package" warnings.

Thanks in advance for your feedback!

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 4/9] package/policycoreutils: bump version to 3.6
  2024-02-26 20:54 ` [Buildroot] [PATCH 4/9] package/policycoreutils: " Adam Duskett
@ 2024-03-02 17:10   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-03-02 17:10 UTC (permalink / raw)
  To: Adam Duskett; +Cc: buildroot

Hello Adam,

On Mon, 26 Feb 2024 13:54:40 -0700
Adam Duskett <adam.duskett@amarulasolutions.com> wrote:

> setsebool/Makefile now unconditionally links against libsepol.
> As such, it is now a new dependency.
> 
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>

Some minor nit I would have fixed myself when applying, but since a v2
will be needed due to the PATCH 3/9 issue, here is a very minor comment.

> ---
>  package/policycoreutils/Config.in            | 1 +
>  package/policycoreutils/policycoreutils.hash | 2 +-
>  package/policycoreutils/policycoreutils.mk   | 4 ++--
>  3 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/package/policycoreutils/Config.in b/package/policycoreutils/Config.in
> index 3201c8fede..46a367129a 100644
> --- a/package/policycoreutils/Config.in
> +++ b/package/policycoreutils/Config.in
> @@ -10,6 +10,7 @@ config BR2_PACKAGE_POLICYCOREUTILS
>  	depends on !BR2_STATIC_LIBS # libsemanage
>  	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage -> libselinux -> libsepol
>  	select BR2_PACKAGE_LIBSEMANAGE
> +	select BR2_PACKAGE_LIBSEPOL

Would be nice to update the depends on comments:

        depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage, libsepol
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage, libsepol

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-02 17:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 20:54 [Buildroot] [PATCH 1/9] package/libsepol: bump to version 3.6 Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 2/9] package/libsemanage: bump version to 3.6 Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 3/9] package/libselinux: " Adam Duskett
2024-03-02 17:07   ` Thomas Petazzoni via buildroot
2024-02-26 20:54 ` [Buildroot] [PATCH 4/9] package/policycoreutils: " Adam Duskett
2024-03-02 17:10   ` Thomas Petazzoni via buildroot
2024-02-26 20:54 ` [Buildroot] [PATCH 5/9] package/checkpolicy: " Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 6/9] package/restorecond: " Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 7/9] package/semodule-utils: " Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 8/9] package/selinux-python: " Adam Duskett
2024-02-26 20:54 ` [Buildroot] [PATCH 9/9] package/setools: bump version to 4.4.4 Adam Duskett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox