Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247593 - net-analyzer/openvas-client should support USE=-X
Summary: net-analyzer/openvas-client should support USE=-X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 16:15 UTC by Frank Breedijk
Modified: 2008-11-21 02:30 UTC (History)
0 users

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 Frank Breedijk 2008-11-19 16:15:07 UTC
I have the -X useflag set system wide, but OpenVAS wants to install all kinds of X stuff



Reproducible: Always

Steps to Reproduce:
 ~ # emerge -pt openvas

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] net-analyzer/openvas-1.0.1
[ebuild  N    ]  net-analyzer/openvas-client-1.0.4
[ebuild  N    ]   x11-libs/gtk+-2.12.11  USE="jpeg tiff vim-syntax -X -cups -debug -doc -xinerama"
[ebuild  N    ]    app-vim/gtk-syntax-20060423
[ebuild  N    ]    x11-libs/libXcomposite-0.4.0  USE="-debug"
[ebuild  N    ]     x11-proto/compositeproto-0.4
[ebuild  N    ]    x11-libs/libXrandr-1.2.2  USE="-debug"
[ebuild  N    ]     x11-proto/randrproto-1.2.1
[ebuild  N    ]    x11-libs/pango-1.20.5  USE="-X -debug -doc"
[ebuild  N    ]    dev-util/gtk-doc-am-1.10-r1
[ebuild  N    ]    x11-misc/shared-mime-info-0.30
[ebuild  N    ]    x11-libs/libXdamage-1.1.1  USE="-debug"
[ebuild  N    ]    dev-libs/atk-1.22.0  USE="-debug -doc"
[ebuild  N    ]    x11-libs/libXi-1.1.3  USE="-debug"
[ebuild  N    ]    x11-libs/libXcursor-1.1.9  USE="-debug"
[ebuild  N    ]     x11-libs/libXfixes-4.0.3  USE="-debug"
[ebuild  N    ]      x11-proto/fixesproto-4.0
[ebuild  N    ]    x11-libs/cairo-1.6.4-r1  USE="-X -debug -directfb -doc -glitz -opengl -svg -test -xcb"
[ebuild  N    ]     x11-libs/pixman-0.10.0  USE="-debug"
[ebuild  N    ]  net-analyzer/openvas-plugins-1.0.4
[ebuild  N    ]   net-analyzer/openvas-server-1.0.2  USE="tcpd -debug -gtk -prelude"
[ebuild  N    ]    net-analyzer/openvas-libnasl-1.0.1
[ebuild  N    ]     net-analyzer/openvas-libraries-1.0.2
[ebuild  N    ]      net-libs/gnutls-2.4.1-r2  USE="zlib -bindist -doc -guile -lzo -nls"
[ebuild  N    ]       dev-libs/libtasn1-1.3  USE="-doc"
[ebuild  N    ]     app-crypt/gpgme-1.1.6  USE="-pth"
[nomerge      ] x11-libs/libXdamage-1.1.1  USE="-debug"
[ebuild  N    ]  x11-proto/damageproto-1.1.0
[nomerge      ] x11-libs/libXi-1.1.3  USE="-debug"
[ebuild  N    ]  x11-libs/libXext-1.0.3  USE="-debug"
~ #

Actual Results:  
x-11 stuff is emerged

Expected Results:  
x-11 stuff should not be emerged
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-20 18:54:48 UTC
I think the point of emerging net-analyzer/openvas is to install all the net-analyzer/openvas-* packages, including net-analyzer/openvas-client which would obviously pull in all those X dependencies. If you only need the server component, then you could simply emerge net-analyzer/openvas-server instead. But then this sort of confusion could be avoided by improving the package Descriptions. The first one is a meta-package - its description could clarify that:

[N] net-analyzer/openvas (~1.0.1): A remote security scanner
[N] net-analyzer/openvas-client (~1.0.4): A client for the openvas vulnerability scanner
[N] net-analyzer/openvas-libnasl (~1.0.1): A remote security scanner for Linux (openvas-libnasl)
[N] net-analyzer/openvas-libraries (~1.0.2): A remote security scanner for Linux (openvas-libraries)
[N] net-analyzer/openvas-plugins (~1.0.4): A remote security scanner for Linux (openvas-plugins)
[N] net-analyzer/openvas-server (~1.0.2): A remote security scanner for Linux (openvas-server)
Comment 2 Frank Breedijk 2008-11-20 18:59:17 UTC
I understand that, but need the client for command line intergration into my AutoNessus. 

Accoording to this post you can compilte the client without gtk support: http://lists.wald.intevation.org/pipermail/openvas-discuss/2008-November/000792.html by passing the "--disable-gtk" parameter to configure.

Like the nessus-client package, this package should also accept the -X -gtk USE flags.
Comment 3 Hanno Böck gentoo-dev 2008-11-21 02:30:16 UTC
Added gtk use flag, if you want openvas without X, emerge with USE="-gtk"