From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v3 16/18] Revert "sepolgen: remove after one year in staging"
Date: Mon, 16 Nov 2026 08:26:36 +0100 [thread overview]
Message-ID: <20261116072639.3157459-17-oss-lists@triops.cz> (raw)
In-Reply-To: <20261116072639.3157459-1-oss-lists@triops.cz>
From: Ladislav Michl <ladis@triops.cz>
This partially reverts commit 9fe5462616de2ce93663f409f471ea83a6d5fbb5.
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
CHANGES:
- v2: None
- v3: None
rules/sepolgen.in | 29 ++++++++++++++++++++++++
rules/sepolgen.make | 54 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
create mode 100644 rules/sepolgen.in
create mode 100644 rules/sepolgen.make
diff --git a/rules/sepolgen.in b/rules/sepolgen.in
new file mode 100644
index 000000000..94f2ce071
--- /dev/null
+++ b/rules/sepolgen.in
@@ -0,0 +1,29 @@
+## SECTION=staging
+## old section:
+### SECTION=selinux
+
+config SEPOLGEN
+ tristate
+ prompt "sepolgen"
+ select PYTHON
+ select LIBSELINUX
+ select LIBSELINUX_PYTHON
+ help
+ A Python module used in SELinux policy generation
+
+ This package contains a Python module that forms the core of
+ the modern audit2allow (which is a part of the package
+ policycoreutils). The sepolgen library is structured to give
+ flexibility to the application using it. The library
+ contains: Reference Policy Representation, which are Objects
+ for representing policies and the reference policy
+ interfaces. Secondly, it has objects and algorithms for
+ representing access and sets of access in an abstract way
+ and searching that access. It also has a parser for
+ reference policy "headers". It contains infrastructure for
+ parsing SELinux related messages as produced by the audit
+ system. It has facilities for generating policy based on
+ required access.
+
+ STAGING: remove in ptxdist-2020.06.0
+ Old version that needs to be updated.
diff --git a/rules/sepolgen.make b/rules/sepolgen.make
new file mode 100644
index 000000000..7084e1d1d
--- /dev/null
+++ b/rules/sepolgen.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_SEPOLGEN) += sepolgen
+
+#
+# Paths and names
+#
+SEPOLGEN_VERSION := 1.1.8
+SEPOLGEN_MD5 := d734ff236639cc1bd3a33901774fa98d
+SEPOLGEN := sepolgen-$(SEPOLGEN_VERSION)
+SEPOLGEN_SUFFIX := tar.gz
+SEPOLGEN_URL := https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20120924/$(SEPOLGEN).$(SEPOLGEN_SUFFIX)
+SEPOLGEN_SOURCE := $(SRCDIR)/$(SEPOLGEN).$(SEPOLGEN_SUFFIX)
+SEPOLGEN_DIR := $(BUILDDIR)/$(SEPOLGEN)
+SEPOLGEN_LICENSE := GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SEPOLGEN_CONF_TOOL := NO
+# no ':=' because of $(PYTHON_SITEPACKAGES)
+SEPOLGEN_MAKE_ENV = PYTHONLIBDIR=$(PYTHON_SITEPACKAGES)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/sepolgen.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, sepolgen)
+ @$(call install_fixup, sepolgen,PRIORITY,optional)
+ @$(call install_fixup, sepolgen,SECTION,base)
+ @$(call install_fixup, sepolgen,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
+ @$(call install_fixup, sepolgen,DESCRIPTION,missing)
+
+ @$(call install_tree, sepolgen, 0, 0, -, $(PYTHON_SITEPACKAGES))
+ @$(call install_alternative, sepolgen, 0, 0, 0644, /var/lib/sepolgen/perm_map)
+
+ @$(call install_finish, sepolgen)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.47.3
next prev parent 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 [ptxdist] [PATCH v3 00/18] selinux: back at version 3.11 Ladislav Michl
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 ` Ladislav Michl [this message]
2026-11-16 7:26 ` [ptxdist] [PATCH v3 17/18] sepolgen: version bump 1.1.8 " 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-17-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