mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
Package description: This program reads and parses packets from the link layer through the transport layer, dumping explicit header information along the way. It is a lot like tcpdump from LBL except that I've made an effort to dump every relevant header field possible. The overall structure of the code is loosely based on tcpdump and I've lifted a few modules from the tcpdump distribution when necessary, rather than re-inventing the wheel. In particular, the address conversion hashing routines are pretty much lifted verbatim, as well as the TCP options section. Web: http://ipgrab.sourceforge.net/
35 lines
796 B
Plaintext
35 lines
796 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=ipgrab
|
|
pkgver=0.9.8
|
|
pkgrel=0
|
|
pkgdesc="A verbose packet sniffer for hosts"
|
|
url="http://ipgrab.sourceforge.net/"
|
|
arch="all"
|
|
license="GPL2+"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="libpcap-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://downloads.sourceforge.net/ipgrab/ipgrab-$pkgver.tar.gz"
|
|
_builddir="$srcdir"/ipgrab-$pkgver
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure ÂÂÂ\
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
}
|
|
|
|
md5sums="73404aeee6e8c07b6b7d260ffe80b692 ipgrab-0.9.8.tar.gz"
|