[[FreeBSD 9.1 to 9.3]]


CONTENTS
#contents
----
Lastmodified &lastmod;
----

*Perl5.20 [#vb798bfc]

/etc/make.conf
 DEFAULT_VERSIONS+=perl5=5.20

 # portupgrade -fr lang/perl5.20
 
---- 
* Perl5.14  This port expired on: 2014-12-31 [#d23b224f]


portupgrade -fr --batch php5-5.4.27_1 php5-bcmath-5.4.32 php5-calendar-5.4.32 php5-curl-5.4.32 php5-dba-5.4.32 php5-dom-5.4.32 php5-exif-5.4.32 php5-ftp-5.4.32 php5-gettext-5.4.32 php5-gmp-5.4.32 php5-hash-5.4.32 php5-iconv-5.4.32 php5-imap-5.4.32 php5-interbase-5.4.32 php5-ldap-5.4.32 php5-mssql-5.4.32 php5-odbc-5.4.32 php5-pcntl-5.4.32 php5-pdo-5.4.32 php5-pdo_dblib-5.4.32 php5-pdo_firebird-5.4.32 php5-pdo_mysql-5.4.32 php5-pdo_odbc-5.4.32 php5-pdo_pgsql-5.4.32 php5-pdo_sqlite-5.4.32_1 php5-pgsql-5.4.32 php5-phar-5.4.32 php5-posix-5.4.32 php5-pspell-5.4.32_1 php5-readline-5.4.32 php5-shmop-5.4.32 php5-snmp-5.4.32 php5-soap-5.4.32 php5-sockets-5.4.32 php5-sqlite3-5.4.32_1 php5-sysvmsg-5.4.32 php5-sysvsem-5.4.32 php5-sysvshm-5.4.32 php5-tidy-5.4.32 php5-tokenizer-5.4.32 php5-wddx-5.4.32 php5-xmlreader-5.4.32 php5-xmlrpc-5.4.32 php5-xmlwriter-5.4.32 php5-xsl-5.4.32 rrdtool-1.4.7_2 



 # portversion -vl '<'



firebird25-client-2.5.2_3 gobject-introspection-1.34.2 ja-groff-1.18.1_14 ja-wordpress-3.9.1 jasper-1.900.1_12 mod_php5-5.4.27_1,1 munin-master-2.0.16 netpbm-10.35.89 pango-1.30.1 
 # perl -v
 # portupgrade -o lang/perl5.20 -f lang/perl5.14
 # portupgrade -rf perl
 # pkg install -fR perl
 # portupgrade -fr lang/perl5.20
 # portupgrade -rf perl

 portversion -vL=


 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - devel/p5-base (port deleted)
        * devel/p5-IO-Pipely (p5-IO-Pipely-0.005_1)
        * devel/p5-POE (p5-POE-1.356_1)
        * dns/p5-POE-Component-Resolver (p5-POE-Component-Resolver-0.921)
        * net/p5-POE-Component-Client-Keepalive (p5-POE-Component-Client-Keepalive-0.2710)
        * www/p5-POE-Component-Client-HTTP (p5-POE-Component-Client-HTTP-0.9480)
        ! textproc/php5-xsl (php5-xsl-5.4.20)   (new compiler error)
        ! net/php5-ldap (php5-ldap-5.4.20)      (unknown build error)
        * lang/php5-extensions (php5-extensions-1.7)
        * devel/glib20 (gio-fam-backend-2.28.8_1)
        ! graphics/cairo (cairo-1.10.2_7,2)     (configure error)
        * print/harfbuzz (harfbuzz-0.9.25_1)
        * x11-toolkits/pango (pango-1.34.1_2)
        * databases/rrdtool (rrdtool-1.4.8)
        * sysutils/munin-master (munin-master-2.0.17)

*perl 5.12 を 5.14 にしてみる [#dc4a18fe]
手順は
 
 # pkgdb -Ff
 # env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\*
 # portupgrade -fr perl




* root@g7:/root # portupgrade -fr perl-5.14.4 [#pa78a6df]
するのが、根本的解決に繋がる。

これで、/usr/local/lib/perl5/site_perl/5.14.2 以下のファイルが消去されて行くが、残っているモノもある。

 /Git
 /mach
 Git.pm

で、最終行に、以下が記される。

 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 391 packages found (-0 +1) . done]
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! databases/mysql56-server (mysql-server-5.6.12)        (checksum mismatch)
        * net/p5-Net-Server (bsdpan-Net-Server-2.007)
        ! devel/pear (pear-1.9.4_1)     (checksum mismatch)
        * devel/pear-channel-symfony (pear-channel-symfony-20110701)
        ! security/amavisd-new (amavisd-new-2.8.0_2,1)  (install error)
        * databases/pecl-memcached (pecl-memcached-2.1.0)
 root@g7:/root #



*cp -r /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/* /usr/local/lib/perl5/site_perl/5.14/mach/auto/ [#gb40dbd2]
protupgrace -a したら、amavisd-new が起動しなくなったり、munin が停まったり・・・

というか、Perl5 をportupgrade したら、perl/5.14.2にあったものが消えて? perl/5.14 に移動すべき所に漏れが生じる?模様。(ホントか?)

 Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/local/lib/perl5/5.14/BSDPAN
 /usr/local/lib/perl5/site_perl/5.14/mach
 /usr/local/lib/perl5/site_perl/5.14
 /usr/local/lib/perl5/5.14/mach /usr/local/lib/perl5/5.14 .)
 at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19
 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19.
 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19.
 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/Update.pm line 17.
 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/Update.pm line 17.
 Compilation failed in require at /usr/local/share/munin/munin-update line 14.
 BEGIN failed--compilation aborted at /usr/local/share/munin/munin-update line 14.

どうやら、/usr/local/lib/perl5/5.14.2/ に有ったモノが、/usr/local/lib/perl5/5.14/に無いということらしい。
 
 root@p5k:/root # locate RRDs
 /usr/Backups/Frola_all/usr/local/lib/perl5/5.14.2/man/man3/Log::Log4perl::Appender::RRDs.3.gz
 /usr/Backups/Frola_all/usr/local/lib/perl5/5.14.2/man/man3/RRDs.3.gz
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/Log/Log4perl/Appender/RRDs.pm
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/.packlist
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.bs
 /usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.so
 /usr/local/lib/perl5/5.14/man/man3/Log::Log4perl::Appender::RRDs.3.gz
 /usr/local/lib/perl5/5.14.2/man/man3/RRDs.3.gz
 /usr/local/lib/perl5/site_perl/5.14/Log/Log4perl/Appender/RRDs.pm
 /usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm
 /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs
 /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/.packlist
 /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.bs
 /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.so

**コレで解決する。 [#rff2dc05]
 root@p5k:/root # cp /usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm /usr/local/lib/perl5/site_perl/5.14/mach/RRDs.pm
 root@p5k:/root # cp /usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm /usr/local/lib/perl5/site_perl/5.14/mach/RRDs.pm
 root@p5k:/root # cp -r /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/* /usr/local/lib/perl5/site_perl/5.14/mach/auto/

 root@g7:/root # /usr/local/etc/rc.d/munin-node start
 Starting munin_node.


* guard [#d0492ec4]
 # pkgdb -Ff
 # env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.10.\*
 # portupgrade -fr perl

*lang/perl5.8 and lang/perl5.10 have been removed [#wd074dc5]
security run output
 Affected package: perl-5.10.1_1
 Type of problem: perl -- denial of service via algorithmic complexity attack on hashing routines.
 Reference: http://portaudit.FreeBSD.org/68c1f75b-8824-11e2-9996-c48508086173.html
 
 1 problem(s) in your installed packages found.
 
 You are advised to update or deinstall the affected package(s) immediately.

/usr/ports/UPDATING
 20130204:
  AFFECTS: users of lang/perl5.8 and lang/perl5.10
  AUTHOR: az@FreeBSD.org
 
  lang/perl5.8 and lang/perl5.10 have been removed since they've
  been EOL by upstream. You will have to recompile all perl dependant
  ports after updating your ports tree. Please see entry 20110517 for help.


http://www.yomaigoto.jp/archives/461
 mail# portupgrade php5-5.4.6
 Stale dependency: php5-5.4.6 --> perl-5.8.9_7 -- manually run 'pkgdb -F' to fix, or specify -O to force.

 mail# pkgdb -Ff
 mail# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5 -f perl-5.8.\*
 mail# portupgrade -fr perl 

 k222# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.8.\*
 k222# portupgrade -fr perl 

 if they are not present then MIME::Lite will attempt to do its best
 but its strongly recommend that you install them.
 
 These modules are:
         MIME::Types
 I can add these modules to the prereq list which will cause the files to be
 automatically installed if they aren't already present
 Add prereqs? [Yes]
 Checking if your kit is complete...
 Looks good
 W


 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 688 packages found (-0 +1) . done]
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! www/p5-HTTP-Date (p5-HTTP-Date-6.02)  (unknown build error)
        - security/p5-GSSAPI (p5-GSSAPI-0.26)
        ! www/p5-LWP-MediaTypes (p5-LWP-MediaTypes-6.02)        (unknown build error)
        * security/p5-Authen-SASL (p5-Authen-SASL-2.13)
        ! databases/namazu2 (namazu2-2.0.18_1)  (configure error)
        ! japanese/p5-MeCab (ja-p5-MeCab-0.97)  (new compiler error)
        * japanese/namazu2 (ja-namazu2-2.0.16_3)
        ! devel/gobject-introspection (gobject-introspection-0.10.8_2)  (unknown build error)
        * multimedia/gstreamer (gstreamer-0.10.36)
        ! textproc/p5-XML-SAX (p5-XML-SAX-0.96) (unknown build error)
        * textproc/p5-XML-SAX-Expat (p5-XML-SAX-Expat-0.40)
        * textproc/p5-XML-Simple (p5-XML-Simple-2.18)
        * sysutils/p5-File-Listing (p5-File-Listing-6.04)
        * textproc/p5-XML-Filter-BufferText (p5-XML-Filter-BufferText-1.01)
        * textproc/p5-XML-SAX-Writer (p5-XML-SAX-Writer-0.52)
        ! security/p5-Crypt-SSLeay (p5-Crypt-SSLeay-0.57)       (install error)
        * textproc/p5-XML-LibXML (p5-XML-LibXML-1.70,1)
        * textproc/p5-XML-LibXSLT (p5-XML-LibXSLT-1.70)
        * textproc/p5-XML-Filter-XSLT (p5-XML-Filter-XSLT-0.03)
        * www/p5-HTTP-Message (p5-HTTP-Message-6.03_1)
        * www/p5-HTTP-Daemon (p5-HTTP-Daemon-6.01)
        * www/p5-HTTP-Negotiate (p5-HTTP-Negotiate-6.01)
        * www/p5-HTTP-Cookies (p5-HTTP-Cookies-6.01)
        ! www/p5-libwww (p5-libwww-5.836)       (unknown build error)
        * textproc/p5-XML-DOM (p5-XML-DOM-1.44)
        * net/avahi-app (avahi-app-0.6.29_3)
        * textproc/p5-XML-XSLT (p5-XML-XSLT-0.48)
        * sysutils/polkit (polkit-0.99)
        * sysutils/consolekit (consolekit-0.4.3)
        * sysutils/hal (hal-0.5.14_20)
        * multimedia/gstreamer-plugins (gstreamer-plugins-0.10.36_1,3)
        * multimedia/gstreamer-plugins-good (gstreamer-plugins-good-0.10.31,3)
        - net/pecl-yaz (pecl-yaz-1.0.14_1)
        - converters/pecl-fribidi (pecl-fribidi-1.0_1)
        - sysutils/pecl-fileinfo (pecl-fileinfo-1.0.4)
        ! devel/pear (pear-1.7.2)       (install error)
        * x11-toolkits/pango (pango-1.28.4_1)
        * net/p5-Net (p5-Net-1.22,1)
        * net/pear-Net_Socket (pear-Net_Socket-1.0.9)
        * net/pear-Net_URL (pear-Net_URL-1.0.15)
        * net/p5-SOAP-Lite (p5-SOAP-Lite-0.710.10)
        * devel/p5-JIRA-Client (p5-JIRA-Client-0.24_1)
        * mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.2.5_1)
        * security/amavisd-new (amavisd-new-2.8.0,1)
        * graphics/gtk-update-icon-cache (gtk-update-icon-cache-2.24.6_1)
        * textproc/p5-XML-Twig (p5-XML-Twig-3.32)
        * x11-toolkits/gtk20 (gtk-2.24.6_2)
        * devel/dconf (dconf-0.5.1_4)
        ! devel/git (git-1.7.1.1_1)     (unknown build error)
        * devel/gconf2 (gconf2-2.32.0_3)
        * audio/pulseaudio (pulseaudio-0.9.23_2)
        * www/pear-HTTP_Request (pear-HTTP_Request-1.4.4)
        * devel/p5-SVN-Hooks (p5-SVN-Hooks-0.25)
        * devel/gnome-vfs (gnome-vfs-2.24.4_1)
        * x11-toolkits/wxgtk26-common (wxgtk2-common-2.6.4_6)
        * x11-toolkits/wxgtk26-unicode (wxgtk2-unicode-2.6.4_6)
        * devel/libnotify (libnotify-0.7.3_2)
        * devel/p5-Net-DBus (p5-Net-DBus-0.33.6)
        * sysutils/system-tools-backends (system-tools-backends-2.10.1_1)


----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS