Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 00/13] Selinux: bump to 3.5
@ 2023-04-24 20:25 Adam Duskett
  2023-04-24 20:25 ` [Buildroot] [PATCH 01/13] package/libglib2/0003-disable-building-docs.patch Adam Duskett
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Adam Duskett @ 2023-04-24 20:25 UTC (permalink / raw)
  To: buildroot
  Cc: Marcus Folkesson, Antoine Tenart, Asaf Kahlon, Thomas Petazzoni,
	Fabrice Fontaine, Adam Duskett

It's been quite some time since anyone updated the SELinux packages (mainly me!)

Most of the changes are straight forward:
  - Update the package to 3.5
  - Change the license file from COPYING to LICENSE.
    (The COPYING file has been renamed to LICENSE.)

Some notes for specific packages:
  - Audit now installs ausearch to /usr/sbin (or we do?) As such, a small patch
    for selinux-python is necessary to change the patch for ausearch from /sbin
    to /usr/sbin

  - libselinux now requires host-pip to install the python modules.
    Surprisingly, host-pip3 cross-compiles the modules without issue and just
    worked. I should buy a lottery ticket!

  - I found out that if you have rst2html5 on the host, the glib meson package
    tries to use it to generate documents, which causes a failure on installing
    to the target. Luckily we don't want the documents so the fix is to simply
    remove the docs/ subdirectroy from meson.build. This patch is tiny and won't
    be a headache to maintain.

Tested on Fedora 38. Both with pc_efi and aarch-virt configs.

Adam Duskett (13):
  package/libglib2/0003-disable-building-docs.patch
  package/python-pip: add host variant
  package/libsepol: bump to version 3.5
  package/libsemanage: bump to version 3.5
  package/libselinux: bump to version 3.5
  package/policycoreutils: bump to version 3.5
  package/checkpolicy: bump to version 3.5
  package/restorecond: bump to version 3.5
  package/semodule-utils: bump to version 3.5
  package/audit: bump to version 3.1
  package/selinux-python: bump to version 3.5
  package/setools: bump to version 4.4.2
  package/refpolicy: bump to version 2.20221101

 package/audit/audit.hash                      |  2 +-
 package/audit/audit.mk                        |  2 +-
 package/checkpolicy/checkpolicy.hash          |  4 +-
 package/checkpolicy/checkpolicy.mk            |  4 +-
 .../libglib2/0003-disable-building-docs.patch | 38 ++++++++++++++
 package/libselinux/0001-fix-musl-build.patch  |  4 +-
 ...T-and-rely-on-the-installed-file-nam.patch |  8 +--
 package/libselinux/Config.in                  |  1 +
 package/libselinux/libselinux.hash            |  2 +-
 package/libselinux/libselinux.mk              | 16 ++++--
 package/libsemanage/libsemanage.hash          |  4 +-
 package/libsemanage/libsemanage.mk            |  4 +-
 package/libsepol/libsepol.hash                |  4 +-
 package/libsepol/libsepol.mk                  |  4 +-
 ...-all-paths-that-use-an-absolute-path.patch |  2 +-
 package/policycoreutils/policycoreutils.hash  |  4 +-
 package/policycoreutils/policycoreutils.mk    |  4 +-
 package/python-pip/python-pip.mk              |  1 +
 package/refpolicy/refpolicy.hash              |  2 +-
 package/refpolicy/refpolicy.mk                |  2 +-
 package/restorecond/restorecond.hash          |  4 +-
 package/restorecond/restorecond.mk            |  4 +-
 .../0001-fix-ausearch-path.patch              | 37 ++++++++++++++
 package/selinux-python/selinux-python.hash    |  4 +-
 package/selinux-python/selinux-python.mk      |  4 +-
 package/semodule-utils/semodule-utils.hash    |  4 +-
 package/semodule-utils/semodule-utils.mk      |  4 +-
 ...e-setools.InfoFlowAnalysis-and-setoo.patch | 50 +++++++++----------
 package/setools/setools.hash                  |  4 +-
 package/setools/setools.mk                    |  2 +-
 30 files changed, 158 insertions(+), 71 deletions(-)
 create mode 100644 package/libglib2/0003-disable-building-docs.patch
 create mode 100644 package/selinux-python/0001-fix-ausearch-path.patch

-- 
2.40.0

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

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

end of thread, other threads:[~2023-04-24 20:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 20:25 [Buildroot] [PATCH 00/13] Selinux: bump to 3.5 Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 01/13] package/libglib2/0003-disable-building-docs.patch Adam Duskett
2023-04-24 20:49   ` Peter Seiderer
2023-04-24 20:25 ` [Buildroot] [PATCH 02/13] package/python-pip: add host variant Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 03/13] package/libsepol: bump to version 3.5 Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 04/13] package/libsemanage: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 05/13] package/libselinux: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 06/13] package/policycoreutils: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 07/13] package/checkpolicy: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 08/13] package/restorecond: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 09/13] package/semodule-utils: " Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 10/13] package/audit: bump to version 3.1 Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 11/13] package/selinux-python: bump to version 3.5 Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 12/13] package/setools: bump to version 4.4.2 Adam Duskett
2023-04-24 20:25 ` [Buildroot] [PATCH 13/13] package/refpolicy: bump to version 2.20221101 Adam Duskett

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