Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 13:32:28 +0000 (UTC)
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/security/portaudit Makefile ports/security/portaudit/files portaudit-cmd.sh
Message-ID:  <200604161332.k3GDWSVZ053219@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
simon       2006-04-16 13:32:28 UTC

  FreeBSD ports repository

  Modified files:
    security/portaudit   Makefile 
    security/portaudit/files portaudit-cmd.sh 
  Log:
  Avoid unnecessary invocations of pkg_info by checking whether the
  package is installed or not using a precalculated regex.
  
  This speeds up "portaudit -a" with around a factor of 10.
  
  The change is slightly modified from the one from the PR by using
  pkg_info -aE instead of ls /var/db/pkg for determining installed
  packages.
  
  Submitted by:   Kuang-che Wu <kcwu@csie.org>
  PR:             ports/92942
  
  Revision  Changes    Path
  1.21      +1 -1      ports/security/portaudit/Makefile
  1.13      +5 -1      ports/security/portaudit/files/portaudit-cmd.sh



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