Skip to content
Permalink
Browse files

wireshark is the new name for ethereal (net/ethereal)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@18677 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ghosthound committed Jul 22, 2006
1 parent f9e0663 commit 22b2e420bad7e43824810fd30764d7e9d8b80752
Showing with 101 additions and 0 deletions.
  1. +101 −0 net/wireshark/Portfile
@@ -0,0 +1,101 @@
# $Id: Portfile,v 1.1 2006/07/22 04:34:17 ricci Exp $

PortSystem 1.0
name wireshark
version 0.99.2
revision 0
categories net
maintainers opendarwin.org@darkart.com
description Graphical network analyzer and capture tool
homepage http://wireshark.org/
platforms darwin

long_description A network analyzer that lets you capture and \
interactively browse Ethernet frames. \
Packet data can be read from a file, or live from a local \
network interface.

master_sites http://www.wireshark.org/download/src/

checksums md5 e8c85053225ab8f8deba07a4b19bff6b \
sha1 f3f4f78b5ddbd45f9d805d1a9b50250d323bb57f \
rmd160 3188b41839a9b1579a2e181cbfd22295ade46649

use_bzip2 yes

depends_lib port:glib2 \
port:gtk2 \
port:openssl \
port:libpcap \
port:zlib

configure.args --enable-gtk2 \
--with-net-snmp=no --with-ucd-snmp=no \
--disable-usr-local \
--without-adns \
--without-pcre \
--disable-ipv6 \
--with-pcap=${prefix} \
--with-ssl=${prefix} \
--with-zlib=${prefix} \
--mandir=\\\${prefix}/share/man \
--infodir=\\\${prefix}/share/info

configure.env LDFLAGS="-Wl,-search_paths_first"

platform darwin 6 {
build.env-append MACOSX_DEPLOYMENT_TARGET=10.2
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.2
}

platform darwin 7 {
build.env-append MACOSX_DEPLOYMENT_TARGET=10.3
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3
}

platform darwin 8 {
build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
}

platform darwin 9 {
build.env-append MACOSX_DEPLOYMENT_TARGET=10.5
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.5
}

variant adns {
configure.args-append --with-adns=${prefix}
configure.args-delete --without-adns
depends_lib-append port:adns
}

variant ipv6 {
configure.args-append --enable-ipv6
configure.args-delete --disable-ipv6
}

variant net_snmp {
configure.args-append --with-net-snmp=${prefix}/bin/net-snmp-config
configure.args-delete --with-net-snmp=no
depends_lib-append port:net-snmp
}

variant pcre {
configure.args-append --with-pcre=${prefix}
configure.args-delete --without-pcre
depends_lib-append lib:libpcre:pcre
}

variant no_ssl {
configure.args-append --without-ssl
depends_lib-delete port:openssl
}

variant no_x11 {
depends_lib-delete port:gtk2
configure.args-delete --disable-gtk2
configure.args-append --disable-wireshark
}

#
##EOF

0 comments on commit 22b2e42

Please sign in to comment.
You can’t perform that action at this time.