Subject: pkg/32432: [patch] Update of chat/irssi to 0.8.10
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <juhis@nallukka.net>
List: pkgsrc-bugs
Date: 01/02/2006 20:05:00
>Number:         32432
>Category:       pkg
>Synopsis:       [patch] Update of chat/irssi to 0.8.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 20:05:00 +0000 2006
>Originator:     Juha-Matti Tilli
>Release:        NetBSD 3.0
>Organization:
>Environment:
System: NetBSD manmutt.juhis.ath.cx 3.0 NetBSD 3.0 (MANMUTT) #0: Sat Dec 24 03:46:43 EET 2005 juhiso@manmutt.juhis.ath.cx:/data/build/obj/sys/arch/i386/compile/MANMUTT i386
Architecture: i386
Machine: i386
>Description:

Irssi 0.8.10 was released 3 weeks ago with lots of new features:
- Recode support
- Isupport (005 numeric)
- Passive DCC support.
- Many memleak fixes.
- Network specific ignoring.
- Updated internal error handling.
- Complete 64bit support.
- Revised default aliases.
- Updated paste detection and settings.
- Tons of bugfixes.
- Other changes

This patch updates chat/irssi to the latest version and adds a message to
notify users about transliteration support in glib2.

>How-To-Repeat:

% cd /usr/pkgsrc/chat/irssi; cvs update -PAdD 2006-01-01
% make -V IRSSI_VERSION
0.8.9

>Fix:

% cd /usr/pkgsrc/chat/irssi; cvs update -PAdD 2006-01-01
% rm patches/patch-a[cde]
% patch << EOF
--- Makefile.orig	2006-01-02 19:50:04.000000000 +0200
+++ Makefile	2006-01-02 19:50:14.000000000 +0200
@@ -1,9 +1,8 @@
 # $NetBSD: Makefile,v 1.42 2005/12/29 06:21:33 jlam Exp $
 
 DISTNAME=		${IRSSI_DISTNAME}
-PKGREVISION=		7
 CATEGORIES=		chat
-MASTER_SITES=		http://real.irssi.org/files/
+MASTER_SITES=		http://www.irssi.org/files/
 EXTRACT_SUFX=		${IRSSI_EXTRACT_SUFX}
 
 MAINTAINER=		mutru@iki.fi
@@ -31,6 +30,8 @@
 
 .include "../../devel/glib2/buildlink3.mk"
 
