Skip to content
Permalink
Browse files

net/wireshark3: bump to 3.0.1. Add python3* as build_depends through …

…variants, default to python37.
  • Loading branch information
ghosthound committed Apr 12, 2019
1 parent 36e2637 commit c3da56477c82ab07f21d9e2bc6b2bce1c86c2159
Showing with 28 additions and 5 deletions.
  1. +28 −5 net/wireshark3/Portfile
@@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup cmake 1.0

name wireshark3
version 3.0.0
version 3.0.1
categories net
license {GPL-2 GPL-3}
maintainers {darkart.com:opendarwin.org @ghosthound}
@@ -26,10 +26,10 @@ distfiles wireshark-${version}${extract.suffix}

worksrcdir wireshark-${version}

checksums sha256 bc4f30f5b2e94f3a696fef9de44673cdf402db90aac5299966da647f708f009e \
rmd160 9211657dc9d58eae871547d90021c376bb52f761 \
sha1 c254d850c81d85964aa23d60bb6fdb1373032490 \
size 30953760
checksums sha256 86864c3d0f6c2311992a98d8ea7dfd429097fe62dae2e5516e1a2f6bef2ac08c \
rmd160 27ed3498a1e9a89706c1461736219c4ae4b08085 \
sha1 33b880fb76b356dce4713a207c0bb9624f9b2c43 \
size 30903792

conflicts wireshark-devel wireshark wireshark2 wireshark22 wireshark24

@@ -122,12 +122,35 @@ variant geoip description {Build with GeoIP support} {
depends_lib-append port:libgeoip
}

variant python34 description {Use python34 during build} {
depends_build-append port:python34
}

variant python35 description {Use python35 during build} {
depends_build-append port:python35
}

variant python36 description {Use python36 during build} {
depends_build-append port:python36
}

variant python37 description {Use python37 during build} {
depends_build-append port:python37
}

default_variants +zlib +libsmi +gnutls +libgcrypt +cares +geoip +kerberos5

if {![variant_isset qt5] && ![variant_isset no_gui]} {
default_variants-append +qt5
}

## if no python3* variant is specified, add +python37
## XYZZY: it would be better to detect which python3* is already installed and use that...
if {![variant_isset python34] && ![variant_isset python35] && \
![variant_isset python36] && ![variant_isset python37]} {
default_variants-append +python37
}

post-destroot {
xinstall -d ${destroot}${prefix}/include/wireshark/epan/crypt/
xinstall -d ${destroot}${prefix}/include/wireshark/epan/dfilter/

0 comments on commit c3da564

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