diff options
author | wiz <wiz> | 2000-12-16 14:02:48 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-16 14:02:48 +0000 |
commit | 315211d9b3284013ee5c1bcd554a5762f069473a (patch) | |
tree | d30892c0fabe1224941a9d13e241b381db4c2166 /chat | |
parent | 98ae4c8d6183c5e5029b775998b3639382b6f27c (diff) | |
download | pkgsrc-315211d9b3284013ee5c1bcd554a5762f069473a.tar.gz |
Add patch against security problem, closing pkg/11750 by Jared McNeill.
See http://www.securityfocus.com/archive/1/149465 and
http://www.securityfocus.com/archive/1/149471.
Bump version to 1.0.3.17nb1.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/bitchx/Makefile | 11 | ||||
-rw-r--r-- | chat/bitchx/files/patch-sum | 3 | ||||
-rw-r--r-- | chat/bitchx/patches/patch-ac | 24 |
3 files changed, 35 insertions, 3 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index fa12a059166..ec312dab794 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 23:16:34 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2000/12/16 14:02:48 wiz Exp $ DISTNAME= ircii-pana-1.0c17 -PKGNAME= bitchx-1.0.3.17 +PKGNAME= bitchx-1.0.3.17nb1 WRKSRC= ${WRKDIR}/BitchX CATEGORIES= chat MASTER_SITES= ftp://ftp.bitchx.org/pub/BitchX/source/ @@ -19,6 +19,13 @@ post-extract: -${FIND} ${WRKDIR}/BitchX/bitchx-docs -type d -name CVS \ -exec ${RM} -r {} \; 2> /dev/null +# The WANT_NOTIFY_BITCHX_COM message after configure is misleading, we +# disable this by default. +post-configure: + @${ECHO} + @${ECHO} ===== WANT_NOTIFY_BITCHX_COM is disabled by default ===== + @${ECHO} + post-install: ${INSTALL_DATA} ${WRKSRC}/doc/BitchX.1 ${PREFIX}/man/man1 diff --git a/chat/bitchx/files/patch-sum b/chat/bitchx/files/patch-sum index 8a0f611ca44..9dff61faf0f 100644 --- a/chat/bitchx/files/patch-sum +++ b/chat/bitchx/files/patch-sum @@ -1,4 +1,5 @@ -$Id: patch-sum,v 1.1.1.1 2000/12/15 23:16:34 wiz Exp $ +$Id: patch-sum,v 1.2 2000/12/16 14:02:48 wiz Exp $ MD5 (patch-aa) = b1e2ea9a5248dc679292107cfde46762 MD5 (patch-ab) = 77fa5fb610b19fd851a3753c0554ed81 +MD5 (patch-ac) = afa40750dab7567dd51830914fdac479 diff --git a/chat/bitchx/patches/patch-ac b/chat/bitchx/patches/patch-ac new file mode 100644 index 00000000000..de0485eb7a4 --- /dev/null +++ b/chat/bitchx/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1 2000/12/16 14:02:48 wiz Exp $ + +--- source/misc.c.orig Tue Aug 29 09:19:23 2000 ++++ source/misc.c +@@ -2641,6 +2641,11 @@ + switch(type) + { + case T_A : ++ if (dlen != sizeof(struct in_addr)) ++ { ++ cp += dlen; ++ break; ++ } + rptr->re_he.h_length = dlen; + if (ans == 1) + rptr->re_he.h_addrtype=(class == C_IN) ? +@@ -2687,6 +2692,7 @@ + *alias = NULL; + break; + default : ++ cp += dlen; + break; + } + } |