+pre-install: pre-install-irssi-perl
+
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
 	${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
--- Makefile.common.orig	2006-01-02 19:50:04.000000000 +0200
+++ Makefile.common	2006-01-02 19:50:14.000000000 +0200
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile.common,v 1.3 2003/12/11 20:18:58 veego Exp $
 
 # Specific distribution information.
-IRSSI_VERSION=		0.8.9
+IRSSI_VERSION=		0.8.10
 IRSSI_DISTNAME=		irssi-${IRSSI_VERSION}
 IRSSI_EXTRACT_SUFX=	.tar.bz2
 IRSSI_DISTFILE=		${IRSSI_DISTNAME}${IRSSI_EXTRACT_SUFX}
--- options.mk.orig	2006-01-02 19:50:04.000000000 +0200
+++ options.mk	2006-01-02 19:50:14.000000000 +0200
@@ -16,8 +16,20 @@
 # but who knows what may happen in future versions
 CONFIGURE_ARGS+=	--with-perl
 CONFIGURE_ARGS+=	--with-perl-lib=vendor
+
+# This is an ugly hack. For some reason, make re-runs config.status, which
+# causes 'make install' to rebuild perl modules and create directories
+# with root privileges breaking unprivileged 'make clean'. This hack prevents
+# the rebuild.
+pre-install-irssi-perl:
+	${TOUCH} ${WRKSRC}/src/perl/common/Makefile
+	${TOUCH} ${WRKSRC}/src/perl/irc/Makefile
+	${TOUCH} ${WRKSRC}/src/perl/ui/Makefile
+	${TOUCH} ${WRKSRC}/src/perl/textui/Makefile
+
 .else
 CONFIGURE_ARGS+=	--with-perl=no
+pre-install-irssi-perl:
 .endif
 
 .if !empty(PKG_OPTIONS:Minet6)
--- distinfo.orig	2006-01-02 19:50:04.000000000 +0200
+++ distinfo	2006-01-02 19:50:14.000000000 +0200
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.22 2005/11/11 16:01:20 tonio Exp $
+$NetBSD$
 
-SHA1 (irssi-0.8.9.tar.bz2) = 57799a1e99ac5f6694eb6fd049d39a4e2e51f576
-RMD160 (irssi-0.8.9.tar.bz2) = 7a0a2a639c041802bfddd458c35bccaec8084013
-Size (irssi-0.8.9.tar.bz2) = 816465 bytes
+SHA1 (irssi-0.8.10.tar.bz2) = 055eef31ed7a52e30d9a63d803306570c7cd3393
+RMD160 (irssi-0.8.10.tar.bz2) = d2deaca1bf81184b6120bf5804de73b3ef0ac37b
+Size (irssi-0.8.10.tar.bz2) = 933152 bytes
 SHA1 (patch-aa) = 45d8161733f58ab3733022c823933bb1cc93a8e2
-SHA1 (patch-ab) = c395fbeeb2dd15490f04f2cb2c94daf6c5955e85
-SHA1 (patch-ac) = 9572891333279dc368f44c52f9584c34f10d7aa1
-SHA1 (patch-ad) = 7629117264f84c4f20697200456f91662b52f724
-SHA1 (patch-ae) = 158de7394abec0cab8fe2c8fea158fd97377cb1f
-SHA1 (patch-af) = 3603d84e9e3b5f589c94775e261dedcacff09cf0
+SHA1 (patch-ab) = ec5fbfa0d7c21f389809522add2632c3ca977632
+SHA1 (patch-af) = 6f584818cc3a5bb3f05b77e800635ed566c48605
--- MESSAGE.orig	2006-01-02 19:50:14.000000000 +0200
+++ MESSAGE	2006-01-02 19:50:14.000000000 +0200
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD$
+
+This version of irssi has support for character set conversions. Irssi is
+able to transliterate unavailable characters if transliteration is
+supported by GLib. If you want to use transliteration, rebuild devel/glib2
+with USE_GNU_ICONV=yes.
+
+===========================================================================
--- patches/patch-ab.orig	2006-01-02 19:50:04.000000000 +0200
+++ patches/patch-ab	2006-01-02 19:50:14.000000000 +0200
@@ -1,13 +1,13 @@
 $NetBSD: patch-ab,v 1.4 2002/12/02 12:19:20 jmmv Exp $
 
---- Makefile.in.orig	Tue Nov 19 11:14:30 2002
-+++ Makefile.in
-@@ -117,7 +117,7 @@ sedpath = @sedpath@
- 
+--- Makefile.in.orig	Sun Dec 11 11:45:48 2005
++++ Makefile.in	Mon Jan  2 01:03:41 2006
+@@ -254,7 +254,7 @@
+ target_alias = @target_alias@
+ @BUILD_PLUGINS_TRUE@PLUGINS = plugins
  SUBDIRS = src docs scripts
- 
 -confdir = $(sysconfdir)
 +confdir = $(datadir)/examples/@PACKAGE@
  conf_DATA = irssi.conf
- 
  themedir = $(datadir)/irssi/themes
+ theme_DATA = default.theme colorless.theme
--- patches/patch-af.orig	2006-01-02 19:50:04.000000000 +0200
+++ patches/patch-af	2006-01-02 19:50:14.000000000 +0200
@@ -1,8 +1,6 @@
-$NetBSD: patch-af,v 1.1 2005/11/11 16:01:20 tonio Exp $
-
---- configure.orig	2003-12-11 00:23:05.000000000 +0100
-+++ configure
-@@ -22842,7 +22842,7 @@ echo "$as_me: error: error compiling tes
+--- configure.orig	2005-12-11 11:45:39.000000000 +0200
++++ configure	2006-01-02 01:27:28.000000000 +0200
+@@ -25371,7 +25371,7 @@
     { (exit 1); exit 1; }; }
  fi
  
