This release includes the following changes: o recognize the [protocol]:// prefix in proxy hosts where the protocol is one of socks4, socks4a, socks5 or socks5h. o Added CURLOPT_CLOSESOCKETFUNCTION and CURLOPT_CLOSESOCKETDATA This release includes the following bugfixes: o SECURITY ADVISORY: inappropriate GSSAPI delegation. Full details at http://curl.haxx.se/docs/adv_20110623.html o NTLM: work with unicode o fix connect with SOCKS proxy when using the multi interface o anyauthput.c: stdint.h must not be included unconditionally o CMake: improved build o SCP/SFTP enable non-blocking earlier o GnuTLS handshake: fix timeout o cyassl: build without filesystem o HTTPS over HTTP proxy using the multi interface o speedcheck: invalid timeout event on a reused handle o Force connection close for HTTP 200 OK when time condition matched o curl_formget: fix FILE * leak o configure: improved OpenSSL detection o Android build: support gingerbread o CURLFORM_STREAM: acknowledge CURLFORM_FILENAME o windows build: use correct MS CRT o pop3: remove extra space in LIST command
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.106 2011/06/28 10:11:08 obache Exp $
|
|
|
|
DISTNAME= curl-7.21.7
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
|
ftp://ftp.sunet.se/pub/www/utilities/curl/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://curl.haxx.se/
|
|
COMMENT= Client that groks URLs
|
|
# not completely, but near enough
|
|
LICENSE= mit
|
|
|
|
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-ca-path=${SSLCERTS}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
PKGCONFIG_OVERRIDE= libcurl.pc.in
|
|
|
|
INSTALLATION_DIRS= share/doc/curl share/examples/curl
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
|
TEST_TARGET= check
|
|
USE_TOOLS+= perl
|
|
.endif
|
|
|
|
.if ${_USE_DESTDIR} == "no"
|
|
PRIVILEGED_STAGES+= clean
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
for _f in MANUAL TheArtOfHttpScripting FAQ \
|
|
curl-config.pdf curl.pdf; do \
|
|
${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
|
|
${DESTDIR}${PREFIX}/share/doc/curl/${_f}; \
|
|
done
|
|
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"
|