diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-03 08:02:08 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-03 08:02:08 +0800 |
commit | e0a93b4ad6b42c3b502940395bf1eb425e50a4ac (patch) | |
tree | d1a47da27bf14cd3912d59afac2828372db3e961 | |
parent | d75a6a0bf2c0aee797da9cdeca0ca3e53a8ffad2 (diff) | |
download | freebsd-ports-gnome-e0a93b4ad6b42c3b502940395bf1eb425e50a4ac.tar.gz freebsd-ports-gnome-e0a93b4ad6b42c3b502940395bf1eb425e50a4ac.tar.zst freebsd-ports-gnome-e0a93b4ad6b42c3b502940395bf1eb425e50a4ac.zip |
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
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 3f6479fadac1..9188129defee 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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} |