mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] tar: follow GLOBAL_SELINUX
@ 2026-11-21  9:12 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21  9:12 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/tar.in   | 1 +
 rules/tar.make | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/tar.in b/rules/tar.in
index a42ff99b5..58290759d 100644
--- a/rules/tar.in
+++ b/rules/tar.in
@@ -4,6 +4,7 @@ config TAR
 	tristate
 	select LIBC_RT
 	select GCCLIBS_GCC_S
+	select LIBSELINUX	if GLOBAL_SELINUX
 	depends on !BUSYBOX_TAR || ALLYES
 	prompt "tar"
 	help
diff --git a/rules/tar.make b/rules/tar.make
index a01f47cea..1e870232f 100644
--- a/rules/tar.make
+++ b/rules/tar.make
@@ -44,7 +44,7 @@ TAR_CONF_OPT	:= \
 	--$(call ptx/endis, PTXDIST_Y2038)-year2038 \
 	--with-posix-acls \
 	--with-included-regex \
-	--without-selinux \
+	--$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \
 	--with-packager \
 	--with-packager-version \
 	--with-packager-bug-reports \
-- 
2.47.3




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

only message in thread, other threads:[~2026-11-21  9:12 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:12 [ptxdist] [PATCH] tar: 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