Use tcpreplay from Fedora EPEL

Install tcpreplay from Fedora EPEL instead of building it from source. Also
remove all packages that were only needed for building tcpreplay.

Signed-off-by: Felix Maurer <fmaurer@redhat.com>
This commit is contained in:
Felix Maurer 2025-04-10 12:17:17 +02:00
parent 446da5bb5b
commit d259094711
2 changed files with 1 additions and 10 deletions

View File

@ -23,12 +23,7 @@ libndp_log() {
install_tcpreplay() {
which tcpreplay && return 0
wget https://github.com/appneta/tcpreplay/releases/download/v4.3.0/tcpreplay-4.3.0.tar.xz
tar xf tcpreplay-4.3.0.tar.xz
cd tcpreplay-4.3.0
./configure && make && make install
cd ../
which tcpreplay
dnf install -y https://kojipkgs.fedoraproject.org/packages/tcpreplay/4.5.1/1.el8/x86_64/tcpreplay-4.5.1-1.el8.x86_64.rpm
}
clean_up() {

View File

@ -4,11 +4,7 @@
- role: standard-test-basic
required_packages:
- expect
- gcc
- libpcap-devel
- make
- tcpdump
- wget
tags:
- classic
tests: