Skip to contentSkip to conversation

libpcap: bump to version 1.5.3

PATCH New Gustavo Zacarias 4 participants 18 messages Mar 10, 2014 – Dec 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/14 libpcap: bump to version 1.5.3

TPACKET_V3 support issues fixed in 1.5.2/1.5.3 so the patch is no longer necessary.

---
 ...0002-fix-TPACKET_V3-initialization-GH-329.patch | 34 ----------------------
 package/libpcap/libpcap.mk                         |  2 +-
 2 files changed, 1 insertion(+), 35 deletions(-)
 delete mode 100644 package/libpcap/libpcap-0002-fix-TPACKET_V3-initialization-GH-329.patch
package/libpcap/libpcap-0002-fix-TPACKET_V3-initialization-GH-329.patch deleted +0 -34
deleted file mode 100644
index 9d16098..0000000
@@ -1,34 +0,0 @@
-From cd84bc9743d7595dee1ea4bc40bd236a619d6539 Mon Sep 17 00:00:00 2001
-From: Gabor Tatarka <[email protected]>
-Date: Mon, 2 Dec 2013 22:05:57 +0400
-Subject: [PATCH] fix TPACKET_V3 initialization (GH #329)
-
-libpcap would fail to initialize on Linux when compiled against kernel
-headers with TPACKET_V3 support but running on kernel without:
-
-"can't get TPACKET_V3 header len on packet socket: Invalid argument"
-
-Fix init_tpacket() to respect EINVAL because that is what the kernel
-returns for unsupported TPACKET versions.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- pcap-linux.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pcap-linux.c b/pcap-linux.c
-index 6c0723a..8800c96 100644
---- a/pcap-linux.c
-+++ b/pcap-linux.c
-@@ -3471,7 +3471,7 @@ init_tpacket(pcap_t *handle, int version, const char *version_str)
- 
- 	/* Probe whether kernel supports the specified TPACKET version */
- 	if (getsockopt(handle->fd, SOL_PACKET, PACKET_HDRLEN, &val, &len) < 0) {
--		if (errno == ENOPROTOOPT)
-+		if (errno == ENOPROTOOPT || errno == EINVAL)
- 			return 1;	/* no */
- 
- 		/* Failed to even find out; this is a fatal error. */
--- 
-1.8.5.1
-
package/libpcap/libpcap.mk +1 -1
index aba2510..3681d4c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBPCAP_VERSION = 1.5.1
+LIBPCAP_VERSION = 1.5.3
 LIBPCAP_SITE = http://www.tcpdump.org/release
 LIBPCAP_LICENSE = BSD-3c
 LIBPCAP_LICENSE_FILES = LICENSE
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 2/14 fping: bump to version 3.9

---
 package/fping/fping.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/fping/fping.mk +1 -1
index 580920e..a87f85d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FPING_VERSION = 3.8
+FPING_VERSION = 3.9
 FPING_SITE = http://fping.org/dist
 FPING_LICENSE = BSD-like
 FPING_LICENSE_FILES = COPYING
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 3/14 nmap: bump to version 6.40

In reply to Gustavo Zacarias
---
 package/nmap/nmap.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/nmap/nmap.mk +2 -2
index 47e4cfc..4ed39bf 100644
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-NMAP_VERSION = 6.01
+NMAP_VERSION = 6.40
 NMAP_SITE = http://nmap.org/dist
 NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
 NMAP_DEPENDENCIES = libpcap pcre
 NMAP_CONF_OPT = --without-liblua --without-zenmap \
 	--with-libdnet=included --with-liblinear=included \
-	--with-libpcre="$(STAGING_DIR)/usr"
+	--with-libpcre="$(STAGING_DIR)/usr" --without-ncat
 NMAP_LICENSE = GPLv2
 NMAP_LICENSE_FILES = COPYING
 
Signature · 1 line
1.8.3.2
#3 lore raw

PATCH 3/14 nmap: bump to version 6.40

Gustavo, All,

Rviving an old thread...

On 2014-03-10 17:26 -0300, Gustavo Zacarias spake thusly:

Quoted 12 lines
---
 package/nmap/nmap.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/nmap/nmap.mk +0 -0
index 47e4cfc..4ed39bf 100644
@@ -4,13 +4,13 @@
 #
 ################################################################################

package/nmap/nmap.mk line 13

Quoted 10 lines
package/nmap/nmap.mk +2 -2
 
-NMAP_VERSION = 6.01
+NMAP_VERSION = 6.40
 NMAP_SITE = http://nmap.org/dist
 NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
 NMAP_DEPENDENCIES = libpcap pcre
 NMAP_CONF_OPT = --without-liblua --without-zenmap \
 	--with-libdnet=included --with-liblinear=included \
-	--with-libpcre="$(STAGING_DIR)/usr"
+	--with-libpcre="$(STAGING_DIR)/usr" --without-ncat

Why did you disable ncat?

Regards,
Yann E. MORIN.

Quoted 10 lines
package/nmap/nmap.mk +0 -0
 NMAP_LICENSE = GPLv2
 NMAP_LICENSE_FILES = COPYING
 
Signature · 6 lines
1.8.3.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 3/14 nmap: bump to version 6.40

Quoted 1 line · Yann E. MORIN

Why did you disable ncat?

Hi.
I don't recall OTOH, i think there was a build failure under certain conditions.
Regards.

#5 lore raw

PATCH 4/14 iftop: bump to version 1.0pre4

In reply to Gustavo Zacarias
---
 package/iftop/iftop.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/iftop/iftop.mk +1 -1
index 29ec61a..91bd6cc 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-IFTOP_VERSION = 1.0pre3
+IFTOP_VERSION = 1.0pre4
 IFTOP_SITE = http://www.ex-parrot.com/pdw/iftop/download/
 IFTOP_DEPENDENCIES = ncurses libpcap
 IFTOP_LICENSE = GPLv2+
Signature · 1 line
1.8.3.2
#6 lore raw

PATCH 5/14 ipsec-tools: fix static linking

In reply to Gustavo Zacarias

As with other packages that use openssl and don't use pkg-config to pick up the deps it fails to build for static scenarios. So fix it by adding the zlib link option to LIBS.

---
 package/ipsec-tools/ipsec-tools.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/ipsec-tools/ipsec-tools.mk +5 -0
index d5521ac..44c3380 100644
@@ -15,6 +15,11 @@ IPSEC_TOOLS_DEPENDENCIES = openssl flex host-flex
 # configure hardcodes -Werror, so override CFLAGS on make invocation
 IPSEC_TOOLS_MAKE_OPT = CFLAGS='$(TARGET_CFLAGS)'
 
+# openssl uses zlib, so we need to explicitly link with it when static
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+IPSEC_TOOLS_CONF_ENV += LIBS=-lz
+endif
+
 IPSEC_TOOLS_CONF_OPT = \
 	  --disable-hybrid \
 	  --without-libpam \
Signature · 1 line
1.8.3.2
#7 lore raw

PATCH 6/14 ipsec-tools: bump to version 0.8.2

In reply to Gustavo Zacarias

Also rename patch according to policy and add homepage.

---
 package/ipsec-tools/Config.in                                           | 2 ++
 ...psec-tools-susv3-legacy.patch => ipsec-tools-001-susv3-legacy.patch} | 0
 package/ipsec-tools/ipsec-tools.mk                                      | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
 rename package/ipsec-tools/{ipsec-tools-susv3-legacy.patch => ipsec-tools-001-susv3-legacy.patch} (100%)
package/ipsec-tools/Config.in +2 -0
index 06a5a56..57fa5d4 100644
@@ -5,6 +5,8 @@ config BR2_PACKAGE_IPSEC_TOOLS
 	help
 	  This package is required to support IPSec for Linux 2.6+
 
+	  http://ipsec-tools.sourceforge.net/
+
 if BR2_PACKAGE_IPSEC_TOOLS
 
 config BR2_PACKAGE_IPSEC_TOOLS_ADMINPORT
package/ipsec-tools/ipsec-tools-001-susv3-legacy.patch renamed from package/ipsec-tools/ipsec-tools-susv3-legacy.patch +0 -0
similarity index 100%
rename from package/ipsec-tools/ipsec-tools-susv3-legacy.patch
rename to package/ipsec-tools/ipsec-tools-001-susv3-legacy.patch
package/ipsec-tools/ipsec-tools.mk +1 -1
index 44c3380..870588d 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 IPSEC_TOOLS_VERSION_MAJOR = 0.8
-IPSEC_TOOLS_VERSION = $(IPSEC_TOOLS_VERSION_MAJOR).0
+IPSEC_TOOLS_VERSION = $(IPSEC_TOOLS_VERSION_MAJOR).2
 IPSEC_TOOLS_SOURCE = ipsec-tools-$(IPSEC_TOOLS_VERSION).tar.bz2
 IPSEC_TOOLS_SITE = http://ftp.sunet.se/pub/NetBSD/misc/ipsec-tools/$(IPSEC_TOOLS_VERSION_MAJOR)/
 IPSEC_TOOLS_INSTALL_STAGING = YES
Signature · 1 line
1.8.3.2
#8 lore raw

PATCH 7/14 msmtp: bump to version 1.4.32

In reply to Gustavo Zacarias
---
 package/msmtp/msmtp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/msmtp/msmtp.mk +1 -1
index 95687bc..cdf68f4 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MSMTP_VERSION = 1.4.31
+MSMTP_VERSION = 1.4.32
 MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION)
 MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2
 MSMTP_LICENSE = GPLv3+
Signature · 1 line
1.8.3.2
#9 lore raw

PATCH 8/14 netatalk: bump to version 3.0.8

In reply to Gustavo Zacarias
---
 package/netatalk/netatalk.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/netatalk/netatalk.mk +1 -1
index 2bd63ec..e5e5c6b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NETATALK_VERSION = 3.0.5
+NETATALK_VERSION = 3.0.8
 NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)
 NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
 NETATALK_AUTORECONF = YES
Signature · 1 line
1.8.3.2
#10 lore raw

PATCH 9/14 httping: bump to version 2.3.4

In reply to Gustavo Zacarias
---
 package/httping/Config.in  | 5 +++++
 package/httping/httping.mk | 7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)
package/httping/Config.in +5 -0
index 92c7a20..cd97e72 100644
@@ -1,5 +1,10 @@
+comment "httping needs a toolchain w/ char"
+	depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_HTTPING
 	bool "httping"
+	depends on BR2_USE_WCHAR
+	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	help
 	  Httping is like 'ping' but for http-requests.
 	  Give it an url, and it'll show you how long it takes to connect,
package/httping/httping.mk +5 -2
index 8385aaf..dd8abb3 100644
@@ -4,12 +4,14 @@
 #
 ################################################################################
 
-HTTPING_VERSION = 2.2.1
+HTTPING_VERSION = 2.3.4
 HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
 HTTPING_SITE = http://www.vanheusden.com/httping
 HTTPING_LICENSE = GPLv2
 HTTPING_LICENSE_FILES = license.txt
