summaryrefslogtreecommitdiff
path: root/chat/bnc
diff options
context:
space:
mode:
authorzuntum <zuntum>2005-06-25 14:48:45 +0000
committerzuntum <zuntum>2005-06-25 14:48:45 +0000
commit8e92b0d22a505a835482077f2959ace46cb9ffeb (patch)
treea9327ac65aad63969f8c9b56668d168d009eaf7d /chat/bnc
parente0777e7027243efe8bb4db5e6cf232e71026d711 (diff)
downloadpkgsrc-8e92b0d22a505a835482077f2959ace46cb9ffeb.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')
-rw-r--r--chat/bnc/Makefile10
-rw-r--r--chat/bnc/distinfo11
-rw-r--r--chat/bnc/patches/patch-aa20
-rw-r--r--chat/bnc/patches/patch-ab31
4 files changed, 19 insertions, 53 deletions
diff --git a/chat/bnc/Makefile b/chat/bnc/Makefile
index 4053a5a763b..bb6ccfb5a7b 100644
--- a/chat/bnc/Makefile
+++ b/chat/bnc/Makefile
@@ -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
@@ -15,6 +14,8 @@ DEPENDS+= dialog-[0-9]*:../../misc/dialog
GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --with-ssl
+
INSTALLATION_DIRS= bin
post-patch:
@@ -34,4 +35,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/example.conf \
${PREFIX}/share/examples/bnc/bnc.conf
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/bnc/distinfo b/chat/bnc/distinfo
index 72816ff9796..7cc9db53e2b 100644
--- a/chat/bnc/distinfo
+++ b/chat/bnc/distinfo
@@ -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 --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)