From owner-freebsd-ports@FreeBSD.ORG Fri Apr 3 06:53:28 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 E9334A4F; Fri, 3 Apr 2015 06:53:28 +0000 (UTC) Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) (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 A97F7BCC; Fri, 3 Apr 2015 06:53:28 +0000 (UTC) Received: by yhla23 with SMTP id a23so11613434yhl.1; Thu, 02 Apr 2015 23:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=YnKwrsOfGzDJ2gNCRZIR6pVtuwNDYCH06HHNm2mxS7o=; b=A7Nbc0z7begzo03UE6fK+skgOY4OI6xN3r7cTDgsS0qIYOndmxtmpY8vAOAYcLa3XK jNWVW63tg9crIe+87vkRqoqeQCWTKO2tnojgoyfmHiKfICn1HXdv4ZZDW4oqf13Fj9hL iAo4gtXt8deQ8Hw5rx9sAEJf61+ZcLmsQrHP3NI1rhN5a4Q6yVN1+jf1dIVZcd0ub4My C1guRdI1BV1CO6OxNRfd3ATdpBK5obnqHqonJJRFWQ9I/RCm+X15Y7lCVT78K7cvaH/B aXKL8Rk7xlJz58xyeuj8ZG7ag4MSBZ6uKQ3HUC9rdlg5tI/pYHZtD0PbNM3tpGCEUIHU IIrg== X-Received: by 10.52.157.193 with SMTP id wo1mr627229vdb.61.1428044007799; Thu, 02 Apr 2015 23:53:27 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id ew3sm1211380vdb.4.2015.04.02.23.53.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2015 23:53:26 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 3 Apr 2015 08:53:22 +0200 From: Baptiste Daroussin To: Henry Hu Subject: Re: Share your pkg aliases Message-ID: <20150403065322.GI30115@ivaldir.etoilebsd.net> References: <20150402201909.GD30115@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YtWd7p+F4osuzCU+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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 06:53:29 -0000 --YtWd7p+F4osuzCU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 03, 2015 at 06:36:52AM +0000, Henry Hu wrote: > On Thu, Apr 2, 2015 at 4:19 PM Baptiste Daroussin wrot= e: >=20 > > 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. > > >=20 > I have two aliases: > alias: { > "locked": "query -e '%k =3D=3D 1' %n", > "leaf": "query -e '%#r =3D=3D 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 ? Best regards, Bapt --YtWd7p+F4osuzCU+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUeOOIACgkQ8kTtMUmk6EwinwCgusZ/iBXDA65+iD5E1lhQRS5M iJMAoLxxzZypsoZJS3PmzyPV/f9z1iOD =vPsd -----END PGP SIGNATURE----- --YtWd7p+F4osuzCU+--