+HTTPING_LDFLAGS = $(if $(BR2_NEEDS_GETTEXT),-lintl) $(TARGET_LDFLAGS)
 HTTPING_DEPENDENCIES = \
+	$(if $(BR2_NEEDS_GETTEXT),gettext) \
 	$(if $(BR2_PACKAGE_OPENSSL),openssl) \
 	$(if $(BR2_PACKAGE_NCURSES),ncurses) \
 	$(if $(BR2_PACKAGE_FFTW),fftw)
@@ -20,7 +22,8 @@ HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
 	TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
 
 define HTTPING_BUILD_CMDS
-	$(HTTPING_MAKE_OPT) $(MAKE) OFLAGS= DEBUG=no -C $(@D)
+	$(HTTPING_MAKE_OPT) LDFLAGS="$(HTTPING_LDFLAGS)" \
+		$(MAKE) DEBUG=no -C $(@D)
 endef
 
 define HTTPING_INSTALL_TARGET_CMDS
Signature · 1 line
1.8.3.2
#11 lore raw

PATCH 10/14 radvd: bump to version 1.9.9

In reply to Gustavo Zacarias
---
 package/radvd/radvd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/radvd/radvd.mk +1 -1
index 9057a08..bc782fd 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RADVD_VERSION = 1.9.8
+RADVD_VERSION = 1.9.9
 RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
 RADVD_SITE = http://www.litech.org/radvd/dist
 RADVD_DEPENDENCIES = host-bison flex libdaemon host-flex host-pkgconf
Signature · 1 line
1.8.3.2
#12 lore raw

PATCH 11/14 macchanger: bump to version 1.6.0

In reply to Gustavo Zacarias

Also switch the homepage, it's not a proper one but at least it's no longer a 404.
The license is now GPLv2+ but there's no COPYING file.

---
 package/macchanger/Config.in     | 2 +-
 package/macchanger/macchanger.mk | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
package/macchanger/Config.in +1 -1
index e26faa7..a9ebc8e 100644
@@ -4,4 +4,4 @@ config BR2_PACKAGE_MACCHANGER
 	  A GNU/Linux utility for viewing/manipulating the MAC address of
 	  network interfaces
 
