Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2022 16:23:15 +0100
From:      Stefan Esser <se@FreeBSD.org>
To:        Dan Mahoney <freebsd@gushi.org>, Kurt Jaeger <pi@freebsd.org>
Cc:        ports@freebsd.org, Palle Girgensohn <girgen@FreeBSD.org>
Subject:   Re: p5-dbd-pg
Message-ID:  <36f39976-10d5-8f53-1d3e-7029e65ced80@FreeBSD.org>
In-Reply-To: <4E9AADCC-7A3A-4CAA-9C54-FC7A538A889B@gushi.org>
References:  <760559B7-EE1A-421D-BB8A-8402A9305FF6@gushi.org> <YelNYuKekQiHpAVr@fc.opsec.eu> <4E9AADCC-7A3A-4CAA-9C54-FC7A538A889B@gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------0eBAQ5qmxIa4QM802MK0BuSp
Content-Type: multipart/mixed; boundary="------------YPT8LkQco00oQ3CuoSDFHe4c";
 protected-headers="v1"
From: Stefan Esser <se@FreeBSD.org>
To: Dan Mahoney <freebsd@gushi.org>, Kurt Jaeger <pi@freebsd.org>
Cc: ports@freebsd.org, Palle Girgensohn <girgen@FreeBSD.org>
Message-ID: <36f39976-10d5-8f53-1d3e-7029e65ced80@FreeBSD.org>
Subject: Re: p5-dbd-pg
References: <760559B7-EE1A-421D-BB8A-8402A9305FF6@gushi.org>
 <YelNYuKekQiHpAVr@fc.opsec.eu>
 <4E9AADCC-7A3A-4CAA-9C54-FC7A538A889B@gushi.org>
In-Reply-To: <4E9AADCC-7A3A-4CAA-9C54-FC7A538A889B@gushi.org>

--------------YPT8LkQco00oQ3CuoSDFHe4c
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Am 20.01.22 um 14:01 schrieb Dan Mahoney:
>=20
>=20
>> On Jan 20, 2022, at 3:54 AM, Kurt Jaeger <pi@freebsd.org> wrote:
>>
>> Hello,
>>
>> [postgres flavors]
>>> This feels like the ideal kind of port that could be flavored so
>>> it works with any installed postgres version.  I'm willing to submit
>>> patches, how hard would it be?
>>
>> If it needs to interoperate with php flavors (which it probably
>> does), it's probably a high level of complexity. But frankly,
>> that's only my guess, and I have not that much experience with flavors=
=2E
>=20
> I don't think the perl database module needs to interoperate with the p=
hp flavors.  The problem is that p5-dbd-pg forced the upgrade to postgres=
ql13-client.  There are no php modules on this box.
>=20
>>> Is there a section in the porter's handbook that covers this?
>>
>> Yes:
>>
>> https://docs.freebsd.org/en/books/porters-handbook/flavors/
>=20
> Seems straightforward enough, like the resulting packages would be p5-d=
bd-pg-postgres13 or something?

Work had started to make the postgresql-server ports co-exist
(which is quite a different issue from making them flavored)
late last year.

I have been busy with other parts of the system (BIT_SET and
CPU_SET changes for better ports compatibility and CONFLICTS
fixes) which had priority during the last weeks, but I plan
to return to fixing the postgresql ports issue (together with
girgen@ (Palle Girgensen) who had started working on fixing
these issues independently of me.

The goal is to have the latest PostgreSQL client port being
depended on by all server ports (since the client offers far
reaching backwards compatibility), and to have the servers
install their files in versioned directories to avoid conflicts
between them.

Other ports that depend on the client will then always depend
on the latest client version and they will work with all server
versions.

A conversion to FLAVORs might come at a later time, but it is
orthogonal to being able to support multiple servers and to
have the client independent from the server (just not at a
lower version than any supported server).

And the client version should not be coupled to the server
version at all (but old clients should still be available for
testing and in the unlikely case that backwards compatibility
does not work as documented in some edge case).

Regards, STefan

--------------YPT8LkQco00oQ3CuoSDFHe4c--

--------------0eBAQ5qmxIa4QM802MK0BuSp
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmHpfmMFAwAAAAAACgkQR+u171r99URI
1ggAjdrSKDaAJVgwVJ/CAs1Tp4i7jFIcUGKhAisimNoKXgJUcvglm6KckeFWJuvN/2GNUf8L6/Bg
Qdp/NY0z8MGQMrXOtk+wMRjeHNU2HsEMqDPC0DCz5O5C3z3v35F7Ii7Gkkn+uI2ijtJ2lU0VjEBr
Xfju8j8Z61qf08Byike8I1hypEjB+HZEM9twNGAWrs9Ec9QirL0ogH4ar/6nTVDLeRfQwOAjISC9
O3RnIcGU8Vg37oYqUyuyQXejgti53DnVX9DtQcA/jUbDtKpiOyFtTYK2NRd3BR4S6bknkzRguww9
vv8LbKLF7kSpO0Q1H0N+/5tzN4AqJgRML4FPc4Zpng==
=Cuy5
-----END PGP SIGNATURE-----

--------------0eBAQ5qmxIa4QM802MK0BuSp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36f39976-10d5-8f53-1d3e-7029e65ced80>