From owner-freebsd-ports@FreeBSD.ORG Sun Nov 3 02:00:44 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7308EC66 for ; Sun, 3 Nov 2013 02:00:44 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id B383C24CD for ; Sun, 3 Nov 2013 02:00:42 +0000 (UTC) Received: (qmail 37142 invoked by uid 89); 3 Nov 2013 02:00:35 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@88.217.181.40) by mail.grem.de with ESMTPA; 3 Nov 2013 02:00:35 -0000 Date: Sun, 3 Nov 2013 03:00:35 +0100 From: Michael Gmelin To: Nikolai Lifanov Subject: Re: pkgng repository priorities Message-ID: <20131103030035.4e2fdf08@bsd64.grem.de> In-Reply-To: <826cd3ab0c12abf926b1ba9a230b8226@mail.lifanov.com> References: <826cd3ab0c12abf926b1ba9a230b8226@mail.lifanov.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 02:00:44 -0000 On Sat, 02 Nov 2013 21:44:43 -0400 Nikolai Lifanov wrote: > Is there any documentation about how to use PKGNG repository > priorities? I heard that these are available. > > Currently, I have my repository configurations like this: > 1-myrepo.conf > 2-anotherrepo.conf > 3-someotherthirdpartyrepo.conf > > This roughly prefers stuff from what appears first in asciibetical > order. > > I would like to use the official FreeBSD package sets, but to do > this, I need to always prefer a package from a local repository > (WITH_NEW_XORG, WITH_KMS) if a package is available in it. > > How can I set this kind of preference? > > - Nikolai Lifanov > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" According to pkg-repository(5): WORKING WITH MULTIPLE REPOSITORIES Where several different repositories are configured pkg will search amongst them all in the order specified, unless directed to use a single repository by the -r -flag -to pkg-fetch(8), pkg-install(8), pkg-upgrade, pkg-search or pkg-rquery. The search order is as displayed in the output of pkg -v -v -- Michael Gmelin