Skip to contentSkip to conversation

package/ipsec-tools: fix broken download URL

PATCH Superseded Bernd Kuhls 2 participants 4 messages Jan 30, 2016 – Feb 7, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ipsec-tools: fix broken download URL

---
 package/ipsec-tools/ipsec-tools.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/ipsec-tools/ipsec-tools.mk +2 -3
index 9454c4e..98216ea 100644
@@ -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
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/1 package/irda-utils: fix musl build

Fixes
http://autobuild.buildroot.net/results/9df/9dfa781a6ebbd8af6aad650067c30a4342b83f0d/
http://autobuild.buildroot.net/results/fee/feed5bc6393fb35be755790d53218fc0d228d850/
and others

---
 package/irda-utils/0004-musl.patch | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 package/irda-utils/0004-musl.patch
package/irda-utils/0004-musl.patch new file +37 -0
new file mode 100644
index 0000000..e3e766f
@@ -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 <[email protected]>
+
+
+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 <[email protected]>
+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
Signature · 1 line
2.7.0.rc3
#2 lore raw

PATCH 1/1 package/irda-utils: fix musl build

Dear Bernd Kuhls,

package/irda-utils/0004-musl.patch line 6

Quoted 12 lines · Bernd Kuhls
package/irda-utils/0004-musl.patch new file +6 -0
new file mode 100644
index 0000000..e3e766f
@@ -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 <[email protected]>

This...

package/irda-utils/0004-musl.patch line 16

Quoted 10 lines
package/irda-utils/0004-musl.patch new file +10 -0
+
+
+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 <[email protected]>
+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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 package/ipsec-tools: fix broken download URL

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 4 lines · Bernd Kuhls
---
 package/ipsec-tools/ipsec-tools.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

Thomas

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