Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 12:37:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r339113 - branches/2014Q1/Mk
Message-ID:  <201401081237.s08CbDEE066510@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jan  8 12:37:12 2014
New Revision: 339113
URL: http://svnweb.freebsd.org/changeset/ports/339113

Log:
  MFH: r338507
  
  Allow to follow 302 redirection when fetching from http.
  
  The main reason for it to not be allowed was to avoid infinite redirection loop
  it appears that fetch(1) anyway limit the number of redirections to 5 on 8.3 and 9.1
  20 on 9.2 and 10+ meaning we have no good reasons anymore to continue forbidding
  following redirections.
  
  Thanks to Michael Gmelin for having investigation
  
  Reported by:	many

Modified:
  branches/2014Q1/Mk/bsd.port.mk
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/Mk/bsd.port.mk
==============================================================================
--- branches/2014Q1/Mk/bsd.port.mk	Wed Jan  8 12:36:13 2014	(r339112)
+++ branches/2014Q1/Mk/bsd.port.mk	Wed Jan  8 12:37:12 2014	(r339113)
@@ -806,7 +806,7 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 # FETCH_BINARY	- Path to ftp/http fetch command if not in $PATH.
 #				  Default: "/usr/bin/fetch"
 # FETCH_ARGS	- Arguments to ftp/http fetch command.
-#				  Default: "-AFpr"
+#				  Default: "-Fpr"
 # FETCH_CMD		- ftp/http fetch command.
 #				  Default: ${FETCH_BINARY} ${FETCH_ARGS}
 # FETCH_BEFORE_ARGS
@@ -2222,7 +2222,7 @@ PTHREAD_LIBS?=		-pthread
 
 FETCH_ENV?=		SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
 FETCH_BINARY?=	/usr/bin/fetch
-FETCH_ARGS?=	-AFpr
+FETCH_ARGS?=	-Fpr
 FETCH_REGET?=	1
 .if !defined(DISABLE_SIZE)
 FETCH_BEFORE_ARGS+=	$${CKSIZE:+-S $$CKSIZE}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401081237.s08CbDEE066510>