pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/bnc Update chat/bnc to version 2.9.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/978c3da779ed
branches:  trunk
changeset: 496315:978c3da779ed
user:      zuntum <zuntum%pkgsrc.org@localhost>
date:      Sat Jun 25 14:48:45 2005 +0000

description:
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@localhost> in private e-mail.

diffstat:

 chat/bnc/Makefile         |  10 ++++++----
 chat/bnc/distinfo         |  11 +++++------
 chat/bnc/patches/patch-aa |  20 ++++++++------------
 chat/bnc/patches/patch-ab |  31 -------------------------------
 4 files changed, 19 insertions(+), 53 deletions(-)

diffs (114 lines):

diff -r c8ba670c79c7 -r 978c3da779ed chat/bnc/Makefile
--- a/chat/bnc/Makefile Sat Jun 25 13:46:43 2005 +0000
+++ b/chat/bnc/Makefile Sat Jun 25 14:48:45 2005 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2005/06/16 06:57:41 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/06/25 14:48:45 zuntum Exp $
 
-DISTNAME=      bnc2.8.6
+DISTNAME=      bnc2.9.4
 PKGNAME=       ${DISTNAME:S/bnc/&-/}
-PKGREVISION=   1
 CATEGORIES=    chat
-MASTER_SITES=  http://www.gotbnc.com/files/ \
+MASTER_SITES=  http://www.gotbnc.com/ \
                ftp://ftp.ircadmin.net/bnc/
 
 MAINTAINER=    zuntum%NetBSD.org@localhost
@@ -15,6 +14,8 @@
 
 GNU_CONFIGURE= YES
 
+CONFIGURE_ARGS=        --with-ssl
+
 INSTALLATION_DIRS=     bin
 
 post-patch:
@@ -34,4 +35,5 @@
        ${INSTALL_DATA} ${WRKSRC}/example.conf                          \
                ${PREFIX}/share/examples/bnc/bnc.conf
 
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c8ba670c79c7 -r 978c3da779ed chat/bnc/distinfo
--- a/chat/bnc/distinfo Sat Jun 25 13:46:43 2005 +0000
+++ b/chat/bnc/distinfo Sat Jun 25 14:48:45 2005 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 15:59:10 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/06/25 14:48:46 zuntum Exp $
 
-SHA1 (bnc2.8.6.tar.gz) = 19544b83c4e8d558d56621b5001590432de2b4d0
-RMD160 (bnc2.8.6.tar.gz) = e8d0598a22d1c2b324fc087fc9a373398bc4db2d
-Size (bnc2.8.6.tar.gz) = 52569 bytes
-SHA1 (patch-aa) = 089c7ee2523d55404c68ca7ad6f551f6e69f1392
-SHA1 (patch-ab) = 74554135c60b7c18c467e674e1e22778b1fa3b95
+SHA1 (bnc2.9.4.tar.gz) = 4665c7b740dd37fe01a1ff82328600c9963dfd08
+RMD160 (bnc2.9.4.tar.gz) = 47065d7b9b6044f7eb9a3820201d64a7d682a7c9
+Size (bnc2.9.4.tar.gz) = 76896 bytes
+SHA1 (patch-aa) = cf40e78385dce1a22c3215413a3e18f045348ba1
diff -r c8ba670c79c7 -r 978c3da779ed chat/bnc/patches/patch-aa
--- a/chat/bnc/patches/patch-aa Sat Jun 25 13:46:43 2005 +0000
+++ b/chat/bnc/patches/patch-aa Sat Jun 25 14:48:45 2005 +0000
@@ -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 -r c8ba670c79c7 -r 978c3da779ed chat/bnc/patches/patch-ab
--- a/chat/bnc/patches/patch-ab Sat Jun 25 13:46:43 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index