mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnupg: add gpgtar option
@ 2024-09-18 16:41 Jonas Rebmann
  2024-09-19  9:11 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Jonas Rebmann @ 2024-09-18 16:41 UTC (permalink / raw)
  To: ptxdist

we do need the gpgtar utility so an option to enable it would be helpful.

---
 rules/gnupg.in   | 4 ++++
 rules/gnupg.make | 5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/rules/gnupg.in b/rules/gnupg.in
index e515be093..e66ed0d40 100644
--- a/rules/gnupg.in
+++ b/rules/gnupg.in
@@ -31,6 +31,10 @@ config GNUPG_GPGV
 	bool
 	prompt "Install gpgv2"
 
+config GNUPG_GPGTAR
+	bool
+	prompt "Install gpgtar"
+
 config GNUPG_GPG_AGENT
 	bool
 	prompt "Install gpg-agent"
diff --git a/rules/gnupg.make b/rules/gnupg.make
index 18761ba60..efd9eddd2 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -47,7 +47,7 @@ GNUPG_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
 	--disable-keyboxd \
 	--disable-tpm2d \
 	--disable-doc \
-	--disable-gpgtar \
+	--$(call ptx/endis, PTXCONF_GNUPG_GPGTAR)-gpgtar \
 	--disable-wks-tools \
 	--disable-gpg-is-gpg2 \
 	--$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)-selinux-support \
@@ -125,6 +125,9 @@ endif
 ifdef PTXCONF_GNUPG_GPG_AGENT
 	@$(call install_copy, gnupg, 0, 0, 0755, -, /usr/bin/gpg-agent)
 endif
+ifdef PTXCONF_GNUPG_GPGTAR
+	@$(call install_copy, gnupg, 0, 0, 0755, -, /usr/bin/gpgtar)
+endif
 
 	@$(call install_finish, gnupg)
 

---
base-commit: 8de6ce90bc9c95e1d6d319dad00f9c8503168b93
change-id: 20240918-gnupg-gpgtar-7520316c12b4

Best regards,
-- 
Jonas Rebmann <jre@pengutronix.de>




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

end of thread, other threads:[~2024-09-19  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-18 16:41 [ptxdist] [PATCH] gnupg: add gpgtar option Jonas Rebmann
2024-09-19  9:11 ` Michael Olbrich

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