[arch-commits] Commit in tcpreplay/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu May 10 02:09:43 UTC 2018
Date: Thursday, May 10, 2018 @ 02:09:43
Author: anthraxx
Revision: 319922
upgpkg: tcpreplay 4.2.6-1
Modified:
tcpreplay/trunk/PKGBUILD
----------+
PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++---------------
1 file changed, 37 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-10 01:16:51 UTC (rev 319921)
+++ PKGBUILD 2018-05-10 02:09:43 UTC (rev 319922)
@@ -1,30 +1,52 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
# Contributor: Sébastien Duquette <ekse.0x at gmail.com>
# Contributor: Dawid Wrobel <cromo at klej.net>
+
pkgname=tcpreplay
-pkgver=4.2.5
-pkgrel=2
-pkgdesc="Gives the ability to replay previously captured traffic in a libpcap format"
-url="http://tcpreplay.appneta.com"
+pkgver=4.2.6
+pkgrel=1
+pkgdesc='Gives the ability to replay previously captured traffic in a libpcap format'
+url='http://tcpreplay.appneta.com'
arch=('x86_64')
license=('GPL3')
-depends=('libpcap' 'libdnet')
+depends=('libpcap' 'libdnet' 'autogen')
makedepends=('tcpdump')
optdepends=('tcpdump: decoding of packets support')
options=('!emptydirs')
source=(https://github.com/appneta/tcpreplay/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
-md5sums=('8765cad213335cc58daa3697dc3043fb'
- 'SKIP')
-validpgpkeys=('84E4FA215C934A7D97DC76D5E9E2149793BDE17E')
+sha512sums=('a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e'
+ 'SKIP')
+validpgpkeys=('84E4FA215C934A7D97DC76D5E9E2149793BDE17E') # Fred Klassen <tcpreplay at appneta.com>
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-dynamic-link --with-tcpdump=/usr/sbin/tcpdump ac_cv_header_net_bpf_h=n
- make
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --disable-local-libopts \
+ --enable-dynamic-link \
+ --enable-shared \
+ --with-libdnet \
+ --with-tcpdump=/usr/bin/tcpdump \
+ --with-testnic2=lo \
+ --with-testnic=lo \
+ ac_cv_header_net_bpf_h=n
+ make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ make -j1 -C test tcpprep
+}
+
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list