Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2010 23:09:18 GMT
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/151187: pkg_add(1): allow different pkgdep location
Message-ID:  <201010032309.o93N9Ieq054305@www.freebsd.org>
Resent-Message-ID: <201010032310.o93NA4Ro083805@freefall.freebsd.org>

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

>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:



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