From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 20 Oct 2026 13:49:38 +0200 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 1xJ8LZ-0010xi-2k for lore@lore.pengutronix.de; Tue, 20 Oct 2026 13:49:38 +0200 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 1xJ8LY-00019m-Gr; Tue, 20 Oct 2026 13:49:36 +0200 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xJ8LC-0000Rc-BC for ptxdist@pengutronix.de; Tue, 20 Oct 2026 13:49:15 +0200 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 E5C7E20227A for ; Tue, 20 Oct 2026 13:49:13 +0200 (CEST) ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1792496954; a=rsa-sha256; cv=none; b=UnDbxbZa1jyu4an8B3iXoWmsjFRRPikzyEs3/7fXLUarGr6FYBjLRmrAPGjCd8zq5sTYrx /ffwYXNX0VINgvBzvvmDhZHJvoLzDTxBI1hmLtnuoMAuGKahd4mWYNpbStk+4m6wI0EP/+ 5QdykXcYa/GLgPVsdevCPK1mQHcLJbdoblHqg7UIHfTOb0lvacq7mdGpybM51OOpviNm4J rKZpVjq/RMknLrJACsS6KEAkHNHFXPyAmhRJSerusqyGQFnzyXnN/BmrkYtrBg/21J/Myf grZTt1KZ0w06+t23B8kn3CmLY274wWsOFK5J3hTcIc7jUa84BXf+N+FNFqeUMQ== ARC-Authentication-Results: i=1; mx1.white.stw.pengutronix.de; dkim=pass header.d=triops.cz header.s=f2019 header.b=2s0eVcbs; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1792496954; 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=gEQLKQlLXH8WYeHCZuegBAnLK109mNw3XAVoaw/3FpM=; b=g+qbwQlpOWElcW0IotimoB17vpTy3PNKOlYDNDhzD7P9d28tDGb1EvVUasx5Lkx2GMJCdY Ietl/ZUpytSDH2bdxl8HJPSJBKXxhLgHhi8i9iO6Vsd2Oo1j+F4NaETX/Go9ewNkJR2HLw 962TUvxuGFVCQebWsNvu9zUQbcrFocANA32u6qsr7bERsmrQatQFKo5sBWqeGwCl2+YYFF kWXs7l2GFIsRN0Xp/I78ksNGo/VQTf/1+Gz9h/LIjNMJLzyZowE61M0pvqfICxgj7RaSh/ uX8I321/J1YXaTVW4MFE1mAGDAfzbZApCAm4u/ic2xvN7dYGb5gKyNwQoEk/9g== Received: from localhost.localdomain ([91.218.190.200]) by cmgsmtp with ESMTPSA id J8LAx5Bd8NbEUJ8LBxFQ9d; Tue, 20 Oct 2026 13:49:13 +0200 From: Ladislav Michl To: ptxdist@pengutronix.de Date: Tue, 20 Oct 2026 13:48:57 +0200 Message-ID: <195d1725e4e7965e6014108770822d5ea66d5592.1792491301.git.ladis@triops.cz> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfCeC9FVkkSTTWVguCoNh+PRLlZqoEiDfx1AbM52JI7CzGgf2ae9Kq8gHbTXKl7D5dzl/Sfsd47iDmXQ6T8qnNugpZucyIQm2pn/hh5pbZW6bmIY3xOm8 AFgoeKPF5cv7Zk0QA5EYll1Rkn4YCkwv3NXWAX+aG4PnxYL7ZPx1uotfBcCDBjXaZ7gUVg7AkaX0DS0T0vYU2+RHhgWlcRzzAIk= X-Rspamd-Server: mx1 X-Rspamd-Queue-Id: E5C7E20227A X-Spamd-Result: default: False [-2.60 / 15.00]; BAYES_HAM(-3.00)[100.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]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; 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_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[triops.cz]; ARC_SIGNED(0.00)[pengutronix.de:s=20260414:i=1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM(-0.00)[-0.990]; DKIM_TRACE(0.00)[triops.cz:+] X-Rspamd-Action: no action X-Stat-Signature: 3tiwpnmhd1jik9jjqapsj9m1qb9udwki X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v1 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 --- rules/host-libsepol.in | 5 ++++ rules/host-libsepol.make | 24 ++++++++++++++++++ rules/libsepol.in | 10 ++++++++ rules/libsepol.make | 55 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 rules/host-libsepol.in create mode 100644 rules/host-libsepol.make create mode 100644 rules/libsepol.in create mode 100644 rules/libsepol.make diff --git a/rules/host-libsepol.in b/rules/host-libsepol.in new file mode 100644 index 000000000..fd5c71bdf --- /dev/null +++ b/rules/host-libsepol.in @@ -0,0 +1,5 @@ +## SECTION=hosttools_noprompt + +config HOST_LIBSEPOL + tristate + default y if ALLYES diff --git a/rules/host-libsepol.make b/rules/host-libsepol.make new file mode 100644 index 000000000..b20b2e113 --- /dev/null +++ b/rules/host-libsepol.make @@ -0,0 +1,24 @@ +# -*-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 +# +HOST_PACKAGES-$(PTXCONF_HOST_LIBSEPOL) += host-libsepol + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_LIBSEPOL_CONF_TOOL := NO +HOST_LIBSEPOL_MAKE_ENV := \ + $(HOST_ENV) \ + SHLIBDIR=$(HOST_LIBSEPOL_PKGDIR)/usr/lib \ + CFLAGS="-O2 -Wall -g" + +# vim: syntax=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