pkgsrc/chat/irssi/Makefile

40 lines
958 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.56 2011/04/22 13:43:06 obache Exp $
DISTNAME= ${IRSSI_DISTNAME}
PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= http://www.irssi.org/files/
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
2009-03-21 17:28:05 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.irssi.org/
COMMENT= Secure and modular IRC client with text mode user interface
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<string> 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.
2009-07-27 14:59:44 +02:00
LICENSE= gnu-gpl-v2
2006-11-03 08:12:24 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
2005-05-23 11:06:24 +02:00
.include "Makefile.common"
GNU_CONFIGURE= yes
2004-12-11 01:26:45 +01:00
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --with-terminfo \
--with-proxy \
--without-ncurses \
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<string> 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.
2009-07-27 14:59:44 +02:00
--sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/irssi
CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
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<string> 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.
2009-07-27 14:59:44 +02:00
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
Update to 0.8.8. Fix based on pkg/23560, but not all parts were be used and others were added where needed. Main NetBSD changes: - switched from glib1 to glib2. - added IRSSI_USE_SSL, defaulting to YES, for ssl server support - make it possible to disable IPv6 v0.8.8 2003-11-23 Timo Sirainen <tss@iki.fi> - Just a few fixes to converting old settings automatically v0.8.7 2003-11-23 Timo Sirainen <tss@iki.fi> * Settings changes - we have now "time", "size" and "level" setting types. - Level settings should work the same as before. - Time settings can have units: days, hours, mins, secs, milliseconds (or msecs). The units can be combined and written in shorter form as well, for example "5d 30m 10ms" - Size settings can have units: gbytes, mbytes, kbytes, bytes. They can be written in shorter form as well, eg. "gb" or "g". Your existing settings should be converted automatically. + Pasting detection. All keys except CR and LF are pasted as-is into prompt in pasting mode. /SET paste_detect_time controls how closely each others characters must occur for it to be considered pasting. Paste mode goes on when first pasted CR/LF is found. The first line may also contain some command characters. They are executed, but their action in entry line is reverted once pasting is detected. What this means in practise is that even if you have TABs (assuming TAB is completion key) in the first pasted line, they get pasted as TABs. This detection isn't perfect, so if it annoys you it can be disabled with /SET paste_detect_time 0 + If pasting more lines than /SET paste_verify_line_count, irssi asks if you actually want to do that. This should be useful to prevent accidental copy&paste mistakes. Setting it to 0 disables this entirely. + Support for sending SSL certificate to server and optionally verify server's certificate. See the -ssl_* options for /SERVER and /SERVER ADD. Patch by Joel Eriksson. + DCC SERVER support by Mark Trumbull + Support for DCC sending larger files than 2GB if supported by operating system (ie. 64bit file support). Receiving has always been possible, but the statistics were wrong with >4GB files if 64bit support isn't enabled. + Better displaying of DCC file transfer statistics. - Several other minor fixes and enhancements, see ChangeLog
2003-12-04 11:43:10 +01:00
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<string> 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.
2009-07-27 14:59:44 +02:00
.include "options.mk"
.include "../../devel/glib2/buildlink3.mk"
post-install:
2006-11-03 08:12:24 +01:00
${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG}
2001-09-30 12:13:54 +02:00
.include "../../mk/bsd.pkg.mk"