From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 24 Sep 2024 17:08:45 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1st79g-002EoO-2r for lore@lore.pengutronix.de; Tue, 24 Sep 2024 17:08:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1st79h-0004n9-OY; Tue, 24 Sep 2024 17:08:45 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1st78t-0003z6-0f; Tue, 24 Sep 2024 17:07:55 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1st78s-001ElD-KX; Tue, 24 Sep 2024 17:07:54 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1st78s-00AUOP-1v; Tue, 24 Sep 2024 17:07:54 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 24 Sep 2024 17:07:54 +0200 Message-Id: <20240924150754.2500102-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20240918133713.899183-1-bst@pengutronix.de> References: <20240918133713.899183-1-bst@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] tcpreplay: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bastian Krause Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 9e289395916697011efb054da69557bd5bfc0f39. Michael [sent from post-receive hook] On Tue, 24 Sep 2024 17:07:54 +0200, Bastian Krause wrote: > Signed-off-by: Bastian Krause > Message-Id: <20240918133713.899183-1-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/tcpreplay.in b/rules/tcpreplay.in > new file mode 100644 > index 000000000000..bd1791744300 > --- /dev/null > +++ b/rules/tcpreplay.in > @@ -0,0 +1,9 @@ > +## SECTION=networking > + > +config TCPREPLAY > + tristate > + prompt "tcpreplay" > + select LIBPCAP > + help > + tcpreplay is a suite of free Open Source utilities for editing and > + replaying previously captured network traffic. > diff --git a/rules/tcpreplay.make b/rules/tcpreplay.make > new file mode 100644 > index 000000000000..3f1568ad0db9 > --- /dev/null > +++ b/rules/tcpreplay.make > @@ -0,0 +1,80 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2024 by Bastian Krause > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_TCPREPLAY) += tcpreplay > + > +# > +# Paths and names > +# > +TCPREPLAY_VERSION := 4.5.1 > +TCPREPLAY_MD5 := 53375102b54b3e6ef124f6ae85836092 > +TCPREPLAY := tcpreplay-$(TCPREPLAY_VERSION) > +TCPREPLAY_SUFFIX := tar.xz > +TCPREPLAY_URL := https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION)/$(TCPREPLAY).$(TCPREPLAY_SUFFIX) > +TCPREPLAY_SOURCE := $(SRCDIR)/$(TCPREPLAY).$(TCPREPLAY_SUFFIX) > +TCPREPLAY_DIR := $(BUILDDIR)/$(TCPREPLAY) > +TCPREPLAY_LICENSE := GPL-3.0-only > +TCPREPLAY_LICENSE_FILES := \ > + file://docs/LICENSE;md5=10f0474a2f0e5dccfca20f69d6598ad8 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +TCPREPLAY_CONF_TOOL := autoconf > +TCPREPLAY_CONF_OPT := \ > + $(CROSS_AUTOCONF_USR) \ > + $(GLOBAL_LARGE_FILE_OPTION) \ > + --disable-asan \ > + --disable-tsan \ > + --disable-debug \ > + --disable-extra-debug \ > + --disable-dmalloc \ > + --disable-efence \ > + --disable-gprof \ > + --disable-pcapconfig \ > + --enable-dynamic-link \ > + --disable-tuntap \ > + --disable-nls \ > + --enable-local-libopts \ > + --disable-libopts-install \ > + --with-libpcap=$(PTXDIST_SYSROOT_TARGET)/usr \ > + --without-netmap \ > + --without-libdnet \ > + --without-pcapnav-config \ > + --without-tcpdump \ > + --without-autoopts-config \ > + --without-regex-header \ > + --without-libregex > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/tcpreplay.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, tcpreplay) > + @$(call install_fixup, tcpreplay,PRIORITY,optional) > + @$(call install_fixup, tcpreplay,SECTION,base) > + @$(call install_fixup, tcpreplay,AUTHOR,"Bastian Krause ") > + @$(call install_fixup, tcpreplay,DESCRIPTION,missing) > + > + @$(call install_copy, tcpreplay, 0, 0, 0755, -, /usr/bin/tcpreplay) > + > + @$(call install_finish, tcpreplay) > + > + @$(call touch) > + > +# vim: syntax=make