Upgrading perl 5.14 to 5.16 on FreeBSD 9.1 using portmaster

By | February 12, 2014

Update portstree!

portsnap fetch update

Portmaster users:

portmaster -o lang/perl5.16 lang/perl5.14

Conservative: (tried this, didn’t see to make Amavis work though)

portmaster -D p5-

Comprehensive (but perhaps overkill): (tried this, but took ages due to the constant OPTION menus popipng up

portmaster -r perl5-

Comprehensive and quite (but perhaps overkill): (worked like a charme, took less than 20minutes and no having to answer the OPTIONS menus.

portmaster -D -G -r perl5-

-D no cleaning of distfiles
-G prevents the recursive ‘make config’
-r rebuild the specified port, and all ports that depend on it

Maybe required due to “BSDPAN ports cannot be upgraded with portmaster” error?
pkg_delete bsdpan-CPAN-2.00
pkg_delete bsdpan-Mail-SpamAssassin-CompiledRegexps-body_0-1.0
pkg_delete bsdpan-Net-Ident-1.23
pkg_delete bsdpan-Razor2-Client-Agent-2.83

Helpful?
pkg_version -v | grep bsdpan

Restart known perl dependant applications

service amavisd restart

service munin-node restart

service syslog-ng restart

service webmind restart

 

Getting “Can’t locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC ” after starting amavisd? You need to recompile your rules with sa-compile