Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797427 - www-client/elinks: consider restoring javascript support
Summary: www-client/elinks: consider restoring javascript support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Felix Janda
URL: https://gitweb.gentoo.org/repo/gentoo...
Whiteboard:
Keywords:
Depends on: 888898
Blocks:
  Show dependency tree
 
Reported: 2021-06-22 03:30 UTC by period
Modified: 2022-12-31 22:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description period 2021-06-22 03:30:00 UTC
I personally used elinks with javascript support for browsing banking websites and can no longer access google docs.  I know you said you would re-add support if something was critical and I'm almost certain I'm one of the few members that still does this as I do not trust more modern browsers.  Is there any possible way from the kindness of your hearts you could continue to maintain this?

Reproducible: Always

Steps to Reproduce:
1.equery u elinks
Actual Results:  
# equery u elinks
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/elinks-0.13.5-r100:
 U I
 - - X                        : Add support for X11
 - - bittorrent               : Enable support for the BitTorrent protocol 
 - - brotli                   : Enable support for brotli compression 
 + + bzip2                    : Use the bzlib compression library
 - - debug                    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                                backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - finger                   : Enable support for the finger protocol 
 - - ftp                      : Add FTP (File Transfer Protocol) support
 - - gnutls                   : Prefer net-libs/gnutls as SSL/TLS provider (ineffective with USE=-ssl)
 - - gopher                   : Enable support for the gopher protocol 
 - - gpm                      : Add support for sys-libs/gpm (Console-based mouse driver)
 - - idn                      : Enable support for Internationalized Domain Names
 + + ipv6                     : Add support for IP version 6
 - - lua                      : Enable Lua scripting support
 + + lua_single_target_lua5-1 : Build for Lua 5.1 only
 - - lua_single_target_lua5-2 : Build for Lua 5.2 only
 + - mouse                    : Make elinks to grab all mouse events 
 + + nls                      : Add Native Language Support (using gettext - GNU locale utilities)
 - - nntp                     : Add support for newsgroups (Network News Transfer Protocol)
 - - perl                     : Add optional support/bindings for the Perl language
 - - ruby                     : Add support/bindings for the Ruby language
 - - samba                    : Add support for SAMBA (Windows File and Printer sharing)
 + + ssl                      : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
 - - tre                      : Enable support for regex searches via dev-libs/tre
 + + unicode                  : Add support for Unicode
 - - xml                      : Enable support for bookmarks via dev-libs/expat
 + + zlib                     : Add support for zlib (de)compression
 - - zstd                     : Enable support for ZSTD compression


Expected Results:  
# equery u elinks
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/elinks-0.13.5-r100:
 U I
 - - X                        : Add support for X11
 - - bittorrent               : Enable support for the BitTorrent protocol 
 - - brotli                   : Enable support for brotli compression 
 + + bzip2                    : Use the bzlib compression library
 - - debug                    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                                backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - finger                   : Enable support for the finger protocol 
 - - ftp                      : Add FTP (File Transfer Protocol) support
 - - gnutls                   : Prefer net-libs/gnutls as SSL/TLS provider (ineffective with USE=-ssl)
 - - gopher                   : Enable support for the gopher protocol 
 - - gpm                      : Add support for sys-libs/gpm (Console-based mouse driver)
 - - idn                      : Enable support for Internationalized Domain Names
 + + ipv6                     : Add support for IP version 6
 - + javascript               : Add support for javascript via dev-lang/spidermonkey
 - - lua                      : Enable Lua scripting support
 + + lua_single_target_lua5-1 : Build for Lua 5.1 only
 - - lua_single_target_lua5-2 : Build for Lua 5.2 only
 + - mouse                    : Make elinks to grab all mouse events 
 + + nls                      : Add Native Language Support (using gettext - GNU locale utilities)
 - - nntp                     : Add support for newsgroups (Network News Transfer Protocol)
 - - perl                     : Add optional support/bindings for the Perl language
 - - ruby                     : Add support/bindings for the Ruby language
 - - samba                    : Add support for SAMBA (Windows File and Printer sharing)
 + + ssl                      : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
 - - tre                      : Enable support for regex searches via dev-libs/tre
 + + unicode                  : Add support for Unicode
 - - xml                      : Enable support for bookmarks via dev-libs/expat
 + + zlib                     : Add support for zlib (de)compression
 - - zstd                     : Enable support for ZSTD compression
Comment 1 period 2021-06-24 15:48:26 UTC
This commit message said to post a bug for this if we considered it critical--- https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c4df5c9424a2e359beb10531adcf37f21a96ec
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-13 01:50:37 UTC
The problem is, right now, newer versions are reliant on vulnerable versions of Spidermonkey and the code is scary: https://github.com/rkd77/elinks/blob/master/NEWS#L61.

But there may be experimental mujs support in the repo? Not sure.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-13 01:56:24 UTC
(In reply to Sam James from comment #2)
> The problem is, right now, newer versions are reliant on vulnerable versions
> of Spidermonkey and the code is scary:
> https://github.com/rkd77/elinks/blob/master/NEWS#L61.
> 
> But there may be experimental mujs support in the repo? Not sure.

https://github.com/rkd77/elinks/issues/178 is the issue to watch.
Comment 4 Larry the Git Cow gentoo-dev 2022-12-29 21:27:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582813bc85632cd46b874ca1f9fba48e22fc73a0

commit 582813bc85632cd46b874ca1f9fba48e22fc73a0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-29 21:25:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-29 21:26:44 +0000

    www-client/elinks: add 0.16.0
    
    Note that this adds USE=javascript masked because it can't work yet (because
    of pending libxmlpp bump) but added to ensure we don't forget about it.
    
    Bug: https://bugs.gentoo.org/797427
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask         |   4 +
 www-client/elinks/Manifest             |   1 +
 www-client/elinks/elinks-0.16.0.ebuild | 163 +++++++++++++++++++++++++++++++++
 www-client/elinks/elinks-9999.ebuild   |  15 ++-
 4 files changed, 180 insertions(+), 3 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-12-31 21:09:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032ff4acf3b23136f91f857252ff14abbf724aef

commit 032ff4acf3b23136f91f857252ff14abbf724aef
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-31 21:08:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-31 21:08:57 +0000

    www-client/elinks: fix tests, add mujs support
    
    Closes: https://bugs.gentoo.org/797427
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask         | 4 ----
 www-client/elinks/elinks-0.16.0.ebuild | 8 ++++++--
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2022-12-31 22:40:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88534051b733404af8dd28783a7e7d02ede98c4d

commit 88534051b733404af8dd28783a7e7d02ede98c4d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-31 22:40:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-31 22:40:23 +0000

    www-client/elinks: add missing patches
    
    Bug: https://bugs.gentoo.org/797427
    Fixes: 032ff4acf3b23136f91f857252ff14abbf724aef
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/elinks-0.16.0-fix-build-mujs.patch       | 47 ++++++++++++++++++++++
 .../elinks/files/elinks-0.16.0-fix-tests.patch     | 19 +++++++++
 2 files changed, 66 insertions(+)