summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-11 12:47:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-11 12:47:48 +0100
commita6bffe8d51139834bbb15c1666b1da05ee5c0c81 (patch)
tree850c37892a24169a2d1becb86fd496dd211770a3 /package
parentd1f4029d2064bae748d6768368dc1f8d30890ba8 (diff)
fix musl compile, add missing patch for ipsec-tools
Diffstat (limited to 'package')
-rw-r--r--package/ipsec-tools/Makefile2
-rw-r--r--package/ipsec-tools/patches/patch-src_include-glibc_Makefile_in24
-rw-r--r--package/ipvsadm/Makefile2
-rw-r--r--package/ipvsadm/patches/patch-libipvs_ip_vs_h10
4 files changed, 36 insertions, 2 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 360d55836..bdcdf3cac 100644
--- a/package/ipsec-tools/Makefile
+++ b/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
diff --git a/package/ipsec-tools/patches/patch-src_include-glibc_Makefile_in b/package/ipsec-tools/patches/patch-src_include-glibc_Makefile_in
new file mode 100644
index 000000000..f594f5d92
--- /dev/null
+++ b/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.
diff --git a/package/ipvsadm/Makefile b/package/ipvsadm/Makefile
index 09004b2e3..1f992de47 100644
--- a/package/ipvsadm/Makefile
+++ b/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
diff --git a/package/ipvsadm/patches/patch-libipvs_ip_vs_h b/package/ipvsadm/patches/patch-libipvs_ip_vs_h
new file mode 100644
index 000000000..479b8ab48
--- /dev/null
+++ b/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>