CONTENTS


Lastmodified 2021-06-28 (月) 14:48:48


Perl 5.28 to 5.32

20200803:
 AFFECTS: users of lang/perl5*
 AUTHOR: mat@FreeBSD.org

 The default Perl version has been switched to Perl 5.32.  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.

First, add to /etc/make.conf

DEFAULT_VERSIONS+= perl5=5.32
portupgrade -o lang/perl5.32 -f lang/perl5.28
portupgrade -f  --batch `pkg shlib -qR libperl.so.5.28`

portupgrade -o lang/perl5.32 -f lang/perl5.28 --batch && portupgrade -f --batch `pkg shlib -qR libperl.so.5.28`

Perl 5.26 to 5.28

First, add to /etc/make.conf:

DEFAULT_VERSIONS+=  perl5=5.28
portupgrade -o lang/perl5.28 -f lang/perl5.26
portupgrade -f `pkg shlib -qR libperl.so.5.26`

http://silversack.my.coocan.jp/bsd/fbsd11x_opeman-3_ports.htm

/usr/ports/UPDATING

20181213:
  AFFECTS: users of lang/perl5*
  AUTHOR: mat@FreeBSD.org

  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.

/usr/ports/Mk/bsd.default-versions.mk

# Possible values: 5.24, 5.26, 5.28, devel
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
    defined(PACKAGE_BUILDING))
PERL5_DEFAULT?=		5.28
.elif !defined(PERL5_DEFAULT)
# There's no need to replace development versions, like "5.23" with "devel"
# because 1) nobody is supposed to use it outside of poudriere, and 2) it must
# be set manually in /etc/make.conf in the first place, and we're never getting
# in here.
.if !defined(_PERL5_FROM_BIN)
_PERL5_FROM_BIN!=	perl -e 'printf "%vd\n", $$^V;'
.endif
_EXPORTED_VARS+=	_PERL5_FROM_BIN
PERL5_DEFAULT:=		${_PERL5_FROM_BIN:R}
.endif

Perl 5.24 to 5.26

First, add to /etc/make.conf:

DEFAULT_VERSIONS+=  perl5=5.26

Portupgrade users:

portupgrade -o lang/perl5.26 -f lang/perl5.24
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.24`

20180330:

 AFFECTS: users of lang/perl5*
 AUTHOR: mat@FreeBSD.org
 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.

20161103:

 AFFECTS: users of lang/perl5*
 AUTHOR: mat@FreeBSD.org
 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`
 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`

20131023 の/usr/ports/UPDATING

で、AFFECTS: users of lang/perl5.12 lang/perl5.14 AUTHOR: mat@FreeBSD.org のものを、perl5.24 perl5.26 へ置き換えたものがこちら。

AFFECTS: users of lang/perl5.24 lang/perl5.26

The default perl has been switched to lang/perl5.26.

If you're using binary packages, you need to do :

# pkg set -o lang/perl5.24:lang/perl5.26

If you're not using binary packages and want to (and should) switch, if you're using perl-5.24, for instance :

Portupgrade users:

0) Fix pkgdb.db (for safety):

pkgdb -Ff

1) Reinstall new version of Perl (5.26):

portupgrade -o lang/perl5.26 -f perl-5.24.\*

2) Reinstall everything that depends on Perl:

portupgrade -fr perl

Portmaster users:

portmaster -o lang/perl5.26 lang/perl5.24

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.


Total access 2475:本日 3:昨日 1

Counter: 2475, today: 3, yesterday: 1

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-06-28 (月) 14:48:48