Merge from vendor branch PKGSRC:
commit8e6bdc642e2019a473bd00852c032b8cd5ce3159
authorJoerg Sonnenberger <joerg@NetBSD.org>
Fri, 21 Aug 2009 15:19:26 +0000 (21 15:19 +0000)
committerJoerg Sonnenberger <joerg@NetBSD.org>
Fri, 21 Aug 2009 15:19:26 +0000 (21 15:19 +0000)
tree198612deda7347a8ddd467a1031a0d964008d908
parent4c736325263d432098300a7dddc5d715c320d928
parent4b94f81c98ef1fcbc589ab2a4e6f2224312eee93
Merge from vendor branch PKGSRC:
Import pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.

Rewrite the config file parser to read the file only once.

Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.

Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.