echo "Extracting ircd/version.c ..." if test -r version.c then generation=`sed -n 's/^char \*generation = \"\(.*\)\";/\1/p' < version.c` if test ! "$generation" ; then generation=0; fi else generation=0 fi generation=`expr $generation + 1` sum=sum if $sum s_serv.c 1> /dev/null 2>&1; then : else sum=cksum fi sumsserv=`$sum s_serv.c 2> /dev/null`; sumsuser=`$sum s_user.c 2> /dev/null`; sumchan=`$sum channel.c 2> /dev/null`; sumsbsd=`$sum s_bsd.c 2> /dev/null`; sumhash=`$sum hash.c 2> /dev/null`; sumsmisc=`$sum s_misc.c 2> /dev/null`; sumircd=`$sum ircd.c 2> /dev/null`; creation=`date | \ awk '{if (NF == 6) \ { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ else \ { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` cvsversion=`cat ../.patches | \ awk -F. '{ \ if ($(NF)~/\+$/) \ printf(".0"); \ else \ printf(".%d.(%s)", NF - 3, $(NF)); \ }'` /bin/cat >version.c <", "", "This program is free software; you can redistribute it and/or", "modify it under the terms of the GNU General Public License as", "published by the Free Software Foundation; either version 2, or", "(at your option) any later version.", "", "The UnderNet code is based upon version 2.8.10.", "The main developers of version 2.7 and 2.8 are:", "", "Avalon Darren Reed ", "msa Markku Savela ", "Wumpus Greg Lindahl ", "", "The main developer of version u2.9 and u2.10 is:", "", "Run Carlo Wood ", "", "Thanks goes to all other people who contributed to any version.", "A full listing of all coders can be found in doc/Authors in the", "source. Contributers to version u2.10 can be found on", "http://coder-com.undernet.org/posters.html", "Thanks also to those who provided me with accounts; the kind sys", "admins who let me and others continue to develop IRC.", "", "[$sumsserv] [$sumchan] [$sumsbsd] [$sumsuser]", "[$sumhash] [$sumsmisc] [$sumircd]", 0, }; !SUB!THIS!