You are here

ports

Ivan Radovanovic's picture

Script to clean ports

Since make clean seems not to work properly anymore

#!/bin/sh

cd /usr/ports

for port in `find . -name work -type d | sed -E -e 's/\/work.*$//'`
do
cd /usr/ports/$port
make clean
done

Ivan Radovanovic's picture

Keeping FreeBSD ports secure and up to date

  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)
Subscribe to RSS - ports