Module: ngircd.git
Branch: master
Commit: 58abd0777b0924e5cb8fa6c01b56305d9b175608
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=58abd077…
Author: DNS <dns(a)rbose.org>
Date: Thu Oct 11 01:53:20 2012 +0200
Increased maximum number of possible user and channel modes
Currntly ngIRCd supports 13 user and 15 channel modes, because there
have been quite a few additions since our last release. But our data
structures can only hold 15 user and -- even worse! -- only 9 channel
modes! So enlarge the buffers to 20 bytes (actually 21 including NULL)
to allow storing of all mode characters and to have some space left
for more modes to come ...
(cherry picked from commit 8996d777621d88d4bcc439ab4792b2814920687f)
---
src/ngircd/defines.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index 977bc74..b387493 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -108,7 +108,7 @@
#define CLIENT_HOST_LEN 64
/** Max. length of all client modes (including NULL). */
-#define CLIENT_MODE_LEN 16
+#define CLIENT_MODE_LEN 21
/** Max. length of server info texts (including NULL). */
#define CLIENT_INFO_LEN 64
@@ -123,7 +123,7 @@
#define CHANNEL_NAME_LEN 51
/** Max. length of channel modes (including NULL). */
-#define CHANNEL_MODE_LEN 9
+#define CHANNEL_MODE_LEN 21
/** Max. IRC command length (including NULL), see. RFC 2812 section 3.2. */
#define COMMAND_LEN 513
Module: ngircd.git
Branch: master
Commit: 73229249d893f05f4b2d98c41a5a4839100c0c9e
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=73229249…
Author: Alexander Barton <alex(a)barton.de>
Date: Thu Oct 11 15:05:21 2012 +0000
Add "i586/pc/haiku" to doc/Platforms.txt
---
doc/Platforms.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/Platforms.txt b/doc/Platforms.txt
index b8e33b5..44c9000 100644
--- a/doc/Platforms.txt
+++ b/doc/Platforms.txt
@@ -49,6 +49,7 @@ i386/unknown/netbsdelf4.0 gcc 4.1.2 19 12-02-29 alex Y Y Y Y (3)
i386/unknown/netbsdelf5.0.2 gcc 4.1.3 19 12-02-26 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)
i386/unknown/openbsd4.1 gcc 3.3.5 16 10-04-11 alex Y Y Y Y (3)
+i586/pc/haiku gcc 2.95.3 19.2~138 12-10-11 user Y Y N N
i586/pc/interix3.5 gcc 3.3 19 12-02-29 alex Y Y N Y
i686/pc/cygwin gcc 3.3.1 0.8.0 04-05-30 alex Y Y N Y
i686/pc/linux-gnu gcc 2.7.2 19.1 12-05-30 goetz Y Y Y Y (1)
Module: ngircd.git
Branch: master
Commit: c319fb8eaa859e1c5b4e0333abf4dabf6023708d
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c319fb8e…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Oct 9 13:13:01 2012 +0200
Update manual pages
Among other little things, bring project description in line with website.
---
man/ngircd.8.tmpl | 29 +++++++++++++++++------------
man/ngircd.conf.5.tmpl | 2 +-
2 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/man/ngircd.8.tmpl b/man/ngircd.8.tmpl
index f0703f3..318c045 100644
--- a/man/ngircd.8.tmpl
+++ b/man/ngircd.8.tmpl
@@ -1,30 +1,35 @@
.\"
.\" ngircd(8) manual page template
.\"
-.TH ngircd 8 "Mar 2012" ngircd "ngIRCd Manual"
+.TH ngircd 8 "Oct 2012" ngIRCd "ngIRCd Manual"
.SH NAME
-ngIRCd \- the next generation IRC daemon
+ngIRCd \- the "next generation" IRC daemon
.SH SYNOPSIS
-.B ngircd [
+.B ngircd
+[
.I Options
-.B ]
+]
.SH DESCRIPTION
.BR ngIRCd
-is a free open source daemon for the Internet Relay Chat (IRC),
-developed under the GNU General Public License (GPL).
+is a free, portable and lightweight Internet Relay Chat server for small
+or private networks, developed under the GNU General Public License (GPL).
+It is easy to configure, can cope with dynamic IP addresses, and supports
+IPv6, SSL-protected connections as well as PAM for authentication.
+It is written from scratch and not based on the original IRCd.
.PP
-It's written from scratch and is not based upon the original IRCd like
-many others. It is easy to configure, supports server links (even with
-original ircd's) and runs on hosts with changing IP addresses (such as
-dial-in networks).
+The name ngIRCd means
+.IR "next generation IRC daemon",
+which is a little bit exaggerated:
+.IR "lightweight Internet Relay Chat server"
+most probably would have been a better name :-)
.PP
Currently supported platforms include AIX, A/UX, FreeBSD, HP-UX, IRIX,
Linux, Mac OS X, NetBSD, OpenBSD, Solaris, and Windows with Cygwin.
.PP
As ngIRCd relies on UNIX standards and uses GNU automake and GNU autoconf
there are good chances that it also supports other UNIX-based operating
-systems as well. By default, ngIRCd writes diagnostic and informational messages using
-the syslog mechanism.
+systems as well. By default, ngIRCd writes diagnostic and informational
+messages using the syslog mechanism.
.SH OPTIONS
The default behavior of
.BR ngircd
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index c03cf74..5f9d6dd 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -1,7 +1,7 @@
.\"
.\" ngircd.conf(5) manual page template
.\"
-.TH ngircd.conf 5 "Mar 2012" ngircd "ngIRCd Manual"
+.TH ngircd.conf 5 "Oct 2012" ngIRCd "ngIRCd Manual"
.SH NAME
ngircd.conf \- configuration file of ngIRCd
.SH SYNOPSIS
Module: ngircd.git
Branch: master
Commit: 538e612a47ba8eb83e749e8fe57d27f9322cc717
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=538e612a…
Author: Alexander Barton <alex(a)barton.de>
Date: Mon Oct 8 12:15:34 2012 +0200
Test suite: add test for user mode "b"
---
src/testsuite/message-test.e | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/testsuite/message-test.e b/src/testsuite/message-test.e
index d0ffcef..4cbc066 100644
--- a/src/testsuite/message-test.e
+++ b/src/testsuite/message-test.e
@@ -53,6 +53,22 @@ expect {
"@* PRIVMSG nick :test"
}
+send "mode nick +b\r"
+expect {
+ timeout { exit 1 }
+ "MODE nick :+b"
+}
+send "privmsg nick :test\r"
+expect {
+ timeout { exit 1 }
+ "976"
+}
+send "mode nick -b\r"
+expect {
+ timeout { exit 1 }
+ "MODE nick :-b"
+}
+
# The following two tests using "localhost" as host name
# had to be disabled, because there are operating systems
# out there, that use "localhost.<domain>" as host name
Module: ngircd.git
Branch: master
Commit: 87deb430125413cbb2ba415936b40d6420703572
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=87deb430…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Oct 7 15:11:05 2012 +0200
Fix ERR_CANNOTSENDTOCHAN_MSG message
This error message is not only used if one can not send to a channel
because it is moderated, but for _all_ reasons when a message can not
be delivered (moderated, banned, no external messages, ...), so strip
the "(+m) -- Moderated" part of the error message again.
Bug introduced by commit 9a82304a.
---
src/ngircd/messages.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/messages.h b/src/ngircd/messages.h
index b94a999..ec7bb6f 100644
--- a/src/ngircd/messages.h
+++ b/src/ngircd/messages.h
@@ -102,7 +102,7 @@
#define ERR_NOSUCHNICK_MSG "401 %s %s :No such nick or channel name"
#define ERR_NOSUCHSERVER_MSG "402 %s %s :No such server"
#define ERR_NOSUCHCHANNEL_MSG "403 %s %s :No such channel"
-#define ERR_CANNOTSENDTOCHAN_MSG "404 %s %s :Cannot send to channel (+m) -- Moderated"
+#define ERR_CANNOTSENDTOCHAN_MSG "404 %s %s :Cannot send to channel"
#define ERR_TOOMANYCHANNELS_MSG "405 %s %s :You have joined too many channels"
#define ERR_WASNOSUCHNICK_MSG "406 %s %s :There was no such nickname"
#define ERR_NOORIGIN_MSG "409 %s :No origin specified"