pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39579: pkg_add set PKG_PATH for you
The following reply was made to PR pkg/39579; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/39579: pkg_add set PKG_PATH for you
Date: Thu, 18 Sep 2008 19:17:32 +0200
On Thu, Sep 18, 2008 at 03:40:00PM +0000, reed%reedmedia.net@localhost wrote:
> FreeBSD's pkg_add has useful switch -r to remotely fetch a package.
>
> We should also have switch to set PKG_PATH to remote URL for correct
> architecture and (major) release.
I object this. Having used FreeBSD's pkg_add for a long, the PKG_PATH
handling in it is more annoying than helpful. It is important to
consider whether or not we even *can* provide a sane default.
Some important questions to consider for a default is the choice of a
mirror. Another good question is where it should be set. With the
pkg_install-renovation branch we get a proper configuration file for
pkg_install and its components. Putting PKG_PATH in that, maybe with a
commented out default point to ftp.netbsd.org, is better than some magic
switch.
Joerg
Home |
Main Index |
Thread Index |
Old Index