--- PLIST.old	2006-01-02 21:02:38.000000000 +0200
+++ PLIST	2006-01-02 19:37:47.000000000 +0200
@@ -1,5 +1,122 @@
 @comment $NetBSD: PLIST,v 1.7 2005/03/19 15:32:25 jmmv Exp $
 bin/irssi
+include/irssi/config.h
+include/irssi/irssi-version.h
+include/irssi/src/common.h
+include/irssi/src/core/args.h
+include/irssi/src/core/channel-rec.h
+include/irssi/src/core/channel-setup-rec.h
+include/irssi/src/core/channels-setup.h
+include/irssi/src/core/channels.h
+include/irssi/src/core/chat-protocols.h
+include/irssi/src/core/chatnet-rec.h
+include/irssi/src/core/chatnets.h
+include/irssi/src/core/commands.h
+include/irssi/src/core/core.h
+include/irssi/src/core/expandos.h
+include/irssi/src/core/ignore.h
+include/irssi/src/core/levels.h
+include/irssi/src/core/line-split.h
+include/irssi/src/core/log.h
+include/irssi/src/core/masks.h
+include/irssi/src/core/misc.h
+include/irssi/src/core/module.h
+include/irssi/src/core/modules-load.h
+include/irssi/src/core/modules.h
+include/irssi/src/core/net-disconnect.h
+include/irssi/src/core/net-nonblock.h
+include/irssi/src/core/net-sendbuffer.h
+include/irssi/src/core/network.h
+include/irssi/src/core/nick-rec.h
+include/irssi/src/core/nicklist.h
+include/irssi/src/core/nickmatch-cache.h
+include/irssi/src/core/pidwait.h
+include/irssi/src/core/queries.h
+include/irssi/src/core/query-rec.h
+include/irssi/src/core/rawlog.h
+include/irssi/src/core/recode.h
+include/irssi/src/core/server-connect-rec.h
+include/irssi/src/core/server-rec.h
+include/irssi/src/core/server-setup-rec.h
+include/irssi/src/core/servers-reconnect.h
+include/irssi/src/core/servers-setup.h
+include/irssi/src/core/servers.h
+include/irssi/src/core/session.h
+include/irssi/src/core/settings.h
+include/irssi/src/core/signals.h
+include/irssi/src/core/special-vars.h
+include/irssi/src/core/window-item-def.h
+include/irssi/src/core/window-item-rec.h
+include/irssi/src/core/write-buffer.h
+include/irssi/src/fe-common/core/autorun.h
+include/irssi/src/fe-common/core/chat-completion.h
+include/irssi/src/fe-common/core/command-history.h
+include/irssi/src/fe-common/core/completion.h
+include/irssi/src/fe-common/core/fe-channels.h
+include/irssi/src/fe-common/core/fe-common-core.h
+include/irssi/src/fe-common/core/fe-core-commands.h
+include/irssi/src/fe-common/core/fe-exec.h
+include/irssi/src/fe-common/core/fe-messages.h
+include/irssi/src/fe-common/core/fe-queries.h
+include/irssi/src/fe-common/core/fe-recode.h
+include/irssi/src/fe-common/core/fe-windows.h
+include/irssi/src/fe-common/core/formats.h
+include/irssi/src/fe-common/core/hilight-text.h
+include/irssi/src/fe-common/core/keyboard.h
+include/irssi/src/fe-common/core/module-formats.h
+include/irssi/src/fe-common/core/module.h
+include/irssi/src/fe-common/core/printtext.h
+include/irssi/src/fe-common/core/themes.h
+include/irssi/src/fe-common/core/translation.h
+include/irssi/src/fe-common/core/utf8.h
+include/irssi/src/fe-common/core/window-activity.h
+include/irssi/src/fe-common/core/window-items.h
+include/irssi/src/fe-common/core/windows-layout.h
+include/irssi/src/fe-common/irc/dcc/fe-dcc.h
+include/irssi/src/fe-common/irc/dcc/module-formats.h
+include/irssi/src/fe-common/irc/dcc/module.h
+include/irssi/src/fe-common/irc/fe-irc-server.h
+include/irssi/src/fe-common/irc/module-formats.h
+include/irssi/src/fe-common/irc/module.h
+include/irssi/src/fe-common/irc/notifylist/module-formats.h
+include/irssi/src/fe-common/irc/notifylist/module.h
+include/irssi/src/irc/core/bans.h
+include/irssi/src/irc/core/channel-rejoin.h
+include/irssi/src/irc/core/ctcp.h
+include/irssi/src/irc/core/irc-channels.h
+include/irssi/src/irc/core/irc-chatnets.h
+include/irssi/src/irc/core/irc-commands.h
+include/irssi/src/irc/core/irc-masks.h
+include/irssi/src/irc/core/irc-nicklist.h
+include/irssi/src/irc/core/irc-queries.h
+include/irssi/src/irc/core/irc-servers-setup.h
+include/irssi/src/irc/core/irc-servers.h
+include/irssi/src/irc/core/irc.h
+include/irssi/src/irc/core/mode-lists.h
+include/irssi/src/irc/core/modes.h
+include/irssi/src/irc/core/module.h
+include/irssi/src/irc/core/netsplit.h
+include/irssi/src/irc/core/servers-idle.h
+include/irssi/src/irc/core/servers-redirect.h
+include/irssi/src/irc/dcc/dcc-chat.h
+include/irssi/src/irc/dcc/dcc-file-rec.h
+include/irssi/src/irc/dcc/dcc-file.h
+include/irssi/src/irc/dcc/dcc-get.h
+include/irssi/src/irc/dcc/dcc-queue.h
+include/irssi/src/irc/dcc/dcc-rec.h
+include/irssi/src/irc/dcc/dcc-send.h
+include/irssi/src/irc/dcc/dcc-server.h
+include/irssi/src/irc/dcc/dcc.h
+include/irssi/src/irc/dcc/module.h
+include/irssi/src/irc/flood/module.h
+include/irssi/src/irc/notifylist/module.h
+include/irssi/src/irc/notifylist/notify-setup.h
+include/irssi/src/irc/notifylist/notifylist.h
+include/irssi/src/lib-config/iconfig.h
+include/irssi/src/lib-config/module.h
+include/irssi/src/lib-popt/findme.h
+include/irssi/src/lib-popt/popt.h
+include/irssi/src/lib-popt/poptint.h
 lib/irssi/modules/libirc_proxy.la
 man/man1/irssi.1
 share/doc/irssi/botnet.txt
