Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435542 - net-analyzer/wireshark-1.8.2-r2 has net-dns/c-ares automagic
Summary: net-analyzer/wireshark-1.8.2-r2 has net-dns/c-ares automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: CVE-2012-3548
  Show dependency tree
 
Reported: 2012-09-19 19:24 UTC by Nikoli
Modified: 2012-09-22 02:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for net-analyzer/wireshark-1.8.2-r2 ebuild (1.patch,1.16 KB, patch)
2012-09-20 07:56 UTC, Sergey Popov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-09-19 19:24:05 UTC
Revdep-rebuild finds problem after updating to wireshark-1.8.2-r2 and running depclean:
 * Checking dynamic linking consistency
[ 78% ]  *   broken /usr/lib64/libwireshark.la (requires -lcares)
 *   broken /usr/lib64/libwireshark.so.2.0.2 (requires libcares.so.2)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/libwireshark.la -> net-analyzer/wireshark
 *   /usr/lib64/libwireshark.so.2.0.2 -> net-analyzer/wireshark
 * Generated new 4_raw.rr and 4_owners.rr

USE flags:
[binary     U  ] net-analyzer/wireshark-1.8.2-r2 [1.8.2] USE="caps gcrypt geoip gtk ipv6 lua pcap ssl zlib -adns -doc -doc-pdf -kerberos -libadns% -portaudio -profile -python (-selinux) -smi (-ares%*)" 15,941 kB
Comment 1 Sergey Popov gentoo-dev 2012-09-20 07:14:44 UTC
Hm, i have in build output
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-setuid-install --enable-setcap-install --disable-wireshark --enable-ipv6 --disable-profile-build --with-libcap --without-gcrypt --without-geoip --without-krb5 --without-lua --with-dumpcap-group=wireshark --with-pcap --without-portaudio --without-python --without-libsmi --with-gnutls --with-zlib --disable-extra-gcc-checks --disable-usr-local --sysconfdir=/etc/wireshark

It seems that all variables, set by myconf in ebuild are just ignored! That's a bunch of automagic, i think... :-/
Comment 2 Sergey Popov gentoo-dev 2012-09-20 07:56:45 UTC
Nope, i was wrong. It does not add anything only when both libadns and adns USE flags are disabled, which leads to automagic behaviour
Comment 3 Sergey Popov gentoo-dev 2012-09-20 07:56:50 UTC
Created attachment 324364 [details, diff]
Patch for net-analyzer/wireshark-1.8.2-r2 ebuild

Suggest patch that fixes this issue(i hope). Please test it before inclusion in portage tree
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-20 15:52:27 UTC
(In reply to comment #3)
> Created attachment 324364 [details, diff] [details, diff]
> Patch for net-analyzer/wireshark-1.8.2-r2 ebuild
> 
> Suggest patch that fixes this issue(i hope). Please test it before inclusion
> in portage tree

Looks good.
Comment 5 Sergey Popov gentoo-dev 2012-09-22 02:41:17 UTC
Fix committed with revision bump as wireshark-1.8.2-r3