K 10 svn:author V 5 edwin K 8 svn:date V 27 2005-12-04T06:39:12.000000Z K 7 svn:log V 1187 sysutils/portupgrade: fix the problem that portupgrade sometimes runs slow, and bump PORTVERSION to 20051204. (1) For years, I have experienced that portupgrade sometimes runs very slow. After some investigation, I found that "pkgdb -aF" is invoked from portupgrade or other programs (such as portversion) without having sufficient privilege to modify /var/db/pkg/, and that error is not caught by the caller program, and "pkgdb -aF" is invoked repeatedlly. So, I fixed the following things: - When pkgdb internally invoked from other program exits with error, make the caller program also exit with error. - Display the error messages of pkgdb that run internally from other program. When portupgrade or other programs die with the following error, ** You do not own /var/db/pkg. (use -f to force or run as root) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ please run "pkgdb -aF" as the user that owns /var/db/pkg (usually root). (2) Make new tarball that contains the above fix and all patches in files/. Bump PORTVERSION to 20051204 and change MASTER_SITES. PR: ports/89917 Submitted by: KOMATSU Shinichiro END