diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:19 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:19 +0900 |
commit | d9787447fe6a57e39113b60305b4ab672b9ba897 (patch) | |
tree | 6c925adf6340a1a5ab43d9048ca4b27eae819cd6 /build-aux | |
parent | f77eedfaad1525168ca8593a3eb43ef157cd2891 (diff) | |
download | gpg2-d9787447fe6a57e39113b60305b4ab672b9ba897.tar.gz gpg2-d9787447fe6a57e39113b60305b4ab672b9ba897.tar.bz2 gpg2-d9787447fe6a57e39113b60305b4ab672b9ba897.zip |
Imported Upstream version 2.1.19upstream/2.1.19
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/speedo.mk | 35 | ||||
-rw-r--r-- | build-aux/speedo/w32/inst.nsi | 19 |
2 files changed, 29 insertions, 25 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk index 8a366e6..c799863 100644 --- a/build-aux/speedo.mk +++ b/build-aux/speedo.mk @@ -184,14 +184,22 @@ speedo_spkgs = \ ifeq ($(TARGETOS),w32) speedo_spkgs += \ - zlib bzip2 adns sqlite + zlib bzip2 sqlite ifeq ($(WITH_GUI),1) speedo_spkgs += gettext libiconv endif endif speedo_spkgs += \ - libassuan libksba gnupg + libassuan libksba + +ifeq ($(TARGETOS),w32) +speedo_spkgs += \ + ntbtls +endif + +speedo_spkgs += \ + gnupg ifeq ($(TARGETOS),w32) ifeq ($(WITH_GUI),1) @@ -241,7 +249,7 @@ endif # Packages which use the gnupg autogen.sh build style speedo_gnupg_style = \ libgpg-error npth libgcrypt \ - libassuan libksba gnupg gpgme \ + libassuan libksba ntbtls gnupg gpgme \ pinentry gpa gpgex # Packages which use only make and no build directory @@ -290,6 +298,10 @@ libksba_ver := $(shell awk '$$1=="libksba_ver" {print $$2}' swdb.lst) libksba_sha1 := $(shell awk '$$1=="libksba_sha1" {print $$2}' swdb.lst) libksba_sha2 := $(shell awk '$$1=="libksba_sha2" {print $$2}' swdb.lst) +ntbtls_ver := $(shell awk '$$1=="ntbtls_ver" {print $$2}' swdb.lst) +ntbtls_sha1 := $(shell awk '$$1=="ntbtls_sha1" {print $$2}' swdb.lst) +ntbtls_sha2 := $(shell awk '$$1=="ntbtls_sha2" {print $$2}' swdb.lst) + gpgme_ver := $(shell awk '$$1=="gpgme_ver" {print $$2}' swdb.lst) gpgme_sha1 := $(shell awk '$$1=="gpgme_sha1" {print $$2}' swdb.lst) gpgme_sha2 := $(shell awk '$$1=="gpgme_sha2" {print $$2}' swdb.lst) @@ -314,10 +326,6 @@ bzip2_ver := $(shell awk '$$1=="bzip2_ver" {print $$2}' swdb.lst) bzip2_sha1 := $(shell awk '$$1=="bzip2_sha1_gz" {print $$2}' swdb.lst) bzip2_sha2 := $(shell awk '$$1=="bzip2_sha2_gz" {print $$2}' swdb.lst) -adns_ver := $(shell awk '$$1=="adns_ver" {print $$2}' swdb.lst) -adns_sha1 := $(shell awk '$$1=="adns_sha1" {print $$2}' swdb.lst) -adns_sha2 := $(shell awk '$$1=="adns_sha2" {print $$2}' swdb.lst) - sqlite_ver := $(shell awk '$$1=="sqlite_ver" {print $$2}' swdb.lst) sqlite_sha1 := $(shell awk '$$1=="sqlite_sha1_gz" {print $$2}' swdb.lst) sqlite_sha2 := $(shell awk '$$1=="sqlite_sha2_gz" {print $$2}' swdb.lst) @@ -329,10 +337,11 @@ $(info Libgpg-error ...: $(libgpg_error_ver)) $(info Npth ...........: $(npth_ver)) $(info Libgcrypt ......: $(libgcrypt_ver)) $(info Libassuan ......: $(libassuan_ver)) +$(info Libksba ........: $(libksba_ver)) $(info Zlib ...........: $(zlib_ver)) $(info Bzip2 ..........: $(bzip2_ver)) -$(info ADNS ...........: $(adns_ver)) $(info SQLite .........: $(sqlite_ver)) +$(info NtbTLS .. ......: $(ntbtls_ver)) $(info GPGME ..........: $(gpgme_ver)) $(info Pinentry .......: $(pinentry_ver)) $(info GPA ............: $(gpa_ver)) @@ -396,6 +405,8 @@ else ifeq ($(WHAT),git) speedo_pkg_libgcrypt_gitref = master speedo_pkg_libksba_git = $(gitrep)/libksba speedo_pkg_libksba_gitref = master + speedo_pkg_ntbtls_git = $(gitrep)/ntbtls + speedo_pkg_ntbtls_gitref = master speedo_pkg_gpgme_git = $(gitrep)/gpgme speedo_pkg_gpgme_gitref = master speedo_pkg_pinentry_git = $(gitrep)/pinentry @@ -415,6 +426,8 @@ else ifeq ($(WHAT),release) $(pkgrep)/libgcrypt/libgcrypt-$(libgcrypt_ver).tar.bz2 speedo_pkg_libksba_tar = \ $(pkgrep)/libksba/libksba-$(libksba_ver).tar.bz2 + speedo_pkg_ntbtls_tar = \ + $(pkgrep)/ntbtls/ntbtls-$(ntbtls_ver).tar.bz2 speedo_pkg_gpgme_tar = \ $(pkgrep)/gpgme/gpgme-$(gpgme_ver).tar.bz2 speedo_pkg_pinentry_tar = \ @@ -431,7 +444,6 @@ speedo_pkg_pkg_config_tar = $(pkg2rep)/pkg-config-$(pkg_config_ver).tar.gz speedo_pkg_zlib_tar = $(pkgrep)/zlib/zlib-$(zlib_ver).tar.gz speedo_pkg_bzip2_tar = $(pkgrep)/bzip2/bzip2-$(bzip2_ver).tar.gz speedo_pkg_sqlite_tar = $(pkgrep)/sqlite/sqlite-autoconf-$(sqlite_ver).tar.gz -speedo_pkg_adns_tar = $(pkg10rep)/adns/adns-$(adns_ver).tar.bz2 speedo_pkg_libiconv_tar = $(pkg2rep)/libiconv-$(libiconv_ver).tar.gz speedo_pkg_gettext_tar = $(pkg2rep)/gettext-$(gettext_ver).tar.gz speedo_pkg_libffi_tar = $(pkg2rep)/libffi-$(libffi_ver).tar.gz @@ -459,9 +471,12 @@ speedo_pkg_libgcrypt_configure = --disable-static speedo_pkg_libksba_configure = --disable-static +# For now we build ntbtls only static +speedo_pkg_ntbtls_configure = --enable-static --disable-shared + ifeq ($(TARGETOS),w32) speedo_pkg_gnupg_configure = \ - --enable-gpg2-is-gpg --disable-g13 --disable-ntbtls \ + --enable-gpg2-is-gpg --disable-g13 --enable-ntbtls \ --enable-build-timestamp else speedo_pkg_gnupg_configure = --disable-g13 diff --git a/build-aux/speedo/w32/inst.nsi b/build-aux/speedo/w32/inst.nsi index 164e26b..b4d6994 100644 --- a/build-aux/speedo/w32/inst.nsi +++ b/build-aux/speedo/w32/inst.nsi @@ -581,6 +581,7 @@ Section "GnuPG" SEC_gnupg File "bin/gpg-connect-agent.exe" File "bin/gpgtar.exe" File "libexec/gpg-preset-passphrase.exe" + File "libexec/gpg-wks-client.exe" ClearErrors SetOverwrite try @@ -610,6 +611,7 @@ Section "GnuPG" SEC_gnupg File "share/gnupg/gpg-conf.skel" File "share/gnupg/dirmngr-conf.skel" File "share/gnupg/distsigkey.gpg" + File "share/gnupg/sks-keyservers.netCA.pem" SetOutPath "$INSTDIR\share\locale\ca\LC_MESSAGES" File share/locale/ca/LC_MESSAGES/gnupg2.mo @@ -735,15 +737,6 @@ Section "-zlib" SEC_zlib File bin/zlib1.dll SectionEnd -Section "-adns" SEC_adns - SetOutPath "$INSTDIR\bin" - File bin/libadns-1.dll - SetOutPath "$INSTDIR\lib" - File /oname=libadns.imp lib/libadns.dll.a - SetOutPath "$INSTDIR\include" - File include/adns.h -SectionEnd - Section "-npth" SEC_npth SetOutPath "$INSTDIR\bin" File bin/libnpth-0.dll @@ -1193,12 +1186,6 @@ Section "-un.npth" Delete "$INSTDIR\include\npth.h" SectionEnd -Section "-un.adns" - Delete "$INSTDIR\bin\libadns-1.dll" - Delete "$INSTDIR\lib\libadns.imp" - Delete "$INSTDIR\include\adns.h" -SectionEnd - Section "-un.zlib" Delete "$INSTDIR\bin\zlib1.dll" SectionEnd @@ -1278,7 +1265,9 @@ Section "-un.gnupg" Delete "$INSTDIR\bin\gpg-connect-agent.exe" Delete "$INSTDIR\bin\gpgtar.exe" Delete "$INSTDIR\bin\gpg-preset-passphrase.exe" + Delete "$INSTDIR\bin\gpg-wks-client.exe" + Delete "$INSTDIR\share\gnupg\sks-keyservers.netCA.pem" Delete "$INSTDIR\share\gnupg\dirmngr-conf.skel" Delete "$INSTDIR\share\gnupg\distsigkey.gpg" Delete "$INSTDIR\share\gnupg\gpg-conf.skel" |