Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 17:30:35 +0200
From:      "Stefan Hegnauer" <stefan.hegnauer@gmx.ch>
To:        <freebsd-ports@freebsd.org>, <freebsd-current@freebsd.org>, <eik@FreeBSD.org>
Subject:   [patch] typo in portaudit - fails with latest /bin/sh
Message-ID:  <503AFE6B3CD0492BA2DFE6ED41691A1A@inspiron>

next in thread | raw e-mail | index | archive | help
Hi,

portaudit (/usr/ports/ports-mgmt/portaudit) did not work anymore on a recent
build of FreeBSD 9.0-CURRENT #0 as of Fri Oct  9 09:27:54 CEST 2009.

As it turns out there seems to be a typo in the portaudit script which
manifests itself since the changes applied to /bin/sh in
http://svn.freebsd.org/viewvc/base?view=revision&sortby=date&revision=197691

The following patch cures this typo:

--- /usr/local/sbin/portaudit.orig   2009-10-09 12:36:10.000000000 +0200
+++ /usr/local/sbin/portaudit   2009-10-09 12:39:11.000000000 +0200
@@ -264,7 +264,7 @@
                return 2
        fi

-       PKGNAME=`make -VPKGNAME 2>/dev/null || true"`
+       PKGNAME=`make -VPKGNAME 2>/dev/null || true`

        if [ -z "$PKGNAME" ]; then
                echo "portaudit: Can't determine the package name" >&2


If somebody (eik@FreeBSD.org ?) could merge this in, please ...

--SH




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