Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33723 - Ethereal should respect adns USE flag
Summary: Ethereal should respect adns USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 21:10 UTC by Martin Jackson (RETIRED)
Modified: 2003-12-01 02:41 UTC (History)
1 user (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 Martin Jackson (RETIRED) gentoo-dev 2003-11-17 21:10:03 UTC
Ethereal (as of 0.9.16) does not recognize the adns USE flag.  It will not try
to pull it in if not installed, but if installed it will use the adns library.

Reproducible: Always
Steps to Reproduce:
1.  unmerge adns (if merged)
2.  emerge ethereal
3.  Check help/about
4.  Notice ADNS support missing
5.  emerge adns
6.  emerge ethereal
7.  check help/about again; ADNS now enabled

Actual Results:  
Unable to use ADNS, which is very useful for large-scale sniffs


ortage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++ mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts tetex aalib svga ggi X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gtk qt motif opengl acpi acpi4linux adns
alsa bindist cdr dnd doc dvd ethereal evo fam fax freetype gb geoip gtkhtml imap
ipv6 java junit ldap maildir mbox mozilla offensive pcap pcmcia pnp postgres
radeon samba snmp tcltk threads transparent-proxy usb vim-with-x"

Note that I have removed ~x86 from ACCEPT_KEYWORDS.  It was a temporary thing
for ethereal-0.9.16
Comment 1 Martin Jackson (RETIRED) gentoo-dev 2003-11-20 20:27:01 UTC
Here is a proposed diff to ethereal-0.9.16.ebuild (note that I am brand new to ebuilds; this may or may not work:

22d21
<       adns? ( net-libs/adns-1.0 )
53d51
<       use adns || myconf="${myconf} --without-adns"
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-20 22:56:05 UTC
There is nothing like an adns USE flag. Perhaps there should be one.
Comment 3 Martin Jackson (RETIRED) gentoo-dev 2003-11-22 06:25:50 UTC
My system has an adns use flag.  I am relatively new to portage; how can I determine how it got there?
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-23 23:19:10 UTC
Asking the other way round - why do you think you have one?
Please check the $PORTDIR/profiles/use.desc file - this is the official list of USE flags, and I can't find adns there. See also http://www.gentoo.org/dyn/use-index.xml
Comment 5 Martin Jackson (RETIRED) gentoo-dev 2003-11-24 16:25:54 UTC
Aha!  From use.local.desc:

dev-libs/liboop:adns - enable adns support

So, that explains that.

Sorry for the confusion...I like the idea of having a proper adns flag though.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-24 23:34:52 UTC
Since there are two programs now which could use it, we should maybe make this global.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-01 02:41:31 UTC
Fixed this, thanks for the suggestion.