From owner-freebsd-current@FreeBSD.ORG Sun Oct 11 15:57:17 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8DB1065672 for ; Sun, 11 Oct 2009 15:57:17 +0000 (UTC) (envelope-from stefan.hegnauer@gmx.ch) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 11E9D8FC19 for ; Sun, 11 Oct 2009 15:57:16 +0000 (UTC) Received: (qmail invoked by alias); 11 Oct 2009 15:30:35 -0000 Received: from unknown (EHLO inspiron) [84.226.237.147] by mail.gmx.net (mp059) with SMTP; 11 Oct 2009 17:30:35 +0200 X-Authenticated: #1868052 X-Provags-ID: V01U2FsdGVkX19UFN4X9tBUYB6SxIBF0Z5klwZmOaFUS3HtiaOJKe SvwHYdxXLnqTQ+ From: "Stefan Hegnauer" To: , , Date: Sun, 11 Oct 2009 17:30:35 +0200 Message-ID: <503AFE6B3CD0492BA2DFE6ED41691A1A@inspiron> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpKh8a9sjA+GDuuQHyRQJ+yxOpCww== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 Cc: Subject: [patch] typo in portaudit - fails with latest /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 15:57:17 -0000 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