Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35403 - net-analyzer/nessus-core-2.08a
Summary: net-analyzer/nessus-core-2.08a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 34553
  Show dependency tree
 
Reported: 2003-12-08 18:44 UTC by Spider (RETIRED)
Modified: 2003-12-08 23:53 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 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.