head	1.1;
access;
symbols
	RELENG_8_4:1.1.0.22
	RELENG_9_1_0_RELEASE:1.1
	RELENG_9_1:1.1.0.20
	RELENG_9_1_BP:1.1
	RELENG_8_3_0_RELEASE:1.1
	RELENG_8_3:1.1.0.18
	RELENG_8_3_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.16
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.14
	RELENG_9_BP:1.1
	RELENG_7_4_0_RELEASE:1.1.2.1
	RELENG_8_2_0_RELEASE:1.1
	RELENG_7_4:1.1.2.1.0.8
	RELENG_7_4_BP:1.1.2.1
	RELENG_8_2:1.1.0.12
	RELENG_8_2_BP:1.1
	RELENG_8_1_0_RELEASE:1.1
	RELENG_8_1:1.1.0.10
	RELENG_8_1_BP:1.1
	RELENG_7_3_0_RELEASE:1.1.2.1
	RELENG_7_3:1.1.2.1.0.6
	RELENG_7_3_BP:1.1.2.1
	RELENG_8_0_0_RELEASE:1.1
	RELENG_8_0:1.1.0.8
	RELENG_8_0_BP:1.1
	RELENG_8:1.1.0.6
	RELENG_8_BP:1.1
	RELENG_7_2_0_RELEASE:1.1.2.1
	RELENG_7_2:1.1.2.1.0.4
	RELENG_7_2_BP:1.1.2.1
	RELENG_7_1_0_RELEASE:1.1.2.1
	RELENG_6_4_0_RELEASE:1.1.4.1
	RELENG_7_1:1.1.2.1.0.2
	RELENG_7_1_BP:1.1.2.1
	RELENG_6_4:1.1.4.1.0.2
	RELENG_6_4_BP:1.1.4.1
	RELENG_6:1.1.0.4
	RELENG_7:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2008.08.22.15.58.00;	author roberto;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.22.1;
next	;

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

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

1.1.22.1
date	2008.08.22.15.58.00;	author svnexp;	state dead;
branches;
next	1.1.22.2;

1.1.22.2
date	2013.03.28.13.01.48;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
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
@#! /bin/sh

# possible usage: $0 [-f] [version.m4] [version.def]
#
# -f would be 'force the update'

force=0
outputs=
for i in $*
do
    case "$i" in
     -f) force=1 ;;
     version.m4)
	outputs="version.m4 $outputs"
	;;
     *version.def)
	outputs="include/version.def $outputs"
	;;
     *) echo "Unrecognized option: $i"
	exit 1
	;;
    esac
done

case "$outputs" in
 '') outputs="version.m4 include/version.def" ;;
esac

set -e

. ./packageinfo.sh

dversion=`scripts/VersionName`

set +e

case "$outputs" in
 *version.m4*)
    echo "m4_define([VERSION_NUMBER],[${dversion}])" > /tmp/version.m4+
    cmp -s /tmp/version.m4+ version.m4
    rc=$?
    case "$force$rc" in
     00)
	rm -f /tmp/version.m4+
	;;
     *)
	mv /tmp/version.m4+ version.m4
	;;
    esac
    ;;
esac

case "$outputs" in
 *version.def*)
    echo "version = '${dversion}';" > /tmp/version.def+
    cmp -s /tmp/version.def+ include/version.def
    rc=$?
    case "$force$rc" in
     00)
	rm -f /tmp/version.def+
	;;
     *)
	mv /tmp/version.def+ include/version.def
	;;
    esac
    ;;
esac
@


1.1.22.1
log
@file genver was added on branch RELENG_8_4 on 2013-03-28 13:01:48 +0000
@
text
@d1 67
@


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

# possible usage: $0 [-f] [version.m4] [version.def]
#
# -f would be 'force the update'

force=0
outputs=
for i in $*
do
    case "$i" in
     -f) force=1 ;;
     version.m4)
	outputs="version.m4 $outputs"
	;;
     *version.def)
	outputs="include/version.def $outputs"
	;;
     *) echo "Unrecognized option: $i"
	exit 1
	;;
    esac
done

case "$outputs" in
 '') outputs="version.m4 include/version.def" ;;
esac

set -e

. ./packageinfo.sh

dversion=`scripts/VersionName`

set +e

case "$outputs" in
 *version.m4*)
    echo "m4_define([VERSION_NUMBER],[${dversion}])" > /tmp/version.m4+
    cmp -s /tmp/version.m4+ version.m4
    rc=$?
    case "$force$rc" in
     00)
	rm -f /tmp/version.m4+
	;;
     *)
	mv /tmp/version.m4+ version.m4
	;;
    esac
    ;;
esac

case "$outputs" in
 *version.def*)
    echo "version = '${dversion}';" > /tmp/version.def+
    cmp -s /tmp/version.def+ include/version.def
    rc=$?
    case "$force$rc" in
     00)
	rm -f /tmp/version.def+
	;;
     *)
	mv /tmp/version.def+ include/version.def
	;;
    esac
    ;;
esac
@


1.1.4.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
@@


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

MFH ntpd 4.2.4p5.

Approved by:	re (kensmith)
@
text
@@

