Date: Thu, 06 Feb 2014 15:20:06 +0100 From: Lars Engels <lars.engels@0x20.net> To: freebsd-ports@freebsd.org Subject: Re: [FreeBSD-Ports-Announce] Time to bid farewell to the old =?UTF-8?Q?pkg=5F=20tools?= Message-ID: <cdddabd58bd0f3db2356c9c95a28d59b@mail.0x20.net> In-Reply-To: <CA%2Bt49PLS8ayAD-2JtNAGaVxjqkcNWoWQXa67TeTpsKZGssrK7w@mail.gmail.com> References: <AC3D1A8F-54AB-4913-AC30-EB9FA5702ED8@lpthe.jussieu.fr> <201402061228.s16CRo02023097@fire.js.berklix.net> <20140206124509.GA30566@sh4-5.1blu.de> <CA%2Bt49PLS8ayAD-2JtNAGaVxjqkcNWoWQXa67TeTpsKZGssrK7w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 2014-02-06 14:05, schrieb Daniel Nebdal: > On Thu, Feb 6, 2014 at 1:45 PM, Matthias Apitz <guru@unixarea.de> > wrote: >> El día Thursday, February 06, 2014 a las 01:27:50PM +0100, Julian H. >> Stacey escribió: >> >>> Michel Talon wrote: >>> >>> > The old package system was total = >>> > crap, >>> >>> local.sqlite is also crap, breaks decades of accessibility by find & >>> grep >>> & other text pipe / search tools. >> >> Since many years I have always compiled "my" (i.e. the ports I need) >> from CVS or now SVN ports tree on some fast baquery maschine. After >> compiling I just did something like: >> >> # mkdir PKG >> # cd PKG >> # pkg_create -Rnb `cd /var/db/pkg ; ls -C1` >> >> and moved the resulting ~1500 packages to my laptops or smaller >> netbooks. Until today I'm still using the old pkg_info/_add/_create >> tools and skipped pkgng until today. >> >> Will the above procedure work fine too in the future? >> >> Why not keep the old methods unchanged in place as today? >> >> Thanks >> >> matthias >> > > > The recommended way to do that is to set up poudriere. It's a > different tool, but easy enough to work with, and it has certain > benefits [1]. > > Obviously, that's neither a "yes" nor a "no" - and in short I don't > know how pkg supports that specific use. > > > [1] It's smarter about building in parallel, so it should be faster. > It also handles compiling upgraded packages better - the logic is > about the same as in portmaster/portupgrade, though building each port > in a clean jail (with dependencies installed from the packages it has > already created) reduces the risk of contamination from old versions > on the host (typically automake scripts detecting some installed and > not-yet upgraded library that's not set as a dependency ... at least > that has happened to me a few times). > It also creates a pkg repository with the packages, so if you have > network access (nfs or http) you can use pkg to do installs or > upgrades on the "client" machines (especially upgrades are very smooth > like that). And it supports devel/ccache out of the box. Just install ccache, create /var/cache/ccache and uncomment CCACHE_DIR=/var/cache/ccache in poudriere.conf The ports compile much faster with ccache enabled.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cdddabd58bd0f3db2356c9c95a28d59b>