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

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/12/18 17:29:20

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

Log message:
Clean up PackageLocator so it looks somewhat more object-oriented.
Most importantly, put all the state information into the created object,
so that the actual archive can be closed, later reopened, and scanned
until the correct file is found.

This will be used to allow retrieving packages through ftp without keeping
loads of connections opened because of dependency resolving.

Approved by fries and naddy.