ports もアップデート

ports も最新の状態にしたいということで次のコマンドを入力。


# cp -p /usr/share/examples/cvsup/ports-supfile /etc/
# chmod +w /etc/ports-supfile
# sed 's/CHANGE_THIS\./cvsup2\.jp\./g' /etc/ports-supfile > tmpfile
# mv tmpfile /etc/ports-supfile
# csup /etc/ports-supfile

脆弱性が毎回チェックされるので、"Vulnerability check disabled" と表示されないようにするために portaudit をインストール。


# cd /usr/ports/ports-mgmt/portaudit
# make all install clean; rehash;
# portaudit -Fda