From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 3 23:10:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E8591065670 for ; Sun, 3 Oct 2010 23:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 21EC78FC17 for ; Sun, 3 Oct 2010 23:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o93NA5WJ083806 for ; Sun, 3 Oct 2010 23:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o93NA4Ro083805; Sun, 3 Oct 2010 23:10:05 GMT (envelope-from gnats) Resent-Date: Sun, 3 Oct 2010 23:10:05 GMT Resent-Message-Id: <201010032310.o93NA4Ro083805@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, grarpamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7269B106566C for ; Sun, 3 Oct 2010 23:09:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2E88FC1A for ; Sun, 3 Oct 2010 23:09:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o93N9ImD054306 for ; Sun, 3 Oct 2010 23:09:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o93N9Ieq054305; Sun, 3 Oct 2010 23:09:18 GMT (envelope-from nobody) Message-Id: <201010032309.o93N9Ieq054305@www.freebsd.org> Date: Sun, 3 Oct 2010 23:09:18 GMT From: grarpamp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/151187: pkg_add(1): allow different pkgdep location X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2010 23:10:05 -0000 >Number: 151187 >Category: bin >Synopsis: pkg_add(1): allow different pkgdep location >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 03 23:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: grarpamp >Release: i386: HEAD, RELENG_8 >Organization: >Environment: >Description: pkg_add(1) needs to be able to fetch the primary package file [pkg-name argument] from one location and any dependencies [+CONTENTS: @pkgdep] from a second location. In other words, these two examples should be made to work. # remote pkg-name PKGDEPSITE=ftp://ftp.freebsd.org/.../All/ \ pkg_add ftp://ftp.example.com/.../foo.tgz # local pkg-name PKGDEPSITE=ftp://ftp.example.com/.../pkg/ \ pkg_add /home/.../foo.tgz Also, consider enhancing the 'path' type environment variables to allow multiple paths/methods in order: PKG_PATH=/foo:'ftp://1.com/':'http://2.com/':'ftp://ftp.freebsd.org/' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: