CONTENTS
Lastmodified 2022-04-18 (月) 13:49:24
/root/bin/check.sh
#!/bin/sh setenv PAGER cat && \ /usr/sbin/freebsd-update fetch && \ /usr/sbin/freebsd-update install ; \ /usr/sbin/portsnap fetch update && \ /usr/local/sbin/portversion -vl'<' && \ /usr/bin/head /usr/ports/UPDATING && \ /usr/sbin/pkg audit -F /bin/df -h #/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ upgrade" ← Nextcloud稼働サーバならアンコメント /usr/local/etc/rc.d/mysql-server restart exit 0
と言うスクリプトをつくっておいて、以下の様にportupgrade している
screen -r /root/bin/check.sh portupgrade -ar --batch && reboot
screen -r /root/bin/check.sh && portupgrade -ar --batch && reboot
2022/04/18
# portupgrade -m "DISABLE_VULNERABILITIES=yes" --batch mysql80-client-8.0.28_2 mysql80-server-8.0.28_3 && portupgrade -ar --batch && reboot
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes' *** Error code 1
と言われて、
Stop. make: stopped in /usr/ports/graphics/openjpeg
したら、-m "DISABLE_VULNERABILITIES=yes" を、挟むヨロシ。
# portupgrade -m "DISABLE_VULNERABILITIES=yes" openjpeg-2.3.0_1
2019/07/29
# portupgrade -m "DISABLE_VULNERABILITIES=yes" mysql57-server-5.7.26_2 # portupgrade -m "DISABLE_VULNERABILITIES=yes" -ar --batch && reboot
Total access 2114:本日 1:昨日 1