ec8b6e8590
security/libssh2 package. Changes: o --data-urlencode o CURLOPT_PROXY_TRANSFER_MODE o --no-keepalive - now curl does connections with keep-alive enabled by default o --socks4a added (proxy type CURLPROXY_SOCKS4A for libcurl) o --socks5-hostname added (CURLPROXY_SOCKS5_HOSTNAME for libcurl) o curl_easy_pause() o CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA o --keepalive-time o curl --help output was re-ordered This release includes the following bugfixes: o curl-config --features and --protocols show the correct output when built with NSS, and also when SCP, SFTP and libz are not available o free problem in the curl tool for users with empty home dir o curl.h version 7.17.1 problem when building C++ apps with MSVC o SFTP and SCP use persistent connections o segfault on bad URL o variable wrapping when using absolutely huge send buffer sizes o variable wrapping when using debug callback and the HTTP request wasn't sent in one go o SSL connections with NSS done with the multi-interface o setting a share no longer activates cookies o Negotiate now works on auth and proxy simultanouesly o support HTTP Digest nonces up to 1023 letters o resumed ftp upload no longer requires the read callback to return full buffers o no longer default-appends ;type= on FTP URLs thru proxies o SSL session id caching o POST with callback over proxy requiring NTLM or Digest o Expect: 100-continue flaw on re-used connection with POSTs o build fix for MSVC 9.0 (VS2008) o Windows curl builds failed file truncation when retry downloading o SSL session ID cache memory leak o bad connection re-use check with environment variable-activated proxy use o --libcurl now generates a return statement as well o socklen_t is no longer used in the public includes o time zone offsets from -1400 to +1400 are now accepted by the date parser o allows more spaces in WWW/Proxy-Authenticate: headers o curl-config --libs skips /usr/lib64 o range support for file:// transfers o libcurl hang with huge POST request and request-body read from callback o removed extra newlines from many error messages o improved pipelining o improved OOM handling for data url encoded HTTP POSTs when read from a file o test suite could pick wrong tool(s) if more than one existed in the PATH o curl_multi_fdset() failed to return socket while doing CONNECT over proxy o curl_multi_remove_handle() on a handle that is in used for a pipeline now break that pipeline o CURLOPT_COOKIELIST memory leaks o progress meter/callback during http proxy CONNECT requests o auth for http proxy when the proxy closes connection after first response
69 lines
2 KiB
Makefile
69 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.79 2008/03/02 14:40:26 bjs Exp $
|
|
|
|
DISTNAME= curl-7.18.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
HOMEPAGE= http://curl.haxx.se/
|
|
COMMENT= Client that groks URLs
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# list it into IPv6-ready packages
|
|
BUILD_DEFS+= IPV6_READY
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
# Work around an ICE on sparc64 with gcc2
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
|
TEST_TARGET= check
|
|
USE_TOOLS+= perl
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
#
|
|
# XXXbjs CHANGES claims this is fixed. I have left it here commented out
|
|
# in case this is not so.
|
|
#
|
|
#post-configure:
|
|
# if ${GREP} '#define HAVE_SYS_SELECT_H 1' ${WRKSRC}/src/config.h \
|
|
# >/dev/null; \
|
|
# then \
|
|
# line='#include <sys/select.h>'; \
|
|
# else \
|
|
# line='/* sys/select.h not included because it does not exist */'; \
|
|
# fi; \
|
|
# ${SED} -e "s|__INCLUDE_SYS_SELECT_H__|$${line}|" \
|
|
# <${WRKSRC}/include/curl/multi.h \
|
|
# >${WRKSRC}/include/curl/multi.h.new; \
|
|
# ${MV} ${WRKSRC}/include/curl/multi.h.new \
|
|
# ${WRKSRC}/include/curl/multi.h
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/curl
|
|
for _f in MANUAL TheArtOfHttpScripting FAQ \
|
|
curl-config.pdf curl.pdf; do \
|
|
${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
|
|
${DESTDIR}${PREFIX}/share/doc/curl/${_f}; \
|
|
done
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/curl
|
|
for _f in ${WRKSRC}/docs/examples/*.c \
|
|
${WRKSRC}/docs/examples/README; do \
|
|
${INSTALL_DATA} $${_f} \
|
|
${DESTDIR}${PREFIX}/share/examples/curl; \
|
|
done
|
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|