Hello! An update to update Claws-Mail to version 4.3.0. I have made some adjustments to the Makefile to fix portcheck errors and have disabled jpilot support/flavor which has already been removed from the port tree.
Changelog of this new version: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Compose window: when the focus is in the message text, copied files can be pasted as attachments using /Edit/paste or Ctrl+V. (The context menu's Paste will still insert the list of files into the message body.) * '/Mark/Mark all read in folder' and 'Mark/Mark all unread in folder' have been re-added to the Message List context menu. * It is now possible to use '/Tools/Remove references' when forwarding mail. * Keyboard shortcuts: The "Choose preset keyboard shortcuts" selector has been integrated into the main preferences page. When 'Current' is the selected preset, Apply/OK will keep the existing settings. * An MBOX file can now be imported from the command line using `claws-mail --import-mbox %f` where %f is the full path to the MBOX file. * OAUTH2 support for Microsoft 365 GCC High has been added. * LiteHTML Viewer plugin: Updated to LiteHTML 0.9. * The menurc file is now backed-up on startup. * Removed support for the obsolete Avant Window Navigator. * Various code cleanups. * The manual has been updated. * New translation: Albanian. * Updated translations: Catalan, Czech, French, Hungarian, Indonesian, Polish, Romanian, Slovak, Spanish, Swedish, Turkish. * bug fixes: * bug 4668, 'Sometimes, at program start, message list takes all the vertical space' * bug 4720, 'matcher: release regex_t in matcherprop_string_match' * bug 4724, 'set proper availability status to sign/encrypt toolbar buttons' * bug 4725, 'oauth2: remove trailing zero from transmit buffer in oauth2_contact_server' * bug 4728, 'socket: handle GNUTLS_E_PREMATURE_TERMINATION in ssl_read' * bug 4730, 'oauth2: fix string handling in oauth2_contact_server' * bug 4733, 'Line breaks lost in headers' * bug 4734, 'ssl_certificate: remove unhelpful warnings from certificate check' * bug 4746, 'matcher: remove incorrect condition in matcherprop_free' * bug 4747, 'matcher: simplify matcherprop_new' * bug 4749, 'release regex_t in summary_compile_simplify_regexp' * bug 4750, 'remove regcomp wrapper and call regcomp directly' * bug 4752, 'Adjust incorrect debug_printf call in pgp plugins' * bug 4754, 'text/enriched literal less-than sign sequence handled incorrectly * bug 4757, 'remove AX_FUNC_MKDIR' * bug 4758, 'remove unused check for bind_textdomain_codeset' * bug 4759, 'remove unused function checks from AC_CHECK_FUNCS' * bug 4760, 'use correct type for move_bar_id' * bug 4762, 'oauth2: preserve an existing refresh token' * bug 4765, 'only store smtp auth if authorization method is OAUTH2' * bug 4766, 'preserve the expiry value of SMTP auth type is not OAUTH2' * bug 4768, 'Adjust logic while evaluating enable_avatars' * bug 4770, 'remove intl from list of include directories' * bug 4773, 'remove obsolescent AC_C_CONST' * bug 4780, 'use proper prototype for two archiver functions' * bug 4781, 'use correct prototype for privacy_free_signature_data' * bug 4782, 'use correct prototype for stop_archiving' * bug 4786, 'remove type confusion in getsockopt call in sock_connect_async_cb' * bug 4787, 'Use correct function for memory transfer in crypt_cfb_buf' * bug 4788, '"Change primary passphrase" disabled status handling' * bug 4790, 'widget spacing in "Changing primary passphrase" dialog' * bug 4791, 'remove obsolete glib version check' * bug 4795, 'Please remove -no-cpp-precomp flag for Apple' * bug 4796, 'URL with wide character doesn't work' * bug 4798, 'Quoting wrong when format=flowed and respect_flowed_format is set' * CIDs 1220325, 1491306 and 1491315, 'Explicit null dereferenced (FORWARD_NULL)' * CIDs 1491064, 1491074, 1491211, 1491105, 1491139, 1491164, 1491166, 1491168, 1491169, 1491178, 1491232, 1491242, 1492281 and 1591844 'Use after free (USE_AFTER_FREE)' * CID 1491137 'Out-of-bounds access (OVERRUN)' * CID 1591952 values overwritten before being used * CID 1596594 (CHECKED_RETURN) * CID 1596595 'Resource leak' * errors caused by invalid MIME viewer command-line * building on non-X11 systems * Use CFLAGS provided by nettle.pc * Fancy plugin, recognise mid and data embedded images
Index: Makefile =================================================================== RCS file: /cvs/ports/mail/claws-mail/Makefile,v diff -u -p -r1.145 Makefile --- Makefile 4 Feb 2024 14:35:21 -0000 1.145 +++ Makefile 1 Jul 2024 01:19:21 -0000 @@ -3,7 +3,7 @@ COMMENT-bogofilter= bogofilter plugin COMMENT-spamassassin= spamassassin plugin COMMENT-pdfviewer= pdfviewer plugin -V= 4.2.0 +V= 4.3.0 DISTNAME= claws-mail-${V} CATEGORIES= mail news @@ -18,7 +18,7 @@ SITES= https://www.claws-mail.org/rele COMPILER = base-clang ports-gcc base-gcc MULTI_PACKAGES= -main -bogofilter -spamassassin -pdfviewer -FLAVORS= jpilot ldap +FLAVORS= ldap FLAVOR?= FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g} @@ -31,30 +31,33 @@ RUN_DEPENDS-spamassassin=${BUILD_PKGPATH WANTLIB += ${COMPILER_LIBCXX} X11 Xau Xcomposite Xcursor Xdamage WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 -WANTLIB += atk-bridge-2.0 atspi cairo cairo-gobject dbus-1 epoll-shim -WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi -WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 -WANTLIB += graphite2 gtk-3 harfbuzz iconv intl jpeg m pango-1.0 -WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre2-8 pixman-1 png wayland-client -WANTLIB += wayland-cursor wayland-egl xcb xcb-render xcb-shm xkbcommon z +WANTLIB += atk-bridge-2.0 atspi brotlidec brotlienc cairo cairo-gobject +WANTLIB += dbus-1 epoll-shim epoxy execinfo expat ffi fontconfig freetype +WANTLIB += fribidi gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 +WANTLIB += gobject-2.0 graphite2 gtk-3 harfbuzz iconv intl jpeg m pango-1.0 +WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre2-8 pixman-1 png rsvg-2 +WANTLIB += wayland-client wayland-cursor wayland-egl xcb xcb-render xcb-shm +WANTLIB += xkbcommon z WANTLIB-bogofilter = ${WANTLIB} WANTLIB-main = ${WANTLIB} -WANTLIB-main += ICE SM X11-xcb archive aspell assuan b2 brotlidec brotlienc +WANTLIB-main += ICE SM X11-xcb archive aspell assuan b2 WANTLIB-main += bz2 c canberra canberra-gtk3 crypto curl db db_cxx WANTLIB-main += dbus-glib-1 enchant-2 etpan gmp gnutls gpg-error gpgme WANTLIB-main += gthread-2.0 gumbo hogweed ical icalss icalvcal icudata WANTLIB-main += icui18n icuuc idn2 ltdl lz4 lzma nettle nghttp2 nghttp3 WANTLIB-main += ngtcp2 ngtcp2_crypto_quictls notify ogg p11-kit perl -WANTLIB-main += rsvg-2 sasl2 ssl startup-notification-1 tasn1 unistring +WANTLIB-main += sasl2 ssl startup-notification-1 tasn1 unistring WANTLIB-main += vorbis vorbisfile xcb-util xml2 zstd WANTLIB-pdfviewer = ${WANTLIB} WANTLIB-pdfviewer += lcms2 lzma openjp2 png poppler poppler-glib tiff zstd -LIB_DEPENDS= devel/glib2 \ +LIB_DEPENDS= archivers/brotli \ + devel/glib2 \ + x11/gnome/librsvg \ x11/gtk+3 RUN_DEPENDS-main= ${RUN_DEPENDS} \ @@ -87,6 +90,7 @@ LIB_DEPENDS-pdfviewer= ${LIB_DEPENDS} \ CONFIGURE_ARGS+= --disable-acpi_notifier-plugin \ --disable-compface \ --disable-fancy-plugin \ + --disable-jpilot \ --disable-python-plugin \ --disable-tnef_parse-plugin \ --disable-bsfilter-plugin \ @@ -100,14 +104,6 @@ AUTOCONF_VERSION= 2.71 CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \ LDFLAGS="-L${X11BASE}/lib" -.if ${FLAVOR:Mjpilot} -LIB_DEPENDS-main+= comms/pilot-link -WANTLIB-main += pisock -RUN_DEPENDS-main+= comms/jpilot -.else -CONFIGURE_ARGS+= --disable-jpilot -.endif - .if ${FLAVOR:Mldap} WANTLIB-main+= lber ldap LIB_DEPENDS-main+= databases/openldap @@ -153,13 +149,17 @@ pre-build: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/48x48/apps - ${INSTALL_DATA} ${WRKSRC}/claws-mail.png ${PREFIX}/share/icons/hicolor/48x48/apps/claws-mail.png + ${INSTALL_DATA} ${WRKSRC}/claws-mail.png \ + ${PREFIX}/share/icons/hicolor/48x48/apps/claws-mail.png ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/64x64/apps - ${INSTALL_DATA} ${WRKSRC}/claws-mail-64x64.png ${PREFIX}/share/icons/hicolor/64x64/apps/claws-mail.png + ${INSTALL_DATA} ${WRKSRC}/claws-mail-64x64.png \ + ${PREFIX}/share/icons/hicolor/64x64/apps/claws-mail.png ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/128x128/apps - ${INSTALL_DATA} ${WRKSRC}/claws-mail-128x128.png ${PREFIX}/share/icons/hicolor/128x128/apps/claws-mail.png + ${INSTALL_DATA} ${WRKSRC}/claws-mail-128x128.png \ + ${PREFIX}/share/icons/hicolor/128x128/apps/claws-mail.png ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ - ${INSTALL_DATA} ${WRKSRC}/claws-mail.desktop ${PREFIX}/share/applications/claws-mail.desktop + ${INSTALL_DATA} ${WRKSRC}/claws-mail.desktop \ + ${PREFIX}/share/applications/claws-mail.desktop ${INSTALL_DATA_DIR} ${PREFIX}/share/claws-mail/tools/kdeservicemenu .for i in ${TOOLS} ${INSTALL_DATA} ${WRKSRC}/tools/${i} \ Index: distinfo =================================================================== RCS file: /cvs/ports/mail/claws-mail/distinfo,v diff -u -p -r1.45 distinfo --- distinfo 4 Feb 2024 14:35:21 -0000 1.45 +++ distinfo 1 Jul 2024 01:19:21 -0000 @@ -1,2 +1,2 @@ -SHA256 (claws-mail-4.2.0.tar.gz) = RGyJ8nwiBSd/COd2tT2dFRvgEyEdkefZ2gBryVwFHGA= -SIZE (claws-mail-4.2.0.tar.gz) = 12476550 +SHA256 (claws-mail-4.3.0.tar.gz) = JKTQJMNvmK3Q4Lk1z6A8xt8BvBs/R5p6nW31dwWwSy8= +SIZE (claws-mail-4.3.0.tar.gz) = 12773483 Index: pkg/PLIST-main =================================================================== RCS file: /cvs/ports/mail/claws-mail/pkg/PLIST-main,v diff -u -p -r1.48 PLIST-main --- pkg/PLIST-main 4 Feb 2024 14:35:21 -0000 1.48 +++ pkg/PLIST-main 1 Jul 2024 01:19:21 -0000 @@ -371,6 +371,7 @@ share/locale/pt_PT/LC_MESSAGES/claws-mai share/locale/ro/LC_MESSAGES/claws-mail.mo share/locale/ru/LC_MESSAGES/claws-mail.mo share/locale/sk/LC_MESSAGES/claws-mail.mo +share/locale/sq/LC_MESSAGES/claws-mail.mo share/locale/sv/LC_MESSAGES/claws-mail.mo share/locale/tr/LC_MESSAGES/claws-mail.mo share/locale/zh_TW/LC_MESSAGES/claws-mail.mo