Date: Thursday, July 16, 2020 @ 22:06:38 Author: anthraxx Revision: 664231
archrelease: copy trunk to community-x86_64 Added: tcpreplay/repos/community-x86_64/PKGBUILD (from rev 664230, tcpreplay/trunk/PKGBUILD) Deleted: tcpreplay/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 104 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 53 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-16 22:06:34 UTC (rev 664230) +++ PKGBUILD 2020-07-16 22:06:38 UTC (rev 664231) @@ -1,51 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Sébastien Duquette <ekse...@gmail.com> -# Contributor: Dawid Wrobel <cr...@klej.net> - -pkgname=tcpreplay -pkgver=4.3.2 -pkgrel=2 -pkgdesc='Gives the ability to replay previously captured traffic in a libpcap format' -url='https://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=('211158d39ec48cefe11f0681f38eb1ab6a8302c5ef0e97dbff7d3230defe63e34d8d5755c21f1fe3fc061c4a0caf48ea0b86ae7d444ca68529a96386ea97b8fe' - 'SKIP') -validpgpkeys=('84E4FA215C934A7D97DC76D5E9E2149793BDE17E') # Fred Klassen <tcprep...@appneta.com> - -prepare() { - cd ${pkgname}-${pkgver} - autoreconf -fiv -} - -build() { - cd ${pkgname}-${pkgver} - CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common - ./configure \ - --prefix=/usr \ - --disable-local-libopts \ - --enable-dynamic-link \ - --enable-shared \ - --with-libdnet \ - --with-tcpdump=/usr/bin/tcpdump \ - 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: Copied: tcpreplay/repos/community-x86_64/PKGBUILD (from rev 664230, tcpreplay/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-16 22:06:38 UTC (rev 664231) @@ -0,0 +1,53 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Sébastien Duquette <ekse...@gmail.com> +# Contributor: Dawid Wrobel <cr...@klej.net> + +pkgname=tcpreplay +pkgver=4.3.3 +pkgrel=1 +pkgdesc='Gives the ability to replay previously captured traffic in a libpcap format' +url='https://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=('ac31a767bc3c2033391f37c8d99bc9446e8284c661e4fbbd0fffa1b20b98bff70c0628d573581d260b1ed1a0a1a348177a691ae37ce4c9c48d9dbaabd7d3ff11' + 'SKIP') +b2sums=('3968fe96c8e8477cd5dc9fb8ee606264c0212dea139e54ccde2e42d184340ba1fa80c7c175340cb9f84f6c05a7a4ea745a7211286e2df44c6dabe24344f0c5f0' + 'SKIP') +validpgpkeys=('84E4FA215C934A7D97DC76D5E9E2149793BDE17E') # Fred Klassen <tcprep...@appneta.com> + +prepare() { + cd ${pkgname}-${pkgver} + autoreconf -fiv +} + +build() { + cd ${pkgname}-${pkgver} + CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common + ./configure \ + --prefix=/usr \ + --disable-local-libopts \ + --enable-dynamic-link \ + --enable-shared \ + --with-libdnet \ + --with-tcpdump=/usr/bin/tcpdump \ + 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: