#!/bin/sh
##################################################################
#
# $Id: changelog,v 1.9.2.4 2005/01/11 13:03:28 mt 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.9.2.4 $
#__DATE__ = $Date: 2005/01/11 13:03:28 $
#

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.9.2.4  2005/01/11 13:03:28  mt
# FTP: fixed default UserNameRule regex
#
# Revision 1.9.2.3  2005/01/10 11:47:23  mt
# FTP: included sys/param.h required FreeBSD 6-CURRENT to compile
#
# Revision 1.9.2.2  2004/03/30 10:42:46  mt
# FTP: added pass-through support for RCMD command
# FTP: added UserNameRule option instead of hard coded defaults
# FTP: added LDAPPreBindDN, LDAPPreBindDNPW options for LDAPBindDN=auto
#
# Revision 1.9.2.1  2003/05/11 20:39:33  mt
# FTP: improved ldap support to allow authentication via ldap-bind
# FTP: improved parsing of the ftp USER command magic strings
# FTP: applied OpenBSD pf-nat transparent proxy support patch
#
# Revision 1.9  2002/05/02 15:14:55  mt
# FTP: implemented simple user authentication
#
# Revision 1.8.2.2  2002/04/23 14:52:14  mt
# FTP: fixed transfer abort race conditions in particular for solaris
# FTP: fixed permissions of debug-file as documented in ftp-proxy(8)
#
# Revision 1.8.2.1  2002/04/04 13:53:37  mt
# FTP: fixed Makefiles to use INST_ROOT, added install.doc targed
# FTP: implemented config file wildcard-section names matching
#
# Revision 1.8  2002/01/14 20:09:00  mt
# FTP: fixed chroot, uid/gid dropping, socket_gets line handling
# FTP: implemented iptables and BSD ipnat transparent proxying
# FTP: extended log messages to provide basic transfer statistics
# FTP: improved auto-configure checks, actualized manual pages
# FTP: see ftp-proxy/NEWS file for more detailed release news
#
# Revision 1.7.8.1  2001/11/06 23:06:20  mt
# FTP: applied / merged with transparent proxy patches v8
# FTP: see ftp-proxy/NEWS for more detailed release news
#
# Revision 1.7  1999/10/22 09:22:47  wiegand
# FTP: added -static to GNU C options if required
# FTP: port range also used for control connection to host
#
# Revision 1.6  1999/10/10 18:37:01  wiegand
# FTP: Documentation updates
#
# 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
#
##################################################################

