mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] gnupg: add install option for gpg-agent
@ 2018-12-05 11:02 Hubert Feurstein
  2018-12-05 11:02 ` [ptxdist] [PATCH 2/2] gnupg: add compression algorithms support Hubert Feurstein
  0 siblings, 1 reply; 4+ messages in thread
From: Hubert Feurstein @ 2018-12-05 11:02 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
 rules/gnupg.in   | 4 ++++
 rules/gnupg.make | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/rules/gnupg.in b/rules/gnupg.in
index b921f1655..7118f25b1 100644
--- a/rules/gnupg.in
+++ b/rules/gnupg.in
@@ -29,6 +29,10 @@ config GNUPG_GPGV
 	bool
 	prompt "Install gpgv2"
 
+config GNUPG_GPG_AGENT
+	bool
+	prompt "Install gpg-agent"
+
 menu "public key algorithms"
 
 config GNUPG_GPG_RSA
diff --git a/rules/gnupg.make b/rules/gnupg.make
index 2afddb3bf..48585f9cd 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -114,6 +114,9 @@ ifdef PTXCONF_GNUPG_GPGV
 	@$(call install_copy, gnupg, 0, 0, 0755, -, /usr/bin/gpgv)
 	@$(call install_link, gnupg, gpgv, /usr/bin/gpgv2)
 endif
+ifdef PTXCONF_GNUPG_GPG_AGENT
+	@$(call install_copy, gnupg, 0, 0, 0755, -, /usr/bin/gpg-agent)
+endif
 
 	@$(call install_finish, gnupg)
 
-- 
2.17.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/2] gnupg: add compression algorithms support
  2018-12-05 11:02 [ptxdist] [PATCH 1/2] gnupg: add install option for gpg-agent Hubert Feurstein
@ 2018-12-05 11:02 ` Hubert Feurstein
  2018-12-07  9:50   ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Hubert Feurstein @ 2018-12-05 11:02 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
 rules/gnupg.in   | 12 ++++++++++++
 rules/gnupg.make |  4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/rules/gnupg.in b/rules/gnupg.in
index 7118f25b1..e5daad317 100644
--- a/rules/gnupg.in
+++ b/rules/gnupg.in
@@ -100,4 +100,16 @@ config GNUPG_GPG_RMD160
 
 endmenu
 
+menu "compression algorithms"
+
+config GNUPG_GPG_ZIP
+	bool
+	prompt "ZIP"
+
+config GNUPG_GPG_BZIP2
+	bool
+	prompt "BZIP2"
+
+endmenu
+
 endif
diff --git a/rules/gnupg.make b/rules/gnupg.make
index 48585f9cd..afbef7fcd 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -66,8 +66,8 @@ GNUPG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha224 \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha384 \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha512 \
-	--disable-zip \
-	--disable-bzip2 \
+	--$(call ptx/endis, PTXCONF_GNUPG_GPG_ZIP)-zip \
+	--$(call ptx/endis, PTXCONF_GNUPG_GPG_BZIP2)-bzip2 \
 	--disable-exec \
 	--disable-photo-viewers \
 	--disable-card-support \