-	  http://www.alobbs.com/macchanger
+	  http://www.gnu.org/software/macchanger
package/macchanger/macchanger.mk +2 -3
index 8656183..5ded0b8 100644
@@ -4,9 +4,8 @@
 #
 ################################################################################
 
-MACCHANGER_VERSION = 1.5.0
+MACCHANGER_VERSION = 1.6.0
 MACCHANGER_SITE = $(BR2_GNU_MIRROR)/macchanger
-MACCHANGER_LICENSE = GPLv2
-MACCHANGER_LICENSE_FILES = COPYING
+MACCHANGER_LICENSE = GPLv2+
 
 $(eval $(autotools-package))
Signature · 1 line
1.8.3.2
#13 lore raw

PATCH 12/14 ptpd2: bump to version 2.3.0

In reply to Gustavo Zacarias

Now a proper autotools package, almost... (configure not shipped)

---
 package/ptpd2/ptpd2.mk | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
package/ptpd2/ptpd2.mk +4 -10
index 0428c80..cd898d8 100644
@@ -4,23 +4,17 @@
 #
 ################################################################################
 
-PTPD2_VERSION = 2.2.2
+PTPD2_VERSION = 2.3.0
 PTPD2_SITE = http://downloads.sourceforge.net/project/ptpd/ptpd/$(PTPD2_VERSION)
 PTPD2_SOURCE = ptpd-$(PTPD2_VERSION).tar.gz
+# configure not shipped
+PTPD2_AUTORECONF = YES
 PTPD2_LICENSE = BSD-2c
 PTPD2_LICENSE_FILES = COPYRIGHT
 
-define PTPD2_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/src
-endef
-
-define PTPD2_INSTALL_TARGET_CMDS
-	$(INSTALL) -m 755 -D $(@D)/src/ptpd2 $(TARGET_DIR)/usr/sbin/ptpd2
-endef
-
 define PTPD2_INSTALL_INIT_SYSV
 	$(INSTALL) -m 755 -D package/ptpd2/S65ptpd2 \
 		$(TARGET_DIR)/etc/init.d/S65ptpd2
 endef
 
-$(eval $(generic-package))
+$(eval $(autotools-package))
Signature · 1 line
1.8.3.2
#14 lore raw

PATCH 13/14 xl2tp: bump to version 1.3.6

In reply to Gustavo Zacarias
---
 package/xl2tp/xl2tp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xl2tp/xl2tp.mk +1 -1
index b61dac9..0b2f7f1 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XL2TP_VERSION = v1.3.2
+XL2TP_VERSION = v1.3.6
 XL2TP_SITE = $(call github,xelerance,xl2tpd,$(XL2TP_VERSION))
 XL2TP_DEPENDENCIES = libpcap openssl
 XL2TP_LICENSE = GPLv2
Signature · 1 line
1.8.3.2
#15 lore raw

PATCH 14/14 tcpreplay: bump to version 4.0.3

In reply to Gustavo Zacarias

Patch removed, already upstream.

---
 ...ild-errors-when-ENABLE_VERBOSE-is-not-set.patch | 54 ----------------------
 package/tcpreplay/tcpreplay.mk                     |  2 +-
 2 files changed, 1 insertion(+), 55 deletions(-)
 delete mode 100644 package/tcpreplay/tcpreplay-0001-Fix-build-errors-when-ENABLE_VERBOSE-is-not-set.patch
package/tcpreplay/tcpreplay-0001-Fix-build-errors-when-ENABLE_VERBOSE-is-not-set.patch deleted +0 -54
deleted file mode 100644
index cbc829d..0000000
@@ -1,54 +0,0 @@
-From 12d0d0876a9a9bf2818ba24ecb5646952b958c39 Mon Sep 17 00:00:00 2001
-From: Chris Packham <[email protected]>
-Date: Wed, 22 Jan 2014 20:37:04 +1300
-Subject: [PATCH] Fix build errors when ENABLE_VERBOSE is not set
-
-Upstream: https://github.com/cpackham/tcpreplay/commit/12d0d0876a9a9
-Fixes #59
-
-When ENABLE_VERBOSE is not set some additional calls to tcpreplay_seterr
-are made. When conforming to C99 variadic macros at least one argument is
-required after the format string[1]. To avoid this problem update the
-calls to tcpreplay_seterr to use a "%s" format string.
-
-[1] - http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html
-
-Signed-off-by: Chris Packham <[email protected]>
----
- src/tcpreplay_api.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/tcpreplay_api.c b/src/tcpreplay_api.c
-index 6b81bcc..de67080 100644
---- a/src/tcpreplay_api.c
-+++ b/src/tcpreplay_api.c
-@@ -690,7 +690,7 @@ tcpreplay_set_verbose(tcpreplay_t *ctx, bool value)
-     ctx->options->verbose = value;
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
-@@ -710,7 +710,7 @@ tcpreplay_set_tcpdump_args(tcpreplay_t *ctx, char *value)
-     ctx->options->tcpdump_args = safe_strdup(value);
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
-@@ -731,7 +731,7 @@ tcpreplay_set_tcpdump(tcpreplay_t *ctx, tcpdump_t *value)
-     ctx->options->tcpdump = value;
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
--- 
-1.8.5.2
-
package/tcpreplay/tcpreplay.mk +1 -1
index fdb42a5..e1ff1f5 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TCPREPLAY_VERSION = 4.0.2
+TCPREPLAY_VERSION = 4.0.3
 TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
 TCPREPLAY_LICENSE = GPLv3
 TCPREPLAY_LICENSE_FILES = docs/LICENSE
