Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904322 - www-client/elinks: enable 'gemini' protocol
Summary: www-client/elinks: enable 'gemini' protocol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Felix Janda
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-04-14 10:38 UTC by Anna Vyalkova
Modified: 2024-10-26 01:16 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 Anna Vyalkova 2023-04-14 10:38:13 UTC
I'd like to have Gemini support in ELinks.

Also USE flags shouldn't be used for functionality that doesn't require any
external dependencies[0] (like 'ftp' and 'gopher').

[0]: https://devmanual.gentoo.org/general-concepts/use-flags/index.html#when-not-to-use-use-flags
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-16 06:16:00 UTC
(In reply to Anna Vyalkova from comment #0)
> I'd like to have Gemini support in ELinks.
> 
> Also USE flags shouldn't be used for functionality that doesn't require any
> external dependencies[0] (like 'ftp' and 'gopher').
> 

It's not as simple as that. That's a good reason to not use a USE flag, but it's still appropriate if a feature is experimental, might be undesirable for e.g. security reasons, or increases build time substantially.
Comment 2 Tadeáš Erban 2023-09-16 12:21:46 UTC
The Gemini protocol support is one of the core features of elinks (at least IMO), as the sort of people who would seriously use Gentoo as their OS and E-Links as their web browser are much more likely to use the Gemini protocol (I'm one of them).

Your argument about increasing build time substantially doesn't hold water, as Gemini is an incredibly lightweight protocol with the only major libraries it requires is TLS (built by default) and URL parsing.

As far as experimental and insecure features go - Gentoo is supposed to be all about choice and it probably is not as insecure as you think it if even Debian ships it. If you are too worried, you can just turn it off by default.
Comment 3 Larry the Git Cow gentoo-dev 2024-10-26 01:16:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b483874275eb0078fbfe08e5f18e4e5f14f3ede

commit 7b483874275eb0078fbfe08e5f18e4e5f14f3ede
Author:     Felix Janda <felix.janda@posteo.de>
AuthorDate: 2024-10-20 23:45:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-26 01:14:48 +0000

    www-client/elinks: add 0.17.1.1
    
    Closes: https://bugs.gentoo.org/904322
    Closes: https://bugs.gentoo.org/906895
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Closes: https://github.com/gentoo/gentoo/pull/38529
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/alpha/package.use.mask               |   4 +
 profiles/arch/hppa/package.use.mask                |   4 +
 profiles/arch/mips/package.use.mask                |   4 +
 profiles/arch/sparc/package.use.mask               |   4 +
 www-client/elinks/Manifest                         |   1 +
 www-client/elinks/elinks-0.17.1.1.ebuild           | 205 +++++++++++++++++++++
 www-client/elinks/elinks-9999.ebuild               |  21 ++-
 .../elinks/files/elinks-0.17.1.1-gettext.patch     |  73 ++++++++
 www-client/elinks/files/elinks-0.17.1.1-sftp.patch | 154 ++++++++++++++++
 www-client/elinks/metadata.xml                     |   2 +
 10 files changed, 465 insertions(+), 7 deletions(-)