From 89b50e8c9582c3830399eaff39011bcdbd8a921d Mon Sep 17 00:00:00 2001 From: adrianp Date: Mon, 24 Mar 2008 18:40:18 +0000 Subject: Fix for: http://lists.grok.org.uk/pipermail/full-disclosure/2008-March/060906.html PKGREVISION++ --- chat/ircu/Makefile | 3 ++- chat/ircu/distinfo | 3 ++- chat/ircu/patches/patch-ai | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 chat/ircu/patches/patch-ai diff --git a/chat/ircu/Makefile b/chat/ircu/Makefile index 9f6d3300c93..f034e513572 100644 --- a/chat/ircu/Makefile +++ b/chat/ircu/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.31 2008/03/03 02:19:51 jlam Exp $ +# $NetBSD: Makefile,v 1.32 2008/03/24 18:40:18 adrianp Exp $ # DISTNAME= ircu2.10.12.12 PKGNAME= ${DISTNAME:S/ircu2/ircu-2/} +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=undernet-ircu/} diff --git a/chat/ircu/distinfo b/chat/ircu/distinfo index 6de300eed94..862e695d717 100644 --- a/chat/ircu/distinfo +++ b/chat/ircu/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.12 2008/01/30 23:07:37 adrianp Exp $ +$NetBSD: distinfo,v 1.13 2008/03/24 18:40:19 adrianp Exp $ SHA1 (ircu2.10.12.12.tar.gz) = 1b4876d7de2d31bb515b1f6dcb35a12b28ab81d9 RMD160 (ircu2.10.12.12.tar.gz) = 263155d56ae96556b971aed40eed97ac56501224 Size (ircu2.10.12.12.tar.gz) = 1013342 bytes SHA1 (patch-ah) = 2ffd8cc861bbe8aad697bd3b8ca63aa145104eea +SHA1 (patch-ai) = 308d4087e5dc182bfe299a4e5157719bff2a914f diff --git a/chat/ircu/patches/patch-ai b/chat/ircu/patches/patch-ai new file mode 100644 index 00000000000..158a2ed4a36 --- /dev/null +++ b/chat/ircu/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.3 2008/03/24 18:40:19 adrianp Exp $ + +--- ircd/s_user.c.orig 2007-08-21 02:13:15.000000000 +0100 ++++ ircd/s_user.c +@@ -1078,7 +1078,7 @@ int set_user_mode(struct Client *cptr, s + do_host_hiding = 1; + break; + case 'r': +- if (what == MODE_ADD) { ++ if (*(p + 1) && (what == MODE_ADD)) { + account = *(++p); + SetAccount(sptr); + } -- cgit v1.2.3