Files
2026-03-14 16:26:10 -04:00

38 lines
1.5 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
PortGroup github 1.0
github.setup jpr5 ngrep 1.49.0 v
github.tarball_from archive
revision 0
categories net
maintainers nomaintainer
license BSD
description Network grep
long_description \
ngrep strives to provide most of GNU grep's common features, applying \
them to the network layer. \
ngrep a pcap-aware tool that will allow you to specify extended \
regular expressions to match against data payloads of packets. It \
currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP, \
FDDI, Token Ring and null interfaces, and understands BPF filter \
logic in the same fashion as more common packet sniffing tools, \
like tcpdump and snoop.
checksums rmd160 c9cff057baa5e2bcda54c95017343f6330d8a894 \
sha256 6c94b31681316b7469a3ace92d2aeec7c9f490bd6782453dff2ade0e289a3348 \
size 305712
destroot.target install
configure.args --enable-ipv6 \
--enable-pcre2 \
--enable-tcpkill \
--with-pcap-includes=${prefix}/include
depends_lib-append port:libpcap \
port:pcre2 \
port:libnet