Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in
@ 2016-01-24 12:18 Bernd Kuhls
  2016-01-24 12:18 ` [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build Bernd Kuhls
  2016-01-26 21:33 ` [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-24 12:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/setools/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/setools/Config.in b/package/setools/Config.in
index 7bab789..c291b21 100644
--- a/package/setools/Config.in
+++ b/package/setools/Config.in
@@ -26,6 +26,8 @@ config BR2_PACKAGE_SETOOLS
 	   * secmds - command-line tools to analyze and search SELinux
 	     policy.
 
+	  https://github.com/TresysTechnology/setools3/wiki
+
 comment "setools needs a toolchain w/ threads, C++, wchar, dynamic library"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
 		|| !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build
  2016-01-24 12:18 [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Bernd Kuhls
@ 2016-01-24 12:18 ` Bernd Kuhls
  2016-02-08 15:36   ` Thomas Petazzoni
  2016-01-26 21:33 ` [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-24 12:18 UTC (permalink / raw)
  To: buildroot

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/tcpreplay/0001-musl.patch           | 20 ++++++++++++++++++++
 package/tcpreplay/0002-musl-socklen_t.patch | 20 ++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 package/tcpreplay/0001-musl.patch
 create mode 100644 package/tcpreplay/0002-musl-socklen_t.patch

diff --git a/package/tcpreplay/0001-musl.patch b/package/tcpreplay/0001-musl.patch
new file mode 100644
index 0000000..cf86719
--- /dev/null
+++ b/package/tcpreplay/0001-musl.patch
@@ -0,0 +1,20 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr tcpreplay-4.1.1.org/src/common/sendpacket.h tcpreplay-4.1.1/src/common/sendpacket.h
+--- tcpreplay-4.1.1.org/src/common/sendpacket.h	2015-12-30 23:01:48.000000000 +0100
++++ tcpreplay-4.1.1/src/common/sendpacket.h	2016-01-24 13:15:04.000000000 +0100
+@@ -23,12 +23,6 @@
+ 
+ #include <sys/socket.h>
+ 
+-#ifdef __NetBSD__
+-#include <net/if_ether.h>
+-#else
+-#include <netinet/if_ether.h>
+-#endif
+-
+ #ifdef HAVE_QUICK_TX
+ #include <linux/quick_tx.h>
+ #if defined (__x86_64__)
diff --git a/package/tcpreplay/0002-musl-socklen_t.patch b/package/tcpreplay/0002-musl-socklen_t.patch
new file mode 100644
index 0000000..db49dbc
--- /dev/null
+++ b/package/tcpreplay/0002-musl-socklen_t.patch
@@ -0,0 +1,20 @@
+Fix musl build
+
+Downloaded from
+http://git.alpinelinux.org/cgit/aports/tree/testing/tcpreplay/musl-socklen_t.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- ./src/common/sendpacket.c.orig
++++ ./src/common/sendpacket.c
+@@ -166,10 +166,6 @@
+ #include "txring.h"
+ #endif
+ 
+-#ifndef __GLIBC__
+-typedef int socklen_t;
+-#endif
+-
+ static sendpacket_t *sendpacket_open_pf(const char *, char *);
+ static struct tcpr_ether_addr *sendpacket_get_hwaddr_pf(sendpacket_t *);
+ static int get_iface_index(int fd, const char *device, char *);
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in
  2016-01-24 12:18 [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Bernd Kuhls
  2016-01-24 12:18 ` [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build Bernd Kuhls
@ 2016-01-26 21:33 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-01-26 21:33 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 24 Jan 2016 13:18:49 +0100, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/setools/Config.in | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build
  2016-01-24 12:18 ` [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build Bernd Kuhls
@ 2016-02-08 15:36   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-08 15:36 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 24 Jan 2016 13:18:50 +0100, Bernd Kuhls wrote:
> The autobuilders did not catch the error yet because they failed
> earlier with other packages, but I am continuing the build based
> on the defconfig from:
> http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Please use more descriptive patch description, use Git to format the
patches, and submit those upstream, since upstream is active on Github:
https://github.com/appneta/tcpreplay.

Due to this, the patches should be in an upstreamable state, i.e not
break other platforms.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-08 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-24 12:18 [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Bernd Kuhls
2016-01-24 12:18 ` [Buildroot] [PATCH 1/1] package/tcpreplay: fix musl build Bernd Kuhls
2016-02-08 15:36   ` Thomas Petazzoni
2016-01-26 21:33 ` [Buildroot] [PATCH 1/1] package/setools: add homepage to Config.in Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox