#!/bin/sh
##################################################################
#
# $Id: changelog,v 1.5 1999/10/04 11:55:39 wiegand Exp $
#
# Funny enough, this changelog is executable.
# It provides version numbers and build dates.
# The actual entries start further down ...
#
# A version update (with log entry) can always be
# enforced by executing "cvs commit -f changelog".
#
#__VERS__ = $Revision: 1.5 $
#__DATE__ = $Date: 1999/10/04 11:55:39 $
#

VERS=`grep "^#__VERS__" $0 | sed -e 's/.*: //' -e 's/ \\$//g'`
DATE=`grep "^#__DATE__" $0 | sed -e 's/.*: //' -e 's/ \\$//g'`

cat <<-EOF > ftp-proxy/ftp-vers.c
	/*
	** Version number and build date.
	** Created automatically by changelog.
	** Please do not edit this file.
	*/

	static char prog_vers[] = "$VERS";
	static char prog_date[] = "$DATE";

EOF

echo "The new version is: '$VERS - $DATE'"
exit 0


##################################################################
#
# And here the actual change log begins ...
#
# $Log: changelog,v $
# Revision 1.5  1999/10/04 11:55:39  wiegand
# FTP: first public release
#
# Revision 1.4  1999/09/30 12:07:42  wiegand
# FTP: dynamic TranslatedAddress
# FTP: several minor bugfixes
#
# Revision 1.3  1999/09/24 19:30:55  wiegand
# FTP: enabled Regular Expressions for all commands
# FTP: enabled the AllowMagicUser for outgoing FTP
# FTP: some bug fixes and documentation improvements
#
# Revision 1.2  1999/09/24 19:30:33  wiegand
# version for customer shipment on 1999/09/21
#
# Revision 1.1  1999/09/24 19:30:19  wiegand
# initial checkin
#
##################################################################

