$ pkg version -vl "<"
mysql80-server-8.0.35_1 < needs updating (port has 8.0.39)
という状態です。
2. 現象
portupgrade -rR mysql80-server
すると。
[Reading data from pkg(8) ... - 762 packages found - done]
[Gathering depends for databases/mysql80-server .................................... done]
[Exclude up-to-date packages ....................................................... done]
---> Upgrading 'mysql80-server-8.0.35_1' to 'mysql80-server-8.0.39' (databases/mysql80-server)
---> Building '/usr/ports/databases/mysql80-server'
===> Cleaning for mysql80-server-8.0.39
===> mysql80-server-8.0.39 has known vulnerabilities:
mysql80-server-8.0.39 is vulnerable:
MySQL -- Multiple vulnerabilities
WWW: https://vuxml.FreeBSD.org/freebsd/3b018063-4358-11ef-b611-84a93843eb75.html
1 problem(s) in 1 installed package(s) found.
=> Please update your ports tree and try again.
=> Note: Vulnerable ports are marked as such even if there is no update available.
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/databases/mysql80-server
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/mysql80-server
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20240802-10473-4coous env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mysql80-server-8.0.35_1 UPGRADE_PORT_VER=8.0.35_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! databases/mysql80-server (mysql80-server-8.0.35_1) (security vulnerabilities)