From owner-freebsd-pkg@freebsd.org Tue Jul 25 03:57:06 2017 Return-Path: Delivered-To: freebsd-pkg@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 16712DB45C4 for ; Tue, 25 Jul 2017 03:57:06 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 40F0466198; Tue, 25 Jul 2017 03:57:03 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39771468; Tue, 25 Jul 2017 09:52:25 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v6P3uuFV068608; Tue, 25 Jul 2017 10:56:58 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v6P3up3K068603; Tue, 25 Jul 2017 10:56:51 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 25 Jul 2017 10:56:51 +0700 From: Victor Sudakov To: Matthew Seaman Cc: freebsd-pkg@freebsd.org Subject: Re: poudriere sets Message-ID: <20170725035651.GA67604@admin.sibptus.transneft.ru> References: <20170724035252.GA41383@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 25 Jul 2017 03:57:06 -0000 Matthew Seaman wrote: > > If I want to have two different sets, "-z foo" and "-z bar" with > > exactly the same build options but different make.conf variables, > > is a symlink from /usr/local/etc/poudriere.d/foo-options to > > /usr/local/etc/poudriere.d/bar-options a good idea? > > That should work fine. I've used this trick without problems. Thank you! > > Or if all your different package sets should use the same options, then > don't have any /usr/local/etc/poudriere.d/{$set}-options directories, > but only a /usr/local/etc/poudriere.d/options directory. This is what would happen if you never run 'poudriere options -z foo', but that's not my use case. > > I don't see any references to the set name inside the > > /usr/local/etc/poudriere.d/*-options/*/options files, so there should > > be no problem, right? It won't break anything, will it? > > I also linked /usr/local/etc/poudriere.d/options to /var/db/options when > I first started using poudriere. You probably mean "/var/db/ports" ? > I thought I'd want to build the > occasional port outside of poudriere at the time, and wanted to keep the > same options if I did. Turns out that I never really need to do that > now, but it does have one small benefit. I can just run 'make options' > in my ports tree, and it sets options for the poudriere builds. Yes, a nice feature. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859