Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35403

Summary: net-analyzer/nessus-core-2.08a
Product: Gentoo Linux Reporter: Spider (RETIRED) <spider>
Component: Current packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 34553    

Description Spider (RETIRED) gentoo-dev 2003-12-08 18:44:38 UTC
Broken use of gtk2 flag. 

DEPEND="=net-analyzer/libnasl-${PV}
        tcpd? ( sys-apps/tcp-wrappers )
        X? ( x11-base/xfree )
        gtk? ( =x11-libs/gtk+-1.2* )
        gtk2? ( =x11-libs/gtk+-2* )
        prelude? ( dev-libs/libprelude )"


Should be 
gtk?( 
   gtk2? ( =x11-libs/gtk+-2* )
   !gtk2? ( =x11-libs/gtk+-1.2* )
)


        if [ `use gtk` ]; then
                myconf="${myconf} --enable-gtk"
        elif [ `use gtk2` ]; then
                myconf="${myconf} --enable-gtk"
        else
                myconf="${myconf} --disable-gtk"
        fi


should simply be :
if [ `use gtk` ]; then
     myconf="${myconf} --enable-gtk"
else
    myconf="${myconf} --disable-gtk"
fi
Comment 1 Spider (RETIRED) gentoo-dev 2003-12-08 18:50:15 UTC
Yep, this is the same bug as #34570.  The stable ebuild wasn't updated, and that has caused X + gtk+2 dependencies on server installations.


( see gentoo-user )
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-08 23:51:02 UTC
I don't read gentoo-user. But I just declared 2.0.9 stable for x86 which should fix most of these problems (I hope).
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-08 23:53:50 UTC
Btw, backported the dependencies from 2.0.9 to 2.0.8a - I think that should fix this.