Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928106 - app-crypt/eid-mw: misc QA issues
Summary: app-crypt/eid-mw: misc QA issues
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vincent Hardy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-29 07:55 UTC by Sam James
Modified: 2024-04-23 11:26 UTC (History)
2 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-29 07:55:42 UTC
1) The ebuild currently has a large number of seds.

seds are generally undesirable because they fail silently (e.g. they stop doing anything, or they stop changing everything you thought they were, or they start changing the wrong thing). Patches have the advantage of telling you when they stop applying.

Also, seds can't be upstreamed, of course. A patch can be.

Have any of these been sent upstream?

2) The eselect-pinentry dep should probalby be IDEPEND.

3) --disable-static can be dropped, as it's the default w/ EAPI 8.

4) See bug 928091.

5) pkgconfig belongs in BDEPEND, not DEPEND, as it is executed.
Comment 1 Vincent Hardy 2024-04-20 16:00:38 UTC
(In reply to Sam James from comment #0)
> 1) The ebuild currently has a large number of seds.
> 
> seds are generally undesirable because they fail silently (e.g. they stop
> doing anything, or they stop changing everything you thought they were, or
> they start changing the wrong thing). Patches have the advantage of telling
> you when they stop applying.
> 
> Also, seds can't be upstreamed, of course. A patch can be.
> 
> Have any of these been sent upstream?
I forked 'upstream' repo, applied sed and filed a pull request.

Actually, I filed several pull requests upstream. All (except one) were merged. So I was able to remove several seds. The remaining seds are more related to Portage merge and less to the overall eid-mw project.

> 2) The eselect-pinentry dep should probalby be IDEPEND.
I don't understand why you say that : I did not set eselect-pinentry dependency but app-crypt/pinentry in RDEPEND as several other packages in portage tree.
 
> 3) --disable-static can be dropped, as it's the default w/ EAPI 8.
OK done
  
> 4) See bug 928091.
Answer later at bug 928091
 
> 5) pkgconfig belongs in BDEPEND, not DEPEND, as it is executed.
Right : done

The fixes explained above are recently applied to the current live ebuild in portage tree.
Take a look at current live ebuild. Can i close this bug or should i wait the commit of new mainstream version ?
Comment 2 Vincent Hardy 2024-04-23 11:26:08 UTC
FYI : one of the pull request was reverted:
see also https://github.com/Fedict/eid-mw/pull/199