From cccb1c700ab036f0454fd4f4ece43741cfd8a557 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Aug 2012 16:10:32 +0000 Subject: testing/tcpflow: new aport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging. Each TCP flow is stored in its own file. Thus, the typical TCP flow will be stored in two files, one for each direction. tcpflow can also process stored ‘tcpdump packet flows. https://github.com/simsong/tcpflow --- testing/tcpflow/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/tcpflow/APKBUILD (limited to 'testing') diff --git a/testing/tcpflow/APKBUILD b/testing/tcpflow/APKBUILD new file mode 100644 index 0000000000..21847bceec --- /dev/null +++ b/testing/tcpflow/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=tcpflow +pkgver=1.2.8 +pkgrel=0 +pkgdesc="A TCP/IP packet demultiplexer" +url="https://github.com/simsong/tcpflow" +arch="all" +license="GPL3" +depends="" +depends_dev="" +makedepends="libpcap-dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/downloads/simsong/tcpflow/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="6fa51c81fad9d836371903ab14b03f8c tcpflow-1.2.8.tar.gz" -- cgit v1.2.3