go to /usr/ports/lang/clang34, then make fetch fetch will attempt to connect to the download server given, but *does not* use defined proxy-variables or unsets them. In tune make fetch fails to download the necessary packages to build the software in question. How-To-Repeat: setenv ftp_proxy http://<your_proxy_server:your_proxy_port> setenv http_proxy $ftp_proxy setenv https_proxy $ftp_proxy make fetch
assigning to portmgr for lack of a better option although it is not clear to me that fetch is supposed to respect these environment variables or not.
Requesting feedback, this seems to work here: antoine@foo:/usr/ports/lang/clang34 % setenv http_proxy http://127.0.0.1:8080 antoine@foo:/usr/ports/lang/clang34 % make fetch ===> clang34-3.4_2 depends on file: /usr/local/sbin/pkg - found => clang-3.4.src.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://llvm.org/releases/3.4/clang-3.4.src.tar.gz In another terminal I see the http request coming: % nc -l 8080 GET http://llvm.org/releases/3.4/clang-3.4.src.tar.gz HTTP/1.1 Host: llvm.org Accept: */* User-Agent: fetch libfetch/2.0 Connection: close
I'm using that daily and it works, redports builder are also using proxies