From nobody Thu Jan 04 18:41:11 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T5b5M3Xb2z56xRS; Thu, 4 Jan 2024 18:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T5b5M34hHz4rMn; Thu, 4 Jan 2024 18:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704393671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OI88vWhBL6+vMDvegtWC6L33rtpDGpL/sSFphWdCZVY=; b=VHSaeyL1HCWX1gPLJzjdBk4ohGzI1MbAk37l9D8LOqiRcI/acuOf/Phm4nqXret4N+EKHO 1lSX2pcTGRw3LZh0RH0TPHvEjVBY7LPcxzbgTEHC7B44IWG32I54sKiB/nQNw9NqtrYLXG FPQK2icRWZ023Lq8yVCws7wRXEsSFVp3BOiLYJNNZ5dnnBMH0GQnezgZGRU1IQEJHpfr4+ AYZct8bS8umKNcONXWCLWOFLmHU+7uBNBJ721iQfLoVw+XyV8WI5Ad11nqAc7AuQlFCQ75 CSSFClZdzIzWyq1jHAb2PQR4Zu0O5nwZKnieNQJGARqxG1R3vAImeVSn02ri8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704393671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OI88vWhBL6+vMDvegtWC6L33rtpDGpL/sSFphWdCZVY=; b=AvR6mJr8YFi5lYkcOMKmJx28Jyi4+UkDxW8NPSpZFlDaS0uH79E6VWvU5kOn65y1ok4fhS mzm/05OkooVBGiKT5ZIe4DS9JgLq7NpWXsAtM2E0QW40x3QIfgJ2dsK3KG9sJdcjdQmBm2 yLkaR4NTm0bu3taoR6gkMZnnA9lH+MbLmWtBsqVoJX5fhHdDMar4KaKK43fnbU6yv7juCl Pv761DGUA5MRLXuTklDroOJ9aRaJcEA9RC4svnOSKu5ooFKL7go4kPjGUYUOPIcgCA4Czu pJ6Ar15pC2SIdq8xc90tQ4BO01AlN3fLq+wjtSk2Xvi8OzFcAWLTwnQzE98Yuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704393671; a=rsa-sha256; cv=none; b=lCZPQa/YO8gM52LDW2OjFOpQ1+esAAZMNZTe9zUphI7JtiItTs8TIZY1x1M/xObTnsXdb2 JgmOYj90bGvfiKIA8YhP+FLx6FrM2Ho2FEVO24KuPVjA6Ta98R1sbAtgUhdZJHZDB5Qk3v nYg+H8gV2fnjiK/kiYfl+BYna9LjsNd5WNbE9cXqUqMfkIKjRcvwhFRierXBURppU/cRAb cQ/Fs6Lk5v8d8cjAngU8CHu1ir+vJXy6NVVxPLXLXCyxgC3JKwyrQm4h8pJDGnz2uIXfLM dAItDjVNhRU3nOwJMAH5bDUb9fZ2pJdh1LgTnBcuR1DmiiOv5FC/kfJIpBO18w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T5b5M27jszQ2m; Thu, 4 Jan 2024 18:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 404IfBdf047459; Thu, 4 Jan 2024 18:41:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 404IfB86047456; Thu, 4 Jan 2024 18:41:11 GMT (envelope-from git) Date: Thu, 4 Jan 2024 18:41:11 GMT Message-Id: <202401041841.404IfB86047456@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: d32cb47a89c0 - main - www/elinks: update to 0.17.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d32cb47a89c0c9eb62fc7b81eb3abfdd7a01118e Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=d32cb47a89c0c9eb62fc7b81eb3abfdd7a01118e commit d32cb47a89c0c9eb62fc7b81eb3abfdd7a01118e Author: Dustin Marquess AuthorDate: 2024-01-04 09:13:54 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-01-04 18:40:58 +0000 www/elinks: update to 0.17.0 ChangeLog: https://raw.githubusercontent.com/rkd77/elinks/master/NEWS ELinks 0.17.0 ------------- Released on 2023-12-25 * fix for some 32-bit systems and select-only builds * fix for gettext in Windows builds ELinks 0.17.0rc2 ---------------- Released on 2023-12-10 * Avoid division by zero. Refs #276 * Fix for FSP under Windows ELinks 0.17.0rc1 ---------------- Released on 2023-12-02 * configuration files are now saved to ~/.config/elinks/ or $XDG_CONFIG_HOME/elinks/ #199 User must copy files from ~/.elinks/ to ~/.config/elinks/ himself or herself * HOME_ETC support was dropped, you can set ELINKS_CONFDIR instead * idn2 in place of idn #206 * libcss support (a few netsurf's libraries are required). Set document.css.libcss = 1 to enable * experimental libsixel support (image/*; img2sixel %s; copiousoutput) in ~/.mailcap Must be enabled in a few places in configuration: set document.plain.sixel = 1 and in terminal options. Do not try it on metered remote connections * testing libcurl support (explicit FTPS and SFTP among others) To enable set protocol.ftp.use_curl = 1 set protocol.http.use_curl = 1 for http/https * ui.sessions.postpone_unlink option. Delete temporary files at exit instead of immediately after closing viewer #257 * redefined isspace #249 * Serbian translation update * compilation fixes PR: 276090 Reported by: jailbird@fdf.net (maintainer) --- www/elinks/Makefile | 88 +++++++++++++----------- www/elinks/distinfo | 6 +- www/elinks/files/patch-meson.build | 25 ++++--- www/elinks/files/patch-src_document_renderer.cpp | 6 +- 4 files changed, 65 insertions(+), 60 deletions(-) diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 82bf889d751f..224bfb88ca96 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -1,7 +1,6 @@ PORTNAME= elinks DISTVERSIONPREFIX= v -DISTVERSION= 0.16.1.1 -PORTREVISION= 1 +DISTVERSION= 0.17.0 CATEGORIES= www MAINTAINER= jailbird@fdf.net @@ -20,9 +19,9 @@ GH_ACCOUNT= rkd77 LDFLAGS+= -lexecinfo MESON_ARGS= -Dgpm=false -Dperl=true -OPTIONS_DEFINE= 256COLORS 88COLORS TRUECOLORS BITTORRENT BROTLI EXMODE \ - FASTMEM FINGER FSP FTP GOPHER GUILE HIGHLIGHT \ - IDN LOCAL_CGI LUA LZMA MOUSE NLS NNTP NOROOT \ +OPTIONS_DEFINE= 256COLORS 88COLORS TRUECOLORS BITTORRENT BROTLI CSS \ + CURL EXMODE FASTMEM FINGER FSP FTP GOPHER GUILE \ + HIGHLIGHT IDN LOCAL_CGI LUA LZMA MOUSE NLS NNTP NOROOT \ SMB SPIDERMONKEY TRE XBELMARKS ZSTD OPTIONS_DEFAULT= 256COLORS 88COLORS BROTLI EXMODE FASTMEM FTP \ HIGHLIGHT LZMA MOUSE @@ -31,44 +30,40 @@ OPTIONS_SUB= yes 88COLORS_DESC= 88 color support 256COLORS_DESC= 256 color support TRUECOLORS_DESC= True color support -SPIDERMONKEY_DESC= ECMAScript support (via SpiderMonkey) -XBELMARKS_DESC= XBEL bookmarks (via expat) -LOCAL_CGI_DESC= Local CGI support -FSP_DESC= FSP protocol support (via fsplib) +CSS_DESC= Cascading Style Sheets support (via libcss & libdom) EXMODE_DESC= Exmode (CLI) support +FASTMEM_DESC= Fast memory allocation functions +FSP_DESC= FSP protocol support (via fsplib) HIGHLIGHT_DESC= HTML highlighting using DOM engine +LOCAL_CGI_DESC= Local CGI support NOROOT_DESC= Prevention of usage by root -FASTMEM_DESC= Fast memory allocation functions +SPIDERMONKEY_DESC= ECMAScript support (via SpiderMonkey) TRE_DESC= TRE regex search support +XBELMARKS_DESC= XBEL bookmarks (via expat) -BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli -BROTLI_MESON_TRUE= brotli - -NLS_USES= gettext -NLS_MESON_TRUE= nls - -GUILE_USES= guile:3.0 -GUILE_MESON_TRUE= guile +256COLORS_MESON_TRUE= 256-colors -LUA_USES= lua:52-53 -LUA_MESON_ON= -Dluapkg=lua-${LUA_VER} +88COLORS_MESON_TRUE= 88-colors -LZMA_MESON_TRUE= lzma +TRUECOLORS_MESON_TRUE= true-color -FASTMEM_MESON_TRUE= fastmem +BITTORRENT_MESON_TRUE= bittorrent -IDN_LIB_DEPENDS= libidn.so:dns/libidn -IDN_USES= localbase -IDN_MESON_TRUE= idn +BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli +BROTLI_MESON_TRUE= brotli -NOROOT_MESON_TRUE= no-root +CSS_LIB_DEPENDS= libcss.so:textproc/libcss \ + libdom.so:www/libdom +CSS_MESON_TRUE= libcss -HIGHLIGHT_MESON_TRUE= html-highlight +CURL_LIB_DEPENDS= libcurl.so:ftp/curl +CURL_MESON_TRUE= libcurl EXMODE_MESON_TRUE= exmode -SMB_USES= samba # smbclient -SMB_MESON_TRUE= smb +FASTMEM_MESON_TRUE= fastmem + +FINGER_MESON_TRUE= finger FSP_RUN_DEPENDS= ${LOCALBASE}/lib/libfsplib.a:net/fsplib FSP_BUILD_DEPENDS= ${LOCALBASE}/lib/libfsplib.a:net/fsplib @@ -76,26 +71,35 @@ FSP_MESON_TRUE= fsp FTP_MESON_TRUE= ftp -NNTP_MESON_TRUE= nntp - -BITTORRENT_MESON_TRUE= bittorrent - GOPHER_MESON_TRUE= gopher -MOUSE_MESON_TRUE= mouse +GUILE_USES= guile:3.0 +GUILE_MESON_TRUE= guile -FINGER_MESON_TRUE= finger +HIGHLIGHT_MESON_TRUE= html-highlight + +IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 +IDN_USES= localbase +IDN_MESON_TRUE= idn LOCAL_CGI_MESON_TRUE= cgi -XBELMARKS_LIB_DEPENDS= libexpat.so:textproc/expat2 -XBELMARKS_MESON_TRUE= xbel +LUA_USES= lua:52-53 +LUA_MESON_ON= -Dluapkg=lua-${LUA_VER} -256COLORS_MESON_TRUE= 256-colors +LZMA_MESON_TRUE= lzma -88COLORS_MESON_TRUE= 88-colors +MOUSE_MESON_TRUE= mouse -TRUECOLORS_MESON_TRUE= true-color +NLS_USES= gettext +NLS_MESON_TRUE= nls + +NNTP_MESON_TRUE= nntp + +NOROOT_MESON_TRUE= no-root + +SMB_USES= samba # smbclient +SMB_MESON_TRUE= smb SPIDERMONKEY_USES= compiler:c++17-lang sqlite SPIDERMONKEY_BUILD_DEPENDS= ${LOCALBASE}/lib/libmozjs-102.so:lang/spidermonkey102 \ @@ -112,12 +116,14 @@ SPIDERMONKEY_MESON_ON= -Dsm-scripting=true -Dspidermonkey=true TRE_LIB_DEPENDS= libtre.so:textproc/libtre TRE_MESON_TRUE= tre +XBELMARKS_LIB_DEPENDS= libexpat.so:textproc/expat2 +XBELMARKS_MESON_TRUE= xbel + ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_USES= localbase ZSTD_MESON_TRUE= zstd post-patch: - @${REINPLACE_CMD} -e 's|%%OPENSSLLIB%%|${OPENSSLLIB}|g' ${WRKSRC}/meson.build @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/doc/tools/help2xml @${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|g' ${WRKSRC}/doc/tools/asciidoc/asciidoc.py diff --git a/www/elinks/distinfo b/www/elinks/distinfo index af1733398ccd..5859cc0da016 100644 --- a/www/elinks/distinfo +++ b/www/elinks/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682930820 -SHA256 (rkd77-elinks-v0.16.1.1_GH0.tar.gz) = d07e55ede144d532212b2b5b92fb81df4360ddd2b156ccaf09cfa4aa218e1aed -SIZE (rkd77-elinks-v0.16.1.1_GH0.tar.gz) = 3940305 +TIMESTAMP = 1703503620 +SHA256 (rkd77-elinks-v0.17.0_GH0.tar.gz) = 250a55198bb3e16a49a52fde85ffc54f1e654b7615369467725a3d74bc469f22 +SIZE (rkd77-elinks-v0.17.0_GH0.tar.gz) = 4006073 diff --git a/www/elinks/files/patch-meson.build b/www/elinks/files/patch-meson.build index 8ca2f7d08468..b85b42c91d52 100644 --- a/www/elinks/files/patch-meson.build +++ b/www/elinks/files/patch-meson.build @@ -1,6 +1,6 @@ ---- meson.build.orig 2023-05-01 08:45:22 UTC +--- meson.build.orig 2023-12-25 11:25:27 UTC +++ meson.build -@@ -178,6 +178,10 @@ if compiler.has_header('fcntl.h') +@@ -211,6 +211,10 @@ endif conf_data.set('HAVE_FCNTL_H', 1) endif @@ -11,18 +11,17 @@ if compiler.has_header('libgen.h') conf_data.set('HAVE_LIBGEN_H', 1) endif -@@ -344,8 +348,8 @@ gnutlsdeps = [] - ssldeps = [] - +@@ -396,7 +400,8 @@ if conf_data.get('CONFIG_OPENSSL') if conf_data.get('CONFIG_OPENSSL') -- ssldeps = dependency('openssl', static: st) -- deps += ssldeps -+ deps += compiler.find_library('crypto', dirs: '%%OPENSSLLIB%%') -+ deps += compiler.find_library('ssl', dirs: '%%OPENSSLLIB%%') + ssldeps = dependency('openssl', static: st, required: false) + if not ssldeps.found() +- ssldeps = compiler.find_library('ssl', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib']) ++ ssldeps = compiler.find_library('crypto', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib']) ++ ssldeps += compiler.find_library('ssl', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib']) + endif + deps += ssldeps conf_data.set('USE_OPENSSL', true) - conf_data.set('CONFIG_GNUTLS', false) - elif conf_data.get('CONFIG_GNUTLS') -@@ -845,7 +849,7 @@ if compiler.has_function('iconv', prefix: '#include