pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/weechat
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Dec 31 15:57:36 UTC 2024
Modified Files:
pkgsrc/chat/weechat: Makefile distinfo options.mk
Added Files:
pkgsrc/chat/weechat/patches: patch-src_core_hook_hook-url.h
Log Message:
chat/weechat: Update to 4.5.1
* Not compatible with lang/python313. With it, weechat command gets
segfault on exit.
* Convert to devel/cmake/build.mk.
Changelog:
4.5.1:
Fixed
relay: fix crash after /upgrade when relay clients are connected
api: fix creation of empty buffer in function infolist_new_var_buffer
core: fix detection of dl library (#2218)
logger: fix path displayed when the logs directory can not be created
perl: fix build with Perl < 5.7.29 (#2219, #2220)
4.5.0:
Changed
api: return the buffer input callback return code in functions command and command_options
api: add special value - (hyphen-minus) in options of function command_options to prevent execution of commands
api: add property hotlist_conditions in function buffer_set
api: add support of flags in functions hook_signal_send and hook_hsignal_send
relay/api: allow array with multiple requests in websocket frame received from client
relay/api: support passing authentication in sub protocol header (#2205)
relay/api: combine request headers with the same name (#2206)
core, plugins: simplify help on parameters that can be repeated in commands
core: add optional hook types in command /debug hooks
php: add detection of PHP 8.3 and 8.4
ruby: fix detection of Ruby on macOS 14, require CMake ≥ 3.18 (#1156)
build: require Curl ≥ 7.47.0 (#2195)
build: require GnuTLS ≥ 3.3.0 (#2193)
Added
relay: display connection status in input prompt of remote buffers, if not connected or if fetching data from remote
irc: add option irc.look.notice_nicks_disable_notify
irc: add infos "irc_ptr_server", "irc_ptr_channel" and "irc_ptr_nick"
Fixed
core, plugins: fix integer overflow in loops (#2178, CVE-2024-46613)
irc: decode IRC colors only when displaying messages in buffer, store nick info with IRC colors (host, account, real name)
irc: do not strip trailing spaces from incoming IRC messages
irc: fix crash on /list buffer when a filter is set (#2197)
script: fix crash on /script buffer when a filter is set (#2214, #2215)
exec: fix unexpected execution of command with /exec -o when the command starts with two command chars (#2199)
relay/api: fix empty nicklist in remote buffers after connection or reconnection
relay/api: reply HTTP 400 (Bad Request) when the body received is not a dict in websocket data
core: fix too many sorts of hotlist when buffers are moved (#2097)
core: always send the signal "buffer_switch", even when the buffer is opening (#2198)
core, plugins: abort upgrade immediately if any upgrade file fails to be written
core: reload all plugins with command /plugin reload *
relay, xfer: fix letters with actions displayed on top of buffer
perl: fix crash when unloading Perl scripts with Perl 5.38 (#2209, #2213)
lua: fix compilation on Fedora with Lua < 5.2.0 (#2173, #2174)
core: fix build on Darwin (#2216)
core: fix build on Android (#2180)
To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.84 -r1.85 pkgsrc/chat/weechat/distinfo
cvs rdiff -u -r1.31 -r1.32 pkgsrc/chat/weechat/options.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/chat/weechat/patches/patch-src_core_hook_hook-url.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/weechat/Makefile
diff -u pkgsrc/chat/weechat/Makefile:1.154 pkgsrc/chat/weechat/Makefile:1.155
--- pkgsrc/chat/weechat/Makefile:1.154 Thu Dec 12 15:45:47 2024
+++ pkgsrc/chat/weechat/Makefile Tue Dec 31 15:57:35 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.154 2024/12/12 15:45:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.155 2024/12/31 15:57:35 ryoon Exp $
-DISTNAME= weechat-4.4.4
+DISTNAME= weechat-4.5.1
CATEGORIES= chat
MASTER_SITES= https://www.weechat.org/files/src/
EXTRACT_SUFX= .tar.xz
@@ -14,12 +14,11 @@ LICENSE= gnu-gpl-v3
TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor-[0-9]*:../../textproc/ruby-asciidoctor
-PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_TOOLS+= msgfmt pkg-config
USE_LANGUAGES= c99
-USE_CMAKE= yes
FAKE_NCURSES= yes
+#CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
CMAKE_CONFIGURE_ARGS+= -DASCIIDOCTOR_FOUND=ON
CMAKE_CONFIGURE_ARGS+= -DASCIIDOCTOR_EXECUTABLE=${PREFIX}/bin/asciidoctor${RUBY_VER}
CMAKE_CONFIGURE_ARGS+= -DENABLE_GUILE=OFF
@@ -64,5 +63,6 @@ pre-configure:
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../textproc/cJSON/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/chat/weechat/distinfo
diff -u pkgsrc/chat/weechat/distinfo:1.84 pkgsrc/chat/weechat/distinfo:1.85
--- pkgsrc/chat/weechat/distinfo:1.84 Mon Dec 16 10:55:22 2024
+++ pkgsrc/chat/weechat/distinfo Tue Dec 31 15:57:35 2024
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.84 2024/12/16 10:55:22 jperkin Exp $
+$NetBSD: distinfo,v 1.85 2024/12/31 15:57:35 ryoon Exp $
-BLAKE2s (weechat-4.4.4.tar.xz) = 651e2b338db53ba45ec4efcecc5513888bbf3fa73035fb4b95c51780dcd7901f
-SHA512 (weechat-4.4.4.tar.xz) = 519c0ce68081a256f78e5a04ee7518393719c8b0cd6edcbeac58ef952d08bebf5b0b2173b0bf103afe09f5e0eb27e2790d0ab3a6475ad346d0056f97069176d4
-Size (weechat-4.4.4.tar.xz) = 2730520 bytes
+BLAKE2s (weechat-4.5.1.tar.xz) = 2c30441f1054c85724ee82d931f2d39864a432dcbc77e1bacb1d894c1ea1e125
+SHA512 (weechat-4.5.1.tar.xz) = 77ae39a092e87ae95df09b8b7fe7da519e994f1b38f8042567f8eb1cbf26354bab74271c9c74b97582453f254091dee8ef7ca4d333b958efb6456bc788a6653a
+Size (weechat-4.5.1.tar.xz) = 2745788 bytes
SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4
SHA1 (patch-po_CMakeLists.txt) = b5a186dc5e135ef2e1ec5f01f75152fc769867be
+SHA1 (patch-src_core_hook_hook-url.h) = 92af21dda8324ff7ed0fcfa63d5fef93789dcc1c
SHA1 (patch-src_plugins_lua_CMakeLists.txt) = 08a1b7dfca5dbbdf45a10b466eeac42671fe9edc
SHA1 (patch-src_plugins_perl_weechat-perl.c) = 49e61419ea82157fa54a7847a653625944d3b341
SHA1 (patch-src_plugins_relay_api_relay-api-msg.c) = 8d5670c6e0ddb1d70e29f23015f0f1422fb63f65
Index: pkgsrc/chat/weechat/options.mk
diff -u pkgsrc/chat/weechat/options.mk:1.31 pkgsrc/chat/weechat/options.mk:1.32
--- pkgsrc/chat/weechat/options.mk:1.31 Thu Dec 12 15:45:47 2024
+++ pkgsrc/chat/weechat/options.mk Tue Dec 31 15:57:36 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.31 2024/12/12 15:45:47 ryoon Exp $
+# $NetBSD: options.mk,v 1.32 2024/12/31 15:57:36 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.weechat
# mk/curses will handle wide-curses
@@ -11,7 +11,7 @@ PKG_SUGGESTED_OPTIONS= python lua wide-c
PLIST_VARS+= lua python perl ruby
.if !empty(PKG_OPTIONS:Mpython)
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+PYTHON_VERSIONS_INCOMPATIBLE= 27 313
.include "../../lang/python/extension.mk"
CMAKE_CONFIGURE_ARGS+= -DENABLE_PYTHON=ON
PLIST.python= yes
Added files:
Index: pkgsrc/chat/weechat/patches/patch-src_core_hook_hook-url.h
diff -u /dev/null pkgsrc/chat/weechat/patches/patch-src_core_hook_hook-url.h:1.1
--- /dev/null Tue Dec 31 15:57:36 2024
+++ pkgsrc/chat/weechat/patches/patch-src_core_hook_hook-url.h Tue Dec 31 15:57:36 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_core_hook_hook-url.h,v 1.1 2024/12/31 15:57:36 ryoon Exp $
+
+* For pthread_t.
+
+--- src/core/hook/hook-url.h.orig 2024-12-31 14:30:06.517512750 +0000
++++ src/core/hook/hook-url.h
+@@ -20,6 +20,8 @@
+ #ifndef WEECHAT_HOOK_URL_H
+ #define WEECHAT_HOOK_URL_H
+
++#include <pthread.h>
++
+ struct t_weechat_plugin;
+ struct t_infolist_item;
+ struct t_hashtable;
Home |
Main Index |
Thread Index |
Old Index