BSD Ports Installer Script


This is a handy thing to keep track of what ports are installed for a given server, and when. Nice to "copy forward" for later servers and a useful documentation tool as well...

    #
    #  FreeBSD ports installer/log, run by: sh /etc/notes/ports.txt
    #
    BASE=/usr/ports
    LIST=`cat $0 |grep ^#= |cut -d'=' -f2 `
    for PKG in $LIST ; do
      cd $BASE/$PKG && make && make install
    done
    exit

    #2005.01.29#=shells/pdksh
    #2005.01.30#=www/lynx
    #2005.01.30#=misc/screen
    #2005.01.30#=ftp/wget
    #2005.01.30#=archivers/bzip2
    #2005.01.30#=archivers/zip
    #=comms/minicom
    #=comms/kermit


source: jwe
keywords: unix,install
date: 01/31/2005