From owner-freebsd-ports@FreeBSD.ORG Fri Apr 3 07:15:54 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 823EADF8; Fri, 3 Apr 2015 07:15:54 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 393ABDA1; Fri, 3 Apr 2015 07:15:54 +0000 (UTC) Received: by qcbii10 with SMTP id ii10so61947264qcb.2; Fri, 03 Apr 2015 00:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=tSHYC6O3aSx0y6x7OUGP8gWQY1E3Bs+oEVqMKsosB6Q=; b=iRtIBqiCFe3V/dCBW7EColf22Xouv14Sj95hMz5+PD4fxRLXdufrckHn3Op9fTVpo4 6rD/Pjzfbr1Fa1wmtW1Lsc8CXXwJGdhPLrwT/iD7ktSz+b51qaoR3Uyr33u0JSTfixAl PojsTKeQuTsQDCrQuDZlneSuBnTS8MtmHY5yg45RFUHcb8xCoESD+9IYEoZfnBKvkRQ1 fzD7Uj+8fyn8uYQlnZFcC78xOAzEbOhhbA4UhVowzoyEmXYAWAf5qtj/KcMDWCoKBHY8 eJOzwQ/UCrPSw5SoqjfddwFm6+zE+hKM3AbA9X18ekizxySC85PvS/EQOSO3AlPgPJYa X5NA== X-Received: by 10.140.149.150 with SMTP id 144mr1252727qhv.16.1428045353349; Fri, 03 Apr 2015 00:15:53 -0700 (PDT) MIME-Version: 1.0 References: <20150402201909.GD30115@ivaldir.etoilebsd.net> <20150403065322.GI30115@ivaldir.etoilebsd.net> In-Reply-To: <20150403065322.GI30115@ivaldir.etoilebsd.net> From: Henry Hu Date: Fri, 03 Apr 2015 07:15:52 +0000 Message-ID: Subject: Re: Share your pkg aliases To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: pkg@freebsd.org, ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 07:15:54 -0000 On Fri, Apr 3, 2015 at 2:53 AM Baptiste Daroussin wrote: > On Fri, Apr 03, 2015 at 06:36:52AM +0000, Henry Hu wrote: > > On Thu, Apr 2, 2015 at 4:19 PM Baptiste Daroussin > wrote: > > > > > Hi, > > > > > > For pkg 1.5.0 we do plan to provide a default pkg.conf full of useful > > > aliases, > > > of course this is subjective, if you think you have added some useful > > > aliases > > > into your pkg.conf please share those so we can add them directly into > the > > > next > > > release. > > > > > > > I have two aliases: > > alias: { > > "locked": "query -e '%k == 1' %n", > > "leaf": "query -e '%#r == 0' '%n auto: %a'", > > } > > The first one queries the locked packages, and the second one queries the > > leaf packages. > > Thanks > > How is locked different from pkg lock -l ? > Basically the same... I'm not aware of pkg lock -l. > > Best regards, > Bapt >