Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733894 - net-analyzer/openvas-scanner-7.0.1 should depend on net-analyzer/net-snmp:=
Summary: net-analyzer/openvas-scanner-7.0.1 should depend on net-analyzer/net-snmp:=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: jonas.licht
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-25 15:46 UTC by Daniel M. Weeks
Modified: 2021-03-22 13:36 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 Daniel M. Weeks 2020-07-25 15:46:52 UTC
>>> package: net-analyzer/net-snmp-5.8.1_rc1
 *  - /usr/lib64/libnetsnmp.so.35
 *  - /usr/lib64/libnetsnmp.so.35.0.1
 *      used by /usr/lib64/libopenvas_nasl.so.11.0.1~git (net-analyzer/openvas-scanner-7.0.1)
 *      used by /usr/lib64/libopenvas_nasl.so.11.0.1~git (net-analyzer/openvas-scanner-7.0.1)

Reproducible: Always
Comment 1 jonas.licht 2020-07-30 12:21:58 UTC
net-snmp is not a required dependency.
I could add a useflag, which simply inherit the dependency.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-06 21:35:07 UTC
(In reply to jonas.licht from comment #1)
> net-snmp is not a required dependency.
> I could add a useflag, which simply inherit the dependency.

If it links against the library, it needs to be a dependency (optional or not, up to you, depending on upstream constraints).
Comment 3 Larry the Git Cow gentoo-dev 2021-03-22 13:36:36 UTC
The bug has been closed via the following commit(s):

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

commit b3055e30a568592223aef4ec728eda6da806eafe
Author:     Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
AuthorDate: 2021-03-21 19:47:16 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-03-22 13:33:47 +0000

    net-analyzer/openvas-scanner: add patch to disable cmake automagic dep
    
    Closes: https://bugs.gentoo.org/733894
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...envas-scanner-7.0.1-disable-automagic-dep.patch | 33 ++++++++++++++++++++++
 net-analyzer/openvas-scanner/metadata.xml          |  1 +
 .../openvas-scanner/openvas-scanner-7.0.1.ebuild   | 11 ++++++--
 3 files changed, 42 insertions(+), 3 deletions(-)