@@ -39,6 +156,7 @@
 share/irssi/help/echo
 share/irssi/help/eval
 share/irssi/help/exec
+share/irssi/help/flushbuffer
 share/irssi/help/flushbuffers
 share/irssi/help/format
 share/irssi/help/hash
@@ -73,6 +191,7 @@
 share/irssi/help/names
 share/irssi/help/nctcp
 share/irssi/help/netsplit
+share/irssi/help/network
 share/irssi/help/nick
 share/irssi/help/note
 share/irssi/help/notice
@@ -85,6 +204,7 @@
 share/irssi/help/quit
 share/irssi/help/quote
 share/irssi/help/rawlog
+share/irssi/help/recode
 share/irssi/help/reconnect
 share/irssi/help/rehash
 share/irssi/help/reload
@@ -159,3 +279,18 @@
 @dirrm share/doc/irssi
 @dirrm lib/irssi/modules
 @dirrm lib/irssi
+@dirrm include/irssi/src/lib-popt
+@dirrm include/irssi/src/lib-config
+@dirrm include/irssi/src/irc/notifylist
+@dirrm include/irssi/src/irc/flood
+@dirrm include/irssi/src/irc/dcc
+@dirrm include/irssi/src/irc/core
+@dirrm include/irssi/src/irc
+@dirrm include/irssi/src/fe-common/irc/notifylist
+@dirrm include/irssi/src/fe-common/irc/dcc
+@dirrm include/irssi/src/fe-common/irc
+@dirrm include/irssi/src/fe-common/core
+@dirrm include/irssi/src/fe-common
+@dirrm include/irssi/src/core
+@dirrm include/irssi/src
+@dirrm include/irssi
EOF