Got rid of ports index fetch.
Broke ports out as a separate stanza.
Use portsdb -Uu to recreate new ports index files.
1 parent dac352a commit 3d71ad7d1f2f8d088ea9d430273e188cf8b721f2
@toor toor authored on 11 Jul 2010
Showing 1 changed file
View
20
sysupd
#!/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"
;;
 
 
###