Date: Wed, 10 Jul 2024 16:39:15 +0000 From: Pat <cli_junkie@protonmail.com> To: "questions@freebsd.org" <questions@freebsd.org> Subject: Re: Setting default version in Poudriere Message-ID: <1CcA1gzWSQjmaV5-UXsm-1GjQkyJu_cNIACuG2SJ4-cDsYsytEWlePiTcwPK_tM05-NBDNSqKy42HtnIcI2qUlGagbCzJ2_xWpz02uwQT0k=@protonmail.com> In-Reply-To: <ef59ef9d-1e69-4979-8fcf-80476c279c20@FreeBSD.org> References: <NFeYfNC09DQnPpm5pdT6PeKUWbyYu3DnXR8wnBCgiPAf-tR80MqeM6UvC3jgSjHNQSAeuEfYQMwukOLoEkfsdbuQu6vC86Nj0gckl_ei-6M=@protonmail.com> <CO1PR11MB4770CD45C5746BC41B958607E6DF2@CO1PR11MB4770.namprd11.prod.outlook.com> <sHOi7ffCRSK56iQ2W_I_tRoevedkCYsPzf_VJRSMHRDVTp8PzOhg6rEVpKPv3vUZSSfk77QDrUJpqqFS3SfTJi8ITDWJiaR5jDOxkbCNY2U=@protonmail.com> <2a09efe671bc45d93f84ff69269e4388@smokepit.net> <Y3QDht8Xh87tMS8qsk3-uLr_qv73so-9VSGxtBer47eEn9DuSwV2HPUbSqkpKrGw_Lqa-LDcwer-wmsyg4GDfN21b4Sa8HTGbj8u6XJ-_4U=@protonmail.com> <ef59ef9d-1e69-4979-8fcf-80476c279c20@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, July 8th, 2024 at 13:01, Matthew Seaman <matthew@FreeBSD.org> wr= ote: >=20 >=20 > On 08/07/2024 13:24, Pat wrote: >=20 > > On Friday, July 5th, 2024 at 21:14, Daniel Lysfjord lysfjord.daniel@smo= kepit.net wrote: > >=20 > > > I would suggest just creating a port for postgres 15.6 in addition to > > > the 15.7 that's already in the ports tree > >=20 > > Thank you Daniel. That makes sense, but I do not know how to create a > > port. Can you point me to any documentation that would explain what I > > am missing? And apologies if there is something obvious that I > > missed. >=20 >=20 > In this case, all you need to do is look at the history of the > databases/postgresql15-server port in eg. GitHub -- >=20 > https://github.com/freebsd/freebsd-ports/tree/main/databases/postgresql15= -server >=20 > where you want to look at Makefile and distinfo in paticular. >=20 > You can see what was changed from the last update and basically revert > those for your purposes. Postgresql ports are unfortunately rather more > complicated than most since they use a common base for all postgresql > branches, but hopefully you can make sense of it. >=20 > OTOH, if you already have postgresql-15.6 installed anywhere, you can > make a package tarball from that: >=20 > pkg create -f tbz postgresql15-server-15.6 Now that is a handy trick, and will probably work well for our needs! >=20 > then use pkg-add to install it on a new machine. You'll probably need > postgresql15-client-15.6 as well. >=20 > Cheers, >=20 > Matthew Thank you! Pat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CcA1gzWSQjmaV5-UXsm-1GjQkyJu_cNIACuG2SJ4-cDsYsytEWlePiTcwPK_tM05-NBDNSqKy42HtnIcI2qUlGagbCzJ2_xWpz02uwQT0k=>