version 1.1, 2006/10/11 00:41:42 |
version 1.3, 2006/10/11 18:44:26 |
|
|
#!/bin/sh |
#!/bin/sh |
# |
# $RedRiver$ |
# Copyright (c) 2002 - 2006, FenderQ |
# Copyright (c) 2002 - 2006, FenderQ |
# All rights reserved. |
# All rights reserved. |
# |
# |
|
|
# SEE ALSO release(8) |
# SEE ALSO release(8) |
# |
# |
|
|
DEST="/home/destdir" |
DEST="/usr/dest" |
RELEASE="/home/releasedir" |
RELEASE="/usr/release" |
CVSTAG="OPENBSD_3_9" |
CVSTAG="OPENBSD_3_9" |
|
#SOURCES="src ports XF4" |
|
SOURCES="src ports" |
|
|
# Anonymous CVS - http://www.openbsd.org/anoncvs.html |
# Anonymous CVS - http://www.openbsd.org/anoncvs.html |
CVSROOT="anoncvs@openbsd.sunsite.ualberta.ca:/cvs" |
CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" |
export CVSROOT |
export CVSROOT |
|
|
install_sources() { |
install_sources() { |
echo "********** Install sources **********" |
echo "********** Install sources **********" |
cd /usr |
cd /usr |
rm -rf src/* XF4 ports |
for d in $SOURCES; do |
cvs -q -z6 checkout -r$CVSTAG -P src XF4 ports |
rm -rf $d/* |
|
cvs -q -z6 checkout -r$CVSTAG -P $d |
|
done |
} |
} |
|
|
update_sources() { |
update_sources() { |
echo "********** Update sources **********" |
echo "********** Update sources **********" |
cd /usr && cvs -q -z6 update -r$CVSTAG -Pd src XF4 ports |
for d in $SOURCES; do |
|
cd /usr && cvs -q -z6 update -r$CVSTAG -Pd $d |
|
done |
} |
} |
|
|
build_kernel() { |
build_kernel() { |