Notes from UPDATING |
These upgrade notes are taken from /usr/ports/UPDATING
- 2018-12-13
Affects: users of lang/perl5* Author: mat@FreeBSD.org Reason:
The default Perl version has been switched to Perl 5.28. If you are using
binary packages to upgrade your system, you do not have anything to do, pkg
upgrade will do the right thing. For the other people, follow the
instructions in entry 20161103, it should still be the same.
- 2018-03-30
Affects: users of lang/perl5* Author: mat@FreeBSD.org Reason:
The default Perl version has been switched to Perl 5.26. If you are using
binary packages to upgrade your system, you do not have anything to do, pkg
upgrade will do the right thing. For the other people, follow the
instructions in entry 20161103, it should still be the same.
- 2016-11-03
Affects: users of lang/perl5* Author: mat@FreeBSD.org Reason:
The default Perl version has been switched to Perl 5.24. If you are using
binary packages to upgrade your system, you do not have anything to do, pkg
upgrade will do the right thing. For the other people, assuming you are
migrating from 5.20 to 5.24, do:
First, add to /etc/make.conf:
DEFAULT_VERSIONS+= perl5=5.24
Portupgrade users:
portupgrade -o lang/perl5.24 -f lang/perl5.20
You can now remove the DEFAULT_VERSIONS line added earlier
from /etc/make.conf
Then you will need to rebuild everything that uses libperl.so, you
can do so with:
portupgrade -f `pkg shlib -qR libperl.so.5.20`
If, for some reason, this command fails at one point, it is safe to
run it again, it will not rebuild what it already rebuilt, as the
ports that have been rebuilt no longer depend on libperl.so.5.20 but
on libperl.so.5.24.
Portmaster users:
portmaster -o lang/perl5.24 lang/perl5.20
You can now remove the DEFAULT_VERSIONS line added earlier
from /etc/make.conf
Then you will need to rebuild everything that uses libperl.so, you
can do so with:
portmaster -f `pkg shlib -qR libperl.so.5.20`
If, for some reason, this command fails at one point, it is safe to
run it again, it will not rebuild what it already rebuilt, as the
ports that have been rebuilt no longer depend on libperl.so.5.20 but
on libperl.so.5.24.
- 2015-09-14
Affects: users of lang/perl5* Author: mat@FreeBSD.org Reason:
Binary package users can ignore this.
The way lang/perl5* ports install themselves has changed. From now on, only
the default Perl port (currently 5.20), or the version listed in
DEFAULT_VERSIONS, will install /usr/local/bin/perl.
If you are NOT using the default version of Perl (as of right now, it is
5.20) you MUST add a line setting the version you are using to your
/etc/make.conf, to preserve /usr/local/bin/perl:
DEFAULT_VERSIONS+= perl5=5.xx
If your Perl package name is not called perl5-5.xx.y but perl5.xx-5.xx.y,
you will need to rename it so that portupgrade and portmaster do not get
confused:
pkg set -n perl5.xx:perl5
After this date, to migrate from one Perl version to the other, you must
first put the DEFAULT_VERSIONS line in your make.conf, and then, for example,
if you want to move from 5.20 to 5.22, do:
pkg set -o lang/perl5.20:lang/perl5.22
portmaster `pkg shlib -qR libperl.so.5.20`
If you do not do that, you will replace your default Perl 5.20 installation
(one that has /usr/local/bin/perl) with an installation that does not have
/usr/local/bin/perl, and it will break everything.
- 2015-05-13
Affects: users of lang/perl5* Author: mat@FreeBSD.org Reason:
The default Perl version has been switched to Perl 5.20. If you are using
binary packages to upgrade your system, you do not have anything to do, pkg
upgrade will do the right thing. For the other people, assuming you are
migrating from 5.18 to 5.20, do:
Portupgrade users:
portupgrade -o lang/perl5.20 -f lang/perl5.18
portupgrade -f `pkg shlib -R libperl.so.5.18|tail +2`
Portmaster users:
portmaster -o lang/perl5.20 lang/perl5.18
portmaster -f `pkg shlib -R libperl.so.5.18|tail +2`
NOTE:
Perl has been removed from base more than ten years ago, so it was way past
time for the /usr/bin/perl symlink to be removed from the port. If for
some strange reason, you still need it, you will have to create it
manually.
IMPORTANT:
In case you have not updated your system in a while, and specifically,
followed the 20141126 instructions regarding the new Perl layout, you
should follow those more extensive instructions rather than the
conservative presented here.
- 2014-12-17
Affects: users of lang/perl5.* Author: mat@FreeBSD.org Reason:
Perl now links all .so it builds with libperl.so, it makes upgrading from one
Perl major version to another way easier. For binary package users, it means
pkg upgrade will detect the libperl.so.x.yy change, and reinstall the
affected packages. For users using ports, it will save rebuild time as it's
easier to detect what ports really need to be rebuilt.
Ports users are encouraged to rebuild ports that install files in SITE_ARCH.
If using Perl 5.18, run:
With portupgrade:
portupgrade -f `find /usr/local/lib/perl5/site_perl/mach/5.18 -name '*.so'|xargs pkg which -qo|sort -u`
With portmaster:
portmaster `find /usr/local/lib/perl5/site_perl/mach/5.18 -name '*.so'|xargs pkg which -qo|sort -u`
- 2014-11-27
Affects: users of lang/perl5.* Author: mat@FreeBSD.org Reason:
There was a nasty bug introduced in the update below, it was introduced in
SVN revision 373476 and corrected in 373485. If you get errors looking like
this one:
===> Registering installation for p5-Params-Util-1.07_1 as automatic
pkg-static: lstat(/usr/ports/devel/p5-Params-Util/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.16/auto/Params/Util/.packlist): No such file or directory
*** [fake-pkg] Error code 74
You will have to wipe your ports tree clean. If using portsnap, with:
portsnap extract
If using subversion:
svn revert -R
- 2014-11-27
Affects: users of lang/perl5.* Author: mat@FreeBSD.org Reason:
The .packlist files are back, if you upgraded all your p5- ports yesterday
and need them, you will need to reinstall them again, see yesterday's update
for instructions.
- 2014-11-26
Affects: users of lang/perl5.* Author: mat@FreeBSD.org Reason:
The directories where Perl modules are installed has changed. All
affected ports' PORTREVISION have been bumped, so upgrading should
be as painless as possible. The old directories have been kept in
the default Perl @INC to make it even more painless.
The default Perl has been switched to lang/perl5.18. These examples
are for switching from lang/perl5.16, if you are running a different
version, replace lang/perl5.16 with the origin of the Perl you have
installed.
Binary package users:
# pkg upgrade -f
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.18):
portupgrade -o lang/perl5.18 -f lang/perl5.16
2) Reinstall everything that depends on Perl:
portupgrade -fr lang/perl5.18
Portmaster users:
portmaster -o lang/perl5.18 lang/perl5.16
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl5-
Note: If the "perl5-" glob matches more than one port you will need to specify
the name of the installed Perl package explicitly. You can get its name
by running: pkg info perl5
- 2013-06-12
Affects: users of lang/perl* and any port that depends on it Author: az@FreeBSD.org Reason:
lang/perl5.12 has been upgraded from version 5.12.4 to 5.12.5
lang/perl5.14 has been upgraded from version 5.14.2 to 5.14.4
lang/perl5.16 has been upgraded from version 5.16.2 to 5.16.3
The directory structure where Perl is installed has also been modified:
"major.minor" is now used instead of "major.minor.patchlevel".
The "perl-after-upgrade" script has been removed.
Please rebuild all Perl ports and all ports that depend on it:
# portmaster -r perl
or
# portupgrade -rf perl
or
# pkg install -fR perl
- 2012-06-30
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
lang/perl5.16 is out. If you want to switch to it from, for example
lang/perl5.12, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.16):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.16 -f perl-5.12.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
portmaster -o lang/perl5.16 lang/perl5.12
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
The default version for Perl has also been changed from 5.12 to 5.14.
- 2011-05-17
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
lang/perl5.14 is out. If you want to switch to it from, for example
lang/perl5.12, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.14):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
portmaster -o lang/perl5.14 lang/perl5.12
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
- 2011-05-06
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
Default version of Perl was bumped to 5.12.
If you already have lang/perl5.10 or lang/perl5.8 installed, and want to
switch to lang/perl5.12 please follow instructions in the entry 20100715
in this file.
- 2010-07-15
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
lang/perl5.12 is out. If you want to switch to it from, for example
lang/perl5.10, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.12):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.12 -f perl-5.10.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
portmaster -o lang/perl5.12 lang/perl5.10
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
- 2010-02-05
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
Default version of Perl was bumped to 5.10.
If you already have lang/perl5.8 installed, and want to switch to
lang/perl5.10 please follow instructions in the entry 20090328 in this
file.
- 2009-03-28
Affects: users of lang/perl* Author: skv@FreeBSD.org Reason:
lang/perl5.10 is out. If you want to switch to it from, for example
lang/perl5.8, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.10):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.10 -f perl-5.8.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
env DISABLE_CONFLICTS=1 portmaster -o lang/perl5.10 lang/perl5.8
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
|
Port Moves |
- port moved here from lang/perl5.22 on 2018-06-02
REASON: Has expired: Support ends three years after .0 release, please upgrade to a more recent version of Perl
|
Number of commits found: 17
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
17 Dec 2018 14:29:48
5.26.3
 |
