head	1.3;
access;
symbols
	RELENG_8_4:1.3.0.8
	RELENG_9_1_0_RELEASE:1.3
	RELENG_9_1:1.3.0.6
	RELENG_9_1_BP:1.3
	RELENG_8_3_0_RELEASE:1.2
	RELENG_8_3:1.2.0.10
	RELENG_8_3_BP:1.2
	RELENG_9_0_0_RELEASE:1.3
	RELENG_9_0:1.3.0.4
	RELENG_9_0_BP:1.3
	RELENG_9:1.3.0.2
	RELENG_9_BP:1.3
	RELENG_7_4_0_RELEASE:1.1.1.4.18.1
	RELENG_8_2_0_RELEASE:1.2
	RELENG_7_4:1.1.1.4.18.1.0.8
	RELENG_7_4_BP:1.1.1.4.18.1
	RELENG_8_2:1.2.0.8
	RELENG_8_2_BP:1.2
	RELENG_8_1_0_RELEASE:1.2
	RELENG_8_1:1.2.0.6
	RELENG_8_1_BP:1.2
	RELENG_7_3_0_RELEASE:1.1.1.4.18.1
	RELENG_7_3:1.1.1.4.18.1.0.6
	RELENG_7_3_BP:1.1.1.4.18.1
	RELENG_8_0_0_RELEASE:1.2
	RELENG_8_0:1.2.0.4
	RELENG_8_0_BP:1.2
	RELENG_8:1.2.0.2
	RELENG_8_BP:1.2
	RELENG_7_2_0_RELEASE:1.1.1.4.18.1
	RELENG_7_2:1.1.1.4.18.1.0.4
	RELENG_7_2_BP:1.1.1.4.18.1
	RELENG_7_1_0_RELEASE:1.1.1.4.18.1
	RELENG_6_4_0_RELEASE:1.1.1.4.8.1
	RELENG_7_1:1.1.1.4.18.1.0.2
	RELENG_7_1_BP:1.1.1.4.18.1
	RELENG_6_4:1.1.1.4.8.1.0.2
	RELENG_6_4_BP:1.1.1.4.8.1
	RELENG_7_0_0_RELEASE:1.1.1.4
	RELENG_6_3_0_RELEASE:1.1.1.4
	RELENG_7_0:1.1.1.4.0.22
	RELENG_7_0_BP:1.1.1.4
	RELENG_6_3:1.1.1.4.0.20
	RELENG_6_3_BP:1.1.1.4
	RELENG_7:1.1.1.4.0.18
	RELENG_7_BP:1.1.1.4
	RELENG_6_2_0_RELEASE:1.1.1.4
	RELENG_6_2:1.1.1.4.0.16
	RELENG_6_2_BP:1.1.1.4
	RELENG_5_5_0_RELEASE:1.1.1.4
	RELENG_5_5:1.1.1.4.0.14
	RELENG_5_5_BP:1.1.1.4
	RELENG_6_1_0_RELEASE:1.1.1.4
	RELENG_6_1:1.1.1.4.0.12
	RELENG_6_1_BP:1.1.1.4
	RELENG_6_0_0_RELEASE:1.1.1.4
	RELENG_6_0:1.1.1.4.0.10
	RELENG_6_0_BP:1.1.1.4
	RELENG_6:1.1.1.4.0.8
	RELENG_6_BP:1.1.1.4
	RELENG_5_4_0_RELEASE:1.1.1.4
	RELENG_5_4:1.1.1.4.0.6
	RELENG_5_4_BP:1.1.1.4
	RELENG_4_11_0_RELEASE:1.1.1.2.2.1
	RELENG_4_11:1.1.1.2.2.1.0.14
	RELENG_4_11_BP:1.1.1.2.2.1
	RELENG_5_3_0_RELEASE:1.1.1.4
	RELENG_5_3:1.1.1.4.0.4
	RELENG_5_3_BP:1.1.1.4
	RELENG_5:1.1.1.4.0.2
	RELENG_5_BP:1.1.1.4
	v4_2_0:1.1.1.4
	RELENG_4_10_0_RELEASE:1.1.1.2.2.1
	RELENG_4_10:1.1.1.2.2.1.0.12
	RELENG_4_10_BP:1.1.1.2.2.1
	RELENG_5_2_1_RELEASE:1.1.1.3
	RELENG_5_2_0_RELEASE:1.1.1.3
	RELENG_5_2:1.1.1.3.0.6
	RELENG_5_2_BP:1.1.1.3
	RELENG_4_9_0_RELEASE:1.1.1.2.2.1
	RELENG_4_9:1.1.1.2.2.1.0.10
	RELENG_4_9_BP:1.1.1.2.2.1
	RELENG_5_1_0_RELEASE:1.1.1.3
	RELENG_5_1:1.1.1.3.0.4
	RELENG_5_1_BP:1.1.1.3
	RELENG_4_8_0_RELEASE:1.1.1.2.2.1
	RELENG_4_8:1.1.1.2.2.1.0.8
	RELENG_4_8_BP:1.1.1.2.2.1
	RELENG_5_0_0_RELEASE:1.1.1.3
	RELENG_5_0:1.1.1.3.0.2
	RELENG_5_0_BP:1.1.1.3
	v4_1_1b:1.1.1.3
	v4_1_1a:1.1.1.3
	RELENG_4_7_0_RELEASE:1.1.1.2.2.1
	RELENG_4_7:1.1.1.2.2.1.0.6
	RELENG_4_7_BP:1.1.1.2.2.1
	RELENG_4_6_2_RELEASE:1.1.1.2.2.1
	RELENG_4_6_1_RELEASE:1.1.1.2.2.1
	RELENG_4_6_0_RELEASE:1.1.1.2.2.1
	RELENG_4_6:1.1.1.2.2.1.0.4
	RELENG_4_6_BP:1.1.1.2.2.1
	RELENG_4_5_0_RELEASE:1.1.1.2.2.1
	RELENG_4_5:1.1.1.2.2.1.0.2
	RELENG_4_5_BP:1.1.1.2.2.1
	RELENG_4_4_0_RELEASE:1.1.1.2
	RELENG_4_4:1.1.1.2.0.6
	RELENG_4_4_BP:1.1.1.2
	v4_1_0:1.1.1.3
	RELENG_4_3_0_RELEASE:1.1.1.2
	RELENG_4_3:1.1.1.2.0.4
	RELENG_4_3_BP:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.2
	PRE_SMPNG:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.2
	RELENG_4_BP:1.1.1.2
	v4_0_99b:1.1.1.2
	v4_0_98f:1.1.1.1
	DMILLS:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2009.12.15.14.58.10;	author roberto;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	2008.08.22.15.58.00;	author roberto;	state Exp;
