#author("2022-04-18T13:48:18+09:00","default:kuji","kuji") #author("2022-04-18T13:49:24+09:00","default:kuji","kuji") [[MAKE_JOBS_UNSAFE=yes]] CONTENTS #contents ---- Lastmodified &lastmod; ---- /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 ---- *'make DISABLE_VULNERABILITIES=yes' [#p7829754] => 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 &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);