From owner-svn-ports-all@FreeBSD.ORG Fri Jan 3 00:02:08 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF3E5A32; Fri, 3 Jan 2014 00:02:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB5451137; Fri, 3 Jan 2014 00:02:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s030285V057026; Fri, 3 Jan 2014 00:02:08 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s030282u057025; Fri, 3 Jan 2014 00:02:08 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401030002.s030282u057025@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 3 Jan 2014 00:02:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338507 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 00:02:08 -0000 Author: bapt Date: Fri Jan 3 00:02:08 2014 New Revision: 338507 URL: http://svnweb.freebsd.org/changeset/ports/338507 Log: 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: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Thu Jan 2 22:41:18 2014 (r338506) +++ head/Mk/bsd.port.mk Fri Jan 3 00:02:08 2014 (r338507) @@ -795,7 +795,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 @@ -2159,7 +2159,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}