bin/151187: pkg_add(1): allow different pkgdep location
grarpamp
grarpamp at gmail.com
Sun Oct 3 23:10:05 UTC 2010
>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:
More information about the freebsd-bugs
mailing list