From owner-freebsd-ports@FreeBSD.ORG Mon Aug 1 21:12:31 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 361821065670 for ; Mon, 1 Aug 2011 21:12:31 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C00258FC12 for ; Mon, 1 Aug 2011 21:12:30 +0000 (UTC) Received: by wwe6 with SMTP id 6so5930178wwe.31 for ; Mon, 01 Aug 2011 14:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ALbDCQfK83/0Ax7KiXX2KLjgzw/G1FD5IXqfzLzDWLM=; b=qnXQMoibdcfpHIJTYqz6uIBWhqotSJkjd2wmScGfR75tG2z9GdIFtI+TGfn3XhkPxl aLRBWijVguEiLWC3S2dMOTwttA5Hpftrx2QoUT+DLutRgv+BjqmR41Jq70lAenoYfnjl tuW5+zUokaIll1RVT0uxSOoXxzLd+/ISGveHQ= Received: by 10.216.166.197 with SMTP id g47mr1104735wel.25.1312231355159; Mon, 01 Aug 2011 13:42:35 -0700 (PDT) Received: from chulak.jlaffaye.net (esc31-1-78-245-92-55.fbx.proxad.net [78.245.92.55]) by mx.google.com with ESMTPS id em16sm4468543wbb.33.2011.08.01.13.42.34 (version=SSLv3 cipher=OTHER); Mon, 01 Aug 2011 13:42:34 -0700 (PDT) Sender: Julien Laffaye Message-ID: <4E370FB8.1050005@FreeBSD.org> Date: Mon, 01 Aug 2011 22:42:32 +0200 From: Julien Laffaye User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4E370EBF.30003@FreeBSD.org> In-Reply-To: <4E370EBF.30003@FreeBSD.org> Content-Type: text/plain; charset=x-viet-vps; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: exist status of pkg_info -O X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 21:12:31 -0000 On 08/01/2011 22:38, Andriy Gapon wrote: > > pkg_info -q -O missing/port exits with status of 0. > Not sure if this complies with usual conventions for this kind of tools. > No, but the ports tree expect this. While doing pkgng testing, we discovered that we needed to add a dirty workaround to always return 0.