gnupg: add option to enable large secmem (#13898)
GnuPG 2.1.x includes support for up-to 8k RSA keys via the --enable-large-rsa option when used in --batch mode. To make use of this function GnuPG must be built with the --enable-large-secmem option.
This commit is contained in:
parent
a8111310e4
commit
390578c329
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ class Gnupg < Formula
|
|||
|
||||
option "with-gpgsplit", "Additionally install the gpgsplit utility"
|
||||
option "with-gpg-zip", "Additionally install the gpg-zip utility"
|
||||
option "with-large-secmem", "Additionally allocate extra secure memory"
|
||||
option "without-libusb", "Disable the internal CCID driver"
|
||||
|
||||
deprecated_option "without-libusb-compat" => "without-libusb"
|
||||
|
@ -53,6 +54,7 @@ class Gnupg < Formula
|
|||
|
||||
args << "--disable-ccid-driver" if build.without? "libusb"
|
||||
args << "--with-readline=#{Formula["readline"].opt_prefix}" if build.with? "readline"
|
||||
args << "--enable-large-secmem" if build.with? "large-secmem"
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
|
|
Loading…
Reference in a new issue