mat  |
Forgot to uncomment this after switching the default to Perl 5.28. |
04 Dec 2018 14:25:38
5.26.3
 |
mat  |
Update to 5.26.3. |
21 Nov 2018 16:37:35
5.26.2_2
 |
mat  |
Remove two unimportant failing tests. |
11 Nov 2018 15:38:51
5.26.2_2
 |
danfe  |
Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts) |
01 Nov 2018 10:36:33
5.26.2_1
 |
mat  |
Make $^X is deterministic.
Its output can vary, and not be the correct one because of hard links.
So replace the hard links with symlinks so that there is only one perl.
PR: 232501
Reported by: Helge Oldach |
29 Jun 2018 14:08:41
5.26.2
 |
mat  |
Make a note about why this hack is required.
Here is the story:
- Default Perl is 5.24.
- You install stuff, and have Perl 5.24.
- The default Perl is changed to 5.26 because it was time.
- You do not really follow those things and are not using pkg (and
possibly poudriere) to maintain your /usr/local and you run
portmaster to update what needs to be updated.
- As you did not set anything, your Perl default is still 5.24 because
it is the installed /usr/local/bin/perl.
- Turns out that there has been a new version of lang/perl5.24 in the
mean time, and portmaster updates it. Keep in mind that the only
thing that makes 5.24 the default is that it is the installed version (Only the first 15 lines of the commit message are shown above ) |
25 Jun 2018 14:39:32
5.26.2
 |
