mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] systemd: regexp matching support using pcre2
@ 2023-02-16  9:19 Artur Wiebe
  2023-02-17 15:36 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Wiebe @ 2023-02-16  9:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/systemd.in   | 5 +++++
 rules/systemd.make | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/rules/systemd.in b/rules/systemd.in
index 17997574b..e18bdb24f 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -23,6 +23,7 @@ menuconfig SYSTEMD
 	select XZ		if SYSTEMD_XZ
 	select LZ4		if SYSTEMD_LZ4
 	select ZSTD		if SYSTEMD_ZSTD
+	select PCRE2		if SYSTEMD_PCRE2
 	select LIBMICROHTTPD	if SYSTEMD_MICROHTTPD
 	select LIBSECCOMP	if SYSTEMD_SECCOMP
 	select IPTABLES		if SYSTEMD_IPMASQUERADE
@@ -180,6 +181,10 @@ config SYSTEMD_ZSTD
 	bool
 	prompt "ZSTD compressed journal support"
 
+config SYSTEMD_PCRE2
+	bool
+	prompt "regexp matching support using pcre2"
+
 config SYSTEMD_JOURNAL_REMOTE
 	bool
 	select SYSTEMD_MICROHTTPD
diff --git a/rules/systemd.make b/rules/systemd.make
index 7e085f49d..298b05702 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -151,7 +151,7 @@ SYSTEMD_CONF_OPT	:= \
 	-Doss-fuzz=false \
 	-Dp11kit=false \
 	-Dpam=false \
-	-Dpcre2=false \
+	-Dpcre2=$(call ptx/truefalse,PTXCONF_SYSTEMD_PCRE2) \
 	-Dpolkit=$(call ptx/truefalse,PTXCONF_SYSTEMD_POLKIT) \
 	-Dportabled=false \
 	-Dpstore=false \
-- 
2.39.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-17 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16  9:19 [ptxdist] [PATCH] systemd: regexp matching support using pcre2 Artur Wiebe
2023-02-17 15:36 ` [ptxdist] [APPLIED] " Michael Olbrich

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