source: trunk/dports/net/tcpdstat/Portfile

Last change on this file was 151662, checked in by mf2k@…, 11 months ago

chaosreader daemonlogger libcdata libcdatetime libcerror libcfile libclocale libcnotify libcsplit libcstring libcthreads log2timeline logsentry masscan openfpc openvpn openvpn2 p5-file-mork p5-parse-win32registry pads pdfid pdfparser rekall snort tcpdstat tcpxtract volatility: Ports abandoned. (#52039)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 151662 2016-08-19 14:16:01Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                tcpdstat
6version             1.0
7categories          net security
8platforms           darwin
9maintainers         nomaintainer
10
11description         network traffic pattern analysis tool
12
13long_description    ${name} produces a per-protocol breakdown of traffic \
14                    by bytes and packets, with average and maximum transfer \
15                    rates, for a given libpcap file (e.g., from tcpdump, \
16                    ethereal, snort, etc.). Useful for getting a high-level \
17                    view of traffic patterns.
18
19homepage            http://staff.washington.edu/dittrich/talks/core02/tools/tools.html
20master_sites        http://staff.washington.edu/dittrich/talks/core02/tools/
21
22dist_subdir         ${name}/${version}
23distname            ${name}-uw
24extract.suffix      .tar
25extract.cmd         tar
26extract.pre_args    -xf
27
28checksums           md5     64b246fb0a4ee47ae37e83d721b205df \
29                    sha1    3f0d95499bd33118bbcf86752a2d524eb2802fa7 \
30                    rmd160  6b03265d2b075e3f85b4c0e93c42bc05d010fc5e
31
32depends_lib         port:libpcap
33
34patchfiles          patch-Makefile.diff \
35                    patch-net_read.c.diff
36
37post-patch {
38    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
39}
40
41use_configure       no
42
43build.args          CC="${configure.cc}"
44
45variant universal {}
46if {[variant_isset universal]} {
47    set archflags ${configure.universal_cflags}
48} else {
49    set archflags ${configure.cc_archflags}
50}
51build.args-append   CFLAGS="${archflags}"
52
53destroot.destdir    PREFIX=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.