Date: Sun, 6 Sep 2015 12:00:40 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: Migrating from perl5-5.20 to perl5.22 using custom packages? Message-ID: <55EC1CD8.1090501@FreeBSD.org> In-Reply-To: <20150905162900.GR17650@albert.catwhisker.org> References: <20150905162900.GR17650@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FEuLiCOPXqPmO91a9wVodS68McGN3molr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 05/09/2015 17:29, David Wolfskill wrote: > While it claimed success and exited with an exit status of 0, it says > that what it did with respect to Perl was: >=20 > perl5: 5.20.2_5 -> 5.20.2_6 >=20 > which isn't quite what I had in mind. >=20 >=20 > In checking the package repository, I see: >=20 > freebeast(10.2-S)[9] (cd All; ls -lT perl*) > -rw-r--r-- 5 nobody wheel 13746168 Aug 16 04:33:03 2015 perl5-5.20.2= _6.txz > -rw-r--r-- 5 nobody wheel 13935800 Jul 4 14:53:37 2015 perl5.18-5.1= 8.4_15.txz > -rw-r--r-- 1 nobody wheel 13958800 Sep 5 05:53:23 2015 perl5.22-5.2= 2.0_2.txz > freebeast(10.2-S)[10]=20 >=20 > I suppose a bit of housecleaning is in order... but is the existence > of the the perl5-5.20.2_6.txz the reason/excuse for not picking up > perl5.22-5.22.0_2.txz? >=20 > What do I need to do to switch to perl5.22 on my production machines? I did exactly this a week or so ago. Given you've got your own poudriere setup, then: 1) Edit /usr/local/etc/poudriere.d/make.conf (or an build specific variant) and set: DEFAULT_VERSIONS+=3D perl5=3D5.22 2) Run a poudriere bulk to rebuild all the packages that depend on perl. That's going to be most of them because GNU autotools introduces a build-depends on perl through automake... 3) Upgrade packages as normal: pkg upgrade You should see pkg wanting to remove perl5.20, install perl5.22 and reinstall all perl modules or other ports with a run-time dependency on perl. Note that the default version of perl in your repo will get the pkgname 'perl5', and all others will get a pkgname of the form 'perl5.XY' -- so in my repo, I have: % pkg search -x perl5 perl5-5.22.0_2 perl5.20-5.20.2_6 ie 5.22 is the default version but I also have a (basically useless) perl5.20 package. Cheers, Matthew --FEuLiCOPXqPmO91a9wVodS68McGN3molr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJV7BzfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATdoYP/2oYWowwixn/Iq9m97Cies05 JVYYpxmlLYMRpbbBX00qmVXXFjinNoyNy8Oj4BwaCiv5dWEW8WWBpDj6fgwqQi+j ZT8Df9g15ReMFrOb++Rvsfomy7FjbiMoblrfoj+4n5Dd9l6ZPMBSmlFGqBmQnWR0 GUrwBPGXNhVYBHAd79QoGhdataDWn4iHzif2tlWGMw6KkHsElM4yppvvaBt+ACtl boUVePWLV0BBq6n8RNhcBab4A+MvCgK9TsvDQFqnGo7tTJPkoiMwxncXcboOM1ea bY49TpDWVxK2JmMjJU1N+IFmTIPQwhTAARA3QRwLioXYDQDVLThvIlRSx0uz8FwQ 0VskDIrMIr5xoUJI0nrVdUiJSF2P8zi0r3REam6byFI+dZpx8dWenMHVgqJja2yY Q6jWMyT5AZt/vhtI6ky6H2A5vD99Ze/ht0s5ElmZrQ/Ej7U26c4S4pIGf5tJf6vP 09OHzv9r8+0/HwWgEk1MJpVQlHB9HtviTuZttjj9GZEYkpVxgq/QVEbr/MsU23bG WY2jeSOuZeAGCW5ywS9VAbBNHer0lBBb5vTnkrwSzLWFgeOYa4Y84L8BAB3dRoq8 o+E9jMYgKsLA0CfeK+51P3QnIWCDGifmRyOHcqjeLvTBnARackvtskHSUfALdZBB a9tFvXAROWR/sCxKvgNz =iVib -----END PGP SIGNATURE----- --FEuLiCOPXqPmO91a9wVodS68McGN3molr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55EC1CD8.1090501>