diff options
-rw-r--r-- | meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch | 44 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl_7.80.0.bb (renamed from meta/recipes-support/curl/curl_7.79.1.bb) | 6 |
2 files changed, 2 insertions, 48 deletions
diff --git a/meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch b/meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch deleted file mode 100644 index 330c6b67c3..0000000000 --- a/meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From ed70f0623708b8a6c1f58a5d243d87c5ff45b24d Mon Sep 17 00:00:00 2001 | ||
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Tue, 26 Apr 2016 13:13:01 +0800 | ||
4 | Subject: [PATCH] replace krb5-config with pkg-config | ||
5 | |||
6 | Upstream-Status: Accepted [https://github.com/curl/curl/pull/7916] | ||
7 | |||
8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
9 | |||
10 | --- | ||
11 | configure.ac | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 5569a26..56b0380 100755 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -1290,7 +1290,7 @@ AC_ARG_WITH(gssapi, | ||
19 | fi | ||
20 | ]) | ||
21 | |||
22 | -: ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"} | ||
23 | +KRB5CONFIG=`which pkg-config` | ||
24 | |||
25 | save_CPPFLAGS="$CPPFLAGS" | ||
26 | AC_MSG_CHECKING([if GSS-API support is requested]) | ||
27 | @@ -1301,7 +1301,7 @@ if test x"$want_gss" = xyes; then | ||
28 | if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then | ||
29 | GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi` | ||
30 | elif test -f "$KRB5CONFIG"; then | ||
31 | - GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi` | ||
32 | + GSSAPI_INCS=`$KRB5CONFIG --cflags mit-krb5-gssapi` | ||
33 | elif test "$GSSAPI_ROOT" != "yes"; then | ||
34 | GSSAPI_INCS="-I$GSSAPI_ROOT/include" | ||
35 | fi | ||
36 | @@ -1394,7 +1394,7 @@ if test x"$want_gss" = xyes; then | ||
37 | elif test -f "$KRB5CONFIG"; then | ||
38 | dnl krb5-config doesn't have --libs-only-L or similar, put everything | ||
39 | dnl into LIBS | ||
40 | - gss_libs=`$KRB5CONFIG --libs gssapi` | ||
41 | + gss_libs=`$KRB5CONFIG --libs mit-krb5-gssapi` | ||
42 | LIBS="$gss_libs $LIBS" | ||
43 | else | ||
44 | case $host in | ||
diff --git a/meta/recipes-support/curl/curl_7.79.1.bb b/meta/recipes-support/curl/curl_7.80.0.bb index 919777ce36..7b47091933 100644 --- a/meta/recipes-support/curl/curl_7.79.1.bb +++ b/meta/recipes-support/curl/curl_7.80.0.bb | |||
@@ -9,11 +9,9 @@ SECTION = "console/network" | |||
9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=425f6fdc767cc067518eef9bbdf4ab7b" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=425f6fdc767cc067518eef9bbdf4ab7b" |
11 | 11 | ||
12 | SRC_URI = "https://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | 12 | SRC_URI = "https://curl.haxx.se/download/curl-${PV}.tar.bz2" |
13 | file://0001-replace-krb5-config-with-pkg-config.patch \ | ||
14 | " | ||
15 | 13 | ||
16 | SRC_URI[sha256sum] = "de62c4ab9a9316393962e8b94777a570bb9f71feb580fb4475e412f2f9387851" | 14 | SRC_URI[sha256sum] = "dd0d150e49cd950aff35e16b628edf04927f0289df42883750cf952bb858189c" |
17 | 15 | ||
18 | # Curl has used many names over the years... | 16 | # Curl has used many names over the years... |
19 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" | 17 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" |