Skip to contentSkip to conversation

tcpreplay: bump version to 4.0.0

PATCH New judge.packham at gmail.com 2 participants 6 messages Jan 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

From: Chris Packham <[email protected]>

Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

 package/tcpreplay/Config.in                        |   2 +-
 .../tcpreplay-3.4.3-010-cross-compile.patch        | 255 ---------------------
 package/tcpreplay/tcpreplay.mk                     |   8 +-
 3 files changed, 7 insertions(+), 258 deletions(-)
 delete mode 100644 package/tcpreplay/tcpreplay-3.4.3-010-cross-compile.patch
package/tcpreplay/Config.in +1 -1
index 7337070..2ba2eb5 100644
@@ -6,4 +6,4 @@ config BR2_PACKAGE_TCPREPLAY
 	  Tcpreplay is a tool for replaying network traffic from files saved
 	  with tcpdump or other tools which write pcap(3) files.
 
-	  http://tcpreplay.synfin.net/
+	  http://tcpreplay.appneta.com/
package/tcpreplay/tcpreplay-3.4.3-010-cross-compile.patch deleted +0 -255

255 lines not on this page · raw message

package/tcpreplay/tcpreplay.mk +6 -2
index f2b1991..f02b556 100644
@@ -4,9 +4,13 @@
 #
 ################################################################################
 
-TCPREPLAY_VERSION = 3.4.3
+TCPREPLAY_VERSION = 4.0.0
 TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
-TCPREPLAY_CONF_ENV = tr_cv_libpcap_version=">= 0.7.0"
+TCPREPLAY_LICENSE = GPLv3
+TCPREPLAY_LICENSE_FILES = docs/LICENSE
+TCPREPLAY_CONF_ENV = \
+	tr_cv_libpcap_version=">= 0.7.0" \
+	ac_cv_have_bpf=no
 TCPREPLAY_CONF_OPT = --with-libpcap=$(STAGING_DIR)/usr
 TCPREPLAY_AUTORECONF = YES
 TCPREPLAY_DEPENDENCIES = libpcap
Signature · 1 line
1.8.4.rc2
#1 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"judge" == judge packham <[email protected]> writes:

From: Chris Packham <[email protected]>
Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

package/tcpreplay/tcpreplay.mk +0 -1
-TCPREPLAY_VERSION = 3.4.3

package/tcpreplay/tcpreplay.mk line 15

Quoted 10 lines
package/tcpreplay/tcpreplay.mk +6 -1
+TCPREPLAY_VERSION = 4.0.0
 TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
-TCPREPLAY_CONF_ENV = tr_cv_libpcap_version=">= 0.7.0"
+TCPREPLAY_LICENSE = GPLv3
+TCPREPLAY_LICENSE_FILES = docs/LICENSE
+TCPREPLAY_CONF_ENV = \
+	tr_cv_libpcap_version=">= 0.7.0" \
+	ac_cv_have_bpf=no
 TCPREPLAY_CONF_OPT = --with-libpcap=$(STAGING_DIR)/usr
 TCPREPLAY_AUTORECONF = YES

AUTORECONF can also go now that all the patches are gone.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

In reply to judge.packham at gmail.com
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"judge" == judge packham <[email protected]> writes:

From: Chris Packham <[email protected]>
Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

Quoted 5 lines

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

There's a number of build failures on the autobuilders. Care to take a look at fixing them?

http://autobuild.buildroot.net/results/fec/fec13bcb3e65e691f6f3c34548024312c3ba9ec1/build-end.log
http://autobuild.buildroot.net/results/54b/54b739bd3713de87113cbed35e05b9074282b30d/build-end.log

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

Hi,

Quoted 13 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"judge" == judge packham <[email protected]> writes:

From: Chris Packham <[email protected]>
Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

Quoted 5 lines

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

Quoted 8 lines

There's a number of build failures on the autobuilders. Care to take a look at fixing them?

http://autobuild.buildroot.net/results/fec/fec13bcb3e65e691f6f3c34548024312c3ba9ec1/build-end.log
http://autobuild.buildroot.net/results/54b/54b739bd3713de87113cbed35e05b9074282b30d/build-end.log

