mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] findutils: follow GLOBAL_SELINUX
@ 2026-11-21  9:08 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21  9:08 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Enable SELinux support when the global option is set instead of always
disabling it.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/findutils.in   | 3 ++-
 rules/findutils.make | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/findutils.in b/rules/findutils.in
index 2977cfb04..f11799a69 100644
--- a/rules/findutils.in
+++ b/rules/findutils.in
@@ -2,7 +2,8 @@
 menuconfig FINDUTILS
 	tristate
 	prompt "findutils                     "
-	select GCCLIBS_GCC_S if FINDUTILS_FIND
+	select GCCLIBS_GCC_S	if FINDUTILS_FIND
+	select LIBSELINUX	if GLOBAL_SELINUX
 	help
 	  The Findutils package contains programs to find files. These programs are provided to
 	  recursively search through a directory tree and to create, maintain, and search a
diff --git a/rules/findutils.make b/rules/findutils.make
index 30a0f8c94..54c78b5a4 100644
--- a/rules/findutils.make
+++ b/rules/findutils.make
@@ -50,7 +50,7 @@ FINDUTILS_CONF_OPT := \
 	--disable-assert \
 	--disable-rpath \
 	--disable-nls \
-	--without-selinux
+	--$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-21  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21  9:08 [ptxdist] [PATCH] findutils: follow GLOBAL_SELINUX Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox