head 1.7; access; symbols pkgsrc-2016Q4:1.6.0.60 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.58 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.56 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.54 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.52 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.50 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.48 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.46 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.44 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.42 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.40 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.38 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.36 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.34 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.32 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.30 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.28 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.26 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.24 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.22 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.20 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.18 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.16 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.14 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.12 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.10 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.8 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.6 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.4 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.2 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.5.0.18 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.16 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.6 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.26 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.24 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.22 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2-base:1.3 buildlink2:1.3.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2017.01.05.17.14.52; author maya; state dead; branches; next 1.6; commitid lFL1hit8jDBOMNAz; 1.6 date 2009.07.27.12.59.44; author obache; state Exp; branches; next 1.5; 1.5 date 2007.10.13.16.27.15; author adrianp; state Exp; branches; next 1.4; 1.4 date 2006.03.04.06.34.13; author wiz; state Exp; branches; next 1.3; 1.3 date 2002.05.25.14.17.06; author blymn; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2002.02.17.22.41.42; author hubertf; state dead; branches; next 1.1; 1.1 date 2001.09.16.16.14.09; author hubertf; state Exp; branches 1.1.1.1; next ; 1.3.2.1 date 2002.05.25.14.17.06; author jlam; state dead; branches; next 1.3.2.2; 1.3.2.2 date 2002.06.23.18.40.50; author jlam; state Exp; branches; next ; 1.1.1.1 date 2001.09.16.16.14.09; author hubertf; state Exp; branches; next ; desc @@ 1.7 log @irssi: update to 1.0.0 v1.0.0 2017-01-03 The Irssi team * Removed --disable-ipv6 (#408). * /connect Network now aborts with an error if no servers have been added to that network (#443). * /dcc commands now use quotes around spaces consistently. * bell_beeps was removed (#524, #565). * Switch to GRegex instead of regex.h (#412). + irssiproxy can now forward all tags through a single port. By Lukas Mai (mauke, #425). + irssiproxy can also listen on unix sockets. By Lukas Mai (#427). + send channel -botcmds immediately when no mask is specified (#175, #399). + the kill buffer now remembers consecutive kills. New bindings were added: yank_next_cutbuffer and append_next_kill By Todd A. Pratt (#353, #414, #455) + connections will avoid looking up IPv6 addresses if the machine does not have an IPv6 address assigned (exact behaviour is implementation defined, #410). + Fix potential crash if scripts insert undef values into the completion list (#413). + Paste warning is now also shown on pasting overlong lines. By Manish Goregaokar (#426). + autolog_ignore_targets and activity_hide_targets learn a new syntax tag/* and * to ignore whole networks or everything. By Jari Matilainen (vague666, #437) + /hilight got a -matchcase flag to hilight case sensitively. By Thibault B (isundil, #421, #476). + Always build irssi with TLS support. + Rename SSL to TLS in the code and add -tls_* versions of the -ssl_* options to /CONNECT and /SERVER, but make sure the -ssl_* options continue to work. + Use TLS for Freenode, EFnet, EsperNet, OFTC, Rizon, and IRC6 in the default configuration. + Display TLS connection information upon connect. You can disable this by setting tls_verbose_connect to FALSE. + Add -tls_pinned_cert and -tls_pinned_pubkey for x509 and public key pinning. The values needed for -tls_pinned_cert and -tls_pinned_pubkey is shown when connecting to a TLS enabled IRC server, but you can also find the values like this: Start by downloading the certificate from a given IRC server: $ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \ openssl x509 > freenode.cert Find the value for -tls_pinned_cert: $ openssl x509 -in freenode.cert -fingerprint -sha256 -noout Find the value for -tls_pinned_pubkey: $ openssl x509 -in freenode.cert -pubkey -noout | \ openssl pkey -pubin -outform der | \ openssl dgst -sha256 -c | \ tr a-z A-Z + Remove support for DANE validation of TLS certificates. There wasn't enough support in the IRC community to push for this on the majority of bigger IRC networks. If you believe this should be reintroduced into irssi, then please come up with an implementation that does not rely on the libval library. It is causing a lot of troubles for our downstream maintainers. + /names and $[...] now uses utf8 string operations. By Xavier G. (#40, #411, #471, #480). + New setting completion_nicks_match_case (#488). + /channel /server /network now support modify subcommand. By Jari Matilainen (#338, #498). + Irssi::signal_remove now works with coderefs. By Tom Feist (shabble, #512). + /script reset got an -autorun switch (#540, #538). + cap_toggle can now be called from Perl, and fields cap_active and cap_supported can be inspected (#542). + Make it possible to disable empty line completion. By Lauri Tirkkonen (lotheac, #574). + New option sasl_disconnect_on_failure to disconnect when SASL log-in failed (#514). - IP addresses are no longer stored when resolve_reverse_lookup is used. - Removed broken support for curses (#521). - Removed broken dummy mode (#526). - Fix terminal state after suspend (#450, #452). - Improve Perl library path detection (#479, #132). - Reconnect now works on unix connections (#493). - Fix completion warnings (#125, #496, FS#124). - Fix a crash in the --more-- item (#501). - Fix a display issue in /unignore (#517, bdo#577202). - Fix a crash in some netsplits (#529, #500). - Fix crashes with some invalid config (#550, #551, #563, #564, #587, #581, #570). - Add support for SASL Fragmentation. By Kenny Root (kruton, #506). - Improve netsplit dumping (#420, #465). - Improve responsibility under DCC I/O strain (#578, #159). - Fix query nick change on open (#580, #586). - Correct a few help texts. @ text @$NetBSD: patch-aa,v 1.6 2009/07/27 12:59:44 obache Exp $ Check if sp is a null pointer before parsing it. --- src/fe-text/tparm.c.orig 2007-10-06 10:40:39.000000000 +0100 +++ src/fe-text/tparm.c @@@@ -247,7 +247,7 @@@@ char *tparm(const char *str, ...) { argcnt = 0; pos = 0; termcap = 1; - while (*sp != '\0') { + while ((sp != NULL) && (*sp != '\0')) { switch(*sp) { case '\\': if (scan_for) { @ 1.6 log @Update irssi to 0.8.13 (and bump pkgrevision irssi-icb). Also contains security fix for CVE-2009-1959 (patch-ab). Based on patch provided by Leonardo Taccari in PR 41785. ChangeLog for 0.8.13 Features: * Reject some obviously invalid values in /set. * Add perl bindings for Window::get_history_lines * Use an io channel to write the config file. * Use memory slices instead of memory chunks for text buffer. * Remove methods to create/destroy TextBuffer and TextBufferView and low level api to add/remove lines, scripts should be fine using Window::print_after and TextBufferView::remove_line. * Add print_after method to Window perl object analogous to gui_printtext_after but which also expands formats and forces a full line. * Better mapping of signal parameters to Perl. All signals used in scripts now need to be registered with Irssi::signal_register. * Add public header with interfaces to manage statusbar items (bug #535) * Recode: assume utf-8 encoding for an ascii string in which no escape character occurs (bug #392). * Allow /BAN, /UNBAN, /KICBAN, /KNOCKOUT if channel is not synced. Requesting ban lists from an unsynced channel will ask them from the server, banning a user whose u@@h irssi does not know will ban nick!*@@* and only bans irssi knows about can be removed. * Allow storing multiple "other" prefixes such as +q and +a (original patch by JasonX) * Add /set autolog_ignore_targets for cherry-picking targets that shouldn't get logged. * Add support for 16 colors. Formats KBGCRMYW and mirc colors are now mapped to colors 8-15. fe-text translates colors 8-15 to bold/blink+0-7 if the terminal supports only 8 colors. If your theme uses one of the high color formats and you really want bold you can change %FMT to %fmt%_%_, it will work fine in all irssi versions. * Better 005 PREFIX support (bug #580). * Display 407 numerics other than "duplicate channel". * Fix display of ratbox-style operspy whois. * Recode outgoing irc away messages (bug #412). * Recode outgoing irc quit messages. * Remove scrollback_levelclear_levels setting and add a 'level' option to 'sb levelclear' to specify a comma separated list of levels. * Add perl __WARN__ handler for scripts (bug #427). * Add Irssi::command_parse_options function to parse options for a command. * Revert recode changes introduced in 0.8.12. * Add completion for /WINDOW SERVER. * Support for reading kicks/msgs from TARGMAX/MAXTARGETS 005 tokens. * Enhancements to the redirections code. * Support for RPL_WHOISACTUALLY (338 numeric) for both ratbox and ircu (bug #428). * -idle option of /notify is gone. * /layout save now makes window-channel bindings instantly effective (bug #35). * /ping without arguments does not send anymore a ctcp ping to a channel (bug #542). * Track IRC operator status of nicks a bit better. * new 'actlist_names' option to add active items names in 'act' statusbar item. * new 'word_completion_backward' command to scroll backwards in the completion list. * add 'list' option to /bind to print all the available commands. * show setter/time in +I lists * apply -usermode before -autosendcmd (bug #548). * reduce memory usage of the scrollback buffer and make the display in /sb status more accurate (higher). * fix data getting dropped when a lot is sent at a time (e.g. when attaching to irssi-proxy, bug #528). * introduce the type Irssi::Irc::Client and signals to communicate with proxy clients to allow for scripting parts of the irssi-proxy. * Add sb_search.pl, a script for /SCROLLBACK SEARCH Bugfixes: * Fix /NOTIFY list when nick is seen joining (bug #642). * Include hostmask in 001 event sent by proxy (bug #650). * Be more power-friendly: don't run any always-on <1s timers (bug #641). * Don't get confused by a failed /JOIN -window (bug #644). * Properly initialize embedded Perl (PERL_SYS_INIT3). * Replace invalid utf-8 bytes with U+FFFD when drawing a line. * Properly unload the original script when using /script load to reload it. (bug #525, patch by Lukas Mai) * Clean up script loading in general: * Don't leak local variables to eval'd code. * Set filename/line number to get better error messages from perl. * Use three-arg open and lexical filehandles to avoid surprises. * Include error reason in message for unopenable scripts. * Don't wrap script code in sub handler { } - this avoids spurious warnings and should at least allow __END__ to work properly. (Patch by Lukas Mai) * Fix NETSPLIT_SERVER_REC in signals for Perl. * Remove buggy /SCROLLBACK redraw and /SET scrollback_save_formats. * Always preserve the active mainwindow when resizing. * Ignore DNS not found errors when considering reconnect. * Do not strip the comma in a mirc color if it is not followed by a digit (bug #250). * Fix building perl module with perl-5.10 (bug #630). * fix leak with $L expando. * fix possible crash with /script reset. * ignore exceptions take precedence over ignores in all cases. * honour -channels preference for ignore -replies (bug #227). * Fix mode display in whois with unreal (379 numeric) (bug #479). * Fix regressions that prevented external modules from building/working (bugs #537 #539). * Fix /set hilight_level not taking effect immediately (bug #598). * Fix bold, blinking and indentation in /LASTLOG and buf.pl. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2007/10/13 16:27:15 adrianp Exp $ @ 1.5 log @Update to 0.8.12 * Add a set of patches to re-introduce irssi-config which was removed in this release. We need this file for chat/irssi-icb to work. An upstream bug has been opened about this. http://bugs.irssi.org/?do=details&task_id=537&histring=icb From the CHANGELOG: Rewrite SSL connection/handshake code. Remove support for glib 1.x. Do not send our hostname to the server (bug #488). Improve completion for /SET. Various improvements to the help files. Make alt/meta+arrow keys work in recent versions of xterm (bug #496) Fix DCC get when file size is 0 (bug #494). Fix logging lines with no target to all logs, broken in 0.8.11. @ text @d1 3 a3 1 $NetBSD$ d12 1 a12 1 + while ((*sp != '\0') && (sp != NULL)) { @ 1.4 log @Update to 0.8.10a: Re-packaged source, no new features. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2002/05/25 14:17:06 blymn Exp $ d3 1 a3 1 --- src/fe-text/tparm.c.orig 2005-10-19 04:13:29.000000000 +0200 d10 1 a10 1 + while ((sp != NULL) && (*sp != '\0')) { @ 1.3 log @Added fix provided by xs@@kittenz.org to prevent irssi crashing. This fixes pr#15510. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/fe-text/tparm.c.orig Sat Feb 9 08:40:12 2002 d5 1 a5 1 @@@@ -247,7 +247,7 @@@@ @ 1.3.2.1 log @file patch-aa was added on branch buildlink2 on 2002-06-23 18:40:50 +0000 @ text @d1 13 @ 1.3.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 13 $NetBSD: patch-aa,v 1.3.2.1 2002/06/23 18:40:50 jlam Exp $ --- src/fe-text/tparm.c.orig Sat Feb 9 08:40:12 2002 +++ src/fe-text/tparm.c @@@@ -247,7 +247,7 @@@@ argcnt = 0; pos = 0; termcap = 1; - while (*sp != '\0') { + while ((sp != NULL) && (*sp != '\0')) { switch(*sp) { case '\\': if (scan_for) { @ 1.2 log @Update irssi to 0.8.1. Patch submitted by Otto Hilska in private mail. Changes: v0.8.1 2002-02-17 Timo Sirainen * Expected bugfix release :) Worst thing was that I forgot always to debug why /cat /dev/urandom crashed irssi. Well, found two ways that could make it happen. - Irssi was linked with -lcurses AND -lncurses - Logging could have produced GLib errors with certain conditions - A few compiler warnings fixes v0.8.0 2002-02-17 Timo Sirainen * I really should make releases more often. Once in every two weeks used to be nice. Maybe once in a month would be good now. There was many reasons why this release took this long .. first being addicted to books, then life stuff, then it took forever to figure out that irssi was crashing under solaris (and not because of one of the big changes I made while moving to IRC from solaris box). And now.. well, after this release I'll start working more with the yet another irssi rewrite :) The code is getting too ugly again, and some things need rewriting to support some new features more easily. It will take a while to get it all done, so I'll try to keep updating this "stable" irssi as well. There's too many changes since 0.7.98.3 (and .4 which was just minor bugfix), about 6600 lines in ChangeLog. I'm not going to read all that, so I'll just list the biggest changes that I can remember now. This version was supposed to be called 0.7.99, but since there were so many changes, and I originally though of putting 0.8.0 out long time ago, and 0.7.100 would look stupid, I guess it's time for 0.8.0 :) + /UPGRADE - upgrade irssi to new version on-the-fly without disconnecting from server, so other people won't even notice you quit from IRC. This ONLY executes the new binary, it does NOT download/compile/whatever irssi. + UTF-8 support with /SET term_type UTF-8, default is "8bit". It's also automatically detected from system locale (if supported). + Fully configurable statusbar. Yes. FULLY. Don't bother asking if something could be done with it, it can, just ask how. Well, there's a few things I didn't have time/energy to finish: window-specific statusbar groups and support for multiple input lines in screen. + Rewritten keyboard handling. No more the CTRL-X and ALT-x handling, now you can create whatever keyboard combinations your terminal can send to irssi. + Rewritten text buffer (scrollback) handling. + Irssi doesn't depend on curses anymore, so it can be installed anywhere a working terminfo/termcap exists. This also allows us to use all the possible colors terminal has (curses limits to 64), so eg. %0 is now always black background, not the default terminal background (%n). Several systems have also terminfo/termcap database that doesn't support colors, so I've added /SET term_force_colors option to force ANSI-style colors. Note that eg. BitchX does this by default. Getting rid of curses allows also one great thing for you people copy&pasting long urls :) If a long word gets split to two lines, doubleclicking the word selects it from both lines. + Rewritten server event redirections. Before it was pretty easy to mess up irssi's expectations of what server sends, and some things might have stayd in the buffer forever. Especially notify lists messed up /WHOIS requests for the notified people. Now all this should be history and it's a lot easier for scripts to use the redirections as well. + New ICB chat protocol plugin - very basic and doesn't support nicklist, but works. :) + --home and --config parameters to specify alternate ~/.irssi directory or config file. + Scripts can be unloaded separately with /SCRIPT UNLOAD. You can get a list of runnning scripts with /SCRIPT. + /SERVER PURGE [] - purge the output buffer (for given target). Useful for example if you accidentally paste 100 lines :) The buffer is automatically purged if you get kicked from channel, or if you /PART the channel and there's more than 10 lines in output buffer. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2001/09/16 16:14:09 hubertf Exp $ d3 11 a13 8 --- docs/Makefile.am.orig Sat Sep 15 22:20:22 2001 +++ docs/Makefile.am Sat Sep 15 22:20:29 2001 @@@@ -1,4 +1,4 @@@@ -docdir = $(prefix)/doc/irssi +docdir = $(prefix)/share/doc/irssi doc_DATA = \ botnet.txt \ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @irssi 0.7.98.4 package: yet another IRC client Contributed by Otto Hilska , closes PR 11956. @ text @@