From owner-freebsd-ports@FreeBSD.ORG Thu Feb 27 06:42:15 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F07EAAB for ; Thu, 27 Feb 2014 06:42:15 +0000 (UTC) Received: from fallback.relay.agava.net (fallback.relay.agava.net [89.108.104.202]) by mx1.freebsd.org (Postfix) with ESMTP id 43A071D2B for ; Thu, 27 Feb 2014 06:42:14 +0000 (UTC) Received: from mx2-out.relay.agava.net (mx2-out.relay.agava.net [89.108.96.10]) by fallback.relay.agava.net (Postfix) with ESMTP id F06FE2B23 for ; Thu, 27 Feb 2014 10:32:30 +0400 (MSK) Received: from agava.com (office.relay2.agava.net [89.108.96.5]) by mx2-out.relay.agava.net (Postfix) with ESMTP id B48B810CD11; Thu, 27 Feb 2014 10:32:23 +0400 (MSK) Received: from gate.minsk.agava.net (unknown [192.168.9.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by agava.com (Postfix) with ESMTPS id 8664610CD0F; Thu, 27 Feb 2014 10:32:23 +0400 (MSK) Received: from gate.minsk.agava.net (gate.minsk.domain [192.168.9.1]) by gate.minsk.agava.net (Postfix) with ESMTP id 0BA3615086E; Thu, 27 Feb 2014 09:32:23 +0300 (FET) Received: from laptop.minsk.domain (laptop.minsk.domain [192.168.9.150]) by gate.minsk.agava.net (Postfix) with ESMTPA id CCAE813CC69; Thu, 27 Feb 2014 09:32:22 +0300 (FET) Date: Thu, 27 Feb 2014 09:32:18 +0300 From: "Sergey V. Dyatko" To: freebsd-ports@freebsd.org Subject: Re: pkg_libchk is broken ? Message-ID: <20140227093218.0d6dd301@laptop.minsk.domain> In-Reply-To: <20140227092634.46295890@laptop.minsk.domain> References: <20140227092634.46295890@laptop.minsk.domain> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV on mail.minsk.agava.net Cc: kamikaze@bsdforen.de X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 06:42:15 -0000 On Thu, 27 Feb 2014 09:26:34 +0300 "Sergey V. Dyatko" wrote: > Hi, > > I use sysutils/bsdadminscripts for years, thanks Dominic. After > switching to pkg[ng] I patch pkg_libchk for it ( pkg info with > corresponding keys instead pkg_info, etc). After r308906 (IIRC) I > revert local my patches. Today I spotted that pkg_libchk is > broken, for example: > > tiger# pkg_libchk -q > compat9x-amd64-9.2.902000.201310 > diablo-jdk-1.6.0.07.02_20 > festival-2.1 > opera-12.16 > > tiger# pkg_libchk -n festival\* > tiger# pkg_libchk -n festival-2.1 > tiger# > seems '\' missing on line 411 --- pkg_libchk.orig 2014-02-27 09:31:31.204449447 +0300 +++ pkg_libchk 2014-02-27 09:31:45.539441534 +0300 @@ -407,7 +407,7 @@ # Get the packages to work on. test -z "$packages" && packages="-a" packages="$(pkg info -E $packages)" -test -z "$recursive" -a -z "$Recursive" || packages="$packages +test -z "$recursive" -a -z "$Recursive" || packages="$packages \ $(pkg info -q $recursive $Recursive "$packages" 2> /dev/null | \ sed -E 's|^@pkgdep[[:space:]]*||1')" -- wbr, tiger