mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/ngrep: new aport - A grep-like utility that allows you to search for network packets on an interface
This commit is contained in:
parent
26c71e835d
commit
a0164a7362
31
testing/ngrep/APKBUILD
Normal file
31
testing/ngrep/APKBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
||||
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
||||
pkgname=ngrep
|
||||
pkgver=1.45
|
||||
pkgrel=0
|
||||
pkgdesc="A grep-like utility that allows you to search for network packets on an interface"
|
||||
url="http://ngrep.sourceforge.net/"
|
||||
arch="all"
|
||||
license="custom"
|
||||
depends=
|
||||
depends_dev="libpcap-dev"
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar.bz2"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pcap-includes=/usr/include/pcap
|
||||
make || return 1
|
||||
}
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
}
|
||||
|
||||
md5sums="bc8150331601f3b869549c94866b4f1c ngrep-1.45.tar.bz2"
|
||||
Loading…
x
Reference in New Issue
Block a user