From owner-cvs-all Sat Oct 6 8:53:10 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 1369C37B406; Sat, 6 Oct 2001 08:52:59 -0700 (PDT) Received: (from knu@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f96Fqxh58698; Sat, 6 Oct 2001 08:52:59 -0700 (PDT) (envelope-from knu) Message-Id: <200110061552.f96Fqxh58698@freefall.freebsd.org> From: Akinori MUSHA Date: Sat, 6 Oct 2001 08:52:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/sysutils/portupgrade Makefile distinfo pkg-descr pkg-plist X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG knu 2001/10/06 08:52:59 PDT Modified files: sysutils/portupgrade Makefile distinfo pkg-descr pkg-plist Log: Update to 20011006 with many improvements. Beware, there can probably be some bugs left in the new pkgdb code. In such a case please run "pkgdb -fu" to fix the situation. overall: Utilize pkgdb better and optimize. portupgrade: Do not scan packages all at once when -P is given, but find one per request. [Requested by: Hideaki OKADA ] Create a backup package record in tmpdir instead of pkgdbdir, in order not to update pkgdbdir's mtime. Rephrase/add messages. portinstall: Commit major changes and improvements over portinstall. Now it warns and asks the user for confirmation if a port is being installed when a package of the same origin is already installed. Upgrade all the required packages before installing a new port. [Requested by: Hajimu UMEMOTO ] Do not install ports immediately but queue them up, then install them after upgrading all the specified and required packages. pkgdb: Record pkgname <=> origin mapping in the pkgdb and make full use of it instead of repeatedly calling pkg_info -o which has undesirable overheads. Make portupgrade, pkg_deinstall update the pkgdb after they install/deinstall packages or modify package records. Integrate pkgdepfix(1) within. (pkgdb -F/--fix) Add -o/--origin, which looks up an origin of a package in pkgdb. Detect added/deleted/reinstalled packages more strictly so pkgdb can keep being sane and consistent. Do not fail over a small conflict found during updating pkgdb; portupgrade should not be aborted by such a minor problem. pkgdepfix: Obsolete -o and turn -o on by default. Now we can look up an origin of a package so quickly thanks to the pkgdb. Integrate into pkgdb(1). (pkgdb -F/--fix) portsdb: A date spec is not a valid ports glob; emit a warning if specified. [Found by: Hajimu UMEMOTO ] Revision Changes Path 1.81 +5 -8 ports/sysutils/portupgrade/Makefile 1.72 +1 -3 ports/sysutils/portupgrade/distinfo 1.17 +2 -2 ports/sysutils/portupgrade/pkg-descr 1.20 +1 -2 ports/sysutils/portupgrade/pkg-plist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message