From nobody Thu Oct 27 16:48:23 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mys7c2BkLz4gTtj for ; Thu, 27 Oct 2022 16:48:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mys7c1gMJz3sHh for ; Thu, 27 Oct 2022 16:48:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666889308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EcehBiTkwRfxlwAWPRCZjjYwiS1yY7kDTotMOjAh5Og=; b=B55eP6x4M2NeSy4uklf55HL4l7PAFLmg+v0g6HsSAf21pKgJw29EoNdlO9Bpjzd+ERSRsw CBuXRjox6G0nkMCByS8KGFrBfAwPipHycav6ymTkqEeaFJ32l6GJ3ZlE/gHfKBxk3W1xeQ 7awT/eIJ4qwX+4ExgIJRg81Ythla1tNKhWelpUXAp84hWXhj8B1hLYuyicqz3LDGaMu4Lh Ma43dY3voZHQPMRUMlaNPO+VCqAdfNTmQwx2TnH8/8Hy8NlWDAiXXXaJ7OS4lIa5JI9zmv 6GsBzIICxrEogxYM04Pg6vqri10R/ftIWl08gPUW7zEZDJQOgGcF2AX1rwIvsg== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Mys7b6sNnztGy for ; Thu, 27 Oct 2022 16:48:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [192.168.23.52] (130.31-255-62.static.virginmediabusiness.co.uk [62.255.31.130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id AED6AAA34 for ; Thu, 27 Oct 2022 16:48:24 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/AED6AAA34; dkim=none; dkim-atps=neutral Message-ID: <167ad69f-38f3-d022-7106-374eb9815c42@FreeBSD.org> Date: Thu, 27 Oct 2022 17:48:23 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: Poudriere Content-Language: en-GB To: questions@freebsd.org References: <20221027122529.00005ae3@seibercom.net> From: Matthew Seaman In-Reply-To: <20221027122529.00005ae3@seibercom.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666889308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EcehBiTkwRfxlwAWPRCZjjYwiS1yY7kDTotMOjAh5Og=; b=a1BUk8VzYa3wbbmknk888peBWG/ldhsc2m6665kU4WfpWQles7Dyvn+HArpjPU1NB0J8IC JQtN9//NvdCyvrdtSxMjwmi+IiOojMwBA0iKrPyodRRO+v1e0vCOYFp8EnldtE2vBzyjqR 9xfqz0xNJDrWvgc7FfIv5DxeSPu6x/wZzyu1FhW4YwIOim7M8QFhpEp8wQxP8Yl0u/1MrV RY0WeWdpCcFbzP95rLGyz6lehpqdcUMPMv7+mbiH3e/CqyUy4ag4lfPwMm3URRkTORAoHi qN/2qQWAuPRssERzvcRGk4H/Q3AnH67Cc4o5Z2iffD8pGu9whJY2bvbvNTpxzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666889308; a=rsa-sha256; cv=none; b=iXKbWt6bh+bDRyKmNwuPitEPQbWCg7Vz8YdovCL/uzE9maOxUDhg3rx90cMBNvoTU9z81z WEsLX1Ijf/MqHGdt/RNXDpQCfqblLVHWuSL+zFrCh4LOna0ECke0xp773/16DDiTwfS1X1 qdo+xNXca6bGV/gpn7rbA2Ex+58UUQHRb2xztAe1R/DfXXFLk0rqJZGz1nTpe1K0Q+6ioD 0JYpX0vemCFMg8+BOBEDGvCeQj73WuGSVuCChXKXD41cBo+H/fwuj/U3pSm99cBUH10BJi T+VAboOGv0Cp/0nHzaBNo5NZlnnoHBLMEdrNeJfVE2nv8JqIQZi6ej7N2QatiA== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org X-ThisMailContainsUnwantedMimeParts: N On 27/10/2022 17:25, Gerard E. Seibert wrote: > Portmaster has an "-o" option to replace the installed port with a port > from a different origin. Does poudriere has a similar option? You can change the default versions of eg. python, perl, mysql etc. used in your poudriere builds -- in exactly the same way as you'ld change such things when compiling manually from the ports. Except that you need to modify a make.conf file in /usr/local/etc/poudriere.d rather than in /etc You can also set port options which frequently change the dependency tree for a package. Use: poudriere options -c some/port to set options for the port, and recursively for anything it depends on. You can build flavoured packages as required by specifying some/port@flavor in your list of ports to build. (or some/port@all to build all possible flavours.) In general the approach is to use poudriere to build a set of packages with the desired dependencies, and then most of the time it's just pkg upgrade against your custom repo to achieve the sort of change you want. I've been able to switch between perl and python major versions without any drama like that. Cheers, Matthew