[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2004/12/16 04:07:33

Modified files:
	usr.sbin/pkg_add: pkg_add pkg_add.1 pkg_info 
	usr.sbin/pkg_add/OpenBSD: Add.pm CollisionReport.pm Delete.pm 
	                          PackageInfo.pm PackingElement.pm 
	                          PackingList.pm 

Log message:
renamed borked_installation from borked.n to partial-<pkgname> ...
partial-<pkgname>.n if needed.

Make borked_installation take a message, to show installation/deinstallation
issues correctly.

Fix handling of ^C: this may lead some system calls to return early, thus
registering as errors: so always mark the last file as done, so that borked
installation will register it correctly.

Kill packing-list cache for anything but depends: we've got a global cache
of libraries now (use it in pkg_add).

Make almost everyone look at $main::not, so that we can call
register_installation
to_installation
RequirementList->add/delete
safely.

Simplify $not logic accordingly, do thing much more closely to what would
happen without -n.

This should allow pkg_add/pkg_delete -n to handle most nasty cases correctly
now, since all the relevant information is kept internally in a compact
format:
- register of shared libraries
- global register of conflicts
- cache of depends.



Visit your host, monkey.org