diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-02-09 14:44:30 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-02-25 09:50:42 +0000 |
commit | a0164a736263fbbf82ba772dc55dbc5a3964ccb9 (patch) | |
tree | a2979387699d169020e0bdf21de925b9891abb59 /testing | |
parent | 26c71e835d94496f0a1b508bb5ef60037839d528 (diff) | |
download | aports-a0164a736263fbbf82ba772dc55dbc5a3964ccb9.tar.bz2 aports-a0164a736263fbbf82ba772dc55dbc5a3964ccb9.tar.xz |
testing/ngrep: new aport - A grep-like utility that allows you to search for network packets on an interface
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ngrep/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/ngrep/APKBUILD b/testing/ngrep/APKBUILD new file mode 100644 index 0000000000..cf7ec7f1ac --- /dev/null +++ b/testing/ngrep/APKBUILD @@ -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" |