naddy d5288d6685 Security update to 7.55.0:
* file: output the correct buffer to the user (CVE-2017-1000099)
* tftp: reject file name lengths that don't fit (CVE-2017-1000100)
* glob: do not parse after a strtoul() overflow range (CVE-2017-1000101)
2017-08-10 19:46:26 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.127 2017/08/10 19:46:26 naddy Exp $
COMMENT= get files from FTP, Gopher, HTTP or HTTPS servers
VERSION= 7.55.0
DISTNAME= curl-${VERSION}
SHARED_LIBS= curl 25.11 # 8.0
CATEGORIES= net
HOMEPAGE= https://curl.haxx.se/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://curl.haxx.se/download/ \
https://execve.home.kg/curl/
EXTRACT_SUFX= .tar.xz
LIB_DEPENDS= www/nghttp2
WANTLIB= c crypto nghttp2 ssl z
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-ca-bundle=/etc/ssl/cert.pem \
--without-libidn2 \
--without-libpsl \
--without-libssh2
CONFIGURE_ENV= ac_cv_path_NROFF="/usr/bin/mandoc -Tascii"
# speed up some time-consuming configure tests
CONFIGURE_ENV+= \
curl_cv_func_select_args="int,fd_set *,struct timeval *,int" \
curl_cv_func_recv_args="int,void *,size_t,int,ssize_t" \
curl_cv_func_send_args="int,const void *,size_t,int,ssize_t" \
curl_cv_func_getnameinfo_args="const struct sockaddr *,socklen_t,size_t,int"
# Note:
# use ulimit -p 256 for test
# obsolete file accidentally included in tarball
post-extract:
rm ${WRKSRC}/docs/libcurl/opts/CURLOPT_STRIP_PATH_SLASH.3
.include <bsd.port.mk>