mat  |
Steal these two from perl@.
Sponsored by: Absolight |
19 Apr 2018 18:25:36
5.26.2
 |
sunpoet  |
Update to 5.26.2
Changes: https://metacpan.org/changes/release/SHAY/perl-5.26.2
Security: 41c96ffd-29a6-4dcc-9a88-65f5038fa6eb
MFH: 2018Q2 |
03 Apr 2018 13:54:06
5.26.1
 |
mat  |
Mark Perl 5.24 as DEPRECATED now that the default changed to 5.26.
Forgotten by: mat
Sponsored by: Absolight |
27 Dec 2017 16:47:12
5.26.1
 |
mat  |
Garbage collect very old code.
Sponsored by: Absolight |
24 Sep 2017 19:08:24
5.26.1
 |
sunpoet  |
Update to 5.26.1
Changes: https://metacpan.org/changes/release/SHAY/perl-5.26.1 |
15 Sep 2017 08:32:44
5.26.0
 |
mat  |
Fix license information. (for reals)
PR: 222319, 222320, 222321, 222323
Submitted by: Yasuhiro KIMURA
Sponsored by: Absolight |
15 Sep 2017 08:24:08
5.26.0
 |
mat  |
Fix license information.
PR: 222319, 222320, 222321, 222323
Submitted by: Yasuhiro KIMURA
Sponsored by: Absolight |
29 Aug 2017 12:45:42
5.26.0
 |
mat  |
Add armv7 to the list of arch without DTRACE.
PR: 221900
Submitted by: linimon
Sponsored by: Absolight |
04 Jun 2017 11:47:43
5.26.0
 |
sunpoet  |
Fix typo |
31 May 2017 10:03:56
5.26.0
 |
mat  |
Put the canonical URL back, it has propagated enough.
Sponsored by: Absolight |
31 May 2017 09:02:11
5.26.0
 |
mat  |
Introduce Perl 5.26.
A few important changes:
- '.' is no longer in @INC.
- "do" now gives a deprecation warning when it fails to load a file
which it would have loaded had "." been in @INC.
- In regular expression patterns, a literal left brace "{" should be
escaped.
Changes: https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod
Sponsored by: Absolight |
Number of commits found: 17
|
Latest Vulnerabilities |
10 vulnerabilities affecting 80 ports have been reported in the past 14 days
|
* - modified, not new All vulnerabilities
Last updated: 2019-02-21 19:49:32
|
|