| | #!/bin/sh |
---|
| | # Update Various System Files, Ports, etc. |
---|
| | # Copyright (c) 2006-2010, TundraWare Inc, Des Plaines, IL USA |
---|
| | # All Rights Reserved |
---|
| | # $Id: sysupd,v 1.122 2010/06/27 00:54:25 toor Exp $ |
---|
| | # $Id: sysupd,v 1.123 2010/07/11 12:58:25 toor Exp $ |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Where To Put The Various Log Files Generated Here |
---|
| |
---|
| | ##### |
---|
| | # List Of Sets To Process By Default |
---|
| | ##### |
---|
| | |
---|
| | DEFAULTSETS='mirror doc ports ports-index stable' |
---|
| | DEFAULTSETS='mirror doc ports stable' |
---|
| | |
---|
| | |
---|
| | |
---|
| | # ---------------- Support Functions ---------------- # |
---|
| |
---|
| | ### |
---|
| | # CVSUP Updates |
---|
| | ### |
---|
| | |
---|
| | doc | ports | stable) |
---|
| | doc | stable) |
---|
| | runupd $SET $DIRLOG "/usr/bin/csup -h cvsup5.freebsd.org /root/cvsup/$SET-supfile" |
---|
| | ;; |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Update The Ports Index |
---|
| | ##### |
---|
| | |
---|
| | ports-index) |
---|
| | runupd $SET $DIRLOG "/usr/bin/make -f /usr/ports/Makefile fetchindex" |
---|
| | |
---|
| | ports) |
---|
| | runupd $SET $DIRLOG "/usr/bin/csup -h cvsup5.freebsd.org /root/cvsup/$SET-supfile" |
---|
| | runupd $SET $DIRLOG "/usr/local/sbin/portsdb -Uu" |
---|
| | ;; |
---|
| | |
---|
| | |
---|
| | ### |
---|
| |
---|
| | |