#!/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