You are here

Keeping FreeBSD ports secure and up to date

Ivan Radovanovic's picture
  1. Install /usr/ports/ports-mgmt/portaudit in order to receive vulnerability reports with daily security reports
  2. Install /usr/ports/ports-mgmt/portupgrade in order to be able to update ports in easier way
  3. When you need to upgrade ports
    • portsnap fetch
    • portsnap update (or portsnap extract if using portsnap for the first time)
    • do portupgrade -a -i to upgrade all ports (don't forget -i otherwise it may install more things than you want), or use variant with port name to upgrade only one port