From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 18 Sep 2024 18:41:32 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sqxkD-005loD-0I for lore@lore.pengutronix.de; Wed, 18 Sep 2024 18:41:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sqxkC-0000xQ-4i; Wed, 18 Sep 2024 18:41:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sqxjq-0000w0-Q0 for ptxdist@pengutronix.de; Wed, 18 Sep 2024 18:41:10 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sqxjq-008r7M-DL for ptxdist@pengutronix.de; Wed, 18 Sep 2024 18:41:10 +0200 Received: from localhost ([::1] helo=dude04.red.stw.pengutronix.de) by dude04.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1sqxjq-0067VK-1A for ptxdist@pengutronix.de; Wed, 18 Sep 2024 18:41:10 +0200 From: Jonas Rebmann Date: Wed, 18 Sep 2024 18:41:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240918-gnupg-gpgtar-v1-1-57ba7f5c9bad@pengutronix.de> X-B4-Tracking: v=1; b=H4sIAJ0C62YC/x2NSQrDMAwAvxJ0rsF20vUrIQfZVRUd6hopLYWQv 9fpcRiGWcFIhQxu3QpKHzF5lQbh0EGesTA5uTeG6OPgr+HiuLwrO668oLrzMfo+nHKIaYCWJDR ySbHkeY+eaAvpLqrSQ77/zzht2w8I5SBMdwAAAA== To: ptxdist X-Mailer: b4 0.12.0 Subject: [ptxdist] [PATCH] gnupg: add gpgtar option X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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