summaryrefslogtreecommitdiff
path: root/package/ipsec-tools
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipsec-tools')
-rw-r--r--package/ipsec-tools/Makefile7
-rw-r--r--package/ipsec-tools/patches/patch-src_include-glibc_Makefile_in24
2 files changed, 27 insertions, 4 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 781aefb6f..bdcdf3cac 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= ipsec-tools
-PKG_VERSION:= 0.8.1
-PKG_RELEASE:= 1
-PKG_MD5SUM:= d38b39f291ba2962387c3232e7335dd8
+PKG_VERSION:= 0.8.0
+PKG_RELEASE:= 2
+PKG_MD5SUM:= b79aae3055a51f8de5c0f1b8ca6cf619
PKG_DESCR:= IPsec management tools
PKG_SECTION:= net/security
PKG_BUILDDEP:= openssl flex
@@ -26,7 +26,6 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPSEC_TOOLS,ipsec-tools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
-TARGET_CPPFLAGS+= -I${LINUX_DIR}/include
CONFIGURE_ARGS+= --with-kernel-headers="${LINUX_DIR}/include" \
--without-readline \
--disable-security-context \
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.