forked from pool/gnutls
Accepting request 821496 from security:tls
OBS-URL: https://build.opensuse.org/request/show/821496 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=125
This commit is contained in:
commit
02c340c146
52
gnutls-detect_nettle_so.patch
Normal file
52
gnutls-detect_nettle_so.patch
Normal file
@ -0,0 +1,52 @@
|
||||
Index: gnutls-3.6.14/configure
|
||||
===================================================================
|
||||
--- gnutls-3.6.14.orig/configure 2020-06-09 11:01:15.306654318 +0200
|
||||
+++ gnutls-3.6.14/configure 2020-06-09 12:40:08.262985909 +0200
|
||||
@@ -66054,12 +66054,12 @@ LIBS="$LIBS $GMP_LIBS"
|
||||
$as_echo_n "checking gmp soname... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
-
|
||||
+#include <gmp.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
-
|
||||
- ;
|
||||
+ mpz_t n;
|
||||
+ mpz_init(n);
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
@@ -66088,12 +66088,12 @@ LIBS="$LIBS $NETTLE_LIBS"
|
||||
$as_echo_n "checking nettle soname... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
-
|
||||
+#include <nettle/sha2.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
-
|
||||
- ;
|
||||
+ struct sha256_ctx ctx;
|
||||
+ sha256_init (&ctx);
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
@@ -66122,12 +66122,12 @@ LIBS="$LIBS $HOGWEED_LIBS"
|
||||
$as_echo_n "checking hogweed soname... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
-
|
||||
+#include <nettle/rsa.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
-
|
||||
- ;
|
||||
+ struct rsa_private_key priv;
|
||||
+ nettle_rsa_private_key_init(&priv);
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 09:15:45 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
|
||||
|
||||
- Correctly detect gmp, nettle, and hogweed libraries (bsc#1172666)
|
||||
* add gnutls-detect_nettle_so.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 15:41:46 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
|
||||
|
||||
@ -5,7 +11,7 @@ Mon Jun 8 15:41:46 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
|
||||
servers (bsc#1172663)
|
||||
* add 0001-crypto-api-always-allocate-memory-when-serializing-i.patch
|
||||
- Temporarily disable broken guile reauth test (bsc#1171565)
|
||||
* add gnutls-temporarily_disable_broken_guile_reauth_test
|
||||
* add gnutls-temporarily_disable_broken_guile_reauth_test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 4 09:39:58 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
|
||||
|
@ -41,7 +41,8 @@ Source3: baselibs.conf
|
||||
Patch1: gnutls-3.5.11-skip-trust-store-tests.patch
|
||||
Patch4: gnutls-3.6.6-set_guile_site_dir.patch
|
||||
Patch5: 0001-crypto-api-always-allocate-memory-when-serializing-i.patch
|
||||
Patch6: gnutls-temporarily_disable_broken_guile_reauth_test
|
||||
Patch6: gnutls-temporarily_disable_broken_guile_reauth_test.patch
|
||||
Patch7: gnutls-detect_nettle_so.patch
|
||||
BuildRequires: autogen
|
||||
BuildRequires: automake
|
||||
BuildRequires: datefudge
|
||||
|
Loading…
Reference in New Issue
Block a user