mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-25 19:17:38 +00:00 
			
		
		
		
	Compare commits
	
		
			15 Commits
		
	
	
		
			branch-0-1
			...
			rel-0-10-0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 032bf78ed4 | ||
|   | ce66aa1028 | ||
|   | 9296c27cac | ||
|   | 921a5434af | ||
|   | 7c7d417fd2 | ||
|   | ed71217b31 | ||
|   | 57fb95eb1d | ||
|   | 6f2f2ecd3b | ||
|   | cf824dd8e7 | ||
|   | 01ba196d7d | ||
|   | af6c532007 | ||
|   | 1ca10ff590 | ||
|   | cd7862cec4 | ||
|   | f9a928451d | ||
|   | 2a22629e74 | 
							
								
								
									
										13
									
								
								ChangeLog
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								ChangeLog
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                         (c)2001-2005 Alexander Barton, | ||||
|                         (c)2001-2006 Alexander Barton, | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -10,8 +10,15 @@ | ||||
|                                -- ChangeLog -- | ||||
|  | ||||
|  | ||||
| ngIRCd CVSHEAD | ||||
| ngIRCd 0.10.0 (2006-10-01) | ||||
|  | ||||
|   - Fixed file handle leak when daemon is not able to send MOTD to a client. | ||||
|  | ||||
|   ngIRCd 0.10.0-pre2 (2006-09-09) | ||||
|   - Fixed build problems with GCC option -fstack-protector. | ||||
|   - Minor documentation updates. | ||||
|  | ||||
|   ngIRCd 0.10.0-pre1 (2006-08-02) | ||||
|   - Validate "ServerName" (see RFC 2812, section 2.3.1). | ||||
|   - Enhanced DIE to accept a single parameter ("comment text") which is sent | ||||
|     to all locally connected clients before the server goes down. | ||||
| @@ -654,4 +661,4 @@ ngIRCd 0.0.1, 31.12.2001 | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: ChangeLog,v 1.302 2006/07/23 16:42:45 alex Exp $ | ||||
| $Id: ChangeLog,v 1.302.2.4 2006/10/01 16:21:55 alex Exp $ | ||||
|   | ||||
							
								
								
									
										4
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								INSTALL
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                       (c)2001-2004 by Alexander Barton, | ||||
|                       (c)2001-2006 by Alexander Barton, | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -241,4 +241,4 @@ number. In both cases the server exits after the output. | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: INSTALL,v 1.23 2005/12/30 22:43:23 alex Exp $ | ||||
| $Id: INSTALL,v 1.23.2.1 2006/08/02 08:19:38 alex Exp $ | ||||
|   | ||||
							
								
								
									
										19
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								NEWS
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                         (c)2001-2005 Alexander Barton, | ||||
|                         (c)2001-2006 Alexander Barton, | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -10,6 +10,21 @@ | ||||
|                                   -- NEWS -- | ||||
|  | ||||
|  | ||||
| ngIRCd 0.10.0 (2006-10-01) | ||||
|  | ||||
|   ngIRCd 0.10.0-pre1 (2006-08-02) | ||||
|   - Enhanced DIE to accept a single parameter ("comment text") which is sent | ||||
|     to all locally connected clients before the server goes down. | ||||
|   - JOIN now supports more than one channel key at a time. | ||||
|   - Implemented numeric "333": Time and user name who set a channel topic. | ||||
|   - Channel topics are no longer limited to 127 characters: now the only limit | ||||
|     is the maximum length of an IRC command, i. e. 512 bytes (in practice, this | ||||
|     limits the topic to about 490 characters due to protocol overhead). | ||||
|   - Reverse DNS lookup code now checks the result by doing an additional | ||||
|     lookup to prevent spoofing. | ||||
|   - Added new IO layer which (optionally) supports epoll() and kqueue() in | ||||
|     addition to the select() interface. | ||||
|  | ||||
| ngIRCd 0.9.0 (2005-07-24) | ||||
|  | ||||
|   - Never run with root privileges but always switch the user ID. | ||||
| @@ -208,4 +223,4 @@ ngIRCd 0.0.1, 31.12.2001 | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: NEWS,v 1.75 2005/07/26 19:41:49 alex Exp $ | ||||
| $Id: NEWS,v 1.75.2.3 2006/10/01 16:21:55 alex Exp $ | ||||
|   | ||||
							
								
								
									
										4
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								README
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                         (c)2001-2005 Alexander Barton, | ||||
|                         (c)2001-2006 Alexander Barton, | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -84,4 +84,4 @@ mail to <alex@barton.de>. | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: README,v 1.21 2005/07/09 14:39:42 alex Exp $ | ||||
| $Id: README,v 1.21.2.1 2006/08/02 08:19:38 alex Exp $ | ||||
|   | ||||
							
								
								
									
										39
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										39
									
								
								configure.in
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| # | ||||
| # ngIRCd -- The Next Generation IRC Daemon | ||||
| # Copyright (c)2001-2005 Alexander Barton <alex@barton.de> | ||||
| # Copyright (c)2001-2006 Alexander Barton <alex@barton.de> | ||||
| # | ||||
| # 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 | ||||
| @@ -8,13 +8,13 @@ | ||||
| # (at your option) any later version. | ||||
| # Please read the file COPYING, README and AUTHORS for more information. | ||||
| # | ||||
| # $Id: configure.in,v 1.118 2006/05/17 16:44:14 alex Exp $ | ||||
| # $Id: configure.in,v 1.118.2.6 2006/10/01 16:21:56 alex Exp $ | ||||
| # | ||||
|  | ||||
| # -- Initialisation -- | ||||
|  | ||||
| AC_PREREQ(2.50) | ||||
| AC_INIT(ngircd, CVSHEAD) | ||||
| AC_INIT(ngircd, 0.10.0) | ||||
| AC_CONFIG_SRCDIR(src/ngircd/ngircd.c) | ||||
| AC_CANONICAL_TARGET | ||||
| AM_INIT_AUTOMAKE(1.6) | ||||
| @@ -56,29 +56,28 @@ AC_C_CONST | ||||
|  | ||||
| # -- Hard coded system and compiler dependencies/features/options ... -- | ||||
|  | ||||
| if test "$GCC" = "yes"; then | ||||
| 	# We are using the GNU C compiler. Good! | ||||
| 	CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes" | ||||
| fi | ||||
|  | ||||
|  | ||||
| AC_DEFUN([GCC_STACK_PROTECT_CC],[ | ||||
|   ssp_cc=yes | ||||
|   if test "X$CC" != "X"; then | ||||
|     AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector]) | ||||
|     ssp_old_cflags="$CFLAGS" | ||||
|     CFLAGS="$CFLAGS -fstack-protector" | ||||
|     AC_TRY_COMPILE(,,, ssp_cc=no) | ||||
|     echo $ssp_cc | ||||
|     if test "X$ssp_cc" = "Xno"; then | ||||
|       CFLAGS="$ssp_old_cflags" | ||||
|     else | ||||
|   # we use -fstack-protector-all for the test to enfoce the use of the guard variable  | ||||
|   AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector]) | ||||
|   ssp_old_cflags="$CFLAGS" | ||||
|   CFLAGS="$CFLAGS -fstack-protector-all" | ||||
|   AC_TRY_LINK(,,, ssp_cc=no) | ||||
|   echo $ssp_cc | ||||
|   CFLAGS="$ssp_old_cflags" | ||||
|   if test "X$ssp_cc" = "Xyes"; then | ||||
|       CFLAGS="$CFLAGS -fstack-protector" | ||||
|       AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.]) | ||||
|     fi | ||||
|   fi | ||||
| ]) | ||||
|  | ||||
| GCC_STACK_PROTECT_CC | ||||
|  | ||||
| if test "$GCC" = "yes"; then | ||||
| 	# We are using the GNU C compiler. Good! | ||||
| 	CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes" | ||||
|  | ||||
| 	GCC_STACK_PROTECT_CC | ||||
| fi | ||||
|  | ||||
| case "$target_os" in | ||||
| 	hpux*) | ||||
|   | ||||
| @@ -1,3 +1,40 @@ | ||||
| ngircd (0.10.0-0ab1) unstable; urgency=low | ||||
|  | ||||
|   * New "upstream" release: 0.10.0 | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Sun,  1 Oct 2006 18:14:21 +0200 | ||||
|  | ||||
| ngircd (0.10.0-0ab0-pre2-1) unstable; urgency=low | ||||
|  | ||||
|   * Bumped standards version to 3.7.2.1. | ||||
|   * Added "Provides: ircd" to Debian control file. | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Sun,  1 Oct 2006 16:25:33 +0200 | ||||
|  | ||||
| ngircd (0.10.0-0ab0-pre2) unstable; urgency=low | ||||
|  | ||||
|   * Second "upstream" prerelease of upcoming 0.10.0 release. | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Sat,  9 Sep 2006 20:57:52 +0200 | ||||
|  | ||||
| ngircd (0.10.0-0ab0-pre1) unstable; urgency=low | ||||
|  | ||||
|   * Prerelease of upcoming new "upstream release". | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Wed,  2 Aug 2006 12:01:07 +0200 | ||||
|  | ||||
| ngircd (0.9.2-0ab1) unstable; urgency=low | ||||
|  | ||||
|   * New "upstream release" fixing a few bugs in 0.9.1. | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Sat, 15 Oct 2005 14:10:34 +0200 | ||||
|  | ||||
| ngircd (0.9.1-0ab1) unstable; urgency=medium | ||||
|  | ||||
|   * New "upstream release" addressing two problems in ngIRCd 0.9.0. | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Wed,  3 Aug 2005 15:10:41 +0200 | ||||
|  | ||||
| ngircd (0.9.0-0ab2) unstable; urgency=medium | ||||
|  | ||||
|   * Init script: fixed a problem with symbolic links in runlevel directories | ||||
|   | ||||
| @@ -3,11 +3,12 @@ Section: net | ||||
| Priority: optional | ||||
| Maintainer: Alexander Barton <alex@barton.de> | ||||
| Build-Depends: debhelper (>> 4.0.0), libz-dev, libwrap-dev, libident-dev | ||||
| Standards-Version: 3.5.8 | ||||
| Standards-Version: 3.7.2.1 | ||||
|  | ||||
| Package: ngircd | ||||
| Architecture: any | ||||
| Depends: ${shlibs:Depends}, ${misc:Depends} | ||||
| Provides: ircd | ||||
| Description: A lightweight daemon for the Internet Relay Chat (IRC) | ||||
|  ngIRCd is a free open source daemon for the Internet Relay Chat (IRC) | ||||
|  network. It is written from scratch and is not based upon the original | ||||
| @@ -28,6 +29,7 @@ Description: A lightweight daemon for the Internet Relay Chat (IRC) | ||||
| Package: ngircd-full | ||||
| Architecture: any | ||||
| Depends: ${shlibs:Depends}, ${misc:Depends} | ||||
| Provides: ircd | ||||
| Conflicts: ngircd | ||||
| Description: A lightweight daemon for the Internet Relay Chat (IRC) | ||||
|  ngIRCd is a free open source daemon for the Internet Relay Chat (IRC) | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| %define name    ngircd | ||||
| %define version CVSHEAD | ||||
| %define version 0.10.0 | ||||
| %define release 1 | ||||
| %define prefix  %{_prefix} | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                       (c)2001-2003 by Alexander Barton, | ||||
|                         (c)2001-2006 Alexander Barton, | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -47,11 +47,11 @@ Updating the CVS tree: | ||||
| You can update a single file or the complete source tree. | ||||
|  | ||||
|  | ||||
| III. Write Access | ||||
| ~~~~~~~~~~~~~~~~~ | ||||
| II. Write Access | ||||
| ~~~~~~~~~~~~~~~~ | ||||
| If you want to contribute a couple of patches and write access to the CVS | ||||
| repository would be handy, please contact Alex Barton, <alex@barton.de>. | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: CVS.txt,v 1.8 2006/07/23 12:43:15 alex Exp $ | ||||
| $Id: CVS.txt,v 1.8.2.1 2006/08/02 09:04:20 alex Exp $ | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                         (c)2001-2004 Alexander Barton | ||||
|                         (c)2001-2006 Alexander Barton | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -26,23 +26,30 @@ list can be updated. Thanks for your help! | ||||
|                                                                     | | | | | ||||
| Platform                    Compiler     ngIRCd     Date     Tester C M T R See | ||||
| --------------------------- ------------ ---------- -------- ------ - - - - --- | ||||
| alpha/unknown/netbsd3.0     gcc 3.3.3    CVSHEAD    06-05-07 fw     Y Y Y Y (3)		 | ||||
| alpha/unknown/netbsd3.0     gcc 3.3.3    CVSHEAD    06-05-07 fw     Y Y Y Y (3) | ||||
| hppa/unknown/openbsd3.5     gcc 2.95.3   CVSHEAD    04-05-25 alex   Y Y Y Y | ||||
| hppa1.1/unknown/linux-gnu   gcc 3.3.3    0.8.0      04-05-30 alex   Y Y Y Y | ||||
| hppa2.0/unknown/linux-gnu   gcc 3.3.5    0.9.x-CVS  05-06-27 alex   Y Y Y Y | ||||
| i386/pc/solaris2.9          gcc 3.2.2    CVSHEAD    04-02-24 alex   Y Y Y Y | ||||
| i386/pc/solaris2.11         gcc 3.4.3    CVSHEAD    06-08-04 alex   Y Y Y Y | ||||
| i386/unknown/freebsd5.2.1   gcc 3.3.3    0.8.0      04-05-30 alex   Y Y Y Y | ||||
| i386/unknown/freebsd6.1     gcc 3.4.4    CVSHEAD    06-05-07 fw     Y Y Y Y (4) | ||||
| i386/unknown/freebsd6.0     gcc 3.4.4    0.10.0-p1  06-08-04 alex   Y Y Y Y (3) | ||||
| i386/unknown/freebsd6.1     gcc 3.4.4    CVSHEAD    06-05-07 fw     Y Y Y Y (3) | ||||
| i386/unknown/gnu0.3         gcc 3.3.3    0.8.0      04-05-30 alex   Y Y n Y | ||||
| i386/unknown/netbsdelf1.6.1 gcc 2.95.3   CVSHEAD    04-02-24 alex   Y Y Y Y | ||||
| i386/unknown/netbsdelf3.0.1 gcc 3.3.3    0.10.0-p1  06-08-30 alex   Y Y Y Y (3) | ||||
| i386/unknown/openbsd3.9     gcc 3.3.5    0.10.0-p1  06-08-30 alex   Y Y Y Y (3) | ||||
| i686/pc/cygwin              gcc 3.3.1    0.8.0      04-05-30 alex   Y Y n Y | ||||
| i686/pc/linux-gnu           gcc 2.95.4   0.8.0      04-05-30 alex   Y Y Y Y (1) | ||||
| i686/pc/linux-gnu           gcc 3.3.3    0.8.0      04-05-30 alex   Y Y Y Y (1) | ||||
| i386/pc/linux-gnu           gcc 4.1.2    0.10.0-p1  06-08-30 alex   Y Y Y Y (1) | ||||
| m68k/apple/aux3.1.1         Orig. A/UX   0.7.x-CVS  03-04-22 alex   Y Y Y Y (2) | ||||
| m68k/hp/hp-ux9.10           Orig. HPUX   0.7.x-CVS  03-04-30 goetz  Y Y Y Y | ||||
| m88k/dg/dgux5.4R3.10        gcc 2.5.8    CVSHEAD    04-03-15 alex   Y Y ? ? | ||||
| powerpc/apple/darwin6.5     gcc 3.1      0.7.x-CVS  03-04-23 alex   Y Y Y Y | ||||
| powerpc/apple/darwin7.4.0   gcc 3.3      0.8.0      04-05-30 alex   Y Y Y Y | ||||
| powerpc/apple/darwin7.9.0   gcc 3.3      CVSHEAD    06-05-07 fw     Y Y Y Y (3) | ||||
| powerpc/apple/darwin8.1.0   gcc 4.0      0.9.x-CVS  05-06-27 alex   Y Y Y Y | ||||
| powerpc/unknown/linux-gnu   gcc 3.3.3    0.8.0      04-05-30 alex   Y Y Y Y | ||||
| sparc/sun/solaris2.6        gcc 2.95.3   0.7.x-CVS  03-04-22 alex   Y Y Y Y | ||||
| sparc/sun/solaris2.7        gcc 3.3      0.8.0      04-05-30 alex   Y Y Y Y | ||||
| @@ -51,16 +58,19 @@ sparc/unkn./netbsdelf1.6.1  gcc 2.95.3   0.8.0      04-05-30 alex   Y Y Y Y | ||||
|  | ||||
| Notes | ||||
| ~~~~~ | ||||
|  | ||||
| (1) i686/pc/linux-gnu: | ||||
|     ngIRCd has been tested with various Linux distributions, such as SuSE, | ||||
|     RedHat, Debian, and Gentoo using Kernels 2.2.x, 2.4.x and 2.6.x with | ||||
|     various versions of the GNU C compiler (2.95.3, 3.0, 3.2, and 3.3). The | ||||
|     eldest glibc used was glibc-2.0.7. ngIRCd compiled and run on all these | ||||
|     systems without problems. | ||||
|     various versions of the GNU C compiler (starting with 2.95.x and up to | ||||
|     version 4.1.x). The eldest glibc used was glibc-2.0.7. ngIRCd compiled | ||||
|     and run on all these systems without problems. | ||||
|     Actual Linux kernels (2.6.x) and glic's support the epoll() IO interface. | ||||
|  | ||||
| (2) This compiler is an pre-ANSI C compiler, therefore the source code is | ||||
|     automatically converted using the included ansi2knr tool while building. | ||||
| (3) kqueue io backend			 | ||||
| (4) 6.1-PRERELEASE | ||||
|  | ||||
| (3) Using the kqueue() IO interface. | ||||
|  | ||||
| --  | ||||
| $Id: Platforms.txt,v 1.14 2006/05/07 11:07:13 fw Exp $ | ||||
| $Id: Platforms.txt,v 1.14.2.1 2006/09/09 18:10:56 alex Exp $ | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
|  | ||||
|                      ngIRCd - Next Generation IRC Server | ||||
|  | ||||
|                         (c)2001-2005 Alexander Barton | ||||
|                         (c)2001-2006 Alexander Barton | ||||
|                     alex@barton.de, http://www.barton.de/ | ||||
|  | ||||
|                ngIRCd is free software and published under the | ||||
| @@ -16,7 +16,8 @@ with DNS Service Discovery (DNS-SD[3]). | ||||
| To use this features you can use one of two APIs: | ||||
|  | ||||
|   a) Apple "Bonjour" API as used by Mac OS X, | ||||
|   b) the Howl[4] Zeroconf library. | ||||
|   b) the Howl[4] Zeroconf library or the Howl compatibility layer | ||||
|      of the newer Avahi[5] library. | ||||
|  | ||||
| When calling the configure script using the "--with-zeroconf" switch the | ||||
| avalable API will be autodetected and the required additional libraries will | ||||
| @@ -32,7 +33,8 @@ Links: | ||||
|  [2] http://www.multicastdns.org/ | ||||
|  [3] http://www.dns-sd.org/ | ||||
|  [4] http://www.porchdogsoft.com/products/howl/ | ||||
|  [5] http://avahi.org/ | ||||
|  | ||||
|  | ||||
| --  | ||||
| $Id: Zeroconf.txt,v 1.1 2005/07/08 16:19:03 alex Exp $ | ||||
| $Id: Zeroconf.txt,v 1.1.2.1 2006/08/02 09:04:20 alex Exp $ | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  | ||||
| #include "portab.h" | ||||
|  | ||||
| static char UNUSED id[] = "$Id: irc-info.c,v 1.33 2006/05/10 21:24:01 alex Exp $"; | ||||
| static char UNUSED id[] = "$Id: irc-info.c,v 1.33.2.1 2006/09/16 13:49:15 alex Exp $"; | ||||
|  | ||||
| #include "imp.h" | ||||
| #include <assert.h> | ||||
| @@ -910,8 +910,10 @@ IRC_Show_MOTD( CLIENT *Client ) | ||||
| 		return IRC_WriteStrClient( Client, ERR_NOMOTD_MSG, Client_ID( Client ) ); | ||||
| 	} | ||||
|  | ||||
| 	if (!Show_MOTD_Start( Client )) | ||||
| 		return DISCONNECTED; | ||||
| 	if (!Show_MOTD_Start( Client )) { | ||||
| 		fclose(fd); | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
| 	while (fgets( line, (int)sizeof line, fd )) { | ||||
| 		ngt_TrimLastChr( line, '\n'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user