Update to 7.30.0: Fixed in 7.30.0 - April 12 2013 Release contains security-related bug fix Changes: imap: Changed response tag generation to be completely unique imap: Added support for SASL-IR extension imap: Added support for the list command imap: Added support for the append command imap: Added custom request parsing imap: Added support to the fetch command for UID and SECTION properties imap: Added parsing and verification of the UIDVALIDITY mailbox attribute darwinssl: Make certificate errors less techy imap/pop3/smtp: Added support for the STARTTLS capability checksrc: ban use of sprintf, vsprintf, strcat, strncat and gets curl_global_init() now accepts the CURL_GLOBAL_ACK_EINTR flag Added CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_TOTAL_CONNECTIONS for new multi interface connection handling Added CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_PIPELINING_SITE_BL and CURLMOPT_PIPELI NING_SERVER_BL for new pipelining control Bugfixes: SECURITY ADVISORY: cookie tailmatching to avoid cross-domain leakage darwinssl: Fix build under Leopard DONE: consider callback-aborted transfers premature ntlm: Fixed memory leaks smtp: Fixed an issue when processing EHLO failure responses pop3: Fixed incorrect return value from pop3_endofresp() pop3: Fixed SASL authentication capability detection pop3: Fixed blocking SSL connect when connecting via POP3S imap: Fixed memory leak when performing multiple selects nss: fix misplaced code enabling non-blocking socket mode AddFormData: prevent only directories from being posted darwinssl: fix infinite loop if server disconnected abruptly metalink: fix improbable crash parsing metalink filename show proper host name on failed resolve MacOSX-Framework: Make script work in Xcode 4.0 and later strlcat: remove function darwinssl: Fix send glitchiness with data > 32 or so KB polarssl: better 1.1.x and 1.2.x support various documentation improvements multi: NULL pointer reference when closing an unused multi handle SOCKS: fix socks proxy when noproxy matched install-sh: updated to support multiple source files as arguments PolarSSL: added human readable error strings resolver_error: remove wrong error message output docs: updates HTML index and general improvements curlbuild.h.dist: enhance non-configure GCC ABI detection logic sasl: Fixed null pointer reference when decoding empty digest challenge easy: do not ignore poll() failures other than EINTR darwinssl: disable ECC ciphers under Mountain Lion by default CONNECT: count received headers build: fixes for VMS CONNECT: clear 'rewindaftersend' on success HTTP proxy: insert slash in URL if missing hiperfifo: updated to use current libevent API getinmemory.c: abort the transfer nicely if not enough memory improved win32 memorytracking corrected proxy header response headers count FTP quote operations on re-used connection tcpkeepalive on win32 tcpkeepalive on Mac OS X easy: acknowledge the CURLOPT_MAXCONNECTS option properly easy interface: restore default MAXCONNECTS to 5 win32: don't set SO_SNDBUF for windows vista or later versions HTTP: made cookie sort function more deterministic winssl: Fixed memory leak if connection was not successful FTP: wait on both connections during active STOR state connect: treat a failed local bind of an interface as a non-fatal error darwinssl: disable insecure ciphers by default FTP: handle "rubbish" in front of directory name in 257 responses mk-ca-bundle: Fixed lost OpenSSL output with "-t"diff -r1.126 -r1.127 pkgsrc/www/curl/Makefile
(wiz)
@@ -1,57 +1,56 @@ | @@ -1,57 +1,56 @@ | |||
1 | # $NetBSD: Makefile,v 1.126 2013/03/17 21:33:33 tsutsui Exp $ | 1 | # $NetBSD: Makefile,v 1.127 2013/04/14 16:39:48 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= curl-7.29.0 | 3 | DISTNAME= curl-7.30.0 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= www | 4 | CATEGORIES= www | |
6 | MASTER_SITES= http://curl.haxx.se/download/ \ | 5 | MASTER_SITES= http://curl.haxx.se/download/ \ | |
7 | ftp://ftp.sunet.se/pub/www/utilities/curl/ | 6 | ftp://ftp.sunet.se/pub/www/utilities/curl/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://curl.haxx.se/ | 10 | HOMEPAGE= http://curl.haxx.se/ | |
12 | COMMENT= Client that groks URLs | 11 | COMMENT= Client that groks URLs | |
13 | # not completely, but near enough | 12 | # not completely, but near enough | |
14 | LICENSE= mit | 13 | LICENSE= mit | |
15 | 14 | |||
16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
17 | 16 | |||
18 | # list it into IPv6-ready packages | 17 | # list it into IPv6-ready packages | |
19 | BUILD_DEFS+= IPV6_READY | 18 | BUILD_DEFS+= IPV6_READY | |
20 | 19 | |||
21 | USE_LIBTOOL= yes | 20 | USE_LIBTOOL= yes | |
22 | GNU_CONFIGURE= yes | 21 | GNU_CONFIGURE= yes | |
23 | CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} | 22 | CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} | |
24 | CONFIGURE_ARGS+= --with-ca-path=${SSLCERTS} | 23 | CONFIGURE_ARGS+= --with-ca-path=${SSLCERTS} | |
25 | CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} | 24 | CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} | |
26 | PKGCONFIG_OVERRIDE= libcurl.pc.in | 25 | PKGCONFIG_OVERRIDE= libcurl.pc.in | |
27 | 26 | |||
28 | INSTALLATION_DIRS= share/doc/curl share/examples/curl | 27 | INSTALLATION_DIRS= share/doc/curl share/examples/curl | |
29 | 28 | |||
30 | .include "../../mk/bsd.prefs.mk" | 29 | .include "../../mk/bsd.prefs.mk" | |
31 | 30 | |||
32 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | 31 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | |
33 | TEST_TARGET= check | 32 | TEST_TARGET= check | |
34 | USE_TOOLS+= perl | 33 | USE_TOOLS+= perl | |
35 | .endif | 34 | .endif | |
36 | 35 | |||
37 | .if ${_USE_DESTDIR} == "no" | 36 | .if ${_USE_DESTDIR} == "no" | |
38 | PRIVILEGED_STAGES+= clean | 37 | PRIVILEGED_STAGES+= clean | |
39 | .endif | 38 | .endif | |
40 | 39 | |||
41 | .include "options.mk" | 40 | .include "options.mk" | |
42 | 41 | |||
43 | post-install: | 42 | post-install: | |
44 | for _f in MANUAL TheArtOfHttpScripting FAQ \ | 43 | for _f in MANUAL TheArtOfHttpScripting FAQ \ | |
45 | curl-config.pdf curl.pdf; do \ | 44 | curl-config.pdf curl.pdf; do \ | |
46 | ${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \ | 45 | ${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \ | |
47 | ${DESTDIR}${PREFIX}/share/doc/curl/${_f}; \ | 46 | ${DESTDIR}${PREFIX}/share/doc/curl/${_f}; \ | |
48 | done | 47 | done | |
49 | for _f in ${WRKSRC}/docs/examples/*.c \ | 48 | for _f in ${WRKSRC}/docs/examples/*.c \ | |
50 | ${WRKSRC}/docs/examples/README; do \ | 49 | ${WRKSRC}/docs/examples/README; do \ | |
51 | ${INSTALL_DATA} $${_f} \ | 50 | ${INSTALL_DATA} $${_f} \ | |
52 | ${DESTDIR}${PREFIX}/share/examples/curl; \ | 51 | ${DESTDIR}${PREFIX}/share/examples/curl; \ | |
53 | done | 52 | done | |
54 | 53 | |||
55 | .include "../../devel/zlib/buildlink3.mk" | 54 | .include "../../devel/zlib/buildlink3.mk" | |
56 | .include "../../security/openssl/buildlink3.mk" | 55 | .include "../../security/openssl/buildlink3.mk" | |
57 | .include "../../mk/bsd.pkg.mk" | 56 | .include "../../mk/bsd.pkg.mk" |
@@ -1,137 +1,138 @@ | @@ -1,137 +1,138 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.38 2012/12/06 16:24:29 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.39 2013/04/14 16:39:48 wiz Exp $ | |
2 | bin/curl | 2 | bin/curl | |
3 | bin/curl-config | 3 | bin/curl-config | |
4 | include/curl/curl.h | 4 | include/curl/curl.h | |
5 | include/curl/curlbuild.h | 5 | include/curl/curlbuild.h | |
6 | include/curl/curlrules.h | 6 | include/curl/curlrules.h | |
7 | include/curl/curlver.h | 7 | include/curl/curlver.h | |
8 | include/curl/easy.h | 8 | include/curl/easy.h | |
9 | include/curl/mprintf.h | 9 | include/curl/mprintf.h | |
10 | include/curl/multi.h | 10 | include/curl/multi.h | |
11 | include/curl/stdcheaders.h | 11 | include/curl/stdcheaders.h | |
12 | include/curl/typecheck-gcc.h | 12 | include/curl/typecheck-gcc.h | |
13 | lib/libcurl.la | 13 | lib/libcurl.la | |
14 | lib/pkgconfig/libcurl.pc | 14 | lib/pkgconfig/libcurl.pc | |
15 | man/man1/curl-config.1 | 15 | man/man1/curl-config.1 | |
16 | man/man1/curl.1 | 16 | man/man1/curl.1 | |
17 | man/man1/mk-ca-bundle.1 | 17 | man/man1/mk-ca-bundle.1 | |
18 | man/man3/curl_easy_cleanup.3 | 18 | man/man3/curl_easy_cleanup.3 | |
19 | man/man3/curl_easy_duphandle.3 | 19 | man/man3/curl_easy_duphandle.3 | |
20 | man/man3/curl_easy_escape.3 | 20 | man/man3/curl_easy_escape.3 | |
21 | man/man3/curl_easy_getinfo.3 | 21 | man/man3/curl_easy_getinfo.3 | |
22 | man/man3/curl_easy_init.3 | 22 | man/man3/curl_easy_init.3 | |
23 | man/man3/curl_easy_pause.3 | 23 | man/man3/curl_easy_pause.3 | |
24 | man/man3/curl_easy_perform.3 | 24 | man/man3/curl_easy_perform.3 | |
25 | man/man3/curl_easy_recv.3 | 25 | man/man3/curl_easy_recv.3 | |
26 | man/man3/curl_easy_reset.3 | 26 | man/man3/curl_easy_reset.3 | |
27 | man/man3/curl_easy_send.3 | 27 | man/man3/curl_easy_send.3 | |
28 | man/man3/curl_easy_setopt.3 | 28 | man/man3/curl_easy_setopt.3 | |
29 | man/man3/curl_easy_strerror.3 | 29 | man/man3/curl_easy_strerror.3 | |
30 | man/man3/curl_easy_unescape.3 | 30 | man/man3/curl_easy_unescape.3 | |
31 | man/man3/curl_escape.3 | 31 | man/man3/curl_escape.3 | |
32 | man/man3/curl_formadd.3 | 32 | man/man3/curl_formadd.3 | |
33 | man/man3/curl_formfree.3 | 33 | man/man3/curl_formfree.3 | |
34 | man/man3/curl_formget.3 | 34 | man/man3/curl_formget.3 | |
35 | man/man3/curl_free.3 | 35 | man/man3/curl_free.3 | |
36 | man/man3/curl_getdate.3 | 36 | man/man3/curl_getdate.3 | |
37 | man/man3/curl_getenv.3 | 37 | man/man3/curl_getenv.3 | |
38 | man/man3/curl_global_cleanup.3 | 38 | man/man3/curl_global_cleanup.3 | |
39 | man/man3/curl_global_init.3 | 39 | man/man3/curl_global_init.3 | |
40 | man/man3/curl_global_init_mem.3 | 40 | man/man3/curl_global_init_mem.3 | |
41 | man/man3/curl_mprintf.3 | 41 | man/man3/curl_mprintf.3 | |
42 | man/man3/curl_multi_add_handle.3 | 42 | man/man3/curl_multi_add_handle.3 | |
43 | man/man3/curl_multi_assign.3 | 43 | man/man3/curl_multi_assign.3 | |
44 | man/man3/curl_multi_cleanup.3 | 44 | man/man3/curl_multi_cleanup.3 | |
45 | man/man3/curl_multi_fdset.3 | 45 | man/man3/curl_multi_fdset.3 | |
46 | man/man3/curl_multi_info_read.3 | 46 | man/man3/curl_multi_info_read.3 | |
47 | man/man3/curl_multi_init.3 | 47 | man/man3/curl_multi_init.3 | |
48 | man/man3/curl_multi_perform.3 | 48 | man/man3/curl_multi_perform.3 | |
49 | man/man3/curl_multi_remove_handle.3 | 49 | man/man3/curl_multi_remove_handle.3 | |
50 | man/man3/curl_multi_setopt.3 | 50 | man/man3/curl_multi_setopt.3 | |
51 | man/man3/curl_multi_socket.3 | 51 | man/man3/curl_multi_socket.3 | |
52 | man/man3/curl_multi_socket_action.3 | 52 | man/man3/curl_multi_socket_action.3 | |
53 | man/man3/curl_multi_strerror.3 | 53 | man/man3/curl_multi_strerror.3 | |
54 | man/man3/curl_multi_timeout.3 | 54 | man/man3/curl_multi_timeout.3 | |
55 | man/man3/curl_multi_wait.3 | 55 | man/man3/curl_multi_wait.3 | |
56 | man/man3/curl_share_cleanup.3 | 56 | man/man3/curl_share_cleanup.3 | |
57 | man/man3/curl_share_init.3 | 57 | man/man3/curl_share_init.3 | |
58 | man/man3/curl_share_setopt.3 | 58 | man/man3/curl_share_setopt.3 | |
59 | man/man3/curl_share_strerror.3 | 59 | man/man3/curl_share_strerror.3 | |
60 | man/man3/curl_slist_append.3 | 60 | man/man3/curl_slist_append.3 | |
61 | man/man3/curl_slist_free_all.3 | 61 | man/man3/curl_slist_free_all.3 | |
62 | man/man3/curl_strequal.3 | 62 | man/man3/curl_strequal.3 | |
63 | man/man3/curl_unescape.3 | 63 | man/man3/curl_unescape.3 | |
64 | man/man3/curl_version.3 | 64 | man/man3/curl_version.3 | |
65 | man/man3/curl_version_info.3 | 65 | man/man3/curl_version_info.3 | |
66 | man/man3/libcurl-easy.3 | 66 | man/man3/libcurl-easy.3 | |
67 | man/man3/libcurl-errors.3 | 67 | man/man3/libcurl-errors.3 | |
68 | man/man3/libcurl-multi.3 | 68 | man/man3/libcurl-multi.3 | |
69 | man/man3/libcurl-share.3 | 69 | man/man3/libcurl-share.3 | |
70 | man/man3/libcurl-tutorial.3 | 70 | man/man3/libcurl-tutorial.3 | |
71 | man/man3/libcurl.3 | 71 | man/man3/libcurl.3 | |
72 | share/doc/curl/FAQ | 72 | share/doc/curl/FAQ | |
73 | share/doc/curl/MANUAL | 73 | share/doc/curl/MANUAL | |
74 | share/doc/curl/TheArtOfHttpScripting | 74 | share/doc/curl/TheArtOfHttpScripting | |
75 | share/doc/curl/curl-config.pdf | 75 | share/doc/curl/curl-config.pdf | |
76 | share/doc/curl/curl.pdf | 76 | share/doc/curl/curl.pdf | |
77 | share/examples/curl/10-at-a-time.c | 77 | share/examples/curl/10-at-a-time.c | |
78 | share/examples/curl/README | 78 | share/examples/curl/README | |
79 | share/examples/curl/anyauthput.c | 79 | share/examples/curl/anyauthput.c | |
80 | share/examples/curl/cacertinmem.c | 80 | share/examples/curl/cacertinmem.c | |
81 | share/examples/curl/certinfo.c | 81 | share/examples/curl/certinfo.c | |
82 | share/examples/curl/chkspeed.c | 82 | share/examples/curl/chkspeed.c | |
83 | share/examples/curl/cookie_interface.c | 83 | share/examples/curl/cookie_interface.c | |
84 | share/examples/curl/curlgtk.c | 84 | share/examples/curl/curlgtk.c | |
85 | share/examples/curl/curlx.c | 85 | share/examples/curl/curlx.c | |
86 | share/examples/curl/debug.c | 86 | share/examples/curl/debug.c | |
87 | share/examples/curl/evhiperfifo.c | 87 | share/examples/curl/evhiperfifo.c | |
88 | share/examples/curl/externalsocket.c | 88 | share/examples/curl/externalsocket.c | |
89 | share/examples/curl/fileupload.c | 89 | share/examples/curl/fileupload.c | |
90 | share/examples/curl/fopen.c | 90 | share/examples/curl/fopen.c | |
91 | share/examples/curl/ftp-wildcard.c | 91 | share/examples/curl/ftp-wildcard.c | |
92 | share/examples/curl/ftpget.c | 92 | share/examples/curl/ftpget.c | |
93 | share/examples/curl/ftpgetinfo.c | 93 | share/examples/curl/ftpgetinfo.c | |
94 | share/examples/curl/ftpgetresp.c | 94 | share/examples/curl/ftpgetresp.c | |
95 | share/examples/curl/ftpsget.c | 95 | share/examples/curl/ftpsget.c | |
96 | share/examples/curl/ftpupload.c | 96 | share/examples/curl/ftpupload.c | |
97 | share/examples/curl/ftpuploadresume.c | 97 | share/examples/curl/ftpuploadresume.c | |
98 | share/examples/curl/getinfo.c | 98 | share/examples/curl/getinfo.c | |
99 | share/examples/curl/getinmemory.c | 99 | share/examples/curl/getinmemory.c | |
100 | share/examples/curl/ghiper.c | 100 | share/examples/curl/ghiper.c | |
101 | share/examples/curl/hiperfifo.c | 101 | share/examples/curl/hiperfifo.c | |
102 | share/examples/curl/href_extractor.c | 102 | share/examples/curl/href_extractor.c | |
103 | share/examples/curl/htmltidy.c | 103 | share/examples/curl/htmltidy.c | |
104 | share/examples/curl/http-post.c | 104 | share/examples/curl/http-post.c | |
105 | share/examples/curl/httpcustomheader.c | 105 | share/examples/curl/httpcustomheader.c | |
106 | share/examples/curl/httpput.c | 106 | share/examples/curl/httpput.c | |
107 | share/examples/curl/https.c | 107 | share/examples/curl/https.c | |
108 | share/examples/curl/imap.c | 108 | share/examples/curl/imap.c | |
109 | share/examples/curl/multi-app.c | 109 | share/examples/curl/multi-app.c | |
110 | share/examples/curl/multi-debugcallback.c | 110 | share/examples/curl/multi-debugcallback.c | |
111 | share/examples/curl/multi-double.c | 111 | share/examples/curl/multi-double.c | |
112 | share/examples/curl/multi-post.c | 112 | share/examples/curl/multi-post.c | |
113 | share/examples/curl/multi-single.c | 113 | share/examples/curl/multi-single.c | |
114 | share/examples/curl/multi-uv.c | |||
114 | share/examples/curl/multithread.c | 115 | share/examples/curl/multithread.c | |
115 | share/examples/curl/opensslthreadlock.c | 116 | share/examples/curl/opensslthreadlock.c | |
116 | share/examples/curl/persistant.c | 117 | share/examples/curl/persistant.c | |
117 | share/examples/curl/pop3s.c | 118 | share/examples/curl/pop3s.c | |
118 | share/examples/curl/pop3slist.c | 119 | share/examples/curl/pop3slist.c | |
119 | share/examples/curl/post-callback.c | 120 | share/examples/curl/post-callback.c | |
120 | share/examples/curl/postit2.c | 121 | share/examples/curl/postit2.c | |
121 | share/examples/curl/progressfunc.c | 122 | share/examples/curl/progressfunc.c | |
122 | share/examples/curl/resolve.c | 123 | share/examples/curl/resolve.c | |
123 | share/examples/curl/rtsp.c | 124 | share/examples/curl/rtsp.c | |
124 | share/examples/curl/sampleconv.c | 125 | share/examples/curl/sampleconv.c | |
125 | share/examples/curl/sendrecv.c | 126 | share/examples/curl/sendrecv.c | |
126 | share/examples/curl/sepheaders.c | 127 | share/examples/curl/sepheaders.c | |
127 | share/examples/curl/sftpget.c | 128 | share/examples/curl/sftpget.c | |
128 | share/examples/curl/simple.c | 129 | share/examples/curl/simple.c | |
129 | share/examples/curl/simplepost.c | 130 | share/examples/curl/simplepost.c | |
130 | share/examples/curl/simplesmtp.c | 131 | share/examples/curl/simplesmtp.c | |
131 | share/examples/curl/simplessl.c | 132 | share/examples/curl/simplessl.c | |
132 | share/examples/curl/smooth-gtk-thread.c | 133 | share/examples/curl/smooth-gtk-thread.c | |
133 | share/examples/curl/smtp-multi.c | 134 | share/examples/curl/smtp-multi.c | |
134 | share/examples/curl/smtp-tls.c | 135 | share/examples/curl/smtp-tls.c | |
135 | share/examples/curl/synctime.c | 136 | share/examples/curl/synctime.c | |
136 | share/examples/curl/threaded-ssl.c | 137 | share/examples/curl/threaded-ssl.c | |
137 | share/examples/curl/url2file.c | 138 | share/examples/curl/url2file.c |
@@ -1,8 +1,7 @@ | @@ -1,8 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.84 2013/03/17 21:33:33 tsutsui Exp $ | 1 | $NetBSD: distinfo,v 1.85 2013/04/14 16:39:48 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (curl-7.29.0.tar.bz2) = 03eddd295d3d50d60a9dd1c130c8e110ff1aa95a | 3 | SHA1 (curl-7.30.0.tar.bz2) = 23fdc215558023b943cea9dfab04b86020037b0d | |
4 | RMD160 (curl-7.29.0.tar.bz2) = 50c2ee716736dc0f1de26e032f525e7511912b95 | 4 | RMD160 (curl-7.30.0.tar.bz2) = 858e772c17fc05d7114856f09fc34e696f1ef595 | |
5 | Size (curl-7.29.0.tar.bz2) = 2556495 bytes | 5 | Size (curl-7.30.0.tar.bz2) = 2625976 bytes | |
6 | SHA1 (patch-aa) = 07e12cd0576b87cfed74a6a2bf8dd42cb2f5a570 | 6 | SHA1 (patch-aa) = 07e12cd0576b87cfed74a6a2bf8dd42cb2f5a570 | |
7 | SHA1 (patch-curl-config.in) = 406fdc1ea210e81a674b7edae9842ec9083bf45e | 7 | SHA1 (patch-curl-config.in) = c685dd4fd85fc9d97c6e6ff8dbf871c35dd57046 | |
8 | SHA1 (patch-lib_multi.c) = ead077ecdb819081e7a271feb6e249a20e025f75 |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-curl-config.in,v 1.1 2013/03/17 21:33:34 tsutsui Exp $ | 1 | $NetBSD: patch-curl-config.in,v 1.2 2013/04/14 16:39:49 wiz Exp $ | |
2 | 2 | |||
3 | - make "curl-config --libs" return proper ldflags for shared libraries | 3 | - make "curl-config --libs" return proper ldflags for shared libraries | |
4 | 4 | |||
5 | --- curl-config.in.orig 2012-08-08 21:38:25.000000000 +0000 | 5 | --- curl-config.in.orig 2013-02-06 14:44:37.000000000 +0000 | |
6 | +++ curl-config.in | 6 | +++ curl-config.in | |
7 | @@ -148,9 +148,9 @@ | 7 | @@ -148,9 +148,9 @@ while test $# -gt 0; do | |
8 | CURLLIBDIR="" | 8 | CURLLIBDIR="" | |
9 | fi | 9 | fi | |
10 | if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then | 10 | if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then | |
11 | - echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ | 11 | - echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ | |
12 | + echo @LDFLAGS@ ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ | 12 | + echo @LDFLAGS@ ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ | |
13 | else | 13 | else | |
14 | - echo ${CURLLIBDIR}-lcurl | 14 | - echo ${CURLLIBDIR}-lcurl | |
15 | + echo @LDFLAGS@ ${CURLLIBDIR}-lcurl | 15 | + echo @LDFLAGS@ ${CURLLIBDIR}-lcurl | |
16 | fi | 16 | fi | |
17 | ;; | 17 | ;; | |
18 | 18 |