Summary: | Large file support in wireshark | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeff Mitchell <jeffrey.mitchell> |
Component: | New packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | netmon |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeff Mitchell
2007-04-27 14:44:25 UTC
Here's a diff to the ebuild that allows for 64-bit file offset support. I don't know if largefile would be the preferred USE flag, but it's an example: Also I don't know if both flags are needed or just one. --- /usr/portage/net-analyzer/wireshark/wireshark-0.99.5.ebuild 2007-04-18 08:05:53.000000000 -0400 +++ wireshark-0.99.5.ebuild 2007-04-27 10:32:09.000000000 -0400 @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="adns gtk ipv6 portaudio snmp ssl kerberos threads selinux" +IUSE="adns gtk ipv6 largefile portaudio snmp ssl kerberos threads selinux" RDEPEND="sys-libs/zlib snmp? ( net-analyzer/net-snmp ) @@ -69,6 +69,11 @@ replace-flags -O? -O fi + if use largefile; then + elog "Enabling >2GB file support" + append-flags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + fi + # see bug #133092 filter-flags -fstack-protector http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=580 http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1190 Looks like upstream is working on 64 bit offsets and getting it going. I'd like to wait until it has been tested preferably with some autoconf AC_SYS_LARGEFILE tests before enabling an option that may cause problems with for the OS. Thanks for your interest though. Its a good idea. |