[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure default mirror for pkg_add

On Fri, May 02, 2003 at 01:29:41PM -0400, Jolan Luff wrote:
> On Fri, May 02, 2003 at 07:06:06PM +0200, Christian Gut wrote:
> > Hi!
> >
> > Since i am setting up a new box with 3.3, i searched for a way to
> > configure the default ftp-mirror to use with pkg_add, so that i can
> > simply use "pkg_add ntp-4.1.74.tgz" instead of spezifieing the whole
> > ftp-path. I tried to use $PKG_PATH but it seems to work with local paths
> > only.
> http://www.openbsd.org/ports.html:
> Adding a package is as easy as pkg_add pkgname.tgz. If you are grabbing
> packages from a single source (a package repository), set PKG_PATH to
> that repository URL, in order to grab dependencies.
> For instance, to install the Gimp package for the 3.2 release on an i386
> machine off the ftp site (including dependencies), do:
>     # setenv PKG_PATH
>     # ftp://ftp.openbsd.org/pub/OpenBSD/3.2/packages/i386/
>     # pkg_add ${PKG_PATH}gimp-1.2.3.tgz


if you need to type the variable it makes no sense to me in this
context. Of course you could do it this way, but that wasn't the point.


[demime 0.98d removed an attachment of type application/pgp-signature]

Visit your host, monkey.org