[arch-commits] Commit in tcpreplay/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu May 10 02:09:51 UTC 2018


    Date: Thursday, May 10, 2018 @ 02:09:50
  Author: anthraxx
Revision: 319923

archrelease: copy trunk to community-x86_64

Added:
  tcpreplay/repos/community-x86_64/PKGBUILD
    (from rev 319922, tcpreplay/trunk/PKGBUILD)
Deleted:
  tcpreplay/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 52 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-10 02:09:43 UTC (rev 319922)
+++ PKGBUILD	2018-05-10 02:09:50 UTC (rev 319923)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: 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"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('libpcap' 'libdnet')
-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')
-
-build() {
-     cd "$srcdir/$pkgname-$pkgver"
-     ./configure --prefix=/usr --enable-dynamic-link --with-tcpdump=/usr/sbin/tcpdump ac_cv_header_net_bpf_h=n
-     make
-}
-
-package() {
-     cd "$srcdir/$pkgname-$pkgver"
-     make DESTDIR="$pkgdir/" install
-}

Copied: tcpreplay/repos/community-x86_64/PKGBUILD (from rev 319922, tcpreplay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-10 02:09:50 UTC (rev 319923)
@@ -0,0 +1,52 @@
+# 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.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' '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})
+sha512sums=('a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e'
+            'SKIP')
+validpgpkeys=('84E4FA215C934A7D97DC76D5E9E2149793BDE17E') # Fred Klassen <tcpreplay at appneta.com>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  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 ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list