From owner-freebsd-pkg@FreeBSD.ORG Thu Jan 23 17:49:39 2014 Return-Path: Delivered-To: freebsd-pkg@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 9949C71 for ; Thu, 23 Jan 2014 17:49:39 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AA72179B for ; Thu, 23 Jan 2014 17:49:39 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id l18so1902605wgh.29 for ; Thu, 23 Jan 2014 09:49:37 -0800 (PST) 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=BZBb4erw/HEqt3F+JeTCR6WfteTh3B8CNfeYMKPRHWU=; b=mzR/MKo3wTV8OvIZhYGMK+VN0AOWtqRs7K8ynfYQ83vpOYN9g2NPw3cqGSTF+Jfq5F TTNvLqszWp/Go4aGEHyL1rIxd0HdmNxejZUL1a0BJnuAl5wkdpIhHuc/itmAMSAW167q NeJ4QQwWay5K9cSpQNIfTo+z9rDiK3gNySChjxju3XLwntzv/GeWZ7uPOVVRbZp8JZqY wyqo1sAxsqjoyCWTPjs1/OMCvtRPY+2Cn5U3aBCxOCCpfiE1aC2mIk02K9VQTTjl9rBB tTCOuIkVay6x7geN9xL9y/XJjrNvaLxXn1RJ27EjMpuGSqNi8Gq8+tMx28AKBxBvOLqh 3Vgw== X-Received: by 10.180.79.106 with SMTP id i10mr144908wix.23.1390499377521; Thu, 23 Jan 2014 09:49:37 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id z1sm24141147wjq.19.2014.01.23.09.49.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 Jan 2014 09:49:36 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 23 Jan 2014 18:49:34 +0100 From: Baptiste Daroussin To: "Michael W. Lucas" Subject: Re: using certain packages from my repo Message-ID: <20140123174934.GB37299@ithaqua.etoilebsd.net> References: <20140123172853.GA73401@bewilderbeast.blackhelicopters.org> <20140123173415.GA37299@ithaqua.etoilebsd.net> <20140123174642.GA73471@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline In-Reply-To: <20140123174642.GA73471@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 17:49:39 -0000 --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 23, 2014 at 12:46:42PM -0500, Michael W. Lucas wrote: > On Thu, Jan 23, 2014 at 06:34:16PM +0100, Baptiste Daroussin wrote: > > On Thu, Jan 23, 2014 at 12:28:53PM -0500, Michael W. Lucas wrote: > > > Hi, > > >=20 > > > I'm sure this is a "Lucas doesn't know which man page to read" > > > problem, but after a second day of looking I'm giving up and throwing > > > myself on the mercy of the developers. > > >=20 > > > I'm setting up poundriere for the first time. Everything seems good, > > > except I can't figure out how to tell clients to use my repo only for > > > certain packages. > > >=20 > > > For example, I need custom lang/php5 and www/apache22 ports. I want to > > > install these ports and their dependencies from my repo. Everything > > > else should come from the official repo. > > >=20 > > > Can anyone point me at the answer? > >=20 > > pkg-repository(5) but it is a bit hidden :) > > Look at the very last lines of that man page: > >=20 > > ---- quote ---- > > then to make updates to that package ``sticky'' to the same reposi- > > tory, add an annotation to the package: > >=20 > > pkg annotate -A example repository repo-a > > ---- quote ---- >=20 >=20 > Awesome, thank you. >=20 > So, to bootstrap my custom php5 package onto a system, I must use -r > to tell pkg to use my repo, then pkg annotate to make the package > sticky. >=20 > Will annotation affect dependencies? Or should I make note of all the > packages installed from my private repo and manually "stickify" them? >=20 > Just trying to get this straight before I finish this blog post. >=20 > Thanks, Annotation doesn't affect dependencies for now, so manually mark the one you really want to come from your own repo. regards, Bapt --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlLhVi4ACgkQ8kTtMUmk6EzdOQCfWLg+8SfB0rsGCkLvQQrdC3Hn 8b4AoIZAE8pgay0NGaH3X2fN3/HctnQw =YqOI -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--