Commit graph

119 commits

Author SHA1 Message Date
nia
144167ad82 chat/weechat: Update to 2.3.
Changes:

in version 2.3:

- add hook "line"
- add option "-P" (or "--plugins") to customize the plugins to load at startup
- allow multiple options "-r" ("--run-command") in command line arguments
- allow allow partial buffer name and multiple arguments in command /buffer close
- allow specifying buffer number/name for /buffer localvar
- allow creation of temporary variables with the regex in trigger plugin
- add real IP in client description in relay plugin
- add repeat of string in evaluation of expressions with "repeat:count,string"
- many bugs fixed.

in version 2.2:

- add support of list options in curl
- allow merge of buffers by name in command /buffer
- add reverse of string in evaluation of expressions with "rev:"
- add indexed ban list and completion for /unban and /unquiet (IRC plugin)
- add support for IRCv3.2 Client Capability Negotiation
- add support for IRCv3.2 invite-notify
- add support for IRCv3.2 chghost, add options irc.look.smart_filter_chghost and irc.color.message_chghost
- add option xfer.network.send_ack
- add support of Python 3.7
- fix memory leaks scripting plugins
- many bugs fixed.
2018-12-16 00:24:07 +00:00
adam
5b12b7b592 revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
wiz
9bd737fe76 Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
adam
9d06c0a472 revbump after boost-libs update 2018-08-16 18:54:26 +00:00
maya
f741fc325e weechat: minimal patch to allow using netbsd curses.
Now uses fake ncurses.

less likely to cause problems to people who try to hide their base curses.
bump pkgrevision (again).
2018-07-23 22:57:22 +00:00
maya
2038a12e71 weechat: make curses detection logic handle netbsd curses, at the possible
expense of causing problems due to pkgsrc infrastructure not hiding a base
curses well enough.

We now search in the following order:
ncursesw, curses, ncurses.

With cmake under pkgsrc, it will search your /usr/lib, so I don't have a
way to hide a base curses if requested to do so.

if you're trying to use pkgsrc ncurses and have a base curses, this
will use your base curses.

bump pkgrevision.
2018-07-22 21:32:34 +00:00
maya
7687bcf1f2 weechat: disable php. bump PKGREVISION.
It's not listed as a dependency so it is failing in builds.
heads up by nia, thanks.
2018-07-22 19:58:05 +00:00
maya
529398d3b5 weechat: update to 2.1
Note that if the perl option is used, weechat segfaults at exit.
Not sure the wide-curses option does anything.
Remove conflicting patches that don't seem necessary.

Highlights:
Option to check license of scripts loaded
Completion for /set and /help commands
2018-05-25 10:16:03 +00:00
zafer
97fa4e26ee update MASTER_SITES and HOMEPAGE 2018-05-20 10:56:23 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
wiz
e5209a786e Add p11-kit to gnutls/bl3.mk and bump dependencies. 2018-04-17 22:29:31 +00:00
tonio
0467995d70 Update chat/weechat to 2.0.1
Version 2.0.1 (2017-12-20):
- python: fix arguments status/gnutls_rc/sock in hook_connect() callback
- python: fix argument fd in hook_fd() callback

Version 2.0 (2017-12-03):
- new plugin "fset" (fast set of WeeChat and plugins options)
- add option buflist.look.add_newline
- add two new bar items "buflist2" and "buflist3" using the same format configuration options
- add flag "input_get_empty" in buffer
- add signals "buffer_filters_enabled" and "buffer_filters_disabled"
- support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR"
- add infolist "alias_default" (list of default aliases)
- make value optional in command /buffer set
- support of floating point and hexadecimal numbers in comparison of evaluated values
- add option weechat.look.save_config_with_fsync
- add support of prefix "quiet:" in function key_unbind() to quietly remove keys
- add argument "recurse_subdirs" in function exec_on_files()
- add local variable "filter" in the script buffer
- remove recursive evaluation of extra variables in buflist
- change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripting API)
- change type of argument fd in hook_fd() callback from string to integer (in scripting API)
- fix display bugs with filtered lines
- fix display of nicks in nicklist when they are in a group with sub-groups
- call the config hook when options are renamed or removed
- fix parsing of CAP command in relay/irc
- many bugs fixed.
2018-01-20 17:20:15 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
adam
983847f667 Revbump after boost update 2018-01-01 21:18:06 +00:00
maya
8740b527a1 weechat: ...and don't expand unrelated things in CMakeLists.txt 2017-11-04 17:23:20 +00:00
maya
1e013636a8 weechat: add configure check that eat_newline_glitch can be assigned to
Fixes netbsd-7 build.
2017-11-04 17:16:58 +00:00
maya
5698d8dc7e nvm previous 2017-09-25 18:29:05 +00:00
maya
6563638add work around pkgsrc bugs. 2017-09-25 17:53:18 +00:00
maya
3b3c1b67bd weechat: delete forgotten commented distinfo entry. 2017-09-25 12:14:28 +00:00
maya
d82394c930 weechat: update to 1.9.1
Fixes CVE-2017-14727, CVE-2017-8073

version 1.9.1:
a crash can happen in logger plugin when converting date/time specifiers in file mask.
Two other bugs are fixed as well in buflist and relay plugins.

version 1.9:
- improve speed of nicklist bar item callback
- add auto scroll of buflist bar with new option buflist.look.auto_scroll
- add option buflist.format.name
- add variables ${format_name}, ${current_buffer} and ${merged} in buflist
- display a warning in buflist when the script buffers.pl is loaded
- add server/channel pointers in trigger IRC callbacks
- add API functions config_option_get_string and hdata_compare
- fix bind of Space key

version 1.8:
- add option weechat.completion.nick_case_sensitive
- add wilcard matching operator, cut of string and ternary operator in evaluation of expressions
- add resize of window parents with /window resize [h/v]size
- add plugin "buflist" (bar with list of buffers)
- add arraylist and dynamic string functions in API
- add option "open" in command /server
- add signal "irc_server_lag_changed" and store the lag in the server buffer (local variable)
- add aspell options to control delimiters in suggestions
- add option "-include" in commands /allchan, /allpv and /allserv

For a complete changelog, see:
https://weechat.org/files/changelog/ChangeLog-1.9.1.html
2017-09-25 12:09:24 +00:00
adam
62d3f1ac1b Revbump for boost update 2017-08-24 20:02:56 +00:00
ryoon
1344d8d8e3 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:22:16 +00:00
ryoon
76884737ca Recursive revbump from boost update 2017-04-30 01:21:19 +00:00
maya
ed2a1ce5f6 weechat: update to 1.7.1.
bugfix release fixing CVE-2017-8073: Buffer overflow when removing quotes
in DCC filename.
2017-04-25 19:50:21 +00:00
fhajny
2cb827effa SunOS also needs -lresolve. Fixes joyent/pkgsrc/issues/464. Fix misspelling of PKGREVISION. 2017-02-13 13:02:11 +00:00
roy
369241b3ae Add a patch from upstream to improve screen refresh times when resized. 2017-02-07 12:30:29 +00:00
jperkin
d27030b7a7 Darwin needs -lresolv. 2017-01-22 15:31:28 +00:00
ryoon
eeef42cf3c Update to 1.7
Changelog:
[[v1.7]]
== Version 1.7 (2017-01-15)

New features::

  * core: add option weechat.look.align_multiline_words (issue #411, issue #802)
  * core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands"
  * core: add optional arguments in completion template, sent to the callback
  * core: add option "time" in command /debug
  * api: add info "uptime" (WeeChat uptime)
  * api: add info "pid" (WeeChat PID) (issue #850)
  * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850)
  * irc: add server option "usermode" (issue #377, issue #820)
  * irc: add tag "self_msg" on self messages (issue #840)

Improvements::

  * core, xfer: display more information on fork errors (issue #573)
  * core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
  * core: add a warning in header of configuration files to not edit by hand (issue #851)
  * alias: add a slash before commands completed in arguments of /alias
  * exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877)
  * irc: evaluate content of server option "ssl_fingerprint" (issue #858)
  * irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818)
  * trigger: do not hide email in command "/msg nickserv register password email" (issue #849)

Bug fixes::

  * core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
  * core: fix display of empty lines in search mode (issue #829)
  * api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827)
  * exec: fix memory leak in display of process output
  * irc: fix option "-temp" in command /server (issue #880)
  * irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
  * irc: fix buffer switching on manual join for forwarded channels (issue #876)
  * irc: add missing tags on CTCP message sent
  * lua: fix integers returned in Lua >= 5.3 (issue #834)
  * relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
  * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
  * script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)

Build::

  * core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
  * core: add build of xz package with make dist (cmake)
  * tests: fix compilation of tests on FreeBSD 11.0
2017-01-22 01:32:53 +00:00
roy
c15fdf82ba Import weechat-1.6:
Due to the documenation change below, man pages are no longer supplied in pkgsrc.

New features
        core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear
        core: add option "cycle" in command /buffer
        api: add "extra" argument to evaluate extra variables in function string_eval_expression() (issue #534)
        relay: add option relay.network.allow_empty_password (issue #735)
        trigger: add support for one-time triggers (issue #399, issue #509)

Improvements
        core, irc, xfer: display more information in memory allocation errors (issue #573)
        api: remove functions printf_date() and printf_tags()
        irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them
        relay: allow escape of comma in command "init" (weechat protocol) (issue #730)

Bug fixes
        core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) (issue #771)
        api: fix return of function string_match() when there are multiple masks in the string (issue #812)
        api: fix crash in function network_connect_to() if address is NULL
        api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (issue #770)
        api: fix crash in function string_split_command() when the separator is not a semicolon (issue #731)
        irc: fix socket leak in connection to server (issue #358, issue #801)
        irc: fix display of service notice mask (message 008) (issue #429)
        irc: fix NULL pointer dereference in 734 command callback (issue #738)
        relay: return an empty hdata when the requested hdata or pointer is not found (issue #767)
        xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (issue #781)

Documentation
        switch to asciidoctor to build docs and man page

Build
        python: add detection of Python 3.5
2017-01-05 12:30:39 +00:00
roy
a3634e697a Typo 2017-01-03 20:54:22 +00:00
roy
447fe98df5 Use curses framework, may fix PR pkg/47472. 2017-01-03 20:49:23 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
adam
3b88bd43a5 Revbump post boost update 2016-10-07 18:25:29 +00:00
wiz
a82aa43c18 Recursive PKGREVISION bump for gnutls shlib major bump. 2016-09-19 13:04:18 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
jperkin
1bd1ff9958 Ensure python/ruby are found correctly. Fixes build on Darwin. 2016-05-19 10:51:40 +00:00
tonio
befd6517a5 Update chat/weechat to 1.5
Main new features:
- add support of functions in API function "hook_process"
- move of nick coloring options from irc plugin to core
- move irc bar item "away" to core
- add pointer in callbacks used in scripting API
- add option irc.network.sasl_fail_unavailable
- add Portuguese translations

Bugs fixed:
- core: fix nick coloring when stop chars and a forced color are used: first
  remove chars then look for forced color
- core: check that pointers received in arguments are not NULL in buffers and
  windows functions
- core: fix truncation of buffer names in hotlist (issue #668)
- core: fix update of window title under Tmux (issue #685)
- core: fix detection of Python shared libraries (issue #676)
- api: fix number of arguments returned by function string_split() when
  keep_eol is 2 and the string ends with separators
- irc: fix first message displayed in raw buffer when the message is modified
  by a modifier (issue #719)
- irc: add missing completion "*" for target in command /msg
- irc: fix /msg command with multiple targets including "*"
- lua: fix crash when a lua function doesn’t return a value and a string was
  expected (issue #718)
- relay: do not execute any command received in a PRIVMSG message from an irc
  relay client (issue #699)
- relay: fix the max number of clients connected on a port, allow value 0 for
  "no limit" (issue #669)
- relay: fix decoding of multiple frames in a single websocket message, send
  PONG on PING received in a websocket frame (issue #675)
- relay: fix command "input" received from clients with only spaces in content
  of message (weechat protocol) (issue #663)
- script: force refresh of scripts buffer after download of scripts list
- xfer: fix DCC file received when the terminal is resized
2016-05-07 14:16:20 +00:00
jperkin
516f351bd1 Fix option build with ruby22 and ruby21. 2016-04-14 10:42:31 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
ryoon
e62bd986a3 Update to 1.4
* Fix PR pkg/50358 partially using dynamic python library.
  However if your system has python in /usr/bin and your current
  working directory is not your home directory, your weechat
  reads its library files and dies.

Changelog:
Among the new features:

- add a parent name in options, display inherited values if null in /set output
- add option weechat.look.paste_auto_add_newline
- add /fifo command
- track real names using extended-join and WHO (IRC)
- add support of SNI (Server Name Indication) in SSL connection to IRC server
- add support of IRC "cap-notify" capability
- add IRC command /cap
- add hex dump of messages in raw buffer when debug is enabled for irc plugin
- add option relay.irc.backlog_since_last_message
- add option script.scripts.download_timeout
- add scripts to build Debian packages
- many bugs fixed.
2016-02-14 12:52:13 +00:00
tonio
c3549483c0 Update chat/weechat to 1.3
New features
- core: add completion "colors" (issue #481)
- core: start/stop search in buffer at current scroll position by default, add
  key Ctrl+q to stop search and reset scroll (issue #76, issue #393)
- core: add option weechat.look.key_grab_delay to set the default delay when
  grabbing a key with Alt+k
- core: add option weechat.look.confirm_upgrade (issue #463)
- core: allow Ctrl+c to exit WeeChat when the passphrase is asked on startup
  (issue #452)
- core: allow pointer as list name in evaluation of hdata (issue #450)
- core: add signal "signal_sighup"
- api: add support of evaluated sub-strings and current date/time in function
  string_eval_expression() and command /eval
- api: add function string_eval_path_home()
- alias: add options "add", "addcompletion" and "del" in command /alias, remove
  command /unalias (issue #458)
- irc: add option irc.network.channel_encode (issue #218, issue #482)
- irc: add option irc.color.topic_current (issue #475)
- irc: evaluate content of server option "nicks"
- logger: evaluate content of option logger.file.path (issue #388)
- relay: display value of HTTP header "X-Real-IP" for websocket connections
  (issue #440)
- script: rename option script.scripts.dir to script.scripts.path, evaluate
  content of option (issue #388)
- xfer: evaluate content of options xfer.file.download_path and
  xfer.file.upload_path (issue #388)

Bugs fixed
- core: flush stdout/stderr after sending text directly on them (fix corrupted
  data sent to hook_process() callback) (issue #442)
- core: allow execution of command "/input return" on a buffer which is not
  displayed in a window
- core: allow jump from current to previous buffer with default keys Alt+j, NN
  (issue #466)
- core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 on
  Linux/BSD) (issue #465)
- core: fix display of invalid UTF-8 chars in bars
- core: fix bar item "scroll" after /buffer clear (issue #448)
- core: fix display of time in bare display when option
  weechat.look.buffer_time_format is set to empty string (issue #441)
- api: add missing function infolist_search_var() in script API (issue #484)
- api: add missing function hook_completion_get_string() in script API (issue #484)
- api: fix type of value returned by functions strcasestr, utf8_prev_char,
  utf8_next_char, utf8_add_offset and util_get_time_string
- api: fix type of value returned by function strcasestr
- fifo: fix send error on Cygwin when something is received in the pipe (issue #436)
- irc: fix update of lag item when the server lag changes
- irc: do not allow command /query with a channel name (issue #459)
- irc: decode/encode only text in IRC messages and not the headers (bug #29886,
  issue #218, issue #451)
- irc: fix crash with commands /allchan, /allpv and /allserv if the executed
  command closes buffers (issue #445)
- irc: do not open auto-joined channels buffers when option "-nojoin" is used
  in command /connect (even if the option irc.look.buffer_open_before_autojoin
  is on)
- irc: fix errors displayed on WHOX messages received (issue #376)
- lua: add detection of Lua 5.3
- ruby: add detection of Ruby 2.2
- xfer: fix crash if the DCC file socket number is too high (> 1024 on
  Linux/BSD) (issue #465)
- xfer: fix parsing of DCC chat messages (handle "\r\n" at the end of messages)
  (issue #425, issue #426)
- doc: replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
2015-12-06 22:36:46 +00:00
dholland
66885dce0c Explicitly disable V8, in case cmake finds it somewhere.
XXX: Someone(tm) should make this an option; but note that it implies
XXX: adding USE_LANGUAGES+=c++.
2015-11-07 23:03:31 +00:00
agc
b35b0abbb4 Add SHA512 digests for distfiles for chat category
Problems found with existing distfiles:
	distfiles/icb-5.0.9.tar.gz
	distfiles/icb.2.1.4.tar.Z
	distfiles/zenicb-19981202.tar.gz
No changes made to these /distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:20:17 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
tonio
86ea237acd Update chat/weechat to 1.2
Based on the update provided by he@

Among the new features:
- add options to customize word chars (for detecting word boundaries)
- add a welcome message on first WeeChat run
- add options to customize quoted messages (in cursor mode)
- add support of environment variables in evaluated expressions
- add IRC SASL mechanism "ecdsa-nist256p-challenge"
- add support of SHA-256 and SHA-512 algorithms in IRC server option "ssl_fingerprint"
- add support of IRC capability "account-notify"
- remove "freenode" server from default config
- new script plugin for javascript
- many bugs fixed.
2015-08-01 19:10:15 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
joerg
1ab4c63fc1 Drop the legacy weechat-curses symlink, I can't figure out the phase of
the moon it is created in. Bump revision.
2015-04-30 11:36:54 +00:00
jperkin
66ab04040a Remove old SunOS hacks that are no longer needed and are now actively
harmful when enabling certain options.
2015-03-31 11:35:58 +00:00