ports/109048: ports-mgmt/portaudit-db: fix infinete loop of packaudit.
KOMATSU Shinichiro
koma2 at lovepeers.org
Sun Feb 11 14:30:10 UTC 2007
>Number: 109048
>Category: ports
>Synopsis: ports-mgmt/portaudit-db: fix infinete loop of packaudit.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 11 14:30:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: KOMATSU Shinichiro
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386
>Description:
An awk process invoked by packaudit goes into infinete loop with the following error:
cat: /usr/ports/security/portaudit-db/database/portaudit.xml: No such file or directory
cat: /usr/ports/security/portaudit-db/database/portaudit.txt: No such file or directory
>How-To-Repeat:
>Fix:
portaudit-db has been moved from security/portaudit-db to ports-mgmt/portaudit-db,
so fix $PORTAUDITDBDIR accordingly.
Patch attached with submission follows:
Index: ports-mgmt/portaudit-db/Makefile
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/portaudit-db/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- ports-mgmt/portaudit-db/Makefile 5 Feb 2007 01:08:29 -0000 1.12
+++ ports-mgmt/portaudit-db/Makefile 11 Feb 2007 12:51:17 -0000
@@ -7,6 +7,7 @@
PORTNAME= portaudit-db
PORTVERSION= 0.2.3
+PORTREVISION= 1
CATEGORIES= ports-mgmt
DISTFILES=
Index: ports-mgmt/portaudit-db/files/packaudit.sh
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/portaudit-db/files/packaudit.sh,v
retrieving revision 1.7
diff -u -r1.7 packaudit.sh
--- ports-mgmt/portaudit-db/files/packaudit.sh 13 Aug 2004 17:51:46 -0000 1.7
+++ ports-mgmt/portaudit-db/files/packaudit.sh 11 Feb 2007 12:51:41 -0000
@@ -46,7 +46,7 @@
PORTSDIR="${PORTSDIR:-%%PORTSDIR%%}"
VUXMLDIR="${VUXMLDIR:-$PORTSDIR/security/vuxml}"
-PORTAUDITDBDIR="${PORTAUDITDBDIR:-$PORTSDIR/security/portaudit-db}"
+PORTAUDITDBDIR="${PORTAUDITDBDIR:-$PORTSDIR/ports-mgmt/portaudit-db}"
DATABASEDIR="${DATABASEDIR:-%%DATABASEDIR%%}"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list