mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 00/17] selinux: back at version 3.11
Date: Sat, 31 Oct 2026 21:38:01 +0100	[thread overview]
Message-ID: <20261031203823.357406-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 second attempt, see changelog appended to patches.

Link to v1: https://lore.ptxdist.org/ptxdist/cover.1792491301.git.ladis@triops.cz/

Ladislav Michl (17):
  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
  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                           |  66 +++++++++
 rules/libselinux.make                         | 126 ++++++++++++++++
 rules/libsemanage.in                          |  24 +++
 rules/libsemanage.make                        |  91 ++++++++++++
 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/selinux-python.in                       |  12 ++
 rules/selinux-python.make                     |  68 +++++++++
 rules/shadow.in                               |   1 +
 rules/strongswan.in                           |   1 +
 rules/systemd.in                              |   1 +
 40 files changed, 1028 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/selinux-python.in
 create mode 100644 rules/selinux-python.make

-- 
2.47.3




             reply	other threads:[~2026-10-31 20:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-31 20:38 Ladislav Michl [this message]
2026-10-31 20:38 ` [ptxdist] [PATCH v2 01/17] selinux: add common version and URL Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 02/17] Revert "python: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 03/17] host-swig: version bump 4.0.1 -> 4.5.1 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 04/17] Revert "*libsepol: remove" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 05/17] libsepol: version bump 2.1.8 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 06/17] Revert "libselinux: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 07/17] libselinux: version bump 2.1.12 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 08/17] audit: new package Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 09/17] Revert "libsemanage: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 10/17] libsemanage: version bump 2.1.9 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 11/17] Revert "checkpolicy: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 12/17] checkpolicy: version bump 2.1.11 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 13/17] Revert "policycoreutils: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 14/17] policycoreutils: version bump 2.1.13 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 15/17] Revert "sepolgen: remove after one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 16/17] sepolgen: version bump 1.1.8 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 17/17] 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=20261031203823.357406-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