mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 09:48:56 +00:00
972c25de7d
- Remove unrecognized configure options - fixes gawk issue #668 by upgrading to libgpg-error 1.37 instead of patching 1.32 for regex change (fixed upstream) - move patches so they match new versions for libassuan, gpg and libgcrypt (no change) Version change: - gpg 2.2.10 -> 2.2.20 - libassuan 2.5.1 -> 2.5.3 - libgcrypt 1.8.3 -> 1.8.5 - libgpg-error 1.32 -> 1.37 Size changes: - gpg 886.5 -> 911.3 kB - gpg-agent: 371.9 -> 376.0 kB - scdaemon: 399.5 -> 407.8 kB - libgpg-error.so.0 125.9 -> 130.0 kB Unrecognized options on gpg2 toolstack: - disable-nls and disable-asm disable-keyserver-helpers disable-hkp disable-finger disable-dns-srv disable-dns-cert and disable-wks-server
54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
modules-$(CONFIG_GPG2) += gpg2
|
|
|
|
gpg2_version := 2.2.20
|
|
gpg2_dir := gnupg-$(gpg2_version)
|
|
gpg2_tar := gnupg-$(gpg2_version).tar.bz2
|
|
gpg2_url := https://www.gnupg.org/ftp/gcrypt/gnupg/$(gpg2_tar)
|
|
gpg2_hash := 04a7c9d48b74c399168ee8270e548588ddbe52218c337703d7f06373d326ca30
|
|
|
|
# For reproducibility reasons we have to override the exec_prefix
|
|
# and datarootdir on the configure line so that the Makefiles will
|
|
# be generated with the correct paths, but then re-write them when
|
|
# we use the install target so that they will be copied to the correct
|
|
# location.
|
|
gpg2_configure := ./configure \
|
|
$(CROSS_TOOLS) \
|
|
CPPFLAGS="-I$(INSTALL)/include/libusb-1.0" \
|
|
--host x86_64-linux-musl \
|
|
--with-libusb="$(INSTALL)" \
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
|
--with-libgcrypt-prefix="$(INSTALL)" \
|
|
--with-libassuan-prefix="$(INSTALL)" \
|
|
--with-ksba-prefix="$(INSTALL)" \
|
|
--with-npth-prefix="$(INSTALL)" \
|
|
--prefix "/" \
|
|
--libexecdir "/bin" \
|
|
--enable-scdaemon \
|
|
--enable-ccid-driver \
|
|
--disable-tofu \
|
|
--disable-rpath \
|
|
--disable-regex \
|
|
--disable-doc \
|
|
--disable-bzip2 \
|
|
--disable-exec \
|
|
--disable-photo-viewers \
|
|
--disable-ldap \
|
|
--disable-regex \
|
|
--disable-nls \
|
|
--disable-all-tests \
|
|
--disable-wks-tools \
|
|
--disable-gnutls \
|
|
--disable-dirmngr \
|
|
|
|
# Run one build to generate the executables with the pre-defined
|
|
# exec_prefix and datarootdir, then a second make to install the binaries
|
|
# into our actual target location
|
|
gpg2_target := $(MAKE_JOBS) \
|
|
&& $(MAKE) -C $(build)/$(gpg2_dir) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
gpg2_output := g10/gpg agent/gpg-agent scd/scdaemon
|
|
|
|
gpg2_depends := libgpg-error libgcrypt libksba libassuan npth libusb-compat $(musl_dep)
|