svn commit: r407725 - in head/ftp/curl: . files

Niclas Zeising zeising at FreeBSD.org
Mon Feb 1 17:04:15 UTC 2016


Author: zeising
Date: Mon Feb  1 17:04:13 2016
New Revision: 407725
URL: https://svnweb.freebsd.org/changeset/ports/407725

Log:
  Update to 7.47.0
  
  PR:		206756
  Submitted by:	zeising
  Approved by:	ports-secteam (miwi)
  MFH:		2016Q1
  Security:	CVE-2016-0755

Added:
  head/ftp/curl/files/patch-docs_examples_getredirect.c   (contents, props changed)
Modified:
  head/ftp/curl/Makefile
  head/ftp/curl/distinfo

Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile	Mon Feb  1 16:48:52 2016	(r407724)
+++ head/ftp/curl/Makefile	Mon Feb  1 17:04:13 2016	(r407725)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	curl
-PORTVERSION=	7.46.0
-PORTREVISION=	2
+PORTVERSION=	7.47.0
 CATEGORIES=	ftp www
 MASTER_SITES=	http://curl.haxx.se/download/ \
 		LOCAL/sunpoet

Modified: head/ftp/curl/distinfo
==============================================================================
--- head/ftp/curl/distinfo	Mon Feb  1 16:48:52 2016	(r407724)
+++ head/ftp/curl/distinfo	Mon Feb  1 17:04:13 2016	(r407725)
@@ -1,2 +1,2 @@
-SHA256 (curl-7.46.0.tar.lzma) = fe854a0dedf0a89da72aa1725d8ff66285b613d366a88f14681dacd824024087
-SIZE (curl-7.46.0.tar.lzma) = 2864645
+SHA256 (curl-7.47.0.tar.lzma) = f7789a806fef4e24ec3d4b70ca86ff145243bf19d03ab0eb5c64f18f1b2748d8
+SIZE (curl-7.47.0.tar.lzma) = 2878783

Added: head/ftp/curl/files/patch-docs_examples_getredirect.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/curl/files/patch-docs_examples_getredirect.c	Mon Feb  1 17:04:13 2016	(r407725)
@@ -0,0 +1,11 @@
+--- docs/examples/getredirect.c.orig	2016-01-30 11:01:12 UTC
++++ docs/examples/getredirect.c
+@@ -48,7 +48,7 @@ int main(void)
+     else {
+       res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);
+       if((res == CURLE_OK) &&
+-         ((code / 100) != 3)) {
++         ((response_code / 100) != 3)) {
+         /* a redirect implies a 3xx response code */
+         fprintf(stderr, "Not a redirect.\n");
+       }


More information about the svn-ports-all mailing list