xref: /freebsd/contrib/ntp/flock-build (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
1#! /bin/sh
2
3BUILD_ARGS="$@"
4PARSE="--enable-parse-clocks"
5#PARSE=
6SNTP="--with-sntp"
7
8# Backroom:
9#   beauregard	   freebsd-4
10#   deacon	   sparc-sun-solaris2.7
11#   grundoon	   sparc-sun-sunos4.1.3
12#   howland	   freebsd-4
13#   mort	   sparc-sun-solaris2.8
14#   whimsy	   sparc-sun-solaris2.8
15
16# Campus:
17# * albert	   redhat-8
18#   baldwin	   sparc-sun-solaris2.8
19#   bridgeport	   sparc-sun-solaris2.8
20# * bunnylou	   alpha-dec-osf4.0
21# * churchy	   alpha-dec-osf5.1
22#   cowbird	   alpha-dec-osf4.0
23# * hepzibah	   freebsd-4
24#   malarky	   sparc-sun-solaris2.8
25# * pogo	   sparc-sun-solaris2.8
26# * porkypine	   mips-dec-ultrix4.4
27# * rackety	   sparc-sun-sunos4.1.3/cc
28# ? roogey	   debian
29# * snavely	   hppa1.1-hp-hpux10.20
30
31c_d=`pwd`
32
33SIG=`perl -e 'print rand'`
34echo $SIG > .buildkey
35
36case "$LIST" in
37 '') LIST="albert bunnylou churchy hepzibah pogo porkypine rackety snavely" ;;
38esac
39
40for i in $LIST
41do
42    echo $i
43    case "1" in
44     0)
45    ssh $i "cd $c_d ; ./build $SIG $PARSE $SNTP $BUILD_ARGS" &
46    ssh $i "cd $c_d ; ./build $SIG $PARSE $SNTP --without-crypto $BUILD_ARGS" &
47	;;
48     1) ssh $i "cd $c_d ; \
49./build $SIG $PARSE $SNTP $BUILD_ARGS ; \
50./build $SIG $PARSE $SNTP --without-crypto $BUILD_ARGS" &
51	;;
52    esac
53done
54