Date: Thu, 23 Jan 2014 12:46:42 -0500 From: "Michael W. Lucas" <mwlucas@michaelwlucas.com> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: freebsd-pkg@freebsd.org Subject: Re: using certain packages from my repo Message-ID: <20140123174642.GA73471@bewilderbeast.blackhelicopters.org> In-Reply-To: <20140123173415.GA37299@ithaqua.etoilebsd.net> References: <20140123172853.GA73401@bewilderbeast.blackhelicopters.org> <20140123173415.GA37299@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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, > > > > 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. > > > > 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. > > > > 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. > > > > Can anyone point me at the answer? > > pkg-repository(5) but it is a bit hidden :) > Look at the very last lines of that man page: > > ---- quote ---- > then to make updates to that package ``sticky'' to the same reposi- > tory, add an annotation to the package: > > pkg annotate -A example repository repo-a > ---- quote ---- Awesome, thank you. 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. Will annotation affect dependencies? Or should I make note of all the packages installed from my private repo and manually "stickify" them? Just trying to get this straight before I finish this blog post. Thanks, ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140123174642.GA73471>