summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch17
-rw-r--r--meta/recipes-support/curl/curl/configure_ac.patch13
-rw-r--r--meta/recipes-support/curl/curl_7.60.0.bb (renamed from meta/recipes-support/curl/curl_7.59.0.bb)15
3 files changed, 13 insertions, 32 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
index 74e5d99cf2..a7db1b3c9e 100644
--- 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
@@ -1,17 +1,21 @@
1[PATCH] replace krb5-config with pkg-config 1From ed70f0623708b8a6c1f58a5d243d87c5ff45b24d Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com>
3Date: Tue, 26 Apr 2016 13:13:01 +0800
4Subject: [PATCH] replace krb5-config with pkg-config
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4 7
5Signed-off-by: Roy Li <rongqing.li@windriver.com> 8Signed-off-by: Roy Li <rongqing.li@windriver.com>
9
6--- 10---
7 configure.ac | 6 +++--- 11 configure.ac | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-) 12 1 file changed, 3 insertions(+), 3 deletions(-)
9 13
10diff --git a/configure.ac b/configure.ac 14diff --git a/configure.ac b/configure.ac
11index e99b303..dc93f39 100644 15index 5569a26..56b0380 100755
12--- a/configure.ac 16--- a/configure.ac
13+++ b/configure.ac 17+++ b/configure.ac
14@@ -1196,7 +1196,7 @@ AC_ARG_WITH(gssapi, 18@@ -1290,7 +1290,7 @@ AC_ARG_WITH(gssapi,
15 fi 19 fi
16 ]) 20 ])
17 21
@@ -20,7 +24,7 @@ index e99b303..dc93f39 100644
20 24
21 save_CPPFLAGS="$CPPFLAGS" 25 save_CPPFLAGS="$CPPFLAGS"
22 AC_MSG_CHECKING([if GSS-API support is requested]) 26 AC_MSG_CHECKING([if GSS-API support is requested])
23@@ -1207,7 +1207,7 @@ if test x"$want_gss" = xyes; then 27@@ -1301,7 +1301,7 @@ if test x"$want_gss" = xyes; then
24 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then 28 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi` 29 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
26 elif test -f "$KRB5CONFIG"; then 30 elif test -f "$KRB5CONFIG"; then
@@ -29,7 +33,7 @@ index e99b303..dc93f39 100644
29 elif test "$GSSAPI_ROOT" != "yes"; then 33 elif test "$GSSAPI_ROOT" != "yes"; then
30 GSSAPI_INCS="-I$GSSAPI_ROOT/include" 34 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
31 fi 35 fi
32@@ -1300,7 +1300,7 @@ if test x"$want_gss" = xyes; then 36@@ -1394,7 +1394,7 @@ if test x"$want_gss" = xyes; then
33 elif test -f "$KRB5CONFIG"; then 37 elif test -f "$KRB5CONFIG"; then
34 dnl krb5-config doesn't have --libs-only-L or similar, put everything 38 dnl krb5-config doesn't have --libs-only-L or similar, put everything
35 dnl into LIBS 39 dnl into LIBS
@@ -38,6 +42,3 @@ index e99b303..dc93f39 100644
38 LIBS="$gss_libs $LIBS" 42 LIBS="$gss_libs $LIBS"
39 else 43 else
40 case $host in 44 case $host in
41--
421.9.1
43
diff --git a/meta/recipes-support/curl/curl/configure_ac.patch b/meta/recipes-support/curl/curl/configure_ac.patch
deleted file mode 100644
index b8bd304d71..0000000000
--- a/meta/recipes-support/curl/curl/configure_ac.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Pending
2
3--- a/configure.ac
4+++ b/configure.ac
5@@ -281,7 +281,7 @@ dnl ************************************
6
7 CURL_CHECK_COMPILER
8 CURL_SET_COMPILER_BASIC_OPTS
9-CURL_SET_COMPILER_DEBUG_OPTS
10+dnl CURL_SET_COMPILER_DEBUG_OPTS
11 CURL_SET_COMPILER_OPTIMIZE_OPTS
12 CURL_SET_COMPILER_WARNING_OPTS
13
diff --git a/meta/recipes-support/curl/curl_7.59.0.bb b/meta/recipes-support/curl/curl_7.60.0.bb
index c244c60d69..fe04fa63c9 100644
--- a/meta/recipes-support/curl/curl_7.59.0.bb
+++ b/meta/recipes-support/curl/curl_7.60.0.bb
@@ -9,14 +9,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
9 file://0001-replace-krb5-config-with-pkg-config.patch \ 9 file://0001-replace-krb5-config-with-pkg-config.patch \
10" 10"
11 11
12 12SRC_URI[md5sum] = "bd2aabf78ded6a9aec8a54532fd6b5d7"
13# curl likes to set -g0 in CFLAGS, so we stop it 13SRC_URI[sha256sum] = "897dfb2204bd99be328279f88f55b7c61592216b0542fcbe995c60aa92871e9b"
14# from mucking around with debug options
15#
16SRC_URI += " file://configure_ac.patch"
17
18SRC_URI[md5sum] = "a2192804f7c2636a09320416afcf888e"
19SRC_URI[sha256sum] = "b5920ffd6a8c95585fb95070e0ced38322790cb335c39d0dab852d12e157b5a0"
20 14
21CVE_PRODUCT = "libcurl" 15CVE_PRODUCT = "libcurl"
22inherit autotools pkgconfig binconfig multilib_header 16inherit autotools pkgconfig binconfig multilib_header
@@ -32,10 +26,12 @@ PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
32PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," 26PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
33PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," 27PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
34PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 28PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
29PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5"
35PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap," 30PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,"
36PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps," 31PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
37PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2" 32PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
38PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" 33PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
34PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
39PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," 35PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
40PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy," 36PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy,"
41PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" 37PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
@@ -47,8 +43,6 @@ PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
47PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," 43PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
48PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver" 44PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver"
49PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib" 45PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
50PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5"
51PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
52 46
53EXTRA_OECONF = " \ 47EXTRA_OECONF = " \
54 --enable-crypto-auth \ 48 --enable-crypto-auth \
@@ -57,7 +51,6 @@ EXTRA_OECONF = " \
57 --without-libpsl \ 51 --without-libpsl \
58" 52"
59 53
60
61do_install_append_class-target() { 54do_install_append_class-target() {
62 # cleanup buildpaths from curl-config 55 # cleanup buildpaths from curl-config
63 sed -i \ 56 sed -i \