Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452832 - =net-libs/libpcap-1.3.0 has problems on systems without ipv6 support
Summary: =net-libs/libpcap-1.3.0 has problems on systems without ipv6 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-18 12:32 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-01-18 15:10 UTC (History)
1 user (show)

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


Attachments
libpcap-1.3.0-fix-systems-without-ipv6-support.patch (libpcap-1.3.0-fix-systems-without-ipv6-support.patch,12.87 KB, patch)
2013-01-18 12:32 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-01-18 12:32:23 UTC
Created attachment 336048 [details, diff]
libpcap-1.3.0-fix-systems-without-ipv6-support.patch

When ipv6 was disabled in libpcap other applications fail to work properly. You can see two examples of this in net-analyzer/iftop (bug #421003) and net-analyzer/nmap (bug #451162). In URL this problem was reported upstream and attached you find their patch which already went into their VCS.

Please attach this patch to a revbumped libpcap-1.3.0 and then remove the ipv6 dependency from libpcap in net-analyzer/iftop and net-analyzer/nmap.

If you want I can do the changes in case you grant me the permission to do so.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-01-18 14:17:23 UTC
If you are confident that this fixes the issue then by all means, please go ahead, fix whatever you like.  This issue has been around longer than I'd like already.  If you have tested the fix works then you have my permission to do what is needed.  If you have any issues/questions feel free to ping me here or directly.

Thanks
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-01-18 14:58:54 UTC
15:39:01 <@Poly-C_atwork> Zero_Chaos: wrt bug #452832: I can confirm this patch fixes the two mentioned problems (with iftop and nmap). So I gonna add the patch with a revbump and change the dependencies in iftop and nmap accordingly.


+*libpcap-1.3.0-r1 (18 Jan 2013)
+
+  18 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> -libpcap-1.3.0.ebuild,
+  +libpcap-1.3.0-r1.ebuild,
+  +files/libpcap-1.3.0-fix-systems-without-ipv6-support.patch:
+  non-maintainer commit: Added a patch to fix libpcap on systems without ipv6
+  support with kind permission from zerochaos (bug #452832). Revbumped and
+  added straight to stable.
+

+  18 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> iftop-1.0_pre2.ebuild:
+  non-maintaienr commit: Removed ipv6 dependency now that a proper fix went
+  into libpcap (bug #452832).
+

+  18 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> nmap-6.01.ebuild,
+  nmap-6.25.ebuild:
+  non-maintaienr commit: Removed ipv6 dependency now that a proper fix went
+  into libpcap (bug #452832).
+
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-18 15:10:18 UTC
(In reply to comment #2)
> 15:39:01 <@Poly-C_atwork> Zero_Chaos: wrt bug #452832: I can confirm this
> patch fixes the two mentioned problems (with iftop and nmap). So I gonna add
> the patch with a revbump and change the dependencies in iftop and nmap
> accordingly.

Thanks!