Subject: Re: Ease of Downloading Packages
To: tech-pkg@netbsd.org, Curt Sampson <cjs@cynic.net>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-pkg
Date: 12/20/2001 12:04:15
In message <Pine.LNX.4.33.0112201436140.1364-100000@denkigama.nat.shibuya.blink.co.jp>,
Curt Sampson writes:

>But what if, instead of typing
>
>    pkg_add ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/pine-4.33.tg
>z
>
>I could just type
>
>    pkg_add http://packages.netbsd.org/pine

ftp://, surely

>and it would give me the latest version?

On FreeBSD, one can already issue
	pkg_add -r pine

and it DTRT, if where "right" is dfined to be defined by a forest of
symlinks on the server, pointing to the most up-to-date pkg/port
builds for the FreeBSD release of the client, as given by uname -a.