Browse Source

fix musl compile, add missing patch for ipsec-tools

Waldemar Brodkorb 11 years ago
parent
commit
a6bffe8d51

+ 1 - 1
package/ipsec-tools/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		ipsec-tools
 PKG_VERSION:=		0.8.0
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		b79aae3055a51f8de5c0f1b8ca6cf619
 PKG_DESCR:=		IPsec management tools
 PKG_SECTION:=		net/security

+ 24 - 0
package/ipsec-tools/patches/patch-src_include-glibc_Makefile_in

@@ -0,0 +1,24 @@
+--- ipsec-tools-0.8.0.orig/src/include-glibc/Makefile.in	2011-03-18 14:27:40.000000000 +0100
++++ ipsec-tools-0.8.0/src/include-glibc/Makefile.in	2013-07-17 14:35:36.000000000 +0200
+@@ -183,7 +183,7 @@ EXTRA_DIST = \
+   netinet/ipsec.h \
+   sys/queue.h
+ 
+-DISTCLEANFILES = .includes linux
++DISTCLEANFILES = linux
+ all: all-am
+ 
+ .SUFFIXES:
+@@ -370,11 +370,7 @@ uninstall-am:
+ 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+ 
+ 
+-.includes: ${top_builddir}/config.status
+-	ln -sf $(KERNEL_INCLUDE)/linux
+-	touch .includes
+-
+-all: .includes
++all:
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

+ 1 - 1
package/ipvsadm/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		ipvsadm
 PKG_VERSION:=		1.26
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		eac3ba3f62cd4dea2da353aeddd353a8
 PKG_DESCR:=		IPVS admin utility
 PKG_SECTION:=		net

+ 10 - 0
package/ipvsadm/patches/patch-libipvs_ip_vs_h

@@ -0,0 +1,10 @@
+--- ipvsadm-1.26.orig/libipvs/ip_vs.h	2011-02-07 03:38:57.000000000 +0100
++++ ipvsadm-1.26/libipvs/ip_vs.h	2014-02-11 12:45:07.000000000 +0100
+@@ -10,6 +10,7 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+ #include <linux/types.h>	/* For __beXX types in userland */
++#include <sys/types.h>
+ 
+ #ifdef LIBIPVS_USE_NL
+ #include <netlink/netlink.h>