-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.sh
93 lines (84 loc) · 2.83 KB
/
version.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/bin/sh
#
# Increment Services build number
VERSION=4.3.3
BRANCHSTATUS=BETA-RELEASE
# Cambiar este siempre
# Las versiones seran 1.a.b
VERSION_UPWORLD=1.1-release1
if [ -f version.h ] ; then
BUILD=`fgrep '#define BUILD' version.h | sed 's/^#define BUILD.*"\([0-9]*\)".*$/\1/'`
BUILD=`expr $BUILD + 1 2>/dev/null`
else
BUILD=1
fi
if [ ! "$BUILD" ] ; then
BUILD=1
fi
cat >version.h <<EOF
/* Version information for Services.
*
* Services is copyright (c) 1996-1999 Andy Church.
* E-mail: <[email protected]>
* This program is free but copyrighted software; see the file COPYING for
* details.
*/
#define BUILD "$BUILD"
const char version_branchstatus[] = "$BRANCHSTATUS";
const char version_number[] = "$VERSION";
const char version_upworld[] = "$VERSION_UPWORLD";
const char version_build[] =
"build #" BUILD ", compilado " __DATE__ " " __TIME__;
const char version_protocol[] =
#if defined(IRC_UNDERNET_P09)
"ircu 2.10.01 - 2.10.07 Soporte P9"
#elif defined(IRC_UNDERNET_P10)
"ircu 2.10.x Soporte P10"
#elif defined(IRC_UNDERNET)
"ircu 2.9.3 o inferior"
#else
"desconocido"
#endif
#ifdef IRC_HISPANO
"con soporte para ESNET-Hispano"
#elif defined (IRC_TERRA)
"con soporte para TerraIrcu"
#endif
;
/* Look folks, please leave this INFO reply intact and unchanged. If you do
* have the urge to metion yourself, please simply add your name to the list.
* The other people listed below have just as much right, if not more, to be
* mentioned. Leave everything else untouched. Thanks.
*/
/* Lo dicho antes, NO TOCAR NI CAMBIAR LOS CREDITOS, si quieres, puedes
* añadir mas lineas
*/
const char *info_text[] =
{
"IRC Services developed by and copyright (c) 1996-2001",
"Andrew Church <[email protected]>.",
"Parts copyright (c) 1999-2000 Andrew Kempe and others.",
"IRC Services may be freely redistributed under the GNU",
"General Public License.",
"-",
"For the more information and a list of distribution sites,",
"please visit: http://www.ircservices.za.net/",
"-",
"Estos bots han sido reprogramados y adaptados originalmente",
"para la red Upworld.Org, usando la base de iRCServices 4.3.3",
"por Toni García - zoltan <[email protected]>",
"-",
"Por petición popular, estos bots han sido liberados bajo la",
"licencia GNU-GPL. Puedes bajar la última version de estos bots",
"o más informacion en la siguiente web:",
"http://irc.zolty.net/upworld.html",
"-",
"---------------------------------------------------------------",
"-",
"Esta es una modificación de los Upworld de Toni García creada",
"para interactuar con la Base de Datos Distribuida del IRCd de",
"la red iRC-Hispano. Modificación esctrita por David Martín Díaz",
"[x] - <[email protected]>",
0,
};
EOF