--
Bye, Peter Korsgaard

I think the problem is things that don't define __VA_ARGS__ or things that can't handle an empty argument list. And advice on how to fix this?

#4 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

Quoted 22 lines · Chris Packham

Hi,

Quoted 19 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"judge" == judge packham <[email protected]> writes:

From: Chris Packham <[email protected]>
Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

Quoted 5 lines

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

There's a number of build failures on the autobuilders. Care to take a look at fixing them?

http://autobuild.buildroot.net/results/fec/fec13bcb3e65e691f6f3c34548024312c3ba9ec1/build-end.log
http://autobuild.buildroot.net/results/54b/54b739bd3713de87113cbed35e05b9074282b30d/build-end.log

Quoted 6 lines
Quoted 2 lines

--
Bye, Peter Korsgaard

I think the problem is things that don't define __VA_ARGS__ or things that can't handle an empty argument list. And advice on how to fix this?

More context thanks to clang (please excuse gmail's wrapping):

In file included from tcpreplay_api.c:35:0:
tcpreplay_api.c: In function 'tcpreplay_set_verbose':
tcpreplay_api.h:275:107: error: expected expression before ')' token
#define tcpreplay_seterr(x, y, ...) __tcpreplay_seterr(x,
__FUNCTION__, __LINE__, __FILE__, y, __VA_ARGS__)

                                    ^
tcpreplay_api.c:706:5: note: in expansion of macro 'tcpreplay_seterr'
     tcpreplay_seterr(ctx, "verbose mode not supported");
#5 lore raw

PATCH 1/1 tcpreplay: bump version to 4.0.0

Quoted 38 lines · Chris Packham
Quoted 22 lines · Chris Packham

Hi,

Quoted 19 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"judge" == judge packham <[email protected]> writes:

From: Chris Packham <[email protected]>
Update the tcpreplay package to version 4.0.0. The upstream package has a new maintainer and license. Version 4.0.0 brings a number of new features see http://tcpreplay.appneta.com/ for details.

Quoted 5 lines

---
Changes since v0:
. Updated my git configuration to use a smtp server that doesn't modify my
messages in-flight.

There's a number of build failures on the autobuilders. Care to take a look at fixing them?

http://autobuild.buildroot.net/results/fec/fec13bcb3e65e691f6f3c34548024312c3ba9ec1/build-end.log
http://autobuild.buildroot.net/results/54b/54b739bd3713de87113cbed35e05b9074282b30d/build-end.log

Quoted 6 lines
Quoted 2 lines

--
Bye, Peter Korsgaard

I think the problem is things that don't define __VA_ARGS__ or things that can't handle an empty argument list. And advice on how to fix this?

More context thanks to clang (please excuse gmail's wrapping):

In file included from tcpreplay_api.c:35:0:
tcpreplay_api.c: In function 'tcpreplay_set_verbose':
tcpreplay_api.h:275:107: error: expected expression before ')' token
#define tcpreplay_seterr(x, y, ...) __tcpreplay_seterr(x,
__FUNCTION__, __LINE__, __FILE__, y, __VA_ARGS__)

Quoted 3 lines
                                    ^
tcpreplay_api.c:706:5: note: in expansion of macro 'tcpreplay_seterr'
     tcpreplay_seterr(ctx, "verbose mode not supported");

I can't actually reproduce the problem

Here's what I did

curl http://autobuild.buildroot.net/results/54b/54b739bd3713de87113cbed35e05b9074282b30d/config

Quoted 1 line

.config

sed -i 's|/home/test/||' .config
make

I actually got an unrelated error the first time

/home/chrisp/src/buildroot/output/host/usr/bin/arm-linux-ldconfig:
can't resolve /usr/X11R6/lib in chroot .: No such file or directory
/home/chrisp/src/buildroot/output/host/usr/bin/arm-linux-ldconfig:
skipping /usr/X11R6/lib: No such file or directory

Looking in output/build it looks like tcpreplay did actually build to confirm I ran

make tcpreplay-dirclean
make tcpreplay

Which worked.

Is my recipe for reproducing the build correct? Is there something else I'm missing.