diff options
author | zuntum <zuntum> | 2005-06-25 14:48:45 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2005-06-25 14:48:45 +0000 |
commit | 72317553c0f9d2c3d6ff85e00004ef0d9fd3a3fb (patch) | |
tree | a9327ac65aad63969f8c9b56668d168d009eaf7d /chat/bnc/patches | |
parent | ced78edfc76dd9073f7d08d6a215351a760ac58d (diff) | |
download | pkgsrc-72317553c0f9d2c3d6ff85e00004ef0d9fd3a3fb.tar.gz |
Update chat/bnc to version 2.9.4
Changes:
2.9.4
(1) SSL support can now be used incoming.
(2) Added three new configuration entries to handle new features:
listenex [--ssl][--limit <maxusers>][--localhost <hostname>] <port>
privatekey <filename>
publickey <filename>
2.9.3
(1) SECURITY FIX: FD_SETSIZE overflow DOS
(2) SSL support can now be used if configured with --with-ssl
SSL connection is done by passing -s
ex. /quote conn -s ircs.server
Note: this is only partially secure since SSL is only supported
outgoing.
2.9.2
(1) Added flush to logging
(2) General code changes to fix compiling on some compilers
(3) Fixed problems binding to listening address
2.9.1
(1) SECURITY FIX: password check, was only letting incorrect passwords in
(2) Fixed IP binding on listen
2.9.0
(1) Added trailing newlines to log records
(2) Added extra error handling on accepting connections
(3) Fixed buffer overflow in getnickuserhost (reported by Leon Juranic)
(4) Added extra check for gethostbyname2
(5) Made password check more thorough
(6) Fixed ipv6 dns resolving to random ipv4
2.8.9
(1) Fixed backspace security flaw (reported by Yak)
(2) Fixed compile errors related to compound statements
(3) Rewrote logic of /vip command
(4) Rewrote docked session listing code
2.8.8
(1) Added support for setting a specific IP to listen on
(listen <[host:]port> [maxusers])
(2) Enhanced bncsetup to use new conf format and new question to handle
specific host entering.
(3) Changed the Makefile to list libraries last, some crypt libraries
predefined their own main function which prevented compiling.
(4) Reorganized the connection code to fix a bug where a user gets
disconnected while connecting to an irc server.
(5) Socket length was not being set before accept. (Thanks chris)
(6) Removed old hack code for systems that do not support snprintf.
(7) Increased error checking in recv code.
(8) Better parsing of messages
(9) Server buffers always cleared when connecting to a new server.
(10) Initial IPv6 support. Added -6 option to the CONN command
(i.e. CONN -6 irc.ipv6.org) which is only necessary on ambigious
addresses or when connecting via dns.
(11) Listen host can be specified in conf as an ipv6 address by putting
the address in []'s (i.e. LISTEN [2000:610:0:23::]:6669)
Requested by Peter Avalos <pavalos@theshell.com> in private e-mail.
Diffstat (limited to 'chat/bnc/patches')
-rw-r--r-- | chat/bnc/patches/patch-aa | 20 | ||||
-rw-r--r-- | chat/bnc/patches/patch-ab | 31 |
2 files changed, 8 insertions, 43 deletions
diff --git a/chat/bnc/patches/patch-aa b/chat/bnc/patches/patch-aa index ca56b3770b1..f127af34f7d 100644 --- a/chat/bnc/patches/patch-aa +++ b/chat/bnc/patches/patch-aa @@ -1,19 +1,15 @@ -$NetBSD: patch-aa,v 1.3 2004/02/02 09:05:20 grant Exp $ +$NetBSD: patch-aa,v 1.4 2005/06/25 14:48:46 zuntum Exp $ ---- Makefile.in.orig 2002-07-12 01:58:29.000000000 +1000 +--- Makefile.in.orig 2005-01-26 05:15:06.000000000 +0100 +++ Makefile.in -@@ -1,11 +1,10 @@ - LIBS = @LIBS@ --OPTS = -O3 --COPT = -Wall -+OPTS = ${CFLAGS} -+COPT = - OOPT = - STRIP = strip --CC = gcc +@@ -1,8 +1,8 @@ + LIBS=@LIBS@ +-CFLAGS=-O3 -Wall -include config.h ++CFLAGS+=-include config.h + CC=@CC@ -ALL: bnc mkpasswd +all: bnc mkpasswd mkpasswd:mkpasswd.c - ${CC} ${OPTS} ${COPT} ${LIBS} -o mkpasswd mkpasswd.c + ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} diff --git a/chat/bnc/patches/patch-ab b/chat/bnc/patches/patch-ab deleted file mode 100644 index ee2f5cd9791..00000000000 --- a/chat/bnc/patches/patch-ab +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/06/16 16:09:39 minskim Exp $ - ---- send.c.orig 2002-07-11 10:58:54.000000000 -0500 -+++ send.c -@@ -175,7 +175,7 @@ reschar: - sign = '\0'; - src = buf; - eos = src + 1; -- *src = va_arg(ap, char); -+ *src = va_arg(ap, int); - goto writeout; - case 's': - src = va_arg(ap, char *); -@@ -211,7 +211,7 @@ reschar: - goto nosign; - nosign: - ulval = flags & flaglongint ? va_arg(ap, long) -- : flags & flagshortint ? (long)(short)va_arg(ap,short) -+ : flags & flagshortint ? (long)(short)va_arg(ap,int) - : (long)va_arg(ap,int) ; - - goto number; -@@ -225,7 +225,7 @@ nosign: - case 'd': - case 'i': - ulval = flags & flaglongint ? va_arg(ap, long) -- : flags & flagshortint ? (long)(short)va_arg(ap,short) -+ : flags & flagshortint ? (long)(short)va_arg(ap,int) - : (long)va_arg(ap,int) ; - - if((long)ulval < 0) |