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: Thu Feb 09 2006 - 03:42:10 CST


CVSROOT: /cvs
Module name: src
Changes by: espiecvs.openbsd.org 2006/02/09 02:42:10

Modified files:
        usr.sbin/pkg_add/OpenBSD: Add.pm

Log message:
Turn validate_plist() into a real visitor that calls validate() for each
object in the packing-list.

Move some checks earlier, so that update of packages fails before
deleting the old package.

Add more checks, like verifying that install/deinstall scripts are indeed
located on exec'able partitions.