From owner-freebsd-ports@FreeBSD.ORG Wed Jan 14 16:18:16 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 518C7632 for ; Wed, 14 Jan 2015 16:18:16 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B592C763 for ; Wed, 14 Jan 2015 16:18:15 +0000 (UTC) Received: from host-4-75.office.adestra.com (vpn-1.adestra.com [46.236.37.122]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t0EGI7Kj076608 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 14 Jan 2015 16:18:08 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t0EGI7Kj076608 Authentication-Results: smtp.infracaninophile.co.uk/t0EGI7Kj076608; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host vpn-1.adestra.com [46.236.37.122] claimed to be host-4-75.office.adestra.com Message-ID: <54B696BF.5020901@FreeBSD.org> Date: Wed, 14 Jan 2015 16:18:07 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: BIND REPLACE_BASE option References: <2A3ABE9AE68B3CE8E1B7C1A1@ogg.in.absolight.net> <20150113163324.299F27E9@hub.freebsd.org> <20150114080033.GE33449@droso.dk> <20150114153427.63AD7C0A@hub.freebsd.org> In-Reply-To: <20150114153427.63AD7C0A@hub.freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 16:18:16 -0000 On 2015/01/14 15:34, Roger Marquis wrote: > So one difference then would be that Poudriere determines which > dependencies are run-time vs build-time and creates packages for those by > default, is that correct? I can see how that might be convenient for > packages with a large number of dependencies (like sssd) but it also > seems like a lot of additional infrastructure simply to build binaries on > one host to be used by many. Poudriere by definition will create packages for all of the build- and run-depends, as it needs the build-depends packages itself in order to build everything. It builds everything in temporary jails which it installs all the needed dependencies to, and then destroys after that package has been built. However, when you go to install a package from the repo, pkg(8) will only pull down the run-time dependencies of whatever you choose to install. That means there are a good chunk of packages you simply don't need to have on your production servers any more. Yes, poudriere does a lot of stuff, but if you didn't use a central builder, you'ld end up replicating all of that stuff onto every machine you wanted to manage. Poudriere itself can run on a fairly modest machine -- it depends on how many packages you need to build and how quickly you want them. It's quite feasible to use poudriere for a small-ish repo on a machine at night, when it is otherwise quiet, and then use the same machine for something else during the day. Cheers, Matthew