summaryrefslogtreecommitdiffstats
path: root/ftp/curl
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-06-05 19:31:45 +0000
committerpav <pav@FreeBSD.org>2005-06-05 19:31:45 +0000
commitec47fa20aa57665b350ade815c95ddcaa8401acf (patch)
treef1bcd7a153b98be857795a67ebc5b01a1004fabb /ftp/curl
parent9f3f19eb284d3276bcd21b47674dc2485128e45b (diff)
downloadFreeBSD-ports-ec47fa20aa57665b350ade815c95ddcaa8401acf.zip
FreeBSD-ports-ec47fa20aa57665b350ade815c95ddcaa8401acf.tar.gz
- Update to 7.14.0
- Provide WITH_GNUTLS knob to replace OpenSSL with GnuTLS PR: ports/81195 Submitted by: Vasil Dimov <vd@datamax.bg> Approved by: maintainer timeout (18 days)
Diffstat (limited to 'ftp/curl')
-rw-r--r--ftp/curl/Makefile21
-rw-r--r--ftp/curl/distinfo4
-rw-r--r--ftp/curl/files/patch-tests::runtests.pl6
-rw-r--r--ftp/curl/pkg-plist1
4 files changed, 24 insertions, 8 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index fd39665..b42d0cf 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= curl
-PORTVERSION= 7.13.1
-PORTREVISION= 1
+PORTVERSION= 7.14.0
CATEGORIES= ftp ipv6 www
MASTER_SITES= http://curl.haxx.se/download/ \
${MASTER_SITE_SOURCEFORGE} \
@@ -49,6 +48,11 @@ PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
GNU_CONFIGURE= yes
USE_BZIP2= yes
+
+.if defined(WITH_GNUTLS)
+WITHOUT_SSL= yes
+.endif
+
.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
.endif
@@ -57,9 +61,20 @@ USE_OPENSSL= yes
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
-PLIST_SUB+= SSL=""
.else
CONFIGURE_ARGS= --without-ssl
+.endif
+
+.if defined(WITH_GNUTLS)
+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+=--with-gnutls=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--without-gnutls
+.endif
+
+.if !defined(WITHOUT_SSL) || defined(WITH_GNUTLS)
+PLIST_SUB+= SSL=""
+.else
PLIST_SUB+= SSL="@comment "
.endif
diff --git a/ftp/curl/distinfo b/ftp/curl/distinfo
index 4113a05..93bf4be 100644
--- a/ftp/curl/distinfo
+++ b/ftp/curl/distinfo
@@ -1,2 +1,2 @@
-MD5 (curl-7.13.1.tar.bz2) = d673f68dbab2553acdbfb5435bd1cd48
-SIZE (curl-7.13.1.tar.bz2) = 1860688
+MD5 (curl-7.14.0.tar.bz2) = 46ce665e47d37fce1a0bad935cce58a9
+SIZE (curl-7.14.0.tar.bz2) = 1920305
diff --git a/ftp/curl/files/patch-tests::runtests.pl b/ftp/curl/files/patch-tests::runtests.pl
index a27a3ea..c071e58 100644
--- a/ftp/curl/files/patch-tests::runtests.pl
+++ b/ftp/curl/files/patch-tests::runtests.pl
@@ -1,11 +1,11 @@
---- tests/runtests.pl.orig Sat Mar 12 03:40:30 2005
-+++ tests/runtests.pl Sat Mar 12 03:40:39 2005
+--- tests/runtests.pl.orig Wed May 18 11:50:16 2005
++++ tests/runtests.pl Wed May 18 11:50:32 2005
@@ -29,7 +29,7 @@
@INC=(@INC, $ENV{'srcdir'}, ".");
require "getpart.pm"; # array functions
-require "valgrind.pm"; # valgrind report parser
+#require "valgrind.pm"; # valgrind report parser
+ require "ftp.pm";
my $srcdir = $ENV{'srcdir'} || '.';
- my $HOSTIP="127.0.0.1";
diff --git a/ftp/curl/pkg-plist b/ftp/curl/pkg-plist
index 72780d1..00c17bc 100644
--- a/ftp/curl/pkg-plist
+++ b/ftp/curl/pkg-plist
@@ -70,6 +70,7 @@ lib/libcurl.so.%%SHLIB_VER%%
%%PORTDOCS%%%%DOCSDIR%%/examples/multi-post.c
%%PORTDOCS%%%%DOCSDIR%%/examples/multi-single.c
%%PORTDOCS%%%%DOCSDIR%%/examples/multithread.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/opensslthreadlock.c
%%PORTDOCS%%%%DOCSDIR%%/examples/persistant.c
%%PORTDOCS%%%%DOCSDIR%%/examples/post-callback.c
%%PORTDOCS%%%%DOCSDIR%%/examples/postit2.c
OpenPOWER on IntegriCloud