3 # $Id: version.c.SH 1852 2007-11-30 23:50:04Z klmitch $
5 echo "Extracting ircd/version.c ..."
11 generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c`
12 if test ! "$generation" ; then generation=0; fi
17 generation=`expr $generation + 1`
21 { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \
23 { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'`
26 svn_revision=`svn info | grep Revision | grep -o -E '[0-9]+'`
27 if test "x$svn_revision" = "x" ; then
32 /bin/cat >version.c <<!SUB!THIS!
34 * IRC - Internet Relay Chat, ircd/version.c
35 * Copyright (C) 1990 Chelsea Ashley Dyerman
37 * This program is free software; you can redistribute it and/or modify
38 * it under the terms of the GNU General Public License as published by
39 * the Free Software Foundation; either version 1, or (at your option)
42 * This program is distributed in the hope that it will be useful,
43 * but WITHOUT ANY WARRANTY; without even the implied warranty of
44 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 * GNU General Public License for more details.
47 * You should have received a copy of the GNU General Public License
48 * along with this program; if not, write to the Free Software
49 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
53 * This file is generated by version.c.SH. Any changes made will go away.
57 #include "patchlevel.h"
59 const char *generation = "$generation";
60 const char *creation = "$creation";
61 const char *version = BASE_VERSION RELEASE PATCHLEVEL PATCHSET;
62 const char *svn_srev = "$svn_revision";
64 const char *infotext[] = {
66 "This program is free software; see LICENSE in the distribution",
68 "Based on the original code written by Jarkko Oikarinen, version 2.6:",
69 "Wiz Jarkko Oikarinen <jto@tolsun.oulu.fi>",
71 "The main developer of version u2.9 and u2.10 was:",
72 "Run Carlo Wood <carlo@runaway.xs4all.nl>",
74 "The head developer of the u2.10 source tree was:",
75 "Bleep Thomas Helvey <tomh@inxpress.net>",
77 "The current maintainors of the u2.10 source tree are:",
78 "Isomer Perry Lorier <perry@coders.net>",
79 "Kev Kevin Mitchell <klmitch@mit.edu>",
81 "Contributors to this release:",
82 "Kev, Isomer, Gte, Ghostwolf, Bleep",
83 "Debugging and support:",
84 "SeKs, Maniac-, HeKTik, OmniDynmc, Liandrin, Dianora",
85 "Special thanks to Angel and Buff for believing in us and putting"
86 "up with frantic late night phone calls"
88 "Thanks goes to all other people who contributed to any version.",
89 "A full listing of all coders can be found in doc/Authors in the",