branches;
next	1.1;

1.1
date	99.12.09.13.01.03;	author roberto;	state Exp;
branches
	1.1.1.1;
next	;

1.3.8.1
date	2009.12.15.14.58.10;	author svnexp;	state dead;
branches;
next	1.3.8.2;

1.3.8.2
date	2013.03.28.13.01.44;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	99.12.09.13.01.03;	author roberto;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2000.01.28.14.50.49;	author roberto;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	2001.08.29.14.35.07;	author roberto;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2004.07.20.15.01.00;	author roberto;	state Exp;
branches
	1.1.1.4.8.1
	1.1.1.4.18.1;
next	;

1.1.1.2.2.1
date	2001.12.21.17.38.53;	author roberto;	state Exp;
branches;
next	;

1.1.1.4.8.1
date	2008.09.04.12.49.54;	author roberto;	state Exp;
branches;
next	;

1.1.1.4.18.1
date	2008.09.03.08.49.07;	author roberto;	state Exp;
branches;
next	;


desc
@@


1.3
log
@SVN rev 200576 on 2009-12-15 14:58:10Z by roberto

Merge 4.2.4p8 into contrib (r200452 & r200454).

Subversion is being difficult here so take a hammer and get it in.

MFC after:		2 weeks
Security:		CVE-2009-3563
@
text
@#! /bin/sh

LOGF=make.log
IAM=`hostname || uname -n`
MYNAME=`IFS=. ; set $IAM ; echo $1`
SIG=

case "$1" in
 0.*)
    SIG=$1
    shift
    CONFIG_ARGS="$@@"
    KEY=`sed -e q < .buildkey-$MYNAME`
    case "$SIG" in
     $KEY) ;;
     *)
	echo "Wrong directory for build on host $IAM"
	echo "This is <`pwd`>"
	echo "SIG is <$SIG>"
	echo "KEY is <$KEY>"
        exit 1
        ;;
    esac
    ;;
 *)
    CONFIG_ARGS="$@@"
    ;;
esac

#set -e
#set -x

CVO=`./config.guess`
case "$CVO" in
 *-*-*) ;;
 *) echo "config.guess returned <$CVO>, which makes no sense to me."
    exit 1
    ;;
esac

case "$IAM" in
 *.udel.edu)
    BDIR=A.$MYNAME
    CONFIG_ARGS="$CONFIG_ARGS --enable-local-libopts"
    case "$CVO" in
     *-*-ultrix*)
	CONFIG_ARGS="$CONFIG_ARGS --with-libregex=/usr/local"
	;;
    esac
    ;;
 *)
    BDIR=A.$CVO
    ;;
esac

KEYSUF=""

