From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v3 00/18] selinux: back at version 3.11
Date: Mon, 16 Nov 2026 08:26:20 +0100 [thread overview]
Message-ID: <20261116072639.3157459-1-oss-lists@triops.cz> (raw)
From: Ladislav Michl <ladis@triops.cz>
This serie was originally written for selinux-3.0 in 2019 when all the
patches were just version bumps with fixes. Now, once PTXdist dropped
most of them after quite some time in staging, every package is first
restored by a partial revert of its removal commit, followed by a version
bump that does the actual changes. Only the still needed files are
restored by each revert. This will hopefully make the serie easier
to review and keep a history in tree.
Tested on an ARMv7 target with glibc and python 3.13.
This is a third attempt, see changelog appended to patches. The main
change is the libselinux python wrapper moved into a new package,
python3-libselinux. Rebased on current master.
Link to v2: https://lore.ptxdist.org/ptxdist/20261031203823.357406-1-oss-lists@triops.cz/
Link to v1: https://lore.ptxdist.org/ptxdist/cover.1792491301.git.ladis@triops.cz/
Ladislav Michl (18):
selinux: add common version and URL
Revert "python: remove after more than one year in staging"
host-swig: version bump 4.0.1 -> 4.5.1
Revert "*libsepol: remove"
libsepol: version bump 2.1.8 -> 3.11
Revert "libselinux: remove after more than one year in staging"
libselinux: version bump 2.1.12 -> 3.11
python3-libselinux: new package
audit: new package
Revert "libsemanage: remove after more than one year in staging"
libsemanage: version bump 2.1.9 -> 3.11
Revert "checkpolicy: remove after more than one year in staging"
checkpolicy: version bump 2.1.11 -> 3.11
Revert "policycoreutils: remove after more than one year in staging"
policycoreutils: version bump 2.1.13 -> 3.11
Revert "sepolgen: remove after one year in staging"
sepolgen: version bump 1.1.8 -> 3.11
selinux: restore the global option
patches/audit-userspace-4.2.1/autogen.sh | 1 +
...PyString_FromString-with-PyUnicode_F.patch | 48 ++++++
patches/libselinux-3.11/series | 4 +
rules/at.in | 1 +
rules/audit.in | 19 +++
rules/audit.make | 102 +++++++++++++
rules/busybox.in | 1 +
rules/casync.in | 1 +
rules/checkpolicy.in | 25 ++++
rules/checkpolicy.make | 59 ++++++++
rules/connman.in | 1 +
rules/core-selinux.in | 1 -
rules/coreutils.in | 1 +
rules/dbus.in | 6 +-
rules/dbus.make | 2 +-
rules/f2fs-tools.in | 1 +
rules/gnupg.in | 1 +
rules/host-swig.in | 6 +
rules/host-swig.make | 48 ++++++
rules/iproute2.in | 1 +
rules/iproute2.make | 3 +
rules/libselinux.in | 60 ++++++++
rules/libselinux.make | 101 +++++++++++++
rules/libsemanage.in | 24 +++
rules/libsemanage.make | 95 ++++++++++++
rules/libsepol.in | 11 ++
rules/libsepol.make | 60 ++++++++
rules/logrotate.in | 1 +
rules/lxc.in | 1 +
rules/mtd-utils.in | 1 +
rules/openssh.in | 1 +
rules/policycoreutils.in | 90 ++++++++++++
rules/policycoreutils.make | 138 ++++++++++++++++++
rules/pre/Rules.make | 6 -
rules/pre/selinux.make | 10 ++
rules/python3-libselinux.in | 12 ++
rules/python3-libselinux.make | 66 +++++++++
rules/selinux-python.in | 12 ++
rules/selinux-python.make | 80 ++++++++++
rules/shadow.in | 1 +
rules/strongswan.in | 1 +
rules/systemd.in | 1 +
42 files changed, 1091 insertions(+), 13 deletions(-)
create mode 120000 patches/audit-userspace-4.2.1/autogen.sh
create mode 100644 patches/libselinux-3.11/0001-libselinux-Replace-PyString_FromString-with-PyUnicode_F.patch
create mode 100644 patches/libselinux-3.11/series
create mode 100644 rules/audit.in
create mode 100644 rules/audit.make
create mode 100644 rules/checkpolicy.in
create mode 100644 rules/checkpolicy.make
create mode 100644 rules/host-swig.in
create mode 100644 rules/host-swig.make
create mode 100644 rules/libselinux.in
create mode 100644 rules/libselinux.make
create mode 100644 rules/libsemanage.in
create mode 100644 rules/libsemanage.make
create mode 100644 rules/libsepol.in
create mode 100644 rules/libsepol.make
create mode 100644 rules/policycoreutils.in
create mode 100644 rules/policycoreutils.make
create mode 100644 rules/pre/selinux.make
create mode 100644 rules/python3-libselinux.in
create mode 100644 rules/python3-libselinux.make
create mode 100644 rules/selinux-python.in
create mode 100644 rules/selinux-python.make
--
2.47.3
next reply other threads:[~2026-11-16 7:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 7:26 Ladislav Michl [this message]
2026-11-16 7:26 ` [ptxdist] [PATCH v3 01/18] selinux: add common version and URL Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 02/18] Revert "python: remove after more than one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 03/18] host-swig: version bump 4.0.1 -> 4.5.1 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 04/18] Revert "*libsepol: remove" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 05/18] libsepol: version bump 2.1.8 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 06/18] Revert "libselinux: remove after more than one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 07/18] libselinux: version bump 2.1.12 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 08/18] python3-libselinux: new package Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 09/18] audit: " Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 10/18] Revert "libsemanage: remove after more than one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 11/18] libsemanage: version bump 2.1.9 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 12/18] Revert "checkpolicy: remove after more than one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 13/18] checkpolicy: version bump 2.1.11 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 14/18] Revert "policycoreutils: remove after more than one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 15/18] policycoreutils: version bump 2.1.13 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 16/18] Revert "sepolgen: remove after one year in staging" Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 17/18] sepolgen: version bump 1.1.8 -> 3.11 Ladislav Michl
2026-11-16 7:26 ` [ptxdist] [PATCH v3 18/18] selinux: restore the global option Ladislav Michl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261116072639.3157459-1-oss-lists@triops.cz \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox