From nobody Fri Jul 05 08:57:19 2024 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 4WFnTP15Qcz5NjNn for ; Fri, 05 Jul 2024 08:57:29 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10acsn20805.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::805]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WFnTN0Tlsz4lxj for ; Fri, 5 Jul 2024 08:57:28 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=YDtA2JMK; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 2a01:111:f400:7e88::805 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZwWxZ278Q9OW8nk5C6AUIx8yFHq/X710pzGtNpiu3G6XchWtWsbTQE9t1cw3WR3fr8vX4Qh0c8BrMd8sT77XcA3yCh5UIHBGYGZ6Sawsh3ktW9yppa/RlHlzx1nflhSBBZYb96BVEPgSwAZ+vq97sU1R0WiioUu2Bg85ttm66wZSuXG3syhCRROtWD/Ci/loFE6TKuNFosfnzNfHZd4dFkTt03D3TKSlINthpeg7N9NcLADWhACLlGcDHSE/nU32gp46Zm32MKDGZUqHgdrpedJYl7O91fTHVpZ6hUbQNRtyKBCaHh+cqmfIYnzLNKV1r69U2qNN87+k+0SG+OzHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ke6TFHuJwxwpnB6wYwbnu0kW08YpkKbk2onIKWHvlcY=; b=Ts3vxc2MAIFexUAAE3BE8SYe1JaNp1IR7ogunx3c7XGaxqzqxgOdYjiDl6MQAVTXP6PWcVMiLgibxeptS2wqA2qxa4ZH7ZQzZI7DRr2nKGfeHo1qm0BqJd1+MzQDaVBkLMd9InwLi0SXuTfjCJBN1qphkBJHLPAxlSMZMfaB9t2rbItj+7VuqkRbq6uLNNwP+V5DD9ZYhHwWzB1V928PX95fG9hDAlhna/r6QCXUEuuAwoUSQwld7nfyHoheaR66CBKypqlKMIrk+liLKkEQ85rh+tFqq1l8zcEqo24A3oGXsAkCy5mtYfSZADCZd0B+iknsLwRQ/JTVAHaWn2NrCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ke6TFHuJwxwpnB6wYwbnu0kW08YpkKbk2onIKWHvlcY=; b=YDtA2JMKo+Hlyb/nQ8uNnoBkw5Np3NUTsXl1ggwHnvIJ+UAhoomm4VNOl4TKwl/tD7avrGttWLuPbmrxKDAX7/5cw1LR4pDceN2suPjxb1snIgeLFsgOyXZ06H9Mfqf2EKMMbi0aTryZ5R6RF4qw1SIiDJzG3iAupMLGwnLYqCdUUvVeS/m5Z0UsIQRCturuNCvxZwVNq376Gx5kOMxmcWQe0CM0QVWsM8ZOjQVoBZ5K0U5USK08y0AxW/D73bANqxHnyOppay/wE86c9qhi5ttxjtuh2pffvVXWfyy81hGC7SV8AKYZdnj7a4MDOppEsJ8hoENfJC4c6sDwjVGbNw== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by BL3PR11MB6457.namprd11.prod.outlook.com (2603:10b6:208:3bc::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.29; Fri, 5 Jul 2024 08:57:23 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747%4]) with mapi id 15.20.7719.029; Fri, 5 Jul 2024 08:57:22 +0000 Message-ID: Date: Fri, 5 Jul 2024 01:57:19 -0700 User-Agent: Mozilla Thunderbird Subject: Re: Setting default version in Poudriere To: questions@freebsd.org References: Content-Language: en-US From: "Edward Sanford Sutton, III" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [7W/viIcG4zh3on/2fIK49etnkymyuD+t] X-ClientProxiedBy: BL1PR13CA0361.namprd13.prod.outlook.com (2603:10b6:208:2c0::6) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|BL3PR11MB6457:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e88073f-a412-47da-1441-08dc9cd07bcc X-Microsoft-Antispam: BCL:0;ARA:14566002|19110799003|461199028|8060799006|56899033|3412199025|440099028; X-Microsoft-Antispam-Message-Info: Gqd73P/QgF4oT6OSagp9aca14oJMEI+JUsqqMcB/nbe5DGaC1ixPv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eGJTWnZEb3BhRHl2NFoyTEROTHoxWUZkOGRqWmdx?= =?utf-8?B?V1owelJhZ3liUTVzUHNCK3pabm1Tc01iNERscEpvd0dFeUhRUzZpMGxmTHZq?= =?utf-8?B?U0FrZTN0b2xOMVlLREhwRG5YRDlaSmRzemJ0ckxjVzdhSlliM3F4UnkvMVpB?= =?utf-8?B?ZGROL2kxenpiczVsdSsvc2ZPWHdvNjRDYURGcFRuczNEUWxCekFuMmlGY21m?= =?utf-8?B?N0pvcCtWcVVoalMzTmZrZEJOaDZMSU93WjVHUDFVUThJMDhLbkg4UGlYZnBz?= =?utf-8?B?V0g0UWZCSktiTEN4dXhHVjdFTkxRdS9hNzcvV0wyZUQ4V2c2VmcwazVIcVF2?= =?utf-8?B?NTVnbVNEcTJlVjVCNWk5eERKOUhDYUo0dU5heVRJaVdWOHNJVVo4UnJ1S0h1?= =?utf-8?Q?gGrIGs4NQP6HyAnPTo/vJ/AxjJgotMyxIWfasbHx3ELI=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e8f36.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 0e88073f-a412-47da-1441-08dc9cd07bcc X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 08:57:22.7650 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6457 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.38 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; NEURAL_SPAM_SHORT(0.11)[0.109]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[hotmail.com]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[hotmail.com:+] X-Rspamd-Queue-Id: 4WFnTN0Tlsz4lxj On 7/4/24 13:57, Pat wrote: > Hello, > > Got a couple of rather silly question, but I can't find a definitive > answer to either. > > If I build PostgreSQL15-server, I get version 15.7. That is the latest > version, so not unexpected. > > I would like to build version 15.6. Ideally I would like to have both > versions available because for the most part I want to install 15.7, but > I need 15.6 at the moment. > > So my questions are: > How do I configure things to have both versions available? > If that is not possible, how do I set the default to be 15.6 for now, > with the intent of undoing that after my testing? There is only one port for version 15; to use 15.6 you need a copy of the ports tree with any git commit from 6fa897631d45dd11a5b1fcea5993590f9ccbef48 to before ade1c57e3a72ec9c4a7c02ce28dbfbd5efcce373 (probably de67baaee9ffaf88fa80dcda1f89d83df424d0a4 but I'm bad at sorting through git hashes). You could also manually patch the tree to have an older copy in place of the newer one. With poudriere, you can have multiple ports trees which once created you can then select for tasks such as `poudriere bulk -j 14 -p outdated databases/postgresql15-server` I'm not sure how easily you can have just a directory separate from the ports tree for poudriere to use in a port's place but tools such as ports-mgmt/portdowngrade may simplify the process for downgrading the port but I haven't tried it since git. If you want both versions available simultaneously from 1 poudriere run, I presume you need to add a new unique tree entry that is a copy of 15.6 under its own named path and add it to databaes's Makefile. If you are just doing some a/b testing where you want to keep bouncing back and forth, I'd just have the tree with the old version as a separate ports tree and do the poudriere build of it and the updated version as 2 separate repos then change which one pkg looks at and (force?) installation of packages for each test. > Thanks, > Pat