1 echo "Extracting ircd/version.c ..."
5 generation=`sed -n 's/^char \*generation = \"\(.*\)\";/\1/p' < version.c`
6 if test ! "$generation" ; then generation=0; fi
11 generation=`expr $generation + 1`
14 if $sum s_serv.c 1> /dev/null 2>&1; then
19 sumsserv=`$sum s_serv.c 2> /dev/null`;
20 sumsuser=`$sum s_user.c 2> /dev/null`;
21 sumchan=`$sum channel.c 2> /dev/null`;
22 sumsbsd=`$sum s_bsd.c 2> /dev/null`;
23 sumhash=`$sum hash.c 2> /dev/null`;
24 sumsmisc=`$sum s_misc.c 2> /dev/null`;
25 sumircd=`$sum ircd.c 2> /dev/null`;
29 { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \
31 { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'`
33 cvsversion=`cat ../.patches | \
38 printf(".%d.(%s)", NF - 3, $(NF)); \
41 /bin/cat >version.c <<!SUB!THIS!
43 * IRC - Internet Relay Chat, ircd/version.c
44 * Copyright (C) 1990 Chelsea Ashley Dyerman
46 * This program is free software; you can redistribute it and/or modify
47 * it under the terms of the GNU General Public License as published by
48 * the Free Software Foundation; either version 1, or (at your option)
51 * This program is distributed in the hope that it will be useful,
52 * but WITHOUT ANY WARRANTY; without even the implied warranty of
53 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54 * GNU General Public License for more details.
56 * You should have received a copy of the GNU General Public License
57 * along with this program; if not, write to the Free Software
58 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
62 * This file is generated by version.c.SH. Any changes made will go away.
67 #include "patchlevel.h"
70 const char *generation = "$generation";
71 const char *creation = "$creation";
72 const char *version = BASE_VERSION PATCH1 "$cvsversion" PATCH2 PATCH3 PATCH4 PATCH5 PATCH6\
73 PATCH7 PATCH8 PATCH9 PATCH10 PATCH11 PATCH12 PATCH13 PATCH14 PATCH15\
74 PATCH16 PATCH17 PATCH18 PATCH19 PATCH20 PATCH21 PATCH22 PATCH23 PATCH24\
75 PATCH25 PATCH26 PATCH27 PATCH28 PATCH29 PATCH30 PATCH31 PATCH32;
77 const char *infotext[] = {
79 "Based on the original code written by Jarkko Oikarinen, version 2.6:",
80 "Copyright 1988, 1989, 1990, 1991 University of Oulu, Computing Center",
82 "Wiz Jarkko Oikarinen <jto@tolsun.oulu.fi>",
84 "This program is free software; you can redistribute it and/or",
85 "modify it under the terms of the GNU General Public License as",
86 "published by the Free Software Foundation; either version 2, or",
87 "(at your option) any later version.",
89 "The UnderNet code is based upon version 2.8.10.",
90 "The main developers of version 2.7 and 2.8 are:",
92 "Avalon Darren Reed <avalon@coombs.anu.edu.au>",
93 "msa Markku Savela <msa@tel4.tel.vtt.fi>",
94 "Wumpus Greg Lindahl <lindahl@pbm.com>",
96 "The main developer of version u2.9 and u2.10 is:",
98 "Run Carlo Wood <carlo@runaway.xs4all.nl>",
100 "Thanks goes to all other people who contributed to any version.",
101 "A full listing of all coders can be found in doc/Authors in the",
102 "source. Contributers to version u2.10 can be found on",
103 "http://coder-com.undernet.org/posters.html",
104 "Thanks also to those who provided me with accounts; the kind sys",
105 "admins who let me and others continue to develop IRC.",
107 "[$sumsserv] [$sumchan] [$sumsbsd] [$sumsuser]",
108 "[$sumhash] [$sumsmisc] [$sumircd]",