Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 06:39:12 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/sysutils/portupgrade Makefile distinfo ports/sysutils/portupgrade/files patch-CAN-2005-0610 patch-Makefile.compat patch-bin-pkgdb patch-bin-portsclean.1 patch-bin-portupgrade patch-etc-Makefile patch-etc-pkgtools.conf patch-lib_portsdb.rb
Message-ID:  <200512040639.jB46dCr1004012@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
edwin       2005-12-04 06:39:12 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/portupgrade Makefile distinfo 
  Removed files:
    sysutils/portupgrade/files patch-CAN-2005-0610 
                               patch-Makefile.compat 
                               patch-bin-pkgdb 
                               patch-bin-portsclean.1 
                               patch-bin-portupgrade 
                               patch-etc-Makefile 
                               patch-etc-pkgtools.conf 
                               patch-lib_portsdb.rb 
  Log:
  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 <koma2@lovepeers.org>
  
  Revision  Changes    Path
  1.206     +4 -6      ports/sysutils/portupgrade/Makefile
  1.156     +3 -6      ports/sysutils/portupgrade/distinfo
  1.3       +0 -75     ports/sysutils/portupgrade/files/patch-CAN-2005-0610 (dead)
  1.2       +0 -11     ports/sysutils/portupgrade/files/patch-Makefile.compat (dead)
  1.2       +0 -13     ports/sysutils/portupgrade/files/patch-bin-pkgdb (dead)
  1.2       +0 -24     ports/sysutils/portupgrade/files/patch-bin-portsclean.1 (dead)
  1.2       +0 -22     ports/sysutils/portupgrade/files/patch-bin-portupgrade (dead)
  1.2       +0 -14     ports/sysutils/portupgrade/files/patch-etc-Makefile (dead)
  1.2       +0 -16     ports/sysutils/portupgrade/files/patch-etc-pkgtools.conf (dead)
  1.3       +0 -24     ports/sysutils/portupgrade/files/patch-lib_portsdb.rb (dead)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512040639.jB46dCr1004012>