Changes: - the libcurl.pc pkgconfig file now gets installed on make install - URL globbing now offers "range steps": [1-100:10] - LDAPv3 is now the preferred LDAP protocol version - --max-redirs and CURLOPT_MAXREDIRS set to 0 limits redirects - improved MSVC makefile Bugfixes: - URL buffer overflow problem (CVE-2005-4077) - using file:// on non-existing files are properly handled - builds fine on DJGPP - CURLOPT_ERRORBUFFER is now always filled in on errors - curl outputs error on bad --limit-rate units - fixed libcurl's use of poll() on cygwin - the GnuTLS code didn't support client certificates - TFTP over IPv6 works - no reverse lookups on IP addresses when ipv6-enabled - SSPI compatibility fix: using the proper DLLs - binary LDAP properties are now shown base64 encoded - Windows uploads from stdin using curl can now contain ctrl-Z bytes - -r [num] would produce an invalid HTTP Range: header - multi interface with multi IP hosts could leak socket descriptors - the GnuTLS code didn't handle rehandshakes - re-use of a dead FTP connection - name resolve error codes fixed for Windows builds - double WWW-Authenticate Digest headers are now handled - curl-config --vernum fixed
64 lines
1.8 KiB
Makefile
64 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.60 2005/12/10 17:57:29 salo Exp $
|
|
|
|
DISTNAME= curl-7.15.1
|
|
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
|
|
|
|
# list it into IPv6-ready packages
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
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}
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if empty(USE_INET6:M[yY][eE][sS])
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
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} ${PREFIX}/share/doc/curl
|
|
for _f in MANUAL TheArtOfHttpScripting FAQ \
|
|
curl-config.pdf curl.pdf; do \
|
|
${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
|
|
${PREFIX}/share/doc/curl/${_f}; \
|
|
done
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/curl
|
|
for _f in ${WRKSRC}/docs/examples/*.c \
|
|
${WRKSRC}/docs/examples/README; do \
|
|
${INSTALL_DATA} $${_f} ${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"
|