Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812047 - app-crypt/tpm2-tools: automagic dependency on sys-libs/efivar
Summary: app-crypt/tpm2-tools: automagic dependency on sys-libs/efivar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-09-07 20:57 UTC by John Helmert III
Modified: 2021-09-08 06:46 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 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-09-07 20:57:26 UTC
~ $ objdump -p /usr/bin/tpm2 | grep NEEDED
[...]
  NEEDED               libefivar.so.1
[...]
~ $ qfile libefivar.so.1
sys-libs/efivar: /usr/lib64/libefivar.so.1

However, sys-libs/efivar is not listed as a dependency in tpm2-tools.
Comment 1 Larry the Git Cow gentoo-dev 2021-09-08 06:46:14 UTC
The bug has been closed via the following commit(s):

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

commit bafea1d5f8c2e86f310eb3e227577156e2a2cfd8
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2021-09-08 02:53:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-08 06:46:02 +0000

    app-crypt/tpm2-tools: Fix automagic dependency on sys-libs/efivar
    
    Closes: https://bugs.gentoo.org/812047
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tpm2-tools-5.1.1-no-efivar-automagic.patch     | 34 ++++++++++
 app-crypt/tpm2-tools/tpm2-tools-5.1.1-r2.ebuild    | 72 ++++++++++++++++++++++
 2 files changed, 106 insertions(+)