From owner-freebsd-questions Sun Apr 15 13: 5:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0962937B43F for ; Sun, 15 Apr 2001 13:05:18 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 60837 invoked by uid 100); 15 Apr 2001 20:05:17 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15065.65276.885958.96086@guru.mired.org> Date: Sun, 15 Apr 2001 15:05:16 -0500 To: Dmitriy Pushkarev Cc: questions@freebsd.org Subject: Re: Installing ports via passworded proxy server In-Reply-To: <23957527@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dmitriy Pushkarev types: > At the place I work, we have only one Real IP adress at the server with > FreeBSD 3.4. And about 5 computes running FreeBSD 4.2-RC1. Installing > programms on server is easy - just make install. But with other we have > to download package from ftp and place it to distfiles. It's annoying > :-( Could we install ports via passworded proxy server? I.e. i want > teach port-installer to get files via passwd proxy... Probably. You can set the following in /etc/make.conf (from /usr/ports/Mk/bsd.port.mk): # FETCH_CMD - Full path to ftp/http fetch command if not in $PATH # (default: "/usr/bin/fetch -A"). # FETCH_BEFORE_ARGS - # 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). # So if there's something you can hand to fetch in either the argument list or the environment to make it do what you want you can set that. See the fetch(1) and fetch(3) man pages for information on that. If you can't make fetch do what you want, but can write a script to do it, then you can set FETCH_CMD to point to the script. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message