pkgsrc/www/curl/Makefile
wiz 45b964423e Update to 7.17.0:
Changes:

    * support for OS/400 Secure Sockets Layer library
    * curl_easy_setopt() now allocates strings passed to it
    * SCP and SFTP support now requires libssh2 0.16 or later
    * LDAP libraries are now linked "regularly" and not with dlopen
    * HTTP transfers have the download size info "available" earlier
    * FTP transfers have the download size info "available" earlier
    * builds and runs on OS/400
    * several error codes and options were marked as obsolete and subject to future removal (set CURL_NO_OLDIES to see if your application is using them)
    * SFTP errors can return more specific error codes

Bugfixes:

    * test cases 31, 46, 61, 506, 517 now work in time zones that use leap seconds
    * problem with closed proxy connection during HTTP CONNECT auth negotiation
    * transfer-encoding skipping didn't ignore the 407 response bodies properly
    * CURLOPT_SSL_VERIFYHOST set to 1
    * CONNECT endless loop
    * krb5 support builds with Heimdal
    * added returned error string for connection refused case
    * re-use of dead FTP control connections
    * login to FTP servers that don't require (nor understand) PASS after the USER command
    * bad free of memory from libssh2
    * the SFTP PWD command works
    * HTTP Digest auth on a re-used connection
    * FTPS data connection close
    * AIX 4 and 5 get to use non-blocking sockets
    * small POST with NTLM
    * resumed file:// transfers
    * CURLOPT_DNS_CACHE_TIMEOUT and CURLOPT_DNS_USE_GLOBAL_CACHE are 64 bit "clean"
    * memory leak when handling compressed data streams from broken servers
    * no NTLM unicode response
    * resume HTTP PUT using Digest authentication
    * FTP NOBODY requests on directories sent "SIZE (null)"
    * FTP NOBODY request on file crash
    * excessively long FTP server responses and response lines
    * file:// upload then FTP:// upload crash
    * TFTP error 0 is no longer treated as success
    * uploading empty file over FTP on re-used connection
    * superfluous CWD command on re-used FTP connections without subdirs used
2007-09-15 09:29:11 +00:00

67 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.75 2007/09/15 09:29:11 wiz Exp $
DISTNAME= curl-7.17.0
CATEGORIES= www
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
ftp://ftp.rge.com/pub/networking/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"
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"