From nobody Tue Mar 26 14:50:25 2024 X-Original-To: freebsd-ports@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 4V3t5T07SDz5FkTr for ; Tue, 26 Mar 2024 14:50:37 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from mail.rdtc.ru (mail.rdtc.ru [62.231.190.2]) (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 4V3t5R3bbqz4m7s for ; Tue, 26 Mar 2024 14:50:35 +0000 (UTC) (envelope-from eugen@grosbein.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=grosbein.net (policy=none); spf=fail (mx1.freebsd.org: domain of eugen@grosbein.net does not designate 62.231.190.2 as permitted sender) smtp.mailfrom=eugen@grosbein.net Received: by mail.rdtc.ru (RDTC Post Office Server, from userid 1000) id 3AE4D1CF38; Tue, 26 Mar 2024 21:50:30 +0700 (+07) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: egrosbein@rdtc.ru) by mail.rdtc.ru (RDTC Post Office Server) with ESMTPSA id E60641CF08 for ; Tue, 26 Mar 2024 21:50:28 +0700 (+07) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-ports@freebsd.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.17.1/8.17.1) with ESMTPS id 42QEoQER048453 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 26 Mar 2024 21:50:26 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: p5-DBD-mysql: Stuck between a rock and a hard place To: SirDice References: Cc: FreeBSD Mailing List From: Eugene Grosbein Message-ID: Date: Tue, 26 Mar 2024 21:50:25 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,LOCAL_FROM, NICE_REPLY_A,SPF_PASS,T_DATE_IN_FUTURE_96_Q autolearn=no autolearn_force=no version=4.0.0 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * 2.6 LOCAL_FROM From my domains * -2.5 NICE_REPLY_A Looks like a legit reply (A) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on eg.sd.rdtc.ru X-Spamd-Bar: - X-Spamd-Result: default: False [-1.58 / 15.00]; R_SPF_FAIL(1.00)[-all]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.58)[-0.583]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[grosbein.net : No valid SPF, No valid DKIM,none]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[eugen]; ARC_NA(0.00)[]; ASN(0.00)[asn:29072, ipnet:62.231.184.0/21, country:RU]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4V3t5R3bbqz4m7s 26.03.2024 19:37, SirDice wrote: > On Tue, Mar 26, 2024 at 1:34 AM Eugene Grosbein > wrote: > > 26.03.2024 3:37, Wall, Stephen wrote: > >> There is a third option. Create both p5-DBD-mysql4 and >> p5-DBD-mysql5 using the respective versions, and turn p5-DBD-mysql >> into a meta-port that uses DEFAULT_VERSIONS to select one of the >> two numbered ports. There is precedent for this in the current >> ports tree, but I can’t comment on how well it works or if it >> solves any of your problems. > > I like this. Besides, I suggest adding flavours for noted meta-port > so that our cluster would build ready-to-install packages for both > variants. > > That would be the case with two slave ports and a master port too. > But flavors would allow me to consolidate everything into a single > port. Can you use FLAVOR to pick a different PORTVERSION? If that's > possible a v4 and v5 'flavor' (with the default on v4) sounds good > too. Do you know of a port that I could look at? Technically, you are not obliged to use upstream version for PORTVERSION. Take a look at security/gost-engine. It uses different upstream branches being built with openssl-1.1.1 or openssl-3.0.x, hence different PORTVERSION. $ make -VPORTVERSION FLAVOR=base # in case of FreeBSD 13 g20220520 $ make -VPORTVERSION FLAVOR=openssl30 g20230106