From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 16 Nov 2026 08:53:43 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xSrX5-0000KQ-0J for lore@lore.pengutronix.de; Mon, 16 Nov 2026 08:53:43 +0100 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSr7e-0000AA-FP; Mon, 16 Nov 2026 08:27:26 +0100 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSr6y-0006JA-5p for ptxdist@pengutronix.de; Mon, 16 Nov 2026 08:26:44 +0100 Received: from h3.cmg1.smtp.forpsi.com (h3.cmg1.smtp.forpsi.com [185.129.138.162]) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPS id 00309200F26 for ; Mon, 16 Nov 2026 08:26:43 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1794814004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=/w/rgqk2SnMv3LMg+d2Id8vX2gTeag5HzI7jgxzbC2I=; b=gi3SF0jeaYjV1NVyWjB7dIfpZj4lguCv1FD6ZQDAeAraQyzD/iaZcjBjapMhnYmNxO0INJ pkrG+5Xr5Y4mQ60usdz8150Jt3KpmZvwDKoLJ+05djOH1wPrxDgLnvecw54tVsSKnsmDzA pL6myj3grV4adl88jxezcfZoVaX01jf0xb8VTQr/m1IWSt5F61ep2HLlDblLuDWDr1q0SB RoX9iOkb2tepZzVwP98A/szeL7URv5AXTp8AFL8h17fPIJ2Wawd2YZwQz/PUR1hobT912n aT5nVziWVez6fCS9vbA2B3p06zqBETiaxynBkjkT/3K0dZcUDQHjRtNa/OKzGA== ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1794814004; a=rsa-sha256; cv=none; b=D1Cg1M7iztOiWUJZBVmcX00n/HHjt5cKd99DbqNx9CwR5j9YgP73OfZhM+FmZ/hveYpZOJ ppFRbIXFh8oMPFY3jJKZh/G80lE9RwE6JFaqkd2rMvyAolkuJbcQFWjWedT8kY2g9ysb15 3KhBczPk3hOuLM3Tjw4iXLw1vKLJCEyvYm8yUzq1VSwb2GkeWgBKdaNSmVWHF41T6ka8eG 6cq5QtqFoYCLxgxZEX1DlcF02/DxVLXyGCcIWMStIt/T7A3WWZC1n13mSUxiIyX+WT5C8w pU4gwz52KiQ5qKUUnee5v6bZlMFiKsJFjaKmK46PXVUnI9PijIuJ7hTDtMtzRA== ARC-Authentication-Results: i=1; mx1.white.stw.pengutronix.de; dkim=pass header.d=triops.cz header.s=f2019 header.b=vKby76Qg; spf=none (mx1.white.stw.pengutronix.de: domain of oss-lists@triops.cz has no SPF policy when checking 185.129.138.162) smtp.mailfrom=oss-lists@triops.cz; dmarc=none Received: from localhost.localdomain ([91.218.190.200]) by cmgsmtp with ESMTPSA id Sr6ux1qkrkQfeSr6xxJMQY; Mon, 16 Nov 2026 08:26:43 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Date: Mon, 16 Nov 2026 08:26:36 +0100 Message-ID: <20261116072639.3157459-17-oss-lists@triops.cz> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261116072639.3157459-1-oss-lists@triops.cz> References: <20261116072639.3157459-1-oss-lists@triops.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfNx2sxvU4umvfK8n5B+sqUZGzMf/U7JvSIRwAaWAS2WWq47zPrASHVTFzaXbFtesH9iGHly7S6FPKLxOtNg9URyJUg2GiA+Bnd0NM7k6js0ntchav3HJ 4g/MVSWpFPU8w2PzH93ycy4aXPfqRmU+Ah0gHX0j0GXW3o/ki4yE1FssYoRgZQG5y/rwq/GIE7RjBm/fh04cYyk2K7MrSfUDbdE= X-Spamd-Result: default: False [-1.60 / 15.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[triops.cz:s=f2019]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:24806, ipnet:185.129.136.0/22, country:CZ]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.993]; ARC_SIGNED(0.00)[pengutronix.de:s=20260414:i=1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[triops.cz]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[triops.cz:+] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 00309200F26 X-Rspamd-Server: mx1 X-Stat-Signature: g3i6w3ou5o7whtfhabdgc5wne5pz9a53 Subject: [ptxdist] [PATCH v3 16/18] Revert "sepolgen: remove after one year in staging" X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false From: Ladislav Michl This partially reverts commit 9fe5462616de2ce93663f409f471ea83a6d5fbb5. Signed-off-by: Ladislav Michl --- 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 +# +# 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 ") + @$(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