You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
3423fc6950
Also modernize checksums and use archived homepage since the original is gone.
49 lines
1.7 KiB
Tcl
49 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name tcpdstat
|
|
version 1.0
|
|
revision 0
|
|
checksums rmd160 6b03265d2b075e3f85b4c0e93c42bc05d010fc5e \
|
|
sha256 0213359f8d7758b21b6d050f8a0edd00f13aad4e8bbded938e246e1e14ac1f7a \
|
|
size 665600
|
|
|
|
categories net security
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
|
|
description network traffic pattern analysis tool
|
|
|
|
long_description ${name} produces a per-protocol breakdown of traffic \
|
|
by bytes and packets, with average and maximum transfer \
|
|
rates, for a given libpcap file (e.g., from tcpdump, \
|
|
ethereal, snort, etc.). Useful for getting a high-level \
|
|
view of traffic patterns.
|
|
|
|
homepage https://web.archive.org/web/20150803132315/https://staff.washington.edu/dittrich/talks/core02/tools/tools.html
|
|
master_sites https://web.archive.org/web/20150803132314/https://staff.washington.edu/dittrich/talks/core02/tools/
|
|
|
|
dist_subdir ${name}/${version}
|
|
distname ${name}-uw
|
|
use_tar yes
|
|
|
|
depends_lib port:libpcap
|
|
|
|
patchfiles patch-Makefile.diff \
|
|
patch-net_read.c.diff \
|
|
implicit.patch
|
|
|
|
post-patch {
|
|
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build.args CC="${configure.cc}"
|
|
|
|
variant universal {}
|
|
build.args-append CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
|
|
|
|
destroot.destdir PREFIX=${destroot}${prefix}
|