-- 
2.17.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 2/2] gnupg: add compression algorithms support
  2018-12-05 11:02 ` [ptxdist] [PATCH 2/2] gnupg: add compression algorithms support Hubert Feurstein
@ 2018-12-07  9:50   ` Michael Olbrich
  2018-12-07 14:38     ` [ptxdist] [PATCH v2 " Hubert Feurstein
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2018-12-07  9:50 UTC (permalink / raw)
  To: ptxdist

On Wed, Dec 05, 2018 at 12:02:13PM +0100, Hubert Feurstein wrote:
> Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
> ---
>  rules/gnupg.in   | 12 ++++++++++++
>  rules/gnupg.make |  4 ++--
>  2 files changed, 14 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/gnupg.in b/rules/gnupg.in
> index 7118f25b1..e5daad317 100644
> --- a/rules/gnupg.in
> +++ b/rules/gnupg.in
> @@ -100,4 +100,16 @@ config GNUPG_GPG_RMD160
>  
>  endmenu
>  
> +menu "compression algorithms"
> +
> +config GNUPG_GPG_ZIP
> +	bool
> +	prompt "ZIP"
> +
> +config GNUPG_GPG_BZIP2
> +	bool
> +	prompt "BZIP2"

This requires some dependencies. Either the libs if it's builtin or the
tools if they are executed ('if RUNTIME' in that case).

Michael

> +
> +endmenu
> +
>  endif
> diff --git a/rules/gnupg.make b/rules/gnupg.make
> index 48585f9cd..afbef7fcd 100644
> --- a/rules/gnupg.make
> +++ b/rules/gnupg.make
> @@ -66,8 +66,8 @@ GNUPG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
>  	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha224 \
>  	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha384 \
>  	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha512 \
> -	--disable-zip \
> -	--disable-bzip2 \
> +	--$(call ptx/endis, PTXCONF_GNUPG_GPG_ZIP)-zip \
> +	--$(call ptx/endis, PTXCONF_GNUPG_GPG_BZIP2)-bzip2 \
>  	--disable-exec \
>  	--disable-photo-viewers \
>  	--disable-card-support \
> -- 
> 2.17.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v2 2/2] gnupg: add compression algorithms support
  2018-12-07  9:50   ` Michael Olbrich
@ 2018-12-07 14:38     ` Hubert Feurstein
  0 siblings, 0 replies; 4+ messages in thread
From: Hubert Feurstein @ 2018-12-07 14:38 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
 rules/gnupg.in   | 16 +++++++++++++++-
 rules/gnupg.make |  4 ++--
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/rules/gnupg.in b/rules/gnupg.in
index 7118f25b1..e515be093 100644
--- a/rules/gnupg.in
+++ b/rules/gnupg.in
@@ -9,7 +9,9 @@ menuconfig GNUPG
 	select LIBKSBA
 	select NPTH
 	select READLINE
-	select ZLIB
+	select ZLIB if GNUPG_GPG_ZIP
+	select BZIP2 if GNUPG_GPG_BZIP2
+	select BZIP2_LIBBZ2 if GNUPG_GPG_BZIP2
 	# disabling GNUPG_GPG_EDDSA is broken
 	select GNUPG_GPG_EDDSA
 	help
@@ -100,4 +102,16 @@ config GNUPG_GPG_RMD160
 
 endmenu
 
+menu "compression algorithms"
+
+config GNUPG_GPG_ZIP
+	bool
+	prompt "ZIP"
+
+config GNUPG_GPG_BZIP2
+	bool
+	prompt "BZIP2"
+
+endmenu
+
 endif
diff --git a/rules/gnupg.make b/rules/gnupg.make
index 48585f9cd..afbef7fcd 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -66,8 +66,8 @@ GNUPG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha224 \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha384 \
 	--$(call ptx/endis, PTXCONF_GNUPG_GPG_SHA)-gpg-sha512 \
-	--disable-zip \
-	--disable-bzip2 \
+	--$(call ptx/endis, PTXCONF_GNUPG_GPG_ZIP)-zip \
+	--$(call ptx/endis, PTXCONF_GNUPG_GPG_BZIP2)-bzip2 \
 	--disable-exec \
 	--disable-photo-viewers \
 	--disable-card-support \
-- 
2.17.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-12-07 14:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 11:02 [ptxdist] [PATCH 1/2] gnupg: add install option for gpg-agent Hubert Feurstein
2018-12-05 11:02 ` [ptxdist] [PATCH 2/2] gnupg: add compression algorithms support Hubert Feurstein
2018-12-07  9:50   ` Michael Olbrich
2018-12-07 14:38     ` [ptxdist] [PATCH v2 " Hubert Feurstein

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