case "$CONFIG_ARGS" in
 *--with-crypto=autokey*)
    KEYSUF="-autokey"
    ;;
 *--without-crypto*)
    KEYSUF="-noopenssl"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-all-clocks*)
    KEYSUF="$KEYSUF-no-refclocks"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-debugging*)
    KEYSUF="$KEYSUF-nodebug"
    ;;
esac

CCSUF=""

case "$CC" in
 '') ;;
 *) CCSUF="-$CC"
    ;;
esac

BDIR="$BDIR$KEYSUF$CCSUF"

[ -d "$BDIR" ] || mkdir $BDIR
[ -f "$BDIR/.buildcvo" ] || echo $CVO > $BDIR/.buildcvo
[ -f "$BDIR/.buildhost" ] || echo $IAM > $BDIR/.buildhost


cd $BDIR

#
# make sure we have a nice that works,
#
nice true && NICEB=nice
nice true || NICEB=./.nicebuild-$MYNAME-$SIG && (
    cat > .nicebuild-$MYNAME-$SIG <<UNLYKUHLY
#! /bin/sh
shift
\$*
UNLYKUHLY
    chmod +x .nicebuild-$MYNAME-$SIG
)


(
[ -f config.status ] || $NICEB -7 ../configure --config-cache \
				$CONFIG_ARGS

$NICEB -5 ./config.status

case "$MAKE" in
 '') $NICEB -14 make && $NICEB -10 make check
     ;;
 *)  $NICEB -14 $MAKE && $NICEB -10 $MAKE check
     ;;
esac
) > $LOGF 2>&1
@


1.3.8.1
log
@file build was added on branch RELENG_8_4 on 2013-03-28 13:01:44 +0000
@
text
@d1 122
@


1.3.8.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 106
#! /bin/sh

LOGF=make.log
IAM=`hostname || uname -n`

case "$1" in
 0.*)
    SIG=$1
    shift
    CONFIG_ARGS="$@@"
    KEY=`sed -e q < .buildkey`
    case "$SIG" in
     $KEY) ;;
     *)
	echo "Wrong directory for build on host $IAM"
	echo "This is <`pwd`>"
	echo "SIG is <$SIG>"
	echo "KEY is <$KEY>"
        exit 1
        ;;
    esac
    ;;
 *)
    CONFIG_ARGS="$@@"
    ;;
esac

#set -e
#set -x

CVO=`./config.guess`
case "$CVO" in
 *-*-*) ;;
 *) echo "config.guess returned <$CVO>, which makes no sense to me."
    exit 1
    ;;
esac

MYNAME=`IFS=. ; set $IAM ; echo $1`

case "$IAM" in
 *.udel.edu)
    BDIR=A.$MYNAME
    CONFIG_ARGS="$CONFIG_ARGS --enable-local-libopts"
    case "$CVO" in
     *-*-ultrix*)
	CONFIG_ARGS="$CONFIG_ARGS --with-libregex=/usr/local"
	;;
    esac
    ;;
 *)
    BDIR=A.$CVO
    ;;
esac

KEYSUF=""

case "$CONFIG_ARGS" in
 *--with-crypto=autokey*)
    KEYSUF="-autokey"
    ;;
 *--without-crypto*)
    KEYSUF="-noopenssl"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-all-clocks*)
    KEYSUF="$KEYSUF-no-refclocks"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-debugging*)
    KEYSUF="$KEYSUF-nodebug"
    ;;
esac

CCSUF=""

case "$CC" in
 '') ;;
 *) CCSUF="-$CC"
    ;;
esac

BDIR="$BDIR$KEYSUF$CCSUF"

[ -d "$BDIR" ] || mkdir $BDIR
[ -f "$BDIR/.buildcvo" ] || echo $CVO > $BDIR/.buildcvo
[ -f "$BDIR/.buildhost" ] || echo $IAM > $BDIR/.buildhost

cd $BDIR

(
[ -f config.status ] || ../configure $CONFIG_ARGS

./config.status

case "$MAKE" in
 '') make && make check
     ;;
 *)  $MAKE && $MAKE check
     ;;
esac
) > $LOGF 2>&1
@


1.2
log
@SVN rev 182007 on 2008-08-22 15:58:00Z by roberto

Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head.  Next commit
will update usr.sbin/ntp to match this.

MFC after:	2 weeks
@
text
@d5 2
d13 1
a13 1
    KEY=`sed -e q < .buildkey`
a40 2
MYNAME=`IFS=. ; set $IAM ; echo $1`

d93 1
d96 14
d111 2
a112 1
[ -f config.status ] || ../configure $CONFIG_ARGS
d114 1
a114 1
./config.status
d117 1
a117 1
 '') make && make check
d119 1
a119 1
 *)  $MAKE && $MAKE check
