* [ptxdist] [PATCH] sed: follow GLOBAL_SELINUX
@ 2026-11-21 9:11 Ladislav Michl
0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21 9:11 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/sed.in | 1 +
rules/sed.make | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/sed.in b/rules/sed.in
index f87ce26ad..14c69d24c 100644
--- a/rules/sed.in
+++ b/rules/sed.in
@@ -3,6 +3,7 @@
config SED
tristate
select GCCLIBS_GCC_S
+ select LIBSELINUX if GLOBAL_SELINUX
depends on !BUSYBOX_SED || ALLYES
prompt "sed"
help
diff --git a/rules/sed.make b/rules/sed.make
index 57753f4c6..fce8e7b80 100644
--- a/rules/sed.make
+++ b/rules/sed.make
@@ -48,7 +48,7 @@ SED_CONF_OPT := \
--disable-gcc-warnings \
--disable-bold-man-page-references \
--without-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:11 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:11 [ptxdist] [PATCH] sed: 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