From nobody Wed Feb 16 07:05:03 2022 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 7D48419C12F3; Wed, 16 Feb 2022 07:05:03 +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 4Jz89C35xgz4S4G; Wed, 16 Feb 2022 07:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644995103; 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=VONHro1K4zDQAmQ8TkrF80NufT+36UVgFrf2noSS87Q=; b=tsdAM6Q/If8ZWlvOiStfVd6RJ85CWBA3tF9xKHUfojJN+pKtRoWHft8jp0uAho5X963w9v e4sHzq4ayKBpnVnfxsMpt4U6hVzgBy8baJXv94b2t9xtZuzv/OCKmUSz8P7IC8EU8Tmt4V 4dWGACZKJAxlPupbs+TUnCRKVnTE/5nsU7A5W2uc9FQBatdisLNu+J2Ba+hr8PhRE/e0fl 7wzTTNHee5DQLd2kyKk3YyXdzppGERBzIETY2M7fsoyooHOf1IkKQy0vqmwZwduxYHrJjz CVNLD3xHJbQ4bURM4fRM3h77vxPkrgLkSt8yQJ5FCeR5U8OahJ5lqqpaTv/SWQ== 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 469E111F6E; Wed, 16 Feb 2022 07:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21G753BH080111; Wed, 16 Feb 2022 07:05:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21G753fG080110; Wed, 16 Feb 2022 07:05:03 GMT (envelope-from git) Date: Wed, 16 Feb 2022 07:05:03 GMT Message-Id: <202202160705.21G753fG080110@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Beat Gaetzi Subject: git: 2c3725f53ba5 - main - www/elinks: Update to 0.15.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: beat X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2c3725f53ba571747a332fbab3a884b134c28280 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644995103; 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=VONHro1K4zDQAmQ8TkrF80NufT+36UVgFrf2noSS87Q=; b=N4iJ2DycqEasduPU9z4GZVwjtOoOtqKr9LtaRPTUQciYO3ulMdq1ht9VBENCx01aR5Y/ZH GIZTFs1OhaibD/PSpIORjdYMTaqO+YA1oQ63Wb0uIv9MxeDEAmvtrR1PeES+GFgeF+jrFz HqpcrInH5zCuMir04Zef2PtAtEqYmcGcSR1pcwjHl+oTSbTyonVd1rv7g8MdOz5zLndbFj MQP/1T2I0+yYWKSLo+IwVs5ca6M+wq/sDO51TFkJ1fTnPJkYNDQ/KpeBCXKi4RPQ8O/7vQ Ame4ANm29S3D90o6+flqMEmzZFXMJTVRSW7A3nZP/S4Axfr86NcI9fV9CChJUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644995103; a=rsa-sha256; cv=none; b=sutqDpafpcvhTKABFT7xpZur2TAnw1gQl1kKzbm4R/kWm3uLY89yJGXckHGXxX4ESZM9aT /eIY5cEHsTOqEFZ8HYNOQgxZryfiX2QWJr8u8T4R/rcG9W4MptzU4ZKohDRp4ABFrbnOQD ZxKRSJcaOd7BhnWADvRKa4BOsdM6c93Y4MBxB+pjWds6Ju5Ay+Li+lSJK8XiwMw8lV4xiM 9uWRnjv7NiTOOJE49B1KdAQra5ta0sz5tiBDBuQfNyiwjO9SOO9TNcjWHtSN4QgXxwLFVY JrsTuWqxVeDMth2SFOYUfvG5iFa6mvtfhusVKKz/wAOxxzW3W/KfoXZTD9/HPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by beat: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c3725f53ba571747a332fbab3a884b134c28280 commit 2c3725f53ba571747a332fbab3a884b134c28280 Author: Dustin Marquess AuthorDate: 2022-02-16 06:53:47 +0000 Commit: Beat Gaetzi CommitDate: 2022-02-16 07:04:47 +0000 www/elinks: Update to 0.15.0 Pass maintainership to submitter PR: 261189 --- www/elinks/Makefile | 12 +++++++----- www/elinks/distinfo | 5 +++-- www/elinks/files/patch-configure.ac | 11 +++++++++++ www/elinks/files/patch-src_intl_gettext_Makefile | 8 ++++---- www/elinks/files/patch-src_network_ssl_socket.c | 20 -------------------- www/elinks/files/patch-src_network_ssl_ssl.c | 21 --------------------- www/elinks/files/patch-src_osdep_unix_bsd.c | 13 +++++++++++++ www/elinks/files/patch-src_scripting_lua_Makefile | 4 ++-- www/elinks/pkg-descr | 2 +- www/elinks/pkg-plist | 2 ++ 10 files changed, 43 insertions(+), 55 deletions(-) diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 537df7ccfb7f..392077f5c50f 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -1,21 +1,23 @@ # Created by: Michael Vasilenko PORTNAME= elinks -DISTVERSION= 0.11.7 -PORTREVISION= 13 +DISTVERSIONPREFIX= v +DISTVERSION= 0.15.0 CATEGORIES= www -MASTER_SITES= http://elinks.or.cz/download/ -MAINTAINER= beat@FreeBSD.org +MAINTAINER= jailbird@fdf.net COMMENT= Links text WWW browser with enhancements LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes -USES= bison:alias cpe gmake localbase ssl tar:bzip2 +USES= autoreconf bison:alias cpe gmake localbase ssl CONFIGURE_ARGS= --without-zlib +USE_GITHUB= yes +GH_ACCOUNT= rkd77 + LIBS+= -lexecinfo OPTIONS_DEFINE= 88COLORS 256COLORS SPIDERMONKEY XBELMARKS LOCAL_CGI \ diff --git a/www/elinks/distinfo b/www/elinks/distinfo index 235dff0bc71c..554e1bfa4a6b 100644 --- a/www/elinks/distinfo +++ b/www/elinks/distinfo @@ -1,2 +1,3 @@ -SHA256 (elinks-0.11.7.tar.bz2) = 456db6f704c591b1298b0cd80105f459ff8a1fc07a0ec1156a36c4da6f898979 -SIZE (elinks-0.11.7.tar.bz2) = 2467915 +TIMESTAMP = 1644995066 +SHA256 (rkd77-elinks-v0.15.0_GH0.tar.gz) = 49e261fb7a6b061b51ca38b7152712caba90c8eaa6996bcf4c00fe2867a7f366 +SIZE (rkd77-elinks-v0.15.0_GH0.tar.gz) = 3783388 diff --git a/www/elinks/files/patch-configure.ac b/www/elinks/files/patch-configure.ac new file mode 100644 index 000000000000..e7db5138422c --- /dev/null +++ b/www/elinks/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2022-01-29 19:43:50 UTC ++++ configure.ac +@@ -1861,7 +1861,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then + ;; + 10|10.*|11|11.*) + # gettext +- CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Wno-array-bounds" ++ CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-array-bounds" + ;; + *) + # These should be ok using -Werror diff --git a/www/elinks/files/patch-src_intl_gettext_Makefile b/www/elinks/files/patch-src_intl_gettext_Makefile index b046fff67e69..9a0e5bf2ad9f 100644 --- a/www/elinks/files/patch-src_intl_gettext_Makefile +++ b/www/elinks/files/patch-src_intl_gettext_Makefile @@ -1,6 +1,6 @@ ---- src/intl/gettext/Makefile.orig Thu Feb 16 07:41:10 2006 -+++ src/intl/gettext/Makefile Thu Feb 16 07:48:45 2006 -@@ -47,14 +47,12 @@ +--- src/intl/gettext/Makefile.orig 2021-12-24 19:53:43 UTC ++++ src/intl/gettext/Makefile +@@ -49,14 +49,12 @@ install-local: $(builddir)/charset.alias all if test -f $(DESTDIR)$(libdir)/charset.alias; then \ orig=$(DESTDIR)$(libdir)/charset.alias; \ sed -f ref-add.sed $$orig > $$temp; \ @@ -15,7 +15,7 @@ rm -f $$temp; \ fi; \ fi; \ -@@ -65,7 +63,6 @@ +@@ -67,7 +65,6 @@ install-local: $(builddir)/charset.alias all temp=$(DESTDIR)$(localedir)/t-locale.alias; \ dest=$(DESTDIR)$(localedir)/locale.alias; \ sed -f ref-add.sed $$orig > $$temp; \ diff --git a/www/elinks/files/patch-src_network_ssl_socket.c b/www/elinks/files/patch-src_network_ssl_socket.c deleted file mode 100644 index fa498a3570e9..000000000000 --- a/www/elinks/files/patch-src_network_ssl_socket.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/network/ssl/socket.c.orig 2017-02-08 12:49:43 UTC -+++ src/network/ssl/socket.c -@@ -67,7 +67,7 @@ static void - ssl_set_no_tls(struct socket *socket) - { - #ifdef CONFIG_OPENSSL -- ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1; -+ SSL_set_options((ssl_t *) socket->ssl, SSL_OP_NO_TLSv1); - #elif defined(CONFIG_GNUTLS) - { - /* GnuTLS does not support SSLv2 because it is "insecure". -@@ -145,7 +145,7 @@ - } - - if (client_cert) { -- SSL_CTX *ctx = ((SSL *) socket->ssl)->ctx; -+ SSL_CTX *ctx = SSL_get_SSL_CTX(socket->ssl); - - SSL_CTX_use_certificate_chain_file(ctx, client_cert); - SSL_CTX_use_PrivateKey_file(ctx, client_cert, diff --git a/www/elinks/files/patch-src_network_ssl_ssl.c b/www/elinks/files/patch-src_network_ssl_ssl.c deleted file mode 100644 index 996c7f867188..000000000000 --- a/www/elinks/files/patch-src_network_ssl_ssl.c +++ /dev/null @@ -1,21 +0,0 @@ ---- src/network/ssl/ssl.c.orig 2019-01-09 23:04:06 UTC -+++ src/network/ssl/ssl.c -@@ -49,11 +49,17 @@ init_openssl(struct module *module) - * cannot initialize the PRNG and so every attempt to use SSL fails. - * It's actually an OpenSSL FAQ, and according to them, it's up to the - * application coders to seed the RNG. -- William Yodlowsky */ -- if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) { -+ RAND_file_name(f_randfile, sizeof(f_randfile)); -+#ifndef OPENSSL_NO_EGD -+ if (RAND_egd(f_randfile) < 0) -+ { - /* Not an EGD, so read and write to it */ -+#endif - if (RAND_load_file(f_randfile, -1)) - RAND_write_file(f_randfile); -+#ifndef OPENSSL_NO_EGD - } -+#endif - - SSLeay_add_ssl_algorithms(); - context = SSL_CTX_new(SSLv23_client_method()); diff --git a/www/elinks/files/patch-src_osdep_unix_bsd.c b/www/elinks/files/patch-src_osdep_unix_bsd.c new file mode 100644 index 000000000000..47cddb678650 --- /dev/null +++ b/www/elinks/files/patch-src_osdep_unix_bsd.c @@ -0,0 +1,13 @@ +--- src/osdep/unix/bsd.c.orig 2022-01-29 20:03:00 UTC ++++ src/osdep/unix/bsd.c +@@ -15,6 +15,10 @@ + #endif /* HAVE_SYS_CONSIO_H */ + #endif /* CONFIG_SYSMOUSE */ + ++#if defined(__FreeBSD__) ++#include ++#endif ++ + #include "elinks.h" + + #include "main/select.h" diff --git a/www/elinks/files/patch-src_scripting_lua_Makefile b/www/elinks/files/patch-src_scripting_lua_Makefile index 5c71bc947eea..15aa60af708c 100644 --- a/www/elinks/files/patch-src_scripting_lua_Makefile +++ b/www/elinks/files/patch-src_scripting_lua_Makefile @@ -1,5 +1,5 @@ ---- src/scripting/lua/Makefile.orig 2007-07-30 16:17:41.000000000 +0200 -+++ src/scripting/lua/Makefile 2007-07-30 16:17:53.000000000 +0200 +--- src/scripting/lua/Makefile.orig 2021-12-24 19:53:43 UTC ++++ src/scripting/lua/Makefile @@ -1,7 +1,7 @@ top_builddir=../../.. include $(top_builddir)/Makefile.config diff --git a/www/elinks/pkg-descr b/www/elinks/pkg-descr index 1b1d64f57e76..e4ef12185b40 100644 --- a/www/elinks/pkg-descr +++ b/www/elinks/pkg-descr @@ -18,4 +18,4 @@ So far elinks adds the following to links: Spidermonkey-based ECMAScript support Syntax highlighting for HTML, RSS, and XBEL -WWW: http://elinks.or.cz/ +WWW: https://github.com/rkd77/elinks/ diff --git a/www/elinks/pkg-plist b/www/elinks/pkg-plist index bbad4cb4102c..69fef28e1d92 100644 --- a/www/elinks/pkg-plist +++ b/www/elinks/pkg-plist @@ -2,6 +2,7 @@ bin/elinks man/man1/elinks.1.gz man/man5/elinkskeys.5.gz man/man5/elinks.conf.5.gz +%%NLS%%share/locale/af/LC_MESSAGES/elinks.mo %%NLS%%share/locale/be/LC_MESSAGES/elinks.mo %%NLS%%share/locale/bg/LC_MESSAGES/elinks.mo %%NLS%%share/locale/ca/LC_MESSAGES/elinks.mo @@ -19,6 +20,7 @@ man/man5/elinks.conf.5.gz %%NLS%%share/locale/id/LC_MESSAGES/elinks.mo %%NLS%%share/locale/is/LC_MESSAGES/elinks.mo %%NLS%%share/locale/it/LC_MESSAGES/elinks.mo +%%NLS%%share/locale/ja/LC_MESSAGES/elinks.mo %%NLS%%share/locale/lt/LC_MESSAGES/elinks.mo %%NLS%%share/locale/nb/LC_MESSAGES/elinks.mo %%NLS%%share/locale/nl/LC_MESSAGES/elinks.mo