[MacPorts] #29968: RFE: wireshark-devel: variants ipv6 gtk3 python
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- hsivank, I have a couple of enhancements requests regarding the recent wireshark- devel update to version 1.6.0: * ipv6 should be on by default IPv6 networks are more common nowadays; and its numbers are expected to increase due to the recent exhaustion of the IPv4 address space * libgcrypt should also be on by default Needed by the ipsec support; also needed by capinfos to calculate the pcap files hashes (MD5, SHA1, ...) * missing variant: python python scripting support (similar to the lua support) * missing variant: gtk3 gtk2 alternative Thanks in advance, jpo PS - Thanks for the 1.6.0 update -- Ticket URL: <https://trac.macports.org/ticket/29968> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Replying to [comment:1 macsforever2000@…]:
FYI, for python support, rather than having a single "python" variant, you should create a variant for each version of python that you want to support, e.g. python26, python27, etc.
I forgot to mention that wireshark still does not support python 3.x. -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): Attached a patch to add by default ip6 and libgcrypt variants -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): I use +no_x11 +quartz to build pango and gtk. It seems that gtk3 is not ready on osx : #29063[[BR]] Anyway, need to rebuild my ports ... -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): Attached a patch to add python26 and python27 variants -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): Jpo, wireshark 1.6.0 is not ready to build with gtk3 ( portage is not finished yet [http://wiki.wireshark.org/GoingGTK3] ) This is the variant i use to test {{{ variant gtk3 conflicts no_gui { depends_lib-delete port:gtk2 depends_lib-append port:gtk3 configure.args-append --with-gtk3 } }}} -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Replying to [comment:3 hsivank@…]:
Attached a patch to add by default ip6 and libgcrypt variants
+1 -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Replying to [comment:5 hsivank@…]:
Attached a patch to add python26 and python27 variants
A build with "sudo port install wireshark-devel +libsmi +lua +python27" finishes and installs correctly but I get spurious output even when running "tshark -v": {{{ $ tshark -v dlopen(libwireshark.dylib, 6): image not found [Errno 2] No such file or directory: '/opt/local/lib/wireshark/python/2.7/wspy_dissectors' TShark 1.6.0 (SVN Rev Unknown from unknown) Copyright 1998-2011 Gerald Combs <gerald@wireshark.org> and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled (64-bit) with GLib 2.28.8, with libpcap 1.1.1, with libz 1.2.5, without POSIX capabilities, without libpcre, with SMI 0.4.8, with c-ares 1.7.4, with Lua 5.1, with Python, without GnuTLS, with Gcrypt 1.4.6, with MIT Kerberos, without GeoIP. Running on Mac OS 10.6.8 (Darwin 10.8.0), with libpcap version 1.1.1, with libz 1.2.5. Built using gcc 4.2.1 (Apple Inc. build 5666) (dot 3). }}} Looking into it [1] ... jpo [1] - http://wiki.wireshark.org/Python -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Replying to [comment:8 jpo@…]:
[Errno 2] No such file or directory: '/opt/local/lib/wireshark/python/2.7/wspy_dissectors'
The subdirectory wspy_dissectors wasn't automatically created. The above error message disappeared when I manually created it: {{{ cd /opt/local/lib/wireshark/python/2.7 sudo mkdir wspy_dissectors }}} -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): Uploaded a new patch to fix wspy_dissectors directory bug.[[BR]] It remains a problem with :[[BR]] {{{ $ tshark -v dlopen(libwireshark.dylib, 6): image not found }}} -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): add support for python25 + small fix -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): fix dlopen bug + factorization. -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): fix python include / library detection -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): The wspy_dissectors subdirectory creation should have been solved upstream and hopefully in time for the 1.6.1 and 1.4.8 Wireshark releases. Links: * https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6110 (Wireshark trunk commits 38070 and 38071) * http://wiki.wireshark.org/Development/Roadmap -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Another missing variant: * geoip (requires port libgeoip) -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): hsivank, The just released wireshark 1.6.1 no longer prints a warning if the wspy_dissectors directory doesn't exists. With the following post-destroot block commented {{{ if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { ... } }}} only four files are installed in /opt/local/lib/wireshark/python/1.6.1/ (no wspy_dissectors subdirectory) {{{ $ ls /opt/local/lib/wireshark/python/1.6.1/ homeplug.py.sample register-dissector.py wspy_dissector.py wspy_libws.py }}} and 'tshark -v' produces the following output {{{ $ tshark -v dlopen(libwireshark.dylib, 6): image not found TShark 1.6.1 (SVN Rev Unknown from unknown) Copyright 1998-2011 Gerald Combs <gerald@wireshark.org> and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled (64-bit) with GLib 2.28.8, with libpcap 1.1.1, with libz 1.2.5, without POSIX capabilities, without libpcre, with SMI 0.4.8, with c-ares 1.7.4, with Lua 5.1, with Python, without GnuTLS, with Gcrypt 1.5.0, with MIT Kerberos, without GeoIP. Running on Mac OS 10.6.8 (Darwin 10.8.0), with libpcap version 1.1.1, with libz 1.2.5. Built using gcc 4.2.1 (Apple Inc. build 5666) (dot 3). }}} -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): The upstream fix regarding the wspy_dissectors subdirectory is still incomplete as they only avoid printing the warning if it doesn't exists (they still don't create it during the installation process, the user will have to do it manually). Upstream fix: * http://anonsvn.wireshark.org/viewvc/trunk/epan/wspython/register- dissector.py?r1=38070&r2=38069&pathrev=38070 -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): Replying to [comment:16 jpo@…]:
With the following post-destroot block commented
{{{ if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { ... } }}}
and 'tshark -v' produces the following output
{{{ $ tshark -v dlopen(libwireshark.dylib, 6): image not found }}}
This commented lines contain a fix for "dlopen(libwireshark.dylib, 6): image not found" : Python interpreter is not correct {{{ reinplace "s|libwireshark.dylib|${prefix}/lib/libwireshark.dylib|g" ${worksrcpath}/epan/wspython/wspy_libws.py }}} -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by hsivank@…): wspy_dissectors just contains a sample example (homeplug.py.sample). it could be placed into the same directory of wspy_libws.py without problems ... uploaded a new patch for wireshark 1.6.1 ( wspy_dissectors folder is not created ) + created a new ticket for wireshark 1.6.1 http://trac.macports.org/ticket/30230 -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python ------------------------------+--------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: wireshark-devel ------------------------------+--------------------------------------------- Comment(by jpo@…): Hi, This ticket can be closed (the pending requests were moved to ticket #32265). /jpo -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29968: RFE: wireshark-devel: variants ipv6 gtk3 python -------------------------------+-------------------------------------------- Reporter: jpo@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: wireshark-devel | -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: Closing per last comment. -- Ticket URL: <https://trac.macports.org/ticket/29968#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts