[52547] trunk/dports/net/wireshark/Portfile

ricci at macports.org ricci at macports.org
Thu Jun 18 12:18:45 PDT 2009


Revision: 52547
          http://trac.macports.org/changeset/52547
Author:   ricci at macports.org
Date:     2009-06-18 12:18:44 -0700 (Thu, 18 Jun 2009)
Log Message:
-----------
uprev to 1.2.0
default to using c-ares for DNS resolution, variant adns switches to using adns for DNS resolution

Modified Paths:
--------------
    trunk/dports/net/wireshark/Portfile

Modified: trunk/dports/net/wireshark/Portfile
===================================================================
--- trunk/dports/net/wireshark/Portfile	2009-06-18 18:56:55 UTC (rev 52546)
+++ trunk/dports/net/wireshark/Portfile	2009-06-18 19:18:44 UTC (rev 52547)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		wireshark
-version		1.0.8
+version		1.2.0
 revision	0
 categories	net
 maintainers	darkart.com:opendarwin.org
@@ -18,13 +18,14 @@
 master_sites	http://www.wireshark.org/download/src/			\
 		http://www.wireshark.org/download/src/all-versions/
 
-checksums           md5     09d895f111ee768cc0d7c7e2c427c496 \
-                    sha1    cfd4ac05eb9c0d13236003deaeabfffc21f7c9e9 \
-                    rmd160   a702e78da673435361344ffda13c753386aee1a4
+checksums           md5     d3f799e0ae7953cd3426d9e0b6e2708d \
+                    sha1    8ec1f5ce92939757b55b47bd1d80826cc4bfc671 \
+                    rmd160   cd04cd32ffcdc9f45c96276f939b1b5740dee116
 
 use_bzip2	yes
 
-depends_lib	port:glib2 \
+depends_lib port:c-ares \
+		port:glib2 \
 		port:gtk2 \
 		port:openssl \
 		port:libpcap \
@@ -34,6 +35,7 @@
 		--with-net-snmp=no --with-ucd-snmp=no \
 		--disable-usr-local \
 		--without-adns \
+		--with-c-ares=${prefix} \
 		--without-pcre \
 		--disable-ipv6 \
 		--with-pcap=${prefix} \
@@ -49,9 +51,11 @@
 # port:libpcap is !universal_variant
 universal_variant   no
 
-variant adns {
-	configure.args-append	--with-adns=${prefix}
-	configure.args-delete	--without-adns
+variant adns description {use adns library for async. dns resolution instead of the default c-ares library} {
+	configure.args-append	--with-adns=${prefix} \
+							--without-c-ares
+	configure.args-delete	--without-adns \
+							--with-c-ares=${prefix}
 	depends_lib-append	port:adns
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090618/69df003b/attachment.html>


More information about the macports-changes mailing list