[libgcrypt] update to 1.9.4, fix arm64-osx compilation (#20854)

* [libgcrypt] update to 1.9.3

* [libgcrypt] use numeric versioning

* [libgcrypt] fix description

* [libgcrypt] update to 1.9.4

Use upstream Git repo, since the GitHub mirror appears out-of-sync

* [libgcrypt] update versions
This commit is contained in:
Dawid Wróbel 2021-10-27 07:59:35 +02:00 committed by GitHub
parent 43b616b93a
commit 6dbf434e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 36 deletions

View File

@ -1,13 +0,0 @@
diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 95c4510..d43350c 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -112,7 +112,7 @@ gost-sb.h: gost-s-box
./gost-s-box $@
gost-s-box: gost-s-box.c
- $(CC_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c
+ $(CC_FOR_BUILD) $(CFLAGS) -o $@ $(srcdir)/gost-s-box.c
if ENABLE_O_FLAG_MUNGING

View File

@ -1,11 +0,0 @@
diff --git a/src/libgcrypt.pc.in b/src/libgcrypt.pc.in
index ec68fa2..6bf7a07 100644
--- a/src/libgcrypt.pc.in
+++ b/src/libgcrypt.pc.in
@@ -13,5 +13,5 @@ Description: General purpose cryptographic library
Requires: gpg-error
Version: @PACKAGE_VERSION@
Cflags: @LIBGCRYPT_CONFIG_CFLAGS@
-Libs: @LIBGCRYPT_CONFIG_LIBS@
+Libs: -L${libdir} @LIBGCRYPT_CONFIG_LIBS@
URL: https://www.gnupg.org/software/libgcrypt/index.html

View File

@ -1,14 +1,11 @@
vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports unix platform" ON_TARGET "Windows")
vcpkg_from_github(
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
REPO gpg/libgcrypt
REF libgcrypt-1.8.7
SHA512 43e50a1b8a3cdbf420171c785fe558f443b414b708defa585277ac5ea59f9d8ae7f4555ed291c16fa004e7d4dd93a5ab2011c3c591e784ce3c6662a3193fd3e1
URL git://git.gnupg.org/libgcrypt.git
FETCH_REF libgcrypt-1.9.4
REF 05422ca24a0391dad2a0b7790a904ce348819c10 # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=05422ca24a0391dad2a0b7790a904ce348819c10
HEAD_REF master
PATCHES
fix-pkgconfig.patch
fix-flags.patch
)
vcpkg_configure_make(

View File

@ -1,8 +1,7 @@
{
"name": "libgcrypt",
"version-string": "1.8.7",
"port-version": 2,
"description": "A library implementing the so-called Assuan protocol",
"version": "1.9.4",
"description": "A general purpose cryptographic library",
"homepage": "https://gnupg.org/software/libgcrypt/index.html",
"supports": "linux | osx",
"dependencies": [

View File

@ -3421,8 +3421,8 @@
"port-version": 1
},
"libgcrypt": {
"baseline": "1.8.7",
"port-version": 2
"baseline": "1.9.4",
"port-version": 0
},
"libgd": {
"baseline": "2.3.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7b99b42dfc0f469a13d4e39d9802012b9a7e78d1",
"version": "1.9.4",
"port-version": 0
},
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",