To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 06/24/2003 16:55:34
>Synopsis: [RFE] pkg_add (or pkg_locate) directly from <category>/<package>
>Arrival-Date: Tue Jun 24 16:56:00 UTC 2003
>Originator: william allen simpson
The documentation at
is much easier for binary packages than for working on -current.
That is, pkg_add <package> supposedly downloads and installs.
I tried it in -current, and it didn't work. I also tried the
form ftp://..., and that didn't work either.
Instead, I had to haul down the ENTIRE tree via CVS (documentation at
worked reasonably well), only then could 'cd /usr/pkgsrc/editors/joe'
(in my case, misc/screen).
I want 'pkg_add <package>' to AUTOMATICALLY download the correct
/usr/pkgsrc/<category>/<package>, and compile from there.
(1) locate best mirror by ping, from list of mirrors installed with
the system, and update the list for the next time.
(2) check to see whether there are pre-compiled binaries.
(3) CVS only the needed part of the package tree.
(4) etc. etc. etc.
In the alternative, a new utility pkg_locate could handle it, but it
does seem to be a basic part of the task, now done manually.