diff options
Diffstat (limited to 'extra/gnutls')
-rwxr-xr-x | extra/gnutls/build | 27 | ||||
-rw-r--r-- | extra/gnutls/checksums | 2 | ||||
-rw-r--r-- | extra/gnutls/sources | 2 | ||||
-rw-r--r-- | extra/gnutls/version | 2 |
4 files changed, 29 insertions, 4 deletions
diff --git a/extra/gnutls/build b/extra/gnutls/build index 2964f6c1..5bc90d9a 100755 --- a/extra/gnutls/build +++ b/extra/gnutls/build @@ -1,5 +1,28 @@ #!/bin/sh -e +# We have multiple issues thanks to p11-kit. +# - p11-kit does not support static linking (instead of writing proper code that +# just works they have decided to go out of their way to make sure you can't +# statically link it), so if you build the static gnutls library with it, you +# can link nothing to gnutls statically. +# - If you build gnutls without p11-kit, you can't compile glib-networking as it +# depends on the PKCS#11 API in gnutls that they don't even have enabled by +# default. +# - If libressl was fully compatible with openssl, we wouldn't have to use +# gnutls for glib-networking, therefore removing the p11-kit dependency. + +./configure \ + --prefix=/usr \ + --disable-nls \ + --with-nettle-mini \ + --with-included-libtasn1 \ + --with-included-unistring \ + --disable-guile \ + --disable-static + +make +make DESTDIR="$1" install + ./configure \ --prefix=/usr \ --disable-nls \ @@ -7,7 +30,9 @@ --with-included-libtasn1 \ --with-included-unistring \ --disable-guile \ - --enable-static + --enable-static \ + --disable-shared \ + --without-p11-kit make make DESTDIR="$1" install diff --git a/extra/gnutls/checksums b/extra/gnutls/checksums index 73240129..91760b89 100644 --- a/extra/gnutls/checksums +++ b/extra/gnutls/checksums @@ -1,2 +1,2 @@ %BLAKE3 -18df96a27eb1f7d457b592e9b31ca4d435f30656c3dd61342cd067d79322f52a gnutls-3.7.8.tar.xz +b9f6c3e3111bc6ded35c376318ad15bd3af7730b7c2b5c2c64904eaaaf60b789 gnutls-3.8.7.1.tar.xz diff --git a/extra/gnutls/sources b/extra/gnutls/sources index fcf99cbf..d00c38db 100644 --- a/extra/gnutls/sources +++ b/extra/gnutls/sources @@ -1 +1 @@ -https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.8.tar.xz +https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.7.1.tar.xz diff --git a/extra/gnutls/version b/extra/gnutls/version index cd631c5e..d131427b 100644 --- a/extra/gnutls/version +++ b/extra/gnutls/version @@ -1 +1 @@ -3.7.8 1 +3.8.7.1 1 |