OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Marc Espie (espiecvs.openbsd.org)
Date: Sun Mar 07 2004 - 13:29:09 CST


CVSROOT: /cvs
Module name: src
Changes by: espiecvs.openbsd.org 2004/03/07 12:29:08

Modified files:
        usr.sbin/pkg_add: pkg_add pkg_add.1
        usr.sbin/pkg_add/OpenBSD: PackageLocator.pm

Log message:
A few useful features:
- pkg_add -A arch, to make believe we are extracting on a given arch
(matches pkg_create).
- pkg_add -P cdrom/-P ftp, to enforce extracting only cdrom'able packages
or ftp'able packages. Helps a lot for checking cdrom lists.
- dependency look-up will look through local directory listings to solve
dependencies, so that non-default dependencies will work more seemlessly.
(doing the same thing for distant repository will happen after 3.5, but
this requires more apparatus: caching package lists, and killing/restoring
existing connections, plus more error handling).

okay pval