]> jfr.im git - irc.git/blame - software/ircd/www.irc.org/ftp/irc/org/Old/irc2.5/diffs.2.5.1.bu.09a-to-bu.10
init
[irc.git] / software / ircd / www.irc.org / ftp / irc / org / Old / irc2.5 / diffs.2.5.1.bu.09a-to-bu.10
CommitLineData
3bd189cb
JR
1The following is a context diff from bu.09a to bu.10... we'll probably
2have bu.11 ready fairly soon, but bu.10 fixes bugs (bu.11 will be adding
3some minor features for testing before we freeze the 2.5 releases at 2.5.2
4and start working on the 2.6 series).
5
6I strongly recommend upgrading to 2.5.1.bu.10 if you are running any
72.5.1 server, as it fixes a fatal bug that was in all previous 2.5
8versions (and seems to have made it into at least some, if not all,
92.6pre* versions as well).
10
11SPECIAL NOTE TO ARCHIVE MAINTAINERS:
12
13Please replace ANY and ALL earlier versions of the IRC server package
14with this one. Among other things, it has updated documentation (most
15of the old ones still have Karl Kleinpaste as the contact address...).
16
17Also, if your available 2.6 servers have this, please update their docs
18with those found here. Note that we recommend sticking with 2.5 servers
19except for limited testing of 2.6... after all, "pre" == "beta"!
20
21--Chris
22(ckd@cs.bu.edu)
23
24diff -cr ChangeLog.orig ChangeLog
25*** ChangeLog.orig Mon Nov 12 20:35:09 1990
26--- ChangeLog Sun Jan 6 06:34:26 1991
27***************
28*** 1,3 ****
29--- 1,14 ----
30+ Sun Jan 6 06:07:58 1991 Helen Trillian Rose (hrose at bucsd)
31+
32+ * Makefile
33+
34+ Added support for all of the different clients.
35+
36+ * clients/*
37+
38+ Moved all of the clients to their own directory. Changed original
39+ C client to reflect such. Indicated this in README.
40+
41 Sun Oct 21 18:39:32 1990 Christopher Davis (ckd at bucsd)
42
43 * Makefile
44***************
45*** 11,14 ****
46 * README
47
48 Rewritten slightly to reflect changes in the distribution package
49! for this release.
50--- 22,25 ----
51 * README
52
53 Rewritten slightly to reflect changes in the distribution package
54! for this release.
55diff -cr Makefile.orig Makefile
56*** Makefile.orig Mon Nov 12 20:34:57 1990
57--- Makefile Sun Jan 6 06:01:34 1991
58***************
59*** 51,56 ****
60--- 51,64 ----
61 ${MAKE} clean; cd ..;\
62 done
63
64+ irc:
65+ (cd clients/irc; make)
66+
67+ irc2: ircii
68+ ircII: ircii
69+ ircii:
70+ (cd clients/ircII2.02; make)
71+
72 depend:
73 @for i in $(SUBDIRS); do \
74 echo "Making dependencies in $$i";\
75diff -cr README.orig README
76*** README.orig Mon Nov 12 20:34:57 1990
77--- README Sun Jan 6 06:07:49 1991
78***************
79*** 29,37 ****
80 up with a server that will not function properly and annoy not only you,
81 but users all around the world.
82
83! Both the original irc client and IRC II can be found in this package.
84! Compile whichever you prefer, but check the Makefile in directory irc
85! (or IRC II) before compiling.
86
87 This version was brought together from several sources by ckd@cs.bu.edu;
88 please send any bug fixes and suggestions to me.
89--- 29,38 ----
90 up with a server that will not function properly and annoy not only you,
91 but users all around the world.
92
93! Both the original irc client and IRC II can be found in this package (in
94! the subdirectory clients/). To compile, type either "make irc" or "make
95! irc2". If you are compiling ircII check the README in the ircII
96! directory before proceeding.
97
98 This version was brought together from several sources by ckd@cs.bu.edu;
99 please send any bug fixes and suggestions to me.
100diff -cr include/config.h.orig include/config.h
101*** include/config.h.orig Mon Nov 12 20:34:52 1990
102--- include/config.h Sun Jan 6 06:11:39 1991
103***************
104*** 18,27 ****
105 */
106
107 /*
108! * --Hoppie -- 30 Oct 1990
109 * Added support for restrict lines. (R_LINES)
110 *
111! * --Hoppie -- 12 Oct 1990
112 * Added WALLOPS_REMOTE and WALLOPS_QUARANTINE, and stealth's user logging.
113 *
114 * -- Jto -- 14 Jul 1990
115--- 18,30 ----
116 */
117
118 /*
119! * -- Hoppie -- 5 Dec 1990
120! * Added support for local summon (ENABLE_SUMMON)
121! *
122! * -- Hoppie -- 30 Oct 1990
123 * Added support for restrict lines. (R_LINES)
124 *
125! * -- Hoppie -- 12 Oct 1990
126 * Added WALLOPS_REMOTE and WALLOPS_QUARANTINE, and stealth's user logging.
127 *
128 * -- Jto -- 14 Jul 1990
129***************
130*** 115,120 ****
131--- 118,133 ----
132
133 #define UPHOST "garfield.mit.edu" /* Default UPHOST for irc */
134 /* standard client */
135+
136+ /* ENABLE_SUMMON
137+ *
138+ * The SUMMON command requires the ircd to be run as group tty in order
139+ * to work properly in many cases. If you are on a machine where it
140+ * won't work, or simply don't want local users to be summoned, undefine
141+ * this.
142+ */
143+
144+ /* #define ENABLE_SUMMON /* local summon */
145
146 /* MAXIMUM LINKS
147 *
148diff -cr include/patchlevel.h.orig include/patchlevel.h
149*** include/patchlevel.h.orig Mon Nov 12 20:45:16 1990
150--- include/patchlevel.h Sun Jan 6 06:52:56 1991
151***************
152*** 18,21 ****
153 */
154
155 /* $Header: patchlevel.h,v 2.4 90/05/02 00:24:15 casie Exp $ */
156! #define PATCHLEVEL "2.5.1.bu.09a"
157--- 18,21 ----
158 */
159
160 /* $Header: patchlevel.h,v 2.4 90/05/02 00:24:15 casie Exp $ */
161! #define PATCHLEVEL "2.5.1.bu.10"
162diff -cr ircd/ChangeLog.orig ircd/ChangeLog
163*** ircd/ChangeLog.orig Mon Nov 12 20:34:53 1990
164--- ircd/ChangeLog Sun Jan 6 06:32:57 1991
165***************
166*** 1,3 ****
167--- 1,10 ----
168+ Sun Jan 6 06:30:49 1991 Helen Trillian Rose (hrose at bucsd)
169+
170+ * s_msg.c
171+ added msa's rehash fix and Hoppie's typo fixes.
172+
173+ Added Hoppie's fix for the summon bug.
174+
175 Mon Nov 5 19:32:09 1990 Tom Hopkins (hoppie at buengf)
176
177 * s_msg.c
178diff -cr ircd/mkversion.sh.orig ircd/mkversion.sh
179*** ircd/mkversion.sh.orig Mon Nov 12 20:34:56 1990
180--- ircd/mkversion.sh Sun Jan 6 06:16:09 1991
181***************
182*** 71,77 ****
183 char *infotext[] =
184 {
185 "Based on the original code written by Jarkko Oikarinen",
186! "Copyright 1988,1989 University of Oulu, Computing Center",
187 "",
188 "This program is free software; you can redistribute it and/or",
189 "modify it under the terms of the GNU General Public License as",
190--- 71,77 ----
191 char *infotext[] =
192 {
193 "Based on the original code written by Jarkko Oikarinen",
194! "Copyright 1988,1989,1990,1991 University of Oulu, Computing Center",
195 "",
196 "This program is free software; you can redistribute it and/or",
197 "modify it under the terms of the GNU General Public License as",
198***************
199*** 79,94 ****
200 "(at your option) any later version.",
201 "",
202 "The following persons have made many changes and enhancements to the",
203! "code and may know how IRC really works if you have questions about it:",
204 "",
205 "WiZ Jarkko Oikarinen jto@tolsun.oulu.fi",
206! "Msa Markku Savela Markku.Savela@vtt.fi",
207! "Misha Mike Bolotski mikeb@salmon.ee.ubc.ca",
208! "Chelsea Chelsea Ashley Dyerman casie@earth.CChem.Berkeley.EDU",
209 "Wumpus Greg Lindahl gl8f@astsun.astro.virginia.edu",
210 "",
211 "Those who helped in prior versions and continue to be helpful:",
212 "",
213 " Markku Jarvinen mta@tut.fi",
214 "Kim Kimmo Suominen kim@lut.fi",
215 " Jeff Trim jtrim@orion.cair.du.edu",
216--- 79,97 ----
217 "(at your option) any later version.",
218 "",
219 "The following persons have made many changes and enhancements to the",
220! "code and may know how IRC really works if you have questions:",
221 "",
222 "WiZ Jarkko Oikarinen jto@tolsun.oulu.fi",
223! "msa Markku Savela Markku.Savela@vtt.fi",
224! "Hoppie Tom Hopkins hoppie@buengf.bu.edu",
225 "Wumpus Greg Lindahl gl8f@astsun.astro.virginia.edu",
226+ "ckd Christopher Davis ckd@cs.bu.edu",
227+ "Chelsea Chelsea Ashley Dyerman chelsea@soda.berkeley.edu",
228+
229 "",
230 "Those who helped in prior versions and continue to be helpful:",
231 "",
232+ "Misha Mike Bolotski misha@ai.mit.edu",
233 " Markku Jarvinen mta@tut.fi",
234 "Kim Kimmo Suominen kim@lut.fi",
235 " Jeff Trim jtrim@orion.cair.du.edu",
236***************
237*** 99,113 ****
238 "",
239 "Various modifications, bugreports, cleanups by:",
240 "",
241! " Hugo Calendar hugo@!ucscl.ucsc.edu",
242! " Bo Adler beau@through.cs.caltech.edu",
243 "BigCheese Michael Sandrof ms5n+@andrew.cmu.edu",
244 " Jon Solomon jsol@buit5.bu.edu",
245! " Jan Peterson jlp@hamblin.byu.edu",
246 "",
247 "Alpha and beta testers, who put up with our bugs, and such:",
248 "",
249! "Trillian Helen Rose hrose@uceng.uc.edu",
250 "",
251 "Thanks also goes to those persons not mentioned here who have added",
252 "their advice, opinions, and code to IRC.",
253--- 102,121 ----
254 "",
255 "Various modifications, bugreports, cleanups by:",
256 "",
257! "Hugo Hugo Calendar hugo@ucscb.ucsc.edu",
258! "Thumper Bo Adler adler@csvax.caltech.edu",
259 "BigCheese Michael Sandrof ms5n+@andrew.cmu.edu",
260 " Jon Solomon jsol@buit5.bu.edu",
261! "jlp Jan Peterson jlp@hamblin.byu.edu",
262! "spam Noah Friedman friedman@ai.mit.edu",
263 "",
264 "Alpha and beta testers, who put up with our bugs, and such:",
265 "",
266! "Fornax Dan Goodwin fornax@wpi.wpi.edu",
267! "",
268! "Documentation cleanup and rewriting, and release coordination:",
269! "",
270! "Trillian Helen Rose hrose@cs.bu.edu",
271 "",
272 "Thanks also goes to those persons not mentioned here who have added",
273 "their advice, opinions, and code to IRC.",
274diff -cr ircd/s_msg.c.orig ircd/s_msg.c
275*** ircd/s_msg.c.orig Mon Nov 12 20:34:55 1990
276--- ircd/s_msg.c Sun Jan 6 06:12:11 1991
277***************
278*** 21,26 ****
279--- 21,35 ----
280 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
281 */
282
283+ /* -- Hoppie -- 5 Dec 1990
284+ * fixed a bug in m_summon
285+ * put local summoning in as a compile time option.
286+ */
287+
288+ /* -- Hoppie -- 20 Nov 1990
289+ * fixed a typo that crept into some of the replies (m_rehash and m_user)
290+ */
291+
292 /* -- Hoppie -- 5 Nov 1990
293 * changed m_rehash to make immediate call to TryConnections
294 * and check_pings following it.
295***************
296*** 1085,1091 ****
297 #ifdef R_LINES
298 if (find_restrict(host,username,reply))
299 {
300! sendto_one(sptr,"%s %d :*** %s",me.name,
301 ERR_YOUREBANNEDCREEP,reply);
302 return ExitClient(sptr, sptr);
303 }
304--- 1094,1100 ----
305 #ifdef R_LINES
306 if (find_restrict(host,username,reply))
307 {
308! sendto_one(sptr,":%s %d :*** %s",me.name,
309 ERR_YOUREBANNEDCREEP,reply);
310 return ExitClient(sptr, sptr);
311 }
312***************
313*** 1884,1890 ****
314 {
315 aClient *acptr;
316 char namebuf[10],linebuf[10],hostbuf[17],*host,*user;
317! int fd, flag;
318
319 CheckRegisteredUser(sptr);
320 if (parc < 2 || *parv[1] == '\0')
321--- 1893,1899 ----
322 {
323 aClient *acptr;
324 char namebuf[10],linebuf[10],hostbuf[17],*host,*user;
325! int fd, flag, servflag;
326
327 CheckRegisteredUser(sptr);
328 if (parc < 2 || *parv[1] == '\0')
329***************
330*** 1900,1907 ****
331 else
332 *(host++) = '\0';
333
334! if (BadPtr(host) || mycmp(host,me.name) == 0)
335 {
336 #if RSUMMON
337 if (index(user,'%') != NULL)
338 {
339--- 1909,1940 ----
340 else
341 *(host++) = '\0';
342
343! if (BadPtr(host)) servflag=HUNTED_ISME;
344! else
345! for (acptr = client;
346! acptr = NextClient(acptr, host);
347! acptr = acptr->next)
348 {
349+ if (IsMe(acptr))
350+ {
351+ servflag=HUNTED_ISME;
352+ break;
353+ }
354+ if (IsServer(acptr))
355+ {
356+ servflag=HUNTED_PASS;
357+ break;
358+ }
359+ }
360+ if (!(acptr))
361+ {
362+ sendto_one(sptr, ":%s ERROR :SUMMON No such host (%s) found",
363+ me.name,host);
364+ return(HUNTED_NOSUCH);
365+ }
366+ if (servflag == HUNTED_ISME)
367+ {
368+ #ifdef ENABLE_SUMMON
369 #if RSUMMON
370 if (index(user,'%') != NULL)
371 {
372***************
373*** 1911,1918 ****
374 #endif
375 if ((fd = utmp_open()) == -1)
376 {
377! sendto_one(sptr,"NOTICE %s Cannot open %s",
378! sptr->name,UTMP);
379 return 0;
380 }
381 while ((flag = utmp_read(fd, namebuf, linebuf, hostbuf)) == 0)
382--- 1944,1951 ----
383 #endif
384 if ((fd = utmp_open()) == -1)
385 {
386! sendto_one(sptr,":%s NOTICE %s Cannot open %s",
387! me.name,sptr->name,UTMP);
388 return 0;
389 }
390 while ((flag = utmp_read(fd, namebuf, linebuf, hostbuf)) == 0)
391***************
392*** 1920,1929 ****
393 break;
394 utmp_close(fd);
395 if (flag == -1)
396! sendto_one(sptr,"NOTICE %s :User %s not logged in",
397! sptr->name, user);
398 else
399 summon(sptr, namebuf, linebuf);
400 return 0;
401 }
402 /*
403--- 1953,1966 ----
404 break;
405 utmp_close(fd);
406 if (flag == -1)
407! sendto_one(sptr,":%s NOTICE %s :User %s not logged in",
408! me.name, sptr->name, user);
409 else
410 summon(sptr, namebuf, linebuf);
411+ #else
412+ sendto_one(sptr,":%s NOTICE %s :SUMMON disabled on server %s",
413+ me.name, sptr->name, me.name);
414+ #endif
415 return 0;
416 }
417 /*
418***************
419*** 1930,1940 ****
420 ** Summoning someone on remote server, find out which link to
421 ** use and pass the message there...
422 */
423! acptr = find_server(host,(aClient *)NULL);
424! if (acptr == NULL)
425! sendto_one(sptr, "ERROR :SUMMON No such host (%s) found",
426! host);
427! else
428 sendto_one(acptr, ":%s SUMMON %s@%s",sptr->name, user, host);
429 return 0;
430 }
431--- 1967,1974 ----
432 ** Summoning someone on remote server, find out which link to
433 ** use and pass the message there...
434 */
435!
436! if (servflag=HUNTED_PASS)
437 sendto_one(acptr, ":%s SUMMON %s@%s",sptr->name, user, host);
438 return 0;
439 }
440***************
441*** 2796,2802 ****
442 int parc;
443 char *parv[];
444 {
445! if (!IsOper(sptr) && MyConnect(sptr))
446 {
447 sendto_one(sptr,":%s %d %s :Use the force, Luke !",
448 me.name, ERR_NOPRIVILEGES,
449--- 2830,2836 ----
450 int parc;
451 char *parv[];
452 {
453! if (!IsOper(sptr) || !MyConnect(sptr))
454 {
455 sendto_one(sptr,":%s %d %s :Use the force, Luke !",
456 me.name, ERR_NOPRIVILEGES,
457***************
458*** 2822,2828 ****
459 {
460 sendto_ops("Restricting %s (%s), closing link",
461 GetClientName(cptr,FALSE),reply);
462! sendto_one(cptr,"%s %d :*** %s",me.name,
463 ERR_YOUREBANNEDCREEP,reply);
464 return ExitClient((aClient *)NULL, cptr);
465 }
466--- 2856,2862 ----
467 {
468 sendto_ops("Restricting %s (%s), closing link",
469 GetClientName(cptr,FALSE),reply);
470! sendto_one(cptr,":%s %d :*** %s",me.name,
471 ERR_YOUREBANNEDCREEP,reply);
472 return ExitClient((aClient *)NULL, cptr);
473 }