From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 31 Oct 2026 21:38:49 +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 1xNFqi-005gOr-3A for lore@lore.pengutronix.de; Sat, 31 Oct 2026 21:38:49 +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 1xNFqh-0002ON-T9; Sat, 31 Oct 2026 21:38:47 +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 1xNFqN-0001wg-47 for ptxdist@pengutronix.de; Sat, 31 Oct 2026 21:38:27 +0100 Received: from h4.cmg2.smtp.forpsi.com (h4.cmg2.smtp.forpsi.com [185.129.138.189]) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPS id C2B1D202882 for ; Sat, 31 Oct 2026 21:38:26 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1793479106; 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=6NfJS9bBx5bMerjVRpg2b99cUSOM9hs9uLjG1k78+Ms=; b=hBj9LyakFaSYkkPeACJcAF1Z9f9vx+JMR6cOXtztTd60QCvwLXgjO4GhjGAvZHGEjET4qA brximMxyhWc8dRsu6AUwb8bO+RH+RLIXyejFINGo4kRyD1tVoi+FMq5dYG8fWf8ub/h3NG kJLCs263cnYX0d3dfFi0UHEPJ9GiFmfWjQmbdD/jyevAPWFzW6FllOmjN39NbIUQvxb9xd cmg4GGlqHplNN5nGZwzgyuukqmNLngzE0sn+ca3oRSS60tK6JIO0SSkWkwDrik/ryDSgeX elbmBXC9LyiXFm9WoWLHu5DykTHYWGmZP0xt1M1n/C2KZ5GVpkFJca68tanryg== ARC-Authentication-Results: i=1; mx1.white.stw.pengutronix.de; dkim=pass header.d=triops.cz header.s=f2019 header.b=nTzPVXQM; spf=none (mx1.white.stw.pengutronix.de: domain of oss-lists@triops.cz has no SPF policy when checking 185.129.138.189) smtp.mailfrom=oss-lists@triops.cz; dmarc=none ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1793479106; a=rsa-sha256; cv=none; b=fdUoaPkuoevss+uxplLfc8iS27eZDrZrHLUgZi+RhyebIeWWA2s9QVWJstQIadHtlUDnq5 tZJsv1R/aGkv1rFpBVBcjVpxqjd3KPcG6KkYhIPXMOK6W5lfu7n0NLFtfzjzVQwUPt9+Se ynlEcIlT/vlG7wV9Zdp1RWYxYA1An8tYXdx60PVelyuWRFbRWw3MEv1IkgpRG7Jf/Pm4C9 6oBv6yfesYR96dwkFPPk4pX4KF+lB6G1p1fGOWQd2NCteRR5YC/kBcggNIP4XcAd+8JbUh Gbg28wehBeuyPKD/JeFRj9YSj1Ij1PQLAQAYIYlw0XyFtTtVv9YSm8LMnAa8HQ== Received: from localhost.localdomain ([91.218.190.200]) by cmgsmtp with ESMTPSA id NFqKxUpN38HlqNFqMxK73R; Sat, 31 Oct 2026 21:38:26 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Date: Sat, 31 Oct 2026 21:38:05 +0100 Message-ID: <20261031203823.357406-5-oss-lists@triops.cz> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261031203823.357406-1-oss-lists@triops.cz> References: <20261031203823.357406-1-oss-lists@triops.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfI7H2tmfFORRPEz2MLsYwbBTzNxgfyuiUjjt/MvYCnOfnpl3bsdxJWIp2x6TOk2hyFa2PTbiCeVpcYatjTCCm3xg6ftNy5lKSB1VJC0p+01DmGq3TzUZ XT4++Wp++i6Uk9T58f5Jr0XDRDr0fjBWQWPtNdRj2DEEhlfMXHaGDom8VH6LQDQUsxd4xubHFzaWRFnAkNHdZ0QV+zegcGnWdSc= 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)[]; ONCE_RECEIVED(0.20)[]; R_DKIM_ALLOW(-0.20)[triops.cz:s=f2019]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:24806, ipnet:185.129.136.0/22, country:CZ]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ARC_SIGNED(0.00)[pengutronix.de:s=20260414:i=1]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[triops.cz]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM(0.00)[0.540]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; R_SPF_NA(0.00)[no SPF record]; DKIM_TRACE(0.00)[triops.cz:+] X-Rspamd-Action: no action X-Rspamd-Server: mx1 X-Stat-Signature: h9c6zte5k7rt4d6wurosjfxdb3uamxzo X-Rspamd-Queue-Id: C2B1D202882 Subject: [ptxdist] [PATCH v2 04/17] Revert "*libsepol: remove" 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 43c4d983818f726dfe651ea72d4b5ddd6a5c91bc. Signed-off-by: Ladislav Michl --- CHANGES: - v2: do not restore host-libsepol, nothing uses it. Host tools are only needed to build a policy, so they should come back together with a policy package. rules/libsepol.in | 10 +++++++++ rules/libsepol.make | 55 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 rules/libsepol.in create mode 100644 rules/libsepol.make diff --git a/rules/libsepol.in b/rules/libsepol.in new file mode 100644 index 000000000..4ac087610 --- /dev/null +++ b/rules/libsepol.in @@ -0,0 +1,10 @@ +## SECTION=selinux + +config LIBSEPOL + tristate + prompt "libsepol" + help + libsepol provides an API for the manipulation of SELinux binary policies. + It is used by checkpolicy (the policy compiler) and similar tools, as well + as by programs like load_policy that need to perform specific transformations + on binary policies such as customizing policy boolean settings. diff --git a/rules/libsepol.make b/rules/libsepol.make new file mode 100644 index 000000000..cf5f4ef4d --- /dev/null +++ b/rules/libsepol.make @@ -0,0 +1,55 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Wolfram Sang +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBSEPOL) += libsepol + +# +# Paths and names +# +LIBSEPOL_VERSION := 2.1.8 +LIBSEPOL_MD5 := 56fa100ed85d7f06bd92f2892d92b3b0 +LIBSEPOL := libsepol-$(LIBSEPOL_VERSION) +LIBSEPOL_SUFFIX := tar.gz +LIBSEPOL_URL := https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20120924/$(LIBSEPOL).$(LIBSEPOL_SUFFIX) +LIBSEPOL_SOURCE := $(SRCDIR)/$(LIBSEPOL).$(LIBSEPOL_SUFFIX) +LIBSEPOL_DIR := $(BUILDDIR)/$(LIBSEPOL) +LIBSEPOL_LICENSE := LGPL-2.1-or-later + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBSEPOL_CONF_TOOL := NO +LIBSEPOL_MAKE_ENV := \ + $(CROSS_ENV) \ + SHLIBDIR=$(LIBSEPOL_PKGDIR)/usr/lib \ + CFLAGS="-O2 -Wall -g" + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libsepol.targetinstall: + @$(call targetinfo) + + @$(call install_init, libsepol) + @$(call install_fixup, libsepol,PRIORITY,optional) + @$(call install_fixup, libsepol,SECTION,base) + @$(call install_fixup, libsepol,AUTHOR,"Wolfram Sang ") + @$(call install_fixup, libsepol,DESCRIPTION,missing) + + @$(call install_lib, libsepol, 0, 0, 0644, libsepol) + + @$(call install_finish, libsepol) + + @$(call touch) + +# vim: syntax=make -- 2.47.3