openwrt-packages/net/gnunet/patches/020-curl-no-runtime-test.patch

17 lines
587 B
Diff
Raw Normal View History

--- a/configure.ac
+++ b/configure.ac
gnunet: update to version v0.21.0 This release marks a noteworthy milestone in that it includes a completely new transport layer. It lays the groundwork for fixing some major design issues and may also already alleviate a variety of issues seen in previous releases related to connectivity. This change also deprecates our testbed and ATS subsystem. This is a new major release. It breaks protocol compatibility with the 0.20.x versions. Please be aware that Git master is thus henceforth (and has been for a while) INCOMPATIBLE with the 0.20.x GNUnet network, and interactions between old and new peers will result in issues. In terms of usability, users should be aware that there are still a number of known open issues in particular with respect to ease of use, but also some critical privacy issues especially for mobile users. Also, the nascent network is tiny and thus unlikely to provide good anonymity or extensive amounts of interesting information. As a result, the 0.21.0 release is still only suitable for early adopters with some reasonable pain tolerance. v0.21.0: - Reworked PEERSTORE API - Added record flag for maintenance records - ensure traits can be generated with subsystem-specific prefixes for the symbols - libgnunettesting first major testing NG refactor towards getting dependency structure streamlined - Remove single-use API macro GNUNET_VA_ARG_ENUM - major revision of blind signature API - Introduced closure to hold store context when caling function to add hello in peerstore. - Added DDLs for handling GNUNET_PEERSTORE_StoreHelloContext - Removed old hello functionality. - Refactoring components under src/ into lib/, plugin/, cli/ and service/ - add support for encoding/decoding double values as part of JSON to libgnunetjson - Changed method GNUNET_HELLO_builder_get_expiration_time to not need parameter GNUNET_HELLO_Builder. - Code moved to the core package to get rid of circular dependencies. - Moved code to testing to have more generic test setup, which can be used not only from within transport. - The old hello design replaced by the new hello design. - Added api to get notified when hellos are stored with peerstore service. - Added api to store hellos with peerstore service. - Changed new hello uri api to allow to change the expiration time - Moved start peer command to testing subsystem. - Removed all usage of old transport api, beside peerinfo tool, gnunet-transport cli and usage in transport layer itself. - Added __attribute__((deprecated)) to the old transport API Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 31e9aea1b659b34f9cc4e11ef4811f9e773ac036)
2024-03-09 00:26:56 +01:00
@@ -727,12 +727,7 @@ LIBCURL_CHECK_CONFIG([], [7.85.0], [],
OLD_LIBS=$LIBS
LIBS="$LIBS $LIBCURL"
-AC_RUN_IFELSE(
- [AC_LANG_PROGRAM([[#include <curl/curl.h>]],
- [[return (CURLSSLSET_OK != curl_global_sslset(CURLSSLBACKEND_GNUTLS, NULL, NULL));]])],
- [curl_gnutls=1],
- [AC_MSG_WARN([cURL does not have GnuTLS backend])
- curl_gnutls=0])
+curl_gnutls=1
LIBS=$OLD_LIBS
AM_CONDITIONAL([HAVE_GNUTLS_CURL], [test "x$curl_gnutls" = "x1"])
AC_SUBST([curl_gnutls])