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

Re: Features.



On Wed, 30 Aug 2000, Marc Espie wrote:
> Do you have a pointer to code that goes down a packing-list and checks 
> that files will install without barfing before starting the install proper ?
> Not saying it doesn't exist, but I haven't located it at a glance.

Not exactly files but:
One such place is the "quick depends pre-check": Every pkg has the full
list of required pkgs in it's PLIST. Now imagine you have pkg wildcards
for a moment: You want to install a pkg that says it wants "libfoo>=4",
i.e. libtoo-4 or later. If you happen to have libfoo-3 installed at that
time, that's detected *before* it comes to "pkg_add libfoo>=4".

The code is in rev. 1.45 of
http://cvsweb.no.netbsd.org/bsdweb.cgi/basesrc/usr.sbin/pkg_install/add/perform.c


 - Hubert

-- 
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!


To unsubscribe: send mail to <majordomo@unixathome.org>
with "unsubscribe bsdports" in the body of the message