Date: Tue, 26 Mar 2024 21:50:25 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: SirDice <sirdice@gmail.com> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: p5-DBD-mysql: Stuck between a rock and a hard place Message-ID: <aee90e8c-96d4-8963-3ac7-7d76fea9c9bd@grosbein.net> In-Reply-To: <CAHNAqm9v_o9-4Jd8Lw2i-CvWg7NywP%2BEZvWwAr0dFPGu15Szfw@mail.gmail.com> References: <CAHNAqm_uZiirkwSuOw2YZCq%2BJykaxX%2ByiimefCfir2QJE8HjmQ@mail.gmail.com> <MW4PR09MB928423EF8C58E3E8E02D653BEE362@MW4PR09MB9284.namprd09.prod.outlook.com> <e5bd4823-92e1-d55f-7d9e-6ffce4705d6e@grosbein.net> <CAHNAqm9v_o9-4Jd8Lw2i-CvWg7NywP%2BEZvWwAr0dFPGu15Szfw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
26.03.2024 19:37, SirDice wrote: > On Tue, Mar 26, 2024 at 1:34 AM Eugene Grosbein <eugen@grosbein.net > <mailto:eugen@grosbein.net>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aee90e8c-96d4-8963-3ac7-7d76fea9c9bd>