Commits
Marius Schamschula authored 7a082976954
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | name tcpdump |
6 6 | version 4.9.2 |
7 + | revision 1 |
7 8 | categories net |
8 9 | maintainers {mps @Schamschula} openmaintainer |
9 10 | license BSD |
10 11 | description dump traffic on a network |
11 12 | long_description \ |
12 13 | tcpdump is a tool for network monitoring, protocol debugging \ |
13 14 | and data acquisition. |
14 15 | homepage http://www.tcpdump.org/ |
15 16 | platforms darwin |
16 17 | master_sites ${homepage}release/ |
17 18 | |
18 19 | checksums rmd160 966b95adee5c405dc7e631f73b43ced849ee1e80 \ |
19 20 | sha256 798b3536a29832ce0cbb07fafb1ce5097c95e308a6f592d14052e1ef1505fe79 |
20 21 | |
21 22 | depends_lib port:libpcap \ |
22 23 | port:libsmi \ |
23 24 | path:lib/libssl.dylib:openssl |
24 25 | |
25 - | configure.args --disable-smb --disable-universal |
26 - | |
27 - | # ugly: beat ./configure to use $prefix BEFORE /usr |
28 - | configure.cflags-append "-I${prefix}/include -L${prefix}/lib" |
26 + | configure.args --disable-universal \ |
27 + | --disable-smb \ |
28 + | --with-smi \ |
29 + | --without-sandbox-capsicum \ |
30 + | --with-system-libpcap \ |
31 + | --with-crypto=${prefix} \ |
32 + | --with-cap-ng |
29 33 | |
30 34 | variant smb description {enable possibly-buggy SMB printer} { |
31 - | configure.args-delete --disable-smb |
35 + | configure.args-replace --disable-smb --enable-smb |
32 36 | } |
33 37 | |
34 38 | livecheck.type regex |
35 39 | livecheck.url ${homepage} |
36 40 | livecheck.regex tcpdump-(\[0-9.\]+)\\.tar\\.gz |