diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/ngrep/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/ngrep/MAKEPKG')
| -rw-r--r-- | opt/ngrep/MAKEPKG | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/opt/ngrep/MAKEPKG b/opt/ngrep/MAKEPKG new file mode 100644 index 0000000..60d1d30 --- /dev/null +++ b/opt/ngrep/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Network packet analyzer with grep-like pattern matching +# url: https://github.com/jpr5/ngrep + +name=ngrep +version=1.49.0 +release=1 +depends=(libpcap pcre2) +source=(https://github.com/jpr5/ngrep/archive/v$version/ngrep-$version.tar.gz) + +capabilities=(/usr/bin/ngrep:cap_net_raw,cap_net_admin+eip) + +sha256sums=( + "6c94b31681316b7469a3ace92d2aeec7c9f490bd6782453dff2ade0e289a3348" +) + +build() { + cd ngrep-$version + + ./configure \ + --prefix=/usr \ + --enable-pcre2 \ + --enable-ipv6 \ + --with-pcap-includes=/usr/include + + make + make DESTDIR=$PKG install +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + |
