#pkg_info
MailScanner-4.38.1
update ports tree:
#cvsup -g -L 2 /usr/ports-supfile
then install portupgrade:
#cd /usr/ports/sysutils/portupgrade
#make install
#make clean
backup MailScanner.conf
#cd /usr/local/etc/MailScanner/
#cp MailScanner.conf MailScanner.conf.438
upgrade MailScanner
參考網址:http://www.sng.ecs.soton.ac.uk/mailscanner/FreeBSD.html
#cd /usr/ports/mail/
#/usr/local/sbin/portupgrade MailScanner //大小寫要和pkg_info相同
..............
有部份注意事項,請參閱前述網頁說明。
我使用portupgrade MailScanner做到最後會失敗,只好用
#pkg_deinstall mailscanner-mrtg
#pkg_deinstall MailScanner
#cd /usr/ports/mail/mailscanner
#pkg_reinstall MailScanner
↑用這個方法在ns2時ok, 但用在ns1時失敗,原因在/usr/local/share/MailScanner/reports/tw/languages.conf更新會失敗。
所以我先把這個目錄移到其他地方,再到
#cd /usr/ports/mail/mailscanner
#make install
就更新完成。
更新clamav比較簡單,直接:
#portupgrade clamav
就自己裝完了。
- Jan 24 Tue 2006 21:27
Upgrade MailScanner
全站熱搜
留言列表