Subject: Proposed changes to the PostgreSQL changes
To: None <tech-pkg@netbsd.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 07/21/2004 23:10:00
--==========CA0DAD0E3035A8B36C87==========
Content-Type: multipart/mixed;
boundary="==========A39AED980F4C7347CC9C=========="
--==========A39AED980F4C7347CC9C==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi!
I'd like to propose some changes to our PostgreSQL packages with the goal=20
to finally support different versions (namely 7.3 and 7.4) of the=20
PostgreSQL packages to be installed at the same time.
To make the changes less intrusive I'm planning to do this in two steps:
1. - re-import postgresql-* as postgresql73-*
- add the attached pglib.mk to mk (as postgresql.buildlink3.mk?) and=20
change the packages to use it
2. change the installation of postgresql73 to ${PREFIX}/postgresql73 (and=20
postgresql74 to ${PREFIX}/postgresql74 accordingly)
The first step shouldn't break anything[1], so I'd like to to it real soon. =
(In two days.)
The second step is a bit tougher and needs a bit more planning[2]. So, I'm=20
going to post patches for this before commiting anything. (Probably on=20
Sunday.)
Cheers,
Marc
[1] Except that pkg_chk moans that postgresql-* doesn't exists.
[2] See last discussions about this on tech-pkg@
--==========A39AED980F4C7347CC9C==========
Content-Type: application/octet-stream; name="pglib.mk"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pglib.mk"; size=1907
IyAkTmV0QlNEJAoKLmlmICFkZWZpbmVkKFBHVkVSU0lPTl9NSykKUEdWRVJTSU9OX01LPQlkZWZp
bmVkCgouaW5jbHVkZSAiLi4vLi4vbWsvYnNkLnByZWZzLm1rIgoKUEdTUUxfVkVSU0lPTl9ERUZB
VUxUPz0JCTc0ClBHU1FMX1ZFUlNJT05TX0FDQ0VQVEVEPz0JNzQgNzMKCiMgdHJhbnNmb3JtIHRo
ZSBsaXN0IGludG8gaW5kaXZpZHVhbCB2YXJpYWJsZXMKLmZvciBwdiBpbiAke1BHU1FMX1ZFUlNJ
T05TX0FDQ0VQVEVEfQpfUEdTUUx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U5LMykgJiYgZW1wdHkoVVNFX0JVSUxETElOSzM6TVtu
Tl1bb09dKSkKLiAgICBpbmNsdWRlICIke1BHUEtHU1JDRElSfS9idWlsZGxpbmszLm1rIgouZW5k
aWYKCi5lbmRpZgkjIFBHVkVSU0lPTl9NSwo=
--==========A39AED980F4C7347CC9C==========--
--==========CA0DAD0E3035A8B36C87==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; size=186
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFA/tuo7YQCetAaG3MRAupOAJ0Rn1pkjnmBpup9pQUzh+3UPp7uDQCfe8mh
c7OrDfSNmJuDMHS6nm3yqNk=
=Cujm
-----END PGP SIGNATURE-----
--==========CA0DAD0E3035A8B36C87==========--