summaryrefslogtreecommitdiff
path: root/community/tcpreplay/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tcpreplay/PKGBUILD')
-rw-r--r--community/tcpreplay/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/tcpreplay/PKGBUILD b/community/tcpreplay/PKGBUILD
new file mode 100644
index 000000000..054c87d7e
--- /dev/null
+++ b/community/tcpreplay/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 61217 2011-12-24 18:01:44Z tredaelli $
+# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
+# Contributor: Sébastien Duquette <ekse.0x@gmail.com>
+# Contributor: Dawid Wrobel <cromo@klej.net>
+pkgname=tcpreplay
+pkgver=3.4.4
+pkgrel=3
+pkgdesc="Gives the ability to replay previously captured traffic in a libpcap format"
+url="http://tcpreplay.synfin.net"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('libpcap' 'libdnet')
+makedepends=('tcpdump')
+optdepends=('tcpdump: decoding of packets support')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/tcpreplay/${pkgname}-${pkgver}.tar.gz")
+md5sums=('22725feb9b2590809f9350308ec65180')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --enable-dynamic-link --with-tcpdump=/usr/sbin/tcpdump
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}