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