From owner-freebsd-ports@freebsd.org Sun Oct 11 15:05:22 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 905CCA11FB9 for ; Sun, 11 Oct 2015 15:05:22 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 559A8FB3; Sun, 11 Oct 2015 15:05:22 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 5A2C015340D; Sun, 11 Oct 2015 17:05:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FXLeB1Jb82Kw; Sun, 11 Oct 2015 17:04:45 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:9129:53d8:78de:d3d6] (unknown [IPv6:2001:4cb8:3:1:9129:53d8:78de:d3d6]) by smtp.digiware.nl (Postfix) with ESMTPA id E4099153408; Sun, 11 Oct 2015 17:04:45 +0200 (CEST) Subject: Re: Why oh why am I getting all thes extras with Postfix To: Matthew Seaman , freebsd-ports@freebsd.org References: <56177FA9.2050301@ecoracks.nl> <56178757.8070203@freebsd.org> From: Willem Jan Withagen Message-ID: <561A7A8F.8030701@digiware.nl> Date: Sun, 11 Oct 2015 17:04:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56178757.8070203@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 15:05:22 -0000 On 9-10-2015 11:22, Matthew Seaman wrote: > On 10/09/15 09:49, Willem Jan Withagen (ecoRacks) wrote: >> Awkward things: >> - my PHP is already on 5.6 >> - I explicitly try to prevent getting too much X11 stuff, so I definitly >> don't want X-server and dri >> - As a free bonus I also get linux_base. >> >> This is also the fact that weird things need to be fetched from >> pkg.freebsd.org, instead of my own poudriere pakages > > Does your own poudriere setup build all the packages you need? > > In which case, you should disable the stock FreeBSD repo. Create a file > > /usr/local/etc/pkg/repos/FreeBSD.conf > > containing: > > FreeBSD: { enabled: no } I'd like to use freebsd as alternative for things that I have not (yet) included in my own packages. Or fro packages that I do not have a modified config for. > You also seem to have a repo labelled 'pkg.freebsd.org' -- that > presumably comes from yet another repo.conf file under > /usr/local/etc/pkg/repos, which I'm guessing is a duplicate of the > default FreeBSD repo. You probably don't need both that and the default > FreeBSD repo configured, so rename the extra config file to something > ending in other than .conf > > Now, when you check with 'pkg -vv' you should only see your own repo. > > If you do want to use a mixture of packages from the main FreeBSD repo > and your own poudriere, then you need to make sure your own repo is > higher priority than the FreeBSD one. Just add 'priority: 1' lines to > your repo.conf. The FreeBSD repo is automatically at priority 0. Ah, the final incantation I was looking for. Exactly what I need. > You will also need to be careful with default versions when doing this. > php-5.6 is the default version in ports now, and it should be that in > the recently created 2015Q4 branch which is what 10.2-RELEASE defaults > to using. Somewhere in your setup you have or used to have a setting > that says to use php-5.5 as the default. This means you have packages > somewhere that have compiled-in dependencies on php55-foo modules, and > that is what is causing pkg(8) to try and install them. Find the > setting -- look in /usr/local/etc/poudriere.d/*make.conf and chenge it > to use php-5.6, and then do a poudriere bulk rebuild of everything (ie. > with the '-c' flag) to remove anything that references php-5.5 from your > repo. That is one of the other problems that is hard to tackle, and probably only can be circumvented by building all packages locally. --WjW