Signature · 1 line
1.8.3.2
#16 lore raw

PATCH 14/14 tcpreplay: bump to version 4.0.3

Hi,

Quoted 8 lines · Gustavo Zacarias

Patch removed, already upstream.

---
 ...ild-errors-when-ENABLE_VERBOSE-is-not-set.patch | 54 ----------------------
 package/tcpreplay/tcpreplay.mk                     |  2 +-
 2 files changed, 1 insertion(+), 55 deletions(-)
 delete mode 100644 package/tcpreplay/tcpreplay-0001-Fix-build-errors-when-ENABLE_VERBOSE-is-not-set.patch

Beat me to it :)

Looks good to me

Quoted 81 lines
package/tcpreplay/tcpreplay-0001-Fix-build-errors-when-ENABLE_VERBOSE-is-not-set.patch deleted +0 -54
deleted file mode 100644
index cbc829d..0000000
@@ -1,54 +0,0 @@
-From 12d0d0876a9a9bf2818ba24ecb5646952b958c39 Mon Sep 17 00:00:00 2001
-From: Chris Packham <[email protected]>
-Date: Wed, 22 Jan 2014 20:37:04 +1300
-Subject: [PATCH] Fix build errors when ENABLE_VERBOSE is not set
-
-Upstream: https://github.com/cpackham/tcpreplay/commit/12d0d0876a9a9
-Fixes #59
-
-When ENABLE_VERBOSE is not set some additional calls to tcpreplay_seterr
-are made. When conforming to C99 variadic macros at least one argument is
-required after the format string[1]. To avoid this problem update the
-calls to tcpreplay_seterr to use a "%s" format string.
-
-[1] - http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html
-
-Signed-off-by: Chris Packham <[email protected]>
----
- src/tcpreplay_api.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/tcpreplay_api.c b/src/tcpreplay_api.c
-index 6b81bcc..de67080 100644
---- a/src/tcpreplay_api.c
-+++ b/src/tcpreplay_api.c
-@@ -690,7 +690,7 @@ tcpreplay_set_verbose(tcpreplay_t *ctx, bool value)
-     ctx->options->verbose = value;
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
-@@ -710,7 +710,7 @@ tcpreplay_set_tcpdump_args(tcpreplay_t *ctx, char *value)
-     ctx->options->tcpdump_args = safe_strdup(value);
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
-@@ -731,7 +731,7 @@ tcpreplay_set_tcpdump(tcpreplay_t *ctx, tcpdump_t *value)
-     ctx->options->tcpdump = value;
-     return 0;
- #else
--    tcpreplay_seterr(ctx, "verbose mode not supported");
-+    tcpreplay_seterr(ctx, "%s", "verbose mode not supported");
-     return -1;
- #endif
- }
---
-1.8.5.2
-
package/tcpreplay/tcpreplay.mk +1 -2
index fdb42a5..e1ff1f5 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TCPREPLAY_VERSION = 4.0.2
+TCPREPLAY_VERSION = 4.0.3
 TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
 TCPREPLAY_LICENSE = GPLv3
 TCPREPLAY_LICENSE_FILES = docs/LICENSE
--

1.8.3.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#17 lore raw

PATCH 1/14 libpcap: bump to version 1.5.3

In reply to Gustavo Zacarias
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

TPACKET_V3 support issues fixed in 1.5.2/1.5.3 so the patch is no longer necessary.

Committed series, thanks.

Signature · 1 line
Bye, Peter Korsgaard