From owner-freebsd-hackers Tue Apr 7 04:45:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11613 for freebsd-hackers-outgoing; Tue, 7 Apr 1998 04:45:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from newserv.urc.ac.ru (newserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA11590 for ; Tue, 7 Apr 1998 04:44:59 -0700 (PDT) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.RNOC-dialup.urc.ac.ru [193.233.85.127]) by newserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id RAA12922 for ; Tue, 7 Apr 1998 17:42:17 +0600 (ESS) (envelope-from joy@urc.ac.ru) Message-ID: <352A10E7.7DF57494@urc.ac.ru> Date: Tue, 07 Apr 1998 17:41:27 +0600 From: Konstantin Chuguev Organization: South Ural Regional Center of FREEnet X-Mailer: Mozilla 4.05 [ru] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: pkg_add from FTP repositary Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All. I'm installing FreeBSD packages to my home computer from an FTP archive at my office. (It is faster to download binaries than to download and compile sources with my home processor and link speeds). I'm using a URL as a parameter for pkg_add. But then I cannot automatically install the packages which the first one depends on. PKG_PATH is used only for local files. Of course, it is correct, because searching files in FTP site is expensive. But could pkg_add have a last resort option for trying to get a package from some URL? For example, it could have a - option. If it has not found a package in PKG_PATH, it prepends a to the package name, and does the last try... Or an environment variable instead of an option. Comments? -- Konstantin V. Chuguev. System administrator of Ural Regional Center of FREEnet, Joy@urc.ac.ru Chelyabinsk, Russia. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message