From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 00:17:55 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 4578CE33 for ; Fri, 28 Feb 2014 00:17:55 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 19FCB1706 for ; Fri, 28 Feb 2014 00:17:55 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id kq14so3062090pab.10 for ; Thu, 27 Feb 2014 16:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nKhlkNJ7ROynKxTa/G9iYc4R2I1bur93h8BEj+AcrFE=; b=zgPF/qatOPtOnV0NHlmxb2oRWimkLmnxS9+IBKhxkxf7vGQUcR/vlxH6ktdC2eZNgK og/4FIDnoBFH7HJ/L3vg0lHGtYv7M2tPKb+QkHFL2jy8IxNt4cotLMdv6akxL8v2eigi JyQFhBXUQ+s7oTXq2sQW9andOp2/BbQFTMhZbcYZFwMo9GzGxlTO4/ISu9uVj9m+/7jc 08YkLz4qwxVzrGBuUFpIw+z8Uh+gHXiq87hGfcsMQxhYuN7xsmMOBEugdMajrMjZ0ve9 UZXYT2y07EyfYS6oExp9lO5co1zF+crsU4afaTxLqQYLBO4CzOfsYCtOyuLi4AIbyh3D EwBA== MIME-Version: 1.0 X-Received: by 10.68.76.68 with SMTP id i4mr16142675pbw.73.1393546674708; Thu, 27 Feb 2014 16:17:54 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.66.144.137 with HTTP; Thu, 27 Feb 2014 16:17:54 -0800 (PST) In-Reply-To: <20140227093218.0d6dd301@laptop.minsk.domain> References: <20140227092634.46295890@laptop.minsk.domain> <20140227093218.0d6dd301@laptop.minsk.domain> Date: Thu, 27 Feb 2014 16:17:54 -0800 X-Google-Sender-Auth: DEFxvCi9SnozcjSeyS4gw6j7oT8 Message-ID: Subject: Re: pkg_libchk is broken ? From: Kevin Oberman To: "Sergey V. Dyatko" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: kamikaze@bsdforen.de, FreeBSD Ports ML 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: Fri, 28 Feb 2014 00:17:55 -0000 On Wed, Feb 26, 2014 at 10:32 PM, Sergey V. Dyatko wrote: > 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 > Isn't a '\' also needed on line 417? -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com