mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jonas Rebmann <jre@pengutronix.de>
To: ptxdist <ptxdist@pengutronix.de>
Cc: Jonas Rebmann <jre@pengutronix.de>
Subject: [ptxdist] [PATCH v2] gnupg: add gpgtar option
Date: Thu, 19 Sep 2024 15:34:43 +0200	[thread overview]
Message-ID: <20240918-gnupg-gpgtar-v2-1-337e7622a0b5@pengutronix.de> (raw)

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

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
Changes in v2:
- Added the forgotten Signed-off-by
- Link to v1: https://lore.ptxdist.org/ptxdist/20240918-gnupg-gpgtar-v1-1-57ba7f5c9bad@pengutronix.de
---
 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>




                 reply	other threads:[~2024-09-19 13:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240918-gnupg-gpgtar-v2-1-337e7622a0b5@pengutronix.de \
    --to=jre@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox