From owner-freebsd-hackers Fri Sep 24 15: 1:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 5BF2E14BF6 for ; Fri, 24 Sep 1999 15:01:45 -0700 (PDT) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id AAA04068 for freebsd-hackers@FreeBSD.ORG; Sat, 25 Sep 1999 00:01:39 +0200 (CEST) (envelope-from olli) Date: Sat, 25 Sep 1999 00:01:39 +0200 (CEST) From: Oliver Fromme Message-Id: <199909242201.AAA04068@dorifer.heim3.tu-clausthal.de> To: freebsd-hackers@FreeBSD.ORG Subject: Re: A new package fetching utility, pkg_get Organization: Administration Heim 3 Reply-To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel C. Sobral wrote in list.freebsd-hackers: > Jaakko Salomaa wrote: > > It's designed to be easy to use, so it first checks -s parameter, then > > PKGSERVER environment variable, then the machine's toplevel domain. If the > > toplevel domain contains only two letters it attemps to use > > ftp..freebsd.org, else it defaults to ftp.freebsd.org and prompts > > whether the user wants to use it. > > Well... that's better than directing all users of the world > automatically to ftp.freebsd.org. :-) How about extracting the server name from the MASTER_SITE specified in /etc/make.conf{,.local}? Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message