Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 14:19:11 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        portmgr@FreeBSD.org, ports@FreeBSD.org
Subject:   PROXY settings?
Message-ID:  <20010915141911.A95543@mobile.cichlids.com>

next in thread | raw e-mail | index | archive | help
Hi!

I think we need this patch.
Otherwise the example in make.conf won't even work.

Alex


cvs server: Diffing .
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.378
diff -u -r1.378 bsd.port.mk
--- bsd.port.mk	2001/08/31 02:13:02	1.378
+++ bsd.port.mk	2001/09/15 12:17:55
@@ -343,7 +343,8 @@
 #				  Arguments to ${FETCH_CMD} before filename (default: none).
 # FETCH_AFTER_ARGS -
 #				  Arguments to ${FETCH_CMD} following filename (default: none).
-# FETCH_ENV		- Environment to pass to ${FETCH_CMD} (default: none).
+# FETCH_ENV		- Environment to pass to ${FETCH_CMD} (default: proxy
+#				  settings).
 #
 # For extract:
 #
@@ -964,6 +965,12 @@
 #FETCH_BEFORE_ARGS+=	$${CKSIZE:+-S $$CKSIZE}
 .else
 FETCH_CMD?=		/usr/bin/ftp
+.endif
+.if defined(FTP_PROXY)
+FETCH_ENV+=		FTP_PROXY="${FTP_PROXY}"
+.endif
+.if defined(HTTP_PROXY)
+FETCH_ENV+=		HTTP_PROXY="${HTTP_PROXY}"
 .endif
 
 TOUCH?=			/usr/bin/touch

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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