@


1.1
log
@Initial revision
@
text
@d4 2
d7 2
a8 1
 -l) LOG=1
d10 12
d23 2
a24 1
 *) LOG=0
a27 4
CONFIG_ARGS="$@@"

IAM=`hostname || uname -n`

d44 6
d56 23
d87 1
a87 1
BDIR="$BDIR$CCSUF"
d96 1
a96 1
cp /dev/null $LOGF
d98 1
a98 1
[ -f config.status ] || ../configure $CONFIG_ARGS
d106 1
a106 2
) >> $LOGF 2>&1

@


1.1.1.1
log
@Virgin import of ntpd 4.0.98f
@
text
@@


1.1.1.2
log
@Virgin import of ntpd 4.0.99b
@
text
@d4 7
d55 2
d65 2
a66 1
) > $LOGF 2>&1
@


1.1.1.2.2.1
log
@MFC: ntp 4.1.0.

	See ChangeLog for all the many changes/bug fixes/new drivers.

	This code has been in CURRENT for months and several people use
	this version on 4.4-STABLE.

Approved by:	re
@
text
@d4 3
a8 19
case "$1" in
 0.*)
    SIG=$1
    shift
    CONFIG_ARGS="$@@"
    KEY=`sed -e q < .buildkey`
    case "$SIG" in
     $KEY) ;;
     *)
	echo "Wrong directory for build on host $IAM"
        exit 1
        ;;
    esac
    ;;
 *)
    CONFIG_ARGS="$@@"
    ;;
esac

a30 11
KEYSUF=""

case "$CONFIG_ARGS" in
 *--with-crypto=autokey*)
    KEYSUF="-autokey"
    ;;
 *--without-crypto*)
    [ -d rsaref2 ] && KEYSUF="-norsaref"
    ;;
esac

d39 1
a39 1
BDIR="$BDIR$KEYSUF$CCSUF"
a48 2

./config.status
@


1.1.1.3
log
@Virgin import of ntpd 4.1.0
@
text
@d4 3
a8 19
case "$1" in
 0.*)
    SIG=$1
    shift
    CONFIG_ARGS="$@@"
    KEY=`sed -e q < .buildkey`
    case "$SIG" in
     $KEY) ;;
     *)
	echo "Wrong directory for build on host $IAM"
        exit 1
        ;;
    esac
    ;;
 *)
    CONFIG_ARGS="$@@"
    ;;
esac

a30 11
KEYSUF=""

case "$CONFIG_ARGS" in
 *--with-crypto=autokey*)
    KEYSUF="-autokey"
    ;;
 *--without-crypto*)
    [ -d rsaref2 ] && KEYSUF="-norsaref"
    ;;
esac

d39 1
a39 1
BDIR="$BDIR$KEYSUF$CCSUF"
a48 2

./config.status
@


1.1.1.4
log
@Virgin import of ntpd 4.2.0
@
text
@a15 3
	echo "This is <`pwd`>"
	echo "SIG is <$SIG>"
	echo "KEY is <$KEY>"
d54 1
a54 1
    KEYSUF="-noopenssl"
@


1.1.1.4.8.1
log
@SVN rev 182752 on 2008-09-04 12:49:54Z by roberto

MFH ntpd 4.2.4p5.

Main difference with the stable/7 merge is that 6.x does not support -lrt and
the corresponding *timer functions.

Approved by:	re (kensmith)
@
text
@a43 6
    CONFIG_ARGS="$CONFIG_ARGS --enable-local-libopts"
    case "$CVO" in
     *-*-ultrix*)
	CONFIG_ARGS="$CONFIG_ARGS --with-libregex=/usr/local"
	;;
    esac
a60 12
case "$CONFIG_ARGS" in
 *--disable-all-clocks*)
    KEYSUF="$KEYSUF-no-refclocks"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-debugging*)
    KEYSUF="$KEYSUF-nodebug"
    ;;
esac

@


1.1.1.4.18.1
log
@SVN rev 182716 on 2008-09-03 08:49:07Z by roberto

MFH ntpd 4.2.4p5.

Approved by:	re (kensmith)
@
text
@a43 6
    CONFIG_ARGS="$CONFIG_ARGS --enable-local-libopts"
    case "$CVO" in
     *-*-ultrix*)
	CONFIG_ARGS="$CONFIG_ARGS --with-libregex=/usr/local"
	;;
    esac
a60 12
case "$CONFIG_ARGS" in
 *--disable-all-clocks*)
    KEYSUF="$KEYSUF-no-refclocks"
    ;;
esac

case "$CONFIG_ARGS" in
 *--disable-debugging*)
    KEYSUF="$KEYSUF-nodebug"
    ;;
esac

@


