From: Hubert Feurstein <h.feurstein@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 2/2] gnupg: add compression algorithms support
Date: Fri, 7 Dec 2018 15:38:21 +0100 [thread overview]
Message-ID: <20181207143821.27947-1-h.feurstein@gmail.com> (raw)
In-Reply-To: <20181207095029.ggt4qlewrh5cvngh@pengutronix.de>
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
prev parent reply other threads:[~2018-12-07 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Hubert Feurstein [this message]
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=20181207143821.27947-1-h.feurstein@gmail.com \
--to=h.feurstein@gmail.com \
--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