FreeBSD - portaudit


2005-02-09

1. Install Port Audit

# /usr/ports/security/portaudit
# make install clean

2. Update the vulnerability database (do this often)

# portaudit -F

3. Audit your ports

# portaudit

4. Update everything that needs updating
You can update everything by doing this:

# cvsup /etc/ports-supfile [may be in a different place]
# cd /usr/ports/category_of_port/name_of_port_to_update
# make clean
# make
# make deinstall
# make reinstall
# make clean

After reinstall stop and start the daemon to make sure the new one is loaded.If you see an actual FreeBSD package that needs updating you need to install FreeBSD-Update…

# /usr/ports/security/freebsd-update
# make install clean
# freebsd-update fetch
# freebsd-update install

After the update you may need to tell portaudit that the problem has been fixed. Look in /usr/local/etc/portaudit.conf.sample on how to do this (rename it to portaudit.conf of course).