From owner-cvs-all Thu Mar 15 2:47: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6179D37B719; Thu, 15 Mar 2001 02:47:01 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2FAl1O91826; Thu, 15 Mar 2001 02:47:01 -0800 (PST) (envelope-from sobomax) Message-Id: <200103151047.f2FAl1O91826@freefall.freebsd.org> From: Maxim Sobolev Date: Thu, 15 Mar 2001 02:47:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/create perform.c src/usr.sbin/pkg_install/delete perform.c src/usr.sbin/pkg_install/lib deps.c Makefile lib.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sobomax 2001/03/15 02:47:01 PST Modified files: usr.sbin/pkg_install/create perform.c usr.sbin/pkg_install/delete perform.c usr.sbin/pkg_install/lib Makefile lib.h Added files: usr.sbin/pkg_install/lib deps.c Log: When creating a package sort dependencies in such a way that if dependency A depends on dependency B then dependency A will be in all cases listed before B, so ``pkg_add -r'' will fetch/install packages in the correct order. Previously dependencies were sorted just by its names, which is why ``pkg_add -r'' never actually worked properly. To be usefull, hovewer, this fix requires that all packages have been rebuilt, so it will take some time until users would be able to feel posititive improvements. For the same reasons it is desirable to propagate these changes to the 4-stable package building cluster *before* 4.3 ports freeze, so packages for 4.3-RELEASE would be properly prepared. Prompted by: kris Insanely appreciated by: obrien Silently approved by: jkh, -ports Revision Changes Path 1.54 +31 -6 src/usr.sbin/pkg_install/create/perform.c 1.29 +4 -69 src/usr.sbin/pkg_install/delete/perform.c 1.8 +2 -1 src/usr.sbin/pkg_install/lib/Makefile 1.33 +4 -0 src/usr.sbin/pkg_install/lib/lib.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message