On Sat, 21 Oct 2023 12:41:23 +0200 (CEST) free...@oldach.net (Helge Oldach) wrote:
> Tomoaki AOKI wrote on Sat, 21 Oct 2023 09:23:15 +0200 (CEST): > > On Sat, 21 Oct 2023 07:49:51 +0200 (CEST) > > free...@oldach.net (Helge Oldach) wrote: > > > > > Tatsuki Makino wrote on Sat, 21 Oct 2023 05:39:27 +0200 (CEST): > > > > The default version of perl has been switched, have you been able to > > > > keep up? :) > > > > Updating according to the procedure written in UPDATING is sufficient > > > > to avoid the trouble of not finding the library when perl is executed. > > > > However, it has not moved the files installed according to the old > > > > version number. > > > > > > Indeed 20181213 is incomplete; I usually run something like > > > > > > portupgrade -f `pkg query %ro-%rv lang/perl5.28` > > > > > > instead of the pkg shlib example. > > > > > Usually, I run `portupgrade -m 'DISABLE_VULNERABILITIES=yes' -f p5-\*` > > between the 2 steps for portupgade. > > That would miss dependencies not starting with p5-, for example example > net/wakeonlan (not seen by pkg shlib either). In fact this installs into > site_perl/mach/${PERL_VER} so there would be leftovers from the previous > ${PERL_VER} during upgrade. > > Kind regards > Helge Of course, p5-\* aline is insufficient. What I noted is, in detail, First, add to /etc/make.conf: DEFAULT_VERSIONS+= perl5=5.28 Portupgrade users: portupgrade -o lang/perl5.36 -f lang/perl5.34 You can now remove the DEFAULT_VERSIONS line added earlier from /etc/make.conf Update everything starting with "p5-". portupgrade -m 'DISABLE_VULNERABILITIES=yes' -f p5-\* Then you will need to rebuild everything that uses libperl.so, you can do so with: portupgrade -m 'DISABLE_VULNERABILITIES=yes' \ -f `pkg shlib -qR libperl.so.5.34` Formerl, I did what you mentioned instead of the last one. But earlier than that, I did much more overkill lile below. portupgrade -m 'DISABLE_VULNERABILITIES=yes' -r \ -x '>=lang/perl5.36' -f lang/perl5.36 -- Tomoaki AOKI <junch...@dec.sakura.ne.jp>