freebsd-nq/contrib/ntp/flock-build

47 lines
1.2 KiB
Plaintext
Raw Normal View History

2001-08-29 14:35:15 +00:00
#! /bin/sh
BUILD_ARGS="$@"
PARSE="--enable-parse-clocks"
#PARSE=
2002-11-04 19:36:11 +00:00
# baldwin sparc-sun-solaris2.7
2001-08-29 14:35:15 +00:00
# bridgeport sparc-sun-solaris2.6
2002-11-04 19:36:11 +00:00
# * bunnylou alpha-dec-osf4.0
# * churchy alpha-dec-osf5.1
2001-08-29 14:35:15 +00:00
# cowbird alpha-dec-osf4.0
# grundoon sparc-sun-sunos4.1.3
2002-11-04 19:36:11 +00:00
# * hepzibah freebsd-4
2001-08-29 14:35:15 +00:00
# malarky sparc-sun-solaris2.8
# * pogo sparc-sun-solaris2.8
# * porkypine mips-dec-ultrix4.4
# * rackety sparc-sun-sunos4.1.3/cc
2002-11-04 19:36:11 +00:00
# ? roogey debian
2001-08-29 14:35:15 +00:00
# * snavely hppa1.1-hp-hpux10.20
2002-11-04 19:36:11 +00:00
# whimsy sparc-sun-solaris2.8
2001-08-29 14:35:15 +00:00
c_d=`pwd`
SIG=`perl -e 'print rand'`
echo $SIG > .buildkey
case "$LIST" in
2002-11-04 19:36:11 +00:00
'') LIST="bunnylou churchy hepzibah pogo porkypine rackety snavely" ;;
2001-08-29 14:35:15 +00:00
esac
for i in $LIST
do
echo $i
case "1" in
0)
ssh $i "cd $c_d ; ./build $SIG $PARSE $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $PARSE --with-crypto=autokey $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $PARSE --without-crypto $BUILD_ARGS" &
;;
1) ssh $i "cd $c_d ; \
./build $SIG $PARSE $BUILD_ARGS ; \
./build $SIG $PARSE --with-crypto=autokey $BUILD_ARGS ; \
./build $SIG $PARSE --without-crypto $BUILD_ARGS" &
;;
esac
done