* [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL
@ 2016-01-30 10:13 Bernd Kuhls
2016-01-30 10:13 ` [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build Bernd Kuhls
2016-02-07 21:08 ` [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-30 10:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ipsec-tools/ipsec-tools.mk | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/package/ipsec-tools/ipsec-tools.mk b/package/ipsec-tools/ipsec-tools.mk
index 9454c4e..98216ea 100644
--- a/package/ipsec-tools/ipsec-tools.mk
+++ b/package/ipsec-tools/ipsec-tools.mk
@@ -4,10 +4,9 @@
#
################################################################################
-IPSEC_TOOLS_VERSION_MAJOR = 0.8
-IPSEC_TOOLS_VERSION = $(IPSEC_TOOLS_VERSION_MAJOR).2
+IPSEC_TOOLS_VERSION = 0.8.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_SITE = http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/$(IPSEC_TOOLS_VERSION)
IPSEC_TOOLS_INSTALL_STAGING = YES
IPSEC_TOOLS_MAKE = $(MAKE1)
IPSEC_TOOLS_DEPENDENCIES = openssl flex host-flex
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build
2016-01-30 10:13 [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Bernd Kuhls
@ 2016-01-30 10:13 ` Bernd Kuhls
2016-02-07 21:16 ` Thomas Petazzoni
2016-02-07 21:08 ` [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-30 10:13 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/9df/9dfa781a6ebbd8af6aad650067c30a4342b83f0d/
http://autobuild.buildroot.net/results/fee/feed5bc6393fb35be755790d53218fc0d228d850/
and others
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/irda-utils/0004-musl.patch | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 package/irda-utils/0004-musl.patch
diff --git a/package/irda-utils/0004-musl.patch b/package/irda-utils/0004-musl.patch
new file mode 100644
index 0000000..e3e766f
--- /dev/null
+++ b/package/irda-utils/0004-musl.patch
@@ -0,0 +1,37 @@
+Fix musl build
+
+Downloaded from
+http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/musl.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+
+Replace use of <net/if_packet.h> with <linux/if_packet.h>.
+
+kernel headers <linux/if_packet.h> already provides the
+needed definitions, moreover not all libc implementations
+provide if_packet.h e.g. musl
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Pending
+
+Index: irda-utils-0.9.18/irdaping/irdaping.c
+===================================================================
+--- irda-utils-0.9.18.orig/irdaping/irdaping.c
++++ irda-utils-0.9.18/irdaping/irdaping.c
+@@ -33,7 +33,6 @@
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+ #include <net/if.h> /* For struct ifreq */
+-#include <net/if_packet.h> /* For struct sockaddr_pkt */
+ #include <net/if_arp.h> /* For ARPHRD_IRDA */
+ #include <netinet/if_ether.h> /* For ETH_P_ALL */
+ #include <netinet/in.h> /* For htons */
+@@ -46,6 +45,7 @@
+ #include <asm/byteorder.h> /* __cpu_to_le32 and co. */
+
+ #include <linux/types.h> /* For __u8 and co. */
++#include <linux/if_packet.h> /* For struct sockaddr_pkt */
+ #include <irda.h>
+
+ #ifndef AF_IRDA
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build
2016-01-30 10:13 ` [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build Bernd Kuhls
@ 2016-02-07 21:16 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-07 21:16 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 30 Jan 2016 11:13:18 +0100, Bernd Kuhls wrote:
> diff --git a/package/irda-utils/0004-musl.patch b/package/irda-utils/0004-musl.patch
> new file mode 100644
> index 0000000..e3e766f
> --- /dev/null
> +++ b/package/irda-utils/0004-musl.patch
> @@ -0,0 +1,37 @@
> +Fix musl build
> +
> +Downloaded from
> +http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/musl.patch
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
This...
> +
> +
> +Replace use of <net/if_packet.h> with <linux/if_packet.h>.
> +
> +kernel headers <linux/if_packet.h> already provides the
> +needed definitions, moreover not all libc implementations
> +provide if_packet.h e.g. musl
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +Upstream-Status: Pending
... should have been here.
Applied after fixing this.
Can you check if the patch has really been submitted upstream? I
quickly looked in the irda-utils archives, and couldn't find it. Also,
if you could submit upstream the other patches we have, it would be
great.
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/ipsec-tools: fix broken download URL
2016-01-30 10:13 [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Bernd Kuhls
2016-01-30 10:13 ` [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build Bernd Kuhls
@ 2016-02-07 21:08 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-07 21:08 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 30 Jan 2016 11:13:17 +0100, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/ipsec-tools/ipsec-tools.mk | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
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
end of thread, other threads:[~2016-02-07 21:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-30 10:13 [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Bernd Kuhls
2016-01-30 10:13 ` [Buildroot] [PATCH 1/1] package/irda-utils: fix musl build Bernd Kuhls
2016-02-07 21:16 ` Thomas Petazzoni
2016-02-07 21:08 ` [Buildroot] [PATCH 1/1] package/ipsec-tools: fix broken download URL Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox