www2
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*www2 [#k0456d46]
/etc/make.conf
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
######### DEFAULT_VERSIONS+= perl5=5.36
DEFAULT_VERSIONS+= python=3.9 python3=3.9
[[/usr/ports/UPDATING:https://piano2nd.smb.net/PukiWiki/?...
727 16:01 portupgrade -o lang/perl5.36 -f lang/perl...
728 16:02 portupgrade -f `pkg shlib -qR libperl.so....
729 16:16 /usr/ports/lang/perl5.36
730 16:16 cd /usr/ports/lang/perl5.36
731 16:16 make reinstall clean
732 16:17 pkg delete perl5.36-5.36.3_1
733 16:17 make install clean
*smb212 [#eae3c48b]
**/etc/make.conf [#w7df1418]
#DEFAULT_VERSIONS+= perl5=5.32
NO_SENDMAIL= true
OPTIONS_UNSET+=X11
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
########################################### ↓ これを追加
DEFAULT_VERSIONS+= python=3.9 python3=3.9
# portupgrade -r --batch apache24-2.4.58_2
[Reading data from pkg(8) ... - 450 packages found - done]
** Port marked as IGNORE: www/apache24:
Invalid perl5 version 5.34
---> Skipping 'www/mod_php81' (mod_php81-8.1.27_1) beca...
** Listing the failed packages (-:ignored / *:skipped / ...
- www/apache24 (marked as IGNORE)
* www/mod_php81 (mod_php81-8.1.27_1)
と言われる。perl はインストールされていないが
**/usr/ports/UPDATING [#x2444bc8]
によれば、20231017 にデフォルトのパールバージョンが変更...
20231017:
AFFECTS: users of lang/perl5*
AUTHOR: delphij@FreeBSD.org
The default Perl version has been switched to Perl 5.3...
binary packages to upgrade your system, you do not hav...
upgrade will do the right thing. For the other people,...
migrating from 5.34 to 5.36, do:
First, add to /etc/make.conf:
DEFAULT_VERSIONS+= perl5=5.36
Portupgrade users:
portupgrade -o lang/perl5.36 -f lang/perl5.34
You can now remove the DEFAULT_VERSIONS line added ea...
from /etc/make.conf
Then you will need to rebuild everything that uses li...
can do so with:
portupgrade -f `pkg shlib -qR libperl.so.5.34`
If, for some reason, this command fails at one point,...
run it again, it will not rebuild what it already reb...
ports that have been rebuilt no longer depend on libp...
on libperl.so.5.36.
にしたがって、先ず /etc/make.conf に DEFAULT_VERSIONS+=...
ついで
portupgrade -o lang/perl5.36 -f lang/perl5.34
インストール後
DEFAULT_VERSIONS+= perl5=5.36
をコメントアウト。で
portupgrade -f `pkg shlib -qR libperl.so.5.34`
を実行。
これで、
# portupgrade -r --batch apache24-2.4.58_2
が完走した。
*** php imagick.so のエラーが出る [#c2261589]
PHP Warning: PHP Startup: Unable to load dynamic librar...
(/usr/local/lib/libMagickWand-7.so.10: version VERS_10.0...
/usr/local/lib/php/20210902-zts/imagick.so.so (Cannot op...
これは、pecl-imagickの再インストールで回避できた。
1006 8:00 cd /usr/ports/graphics/pecl-imagick
1007 8:01 make config
1008 8:01 make reinstall
*** bind-tools-9.18.24 < needs updating (port h...
portupgrade すると、bind916と同じ場所にインストールするの...
これは、bind916 と一緒に使っていたが、現在は、bind918と...
*** bind916-9.16.48_1 < needs updating (port h...
前述の通り、/usr/ports/dns/bind918 にて make install cl...
*** net-snmp-5.9.4_5,1 < needs updating (port h...
こちらは、
# portupgrade -r --batch net-snmp-5.9.4_5,1
でアップグレード完了した。
これで、smb212のパッケージは全部アップデートできた。
* sun3 [#z6ae8741]
/etc/make.conf にperlのデフォルト記述がないが、perl5-5.36...
portsupgrade -a で エラーで残って居るのが・・
py39-certbot-2.9.0,1 < needs updating (port has ...
py39-fail2ban-1.0.2_1 < needs updating (port has ...
py39-sqlite3-3.9.18_7 < needs updating (port has ...
sqlite3-3.45.1,1 < needs updating (port has ...
*** sqlite3-3.45.1,1 [#a1a3bc28]
これは、portupgrade だとエラーでとまるので、/usr/ports/da...
*** py39-sqlite3-3.9.18_7 [#c48d80ef]
これも、同様に /usr/ports/databases/sqlite3 からの ma...
*** py39-fail2ban-1.0.2_1 [#l9e5efd4]
これは、portupgrade -r --batch py39-fail2ban-1.0.2_1 でO...
*** py39-certbot-2.9.0,1 [#nb169f72]
これも同様に、/usr/ports/security/py-certbot から make r...
* sun1 [#sd2410f1]
/etc/make.conf は、これだけ。
OPTIONS_UNSET+=X11
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
因みにインストールされているパッケージは、
############# 2024/07/18 ###############
#perl5-5.34.3_3
#php81-8.1.28
#python39-3.9.18_2
なので、
########################################### ↓ これを追加
DEFAULT_VERSIONS+= python=3.9 python3=3.9
DEFAULT_VERSIONS+= perl5=5.36
して、
ついで
portupgrade -o lang/perl5.36 -f lang/perl5.34
インストール後
DEFAULT_VERSIONS+= perl5=5.36
をコメントアウト。で
portupgrade -f `pkg shlib -qR libperl.so.5.34`
を実行。
**ここでも、[[php imagick.so のエラーが出る]] ので、 [#i3...
1006 8:00 cd /usr/ports/graphics/pecl-imagick
1008 8:01 make reinstall
これで、portupgrade -ar --batch が走れる
*** bind-tools-9.18.24 [#v07fbed9]
bind916 bind918 は入れていないが bind-tools-9.18.24 が...
portupgrade してみた
----
* Piano2nd [#x69f4e1f]
portupgrade -f `pkg shlib -qR libperl.so.5.34` で、以下の...
> Note: Vulnerable ports are marked as such even if ther...
=> If you wish to ignore this vulnerability rebuild with...
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql
egrep: empty (sub)expression
** Comma
# portupgrade -m "DISABLE_VULNERABILITIES=yes" -f `pkg s...
とすると・・・
====> Compressing man pages (compress-man)
===> Installing ldconfig configuration file
===> Installing for mysql80-client-8.0.35
===> Checking if mysql80-client is already installed
===> Registering installation for mysql80-client-8.0.3...
Installing mysql80-client-8.0.35...
pkg-static: mysql80-client-8.0.35 conflicts with mariadb...
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / ...
! databases/p5-DBD-mysql (p5-DBD-mysql-4.050_1) ...
と言うエラー。piano2nd は、mariadb105 で稼働中・・・う~...
# pkg delete p5-DBD-mysql-4.050_1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 pa...
Installed packages to be REMOVED:
opendmarc: 1.4.2_1
p5-DBD-mysql: 4.050_1
Number of packages to be removed: 2
Proceed with deinstalling packages? [y/N]:
# pkg delete opendmarc
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
opendmarc: 1.4.2_1
Number of packages to be removed: 1
Proceed with deinstalling packages? [y/N]:
** portupgrade -ar --batch [#o71c1d76]
** Listing the failed packages (-:ignored / *:skipped / ...
- japanese/mailman (port directory error)
- devel/llvm80 (port deleted)
! databases/p5-DBD-mysql (p5-DBD-mysql-4.050_1) (...
* mail/opendmarc (opendmarc-1.4.2_1)
とここで、ググって見て、p5-DBD-MariaDB というパッケージ...
https://freebsd.pkgs.org/13/freebsd-amd64/p5-DBD-MariaDB-...
*** UPDATING [#fde2523c]
20240408:
AFFECTS: users of databases/p5-DBD-mysql
AUTHOR: flo@FreeBSD.org
Upstream removed support for MariaDB from the 5.0 bran...
MariaDB you need to use databases/p5-DBD-mysql4 from n...
Portmaster users:
portmaster -o databases/p5-DBD-mysql4 databases/...
portmaster -a
Portupgrade users:
portupgrade -o databases/p5-DBD-mysql4 -f databa...
portupgrade -a
だそうな・・・。
更に検索すると、https://www.zabutone.com/installing-opend...
に、
/etc/make.conf に、
DEFAULT_VERSIONS= mysql=10.5m
の様に MariaDB105 をデフルトにする様に記述しておくと、「...
/usr/ports/mail/opendmarc で、make install すると、完走...
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===> Installing for opendmarc-1.4.2_2
===> Checking if opendmarc is already installed
===> Registering installation for opendmarc-1.4.2_2
Installing opendmarc-1.4.2_2...
# pkg info -dr opendmarc-1.4.2_2
opendmarc-1.4.2_2
Depends on :
p5-HTTP-Message-6.46
libspf2-1.2.11_2
perl5-5.36.3_1
p5-Switch-2.17_1
p5-DBI-1.643
p5-DBD-mysql4-4.052
mariadb105-client-10.5.24
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*www2 [#k0456d46]
/etc/make.conf
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
######### DEFAULT_VERSIONS+= perl5=5.36
DEFAULT_VERSIONS+= python=3.9 python3=3.9
[[/usr/ports/UPDATING:https://piano2nd.smb.net/PukiWiki/?...
727 16:01 portupgrade -o lang/perl5.36 -f lang/perl...
728 16:02 portupgrade -f `pkg shlib -qR libperl.so....
729 16:16 /usr/ports/lang/perl5.36
730 16:16 cd /usr/ports/lang/perl5.36
731 16:16 make reinstall clean
732 16:17 pkg delete perl5.36-5.36.3_1
733 16:17 make install clean
*smb212 [#eae3c48b]
**/etc/make.conf [#w7df1418]
#DEFAULT_VERSIONS+= perl5=5.32
NO_SENDMAIL= true
OPTIONS_UNSET+=X11
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
########################################### ↓ これを追加
DEFAULT_VERSIONS+= python=3.9 python3=3.9
# portupgrade -r --batch apache24-2.4.58_2
[Reading data from pkg(8) ... - 450 packages found - done]
** Port marked as IGNORE: www/apache24:
Invalid perl5 version 5.34
---> Skipping 'www/mod_php81' (mod_php81-8.1.27_1) beca...
** Listing the failed packages (-:ignored / *:skipped / ...
- www/apache24 (marked as IGNORE)
* www/mod_php81 (mod_php81-8.1.27_1)
と言われる。perl はインストールされていないが
**/usr/ports/UPDATING [#x2444bc8]
によれば、20231017 にデフォルトのパールバージョンが変更...
20231017:
AFFECTS: users of lang/perl5*
AUTHOR: delphij@FreeBSD.org
The default Perl version has been switched to Perl 5.3...
binary packages to upgrade your system, you do not hav...
upgrade will do the right thing. For the other people,...
migrating from 5.34 to 5.36, do:
First, add to /etc/make.conf:
DEFAULT_VERSIONS+= perl5=5.36
Portupgrade users:
portupgrade -o lang/perl5.36 -f lang/perl5.34
You can now remove the DEFAULT_VERSIONS line added ea...
from /etc/make.conf
Then you will need to rebuild everything that uses li...
can do so with:
portupgrade -f `pkg shlib -qR libperl.so.5.34`
If, for some reason, this command fails at one point,...
run it again, it will not rebuild what it already reb...
ports that have been rebuilt no longer depend on libp...
on libperl.so.5.36.
にしたがって、先ず /etc/make.conf に DEFAULT_VERSIONS+=...
ついで
portupgrade -o lang/perl5.36 -f lang/perl5.34
インストール後
DEFAULT_VERSIONS+= perl5=5.36
をコメントアウト。で
portupgrade -f `pkg shlib -qR libperl.so.5.34`
を実行。
これで、
# portupgrade -r --batch apache24-2.4.58_2
が完走した。
*** php imagick.so のエラーが出る [#c2261589]
PHP Warning: PHP Startup: Unable to load dynamic librar...
(/usr/local/lib/libMagickWand-7.so.10: version VERS_10.0...
/usr/local/lib/php/20210902-zts/imagick.so.so (Cannot op...
これは、pecl-imagickの再インストールで回避できた。
1006 8:00 cd /usr/ports/graphics/pecl-imagick
1007 8:01 make config
1008 8:01 make reinstall
*** bind-tools-9.18.24 < needs updating (port h...
portupgrade すると、bind916と同じ場所にインストールするの...
これは、bind916 と一緒に使っていたが、現在は、bind918と...
*** bind916-9.16.48_1 < needs updating (port h...
前述の通り、/usr/ports/dns/bind918 にて make install cl...
*** net-snmp-5.9.4_5,1 < needs updating (port h...
こちらは、
# portupgrade -r --batch net-snmp-5.9.4_5,1
でアップグレード完了した。
これで、smb212のパッケージは全部アップデートできた。
* sun3 [#z6ae8741]
/etc/make.conf にperlのデフォルト記述がないが、perl5-5.36...
portsupgrade -a で エラーで残って居るのが・・
py39-certbot-2.9.0,1 < needs updating (port has ...
py39-fail2ban-1.0.2_1 < needs updating (port has ...
py39-sqlite3-3.9.18_7 < needs updating (port has ...
sqlite3-3.45.1,1 < needs updating (port has ...
*** sqlite3-3.45.1,1 [#a1a3bc28]
これは、portupgrade だとエラーでとまるので、/usr/ports/da...
*** py39-sqlite3-3.9.18_7 [#c48d80ef]
これも、同様に /usr/ports/databases/sqlite3 からの ma...
*** py39-fail2ban-1.0.2_1 [#l9e5efd4]
これは、portupgrade -r --batch py39-fail2ban-1.0.2_1 でO...
*** py39-certbot-2.9.0,1 [#nb169f72]
これも同様に、/usr/ports/security/py-certbot から make r...
* sun1 [#sd2410f1]
/etc/make.conf は、これだけ。
OPTIONS_UNSET+=X11
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
因みにインストールされているパッケージは、
############# 2024/07/18 ###############
#perl5-5.34.3_3
#php81-8.1.28
#python39-3.9.18_2
なので、
########################################### ↓ これを追加
DEFAULT_VERSIONS+= python=3.9 python3=3.9
DEFAULT_VERSIONS+= perl5=5.36
して、
ついで
portupgrade -o lang/perl5.36 -f lang/perl5.34
インストール後
DEFAULT_VERSIONS+= perl5=5.36
をコメントアウト。で
portupgrade -f `pkg shlib -qR libperl.so.5.34`
を実行。
**ここでも、[[php imagick.so のエラーが出る]] ので、 [#i3...
1006 8:00 cd /usr/ports/graphics/pecl-imagick
1008 8:01 make reinstall
これで、portupgrade -ar --batch が走れる
*** bind-tools-9.18.24 [#v07fbed9]
bind916 bind918 は入れていないが bind-tools-9.18.24 が...
portupgrade してみた
----
* Piano2nd [#x69f4e1f]
portupgrade -f `pkg shlib -qR libperl.so.5.34` で、以下の...
> Note: Vulnerable ports are marked as such even if ther...
=> If you wish to ignore this vulnerability rebuild with...
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql
egrep: empty (sub)expression
** Comma
# portupgrade -m "DISABLE_VULNERABILITIES=yes" -f `pkg s...
とすると・・・
====> Compressing man pages (compress-man)
===> Installing ldconfig configuration file
===> Installing for mysql80-client-8.0.35
===> Checking if mysql80-client is already installed
===> Registering installation for mysql80-client-8.0.3...
Installing mysql80-client-8.0.35...
pkg-static: mysql80-client-8.0.35 conflicts with mariadb...
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / ...
! databases/p5-DBD-mysql (p5-DBD-mysql-4.050_1) ...
と言うエラー。piano2nd は、mariadb105 で稼働中・・・う~...
# pkg delete p5-DBD-mysql-4.050_1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 pa...
Installed packages to be REMOVED:
opendmarc: 1.4.2_1
p5-DBD-mysql: 4.050_1
Number of packages to be removed: 2
Proceed with deinstalling packages? [y/N]:
# pkg delete opendmarc
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
opendmarc: 1.4.2_1
Number of packages to be removed: 1
Proceed with deinstalling packages? [y/N]:
** portupgrade -ar --batch [#o71c1d76]
** Listing the failed packages (-:ignored / *:skipped / ...
- japanese/mailman (port directory error)
- devel/llvm80 (port deleted)
! databases/p5-DBD-mysql (p5-DBD-mysql-4.050_1) (...
* mail/opendmarc (opendmarc-1.4.2_1)
とここで、ググって見て、p5-DBD-MariaDB というパッケージ...
https://freebsd.pkgs.org/13/freebsd-amd64/p5-DBD-MariaDB-...
*** UPDATING [#fde2523c]
20240408:
AFFECTS: users of databases/p5-DBD-mysql
AUTHOR: flo@FreeBSD.org
Upstream removed support for MariaDB from the 5.0 bran...
MariaDB you need to use databases/p5-DBD-mysql4 from n...
Portmaster users:
portmaster -o databases/p5-DBD-mysql4 databases/...
portmaster -a
Portupgrade users:
portupgrade -o databases/p5-DBD-mysql4 -f databa...
portupgrade -a
だそうな・・・。
更に検索すると、https://www.zabutone.com/installing-opend...
に、
/etc/make.conf に、
DEFAULT_VERSIONS= mysql=10.5m
の様に MariaDB105 をデフルトにする様に記述しておくと、「...
/usr/ports/mail/opendmarc で、make install すると、完走...
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===> Installing for opendmarc-1.4.2_2
===> Checking if opendmarc is already installed
===> Registering installation for opendmarc-1.4.2_2
Installing opendmarc-1.4.2_2...
# pkg info -dr opendmarc-1.4.2_2
opendmarc-1.4.2_2
Depends on :
p5-HTTP-Message-6.46
libspf2-1.2.11_2
perl5-5.36.3_1
p5-Switch-2.17_1
p5-DBI-1.643
p5-DBD-mysql4-4.052
mariadb105-client-10.5.24
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: