Change the system name from 'FreeBSD' to 'DragonFly'. We are now officially
[dragonfly.git] / contrib / ntp / flock-build
1 #! /bin/sh
2
3 BUILD_ARGS="$@"
4 PARSE="--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
21 c_d=`pwd`
22
23 SIG=`perl -e 'print rand'`
24 echo $SIG > .buildkey
25
26 case "$LIST" in
27  '') LIST="baldwin churchy hepzibah pogo porkypine rackety snavely" ;;
28 esac
29
30 for i in $LIST
31 do
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
45 done