aboutsummaryrefslogtreecommitdiff
path: root/package/openswan
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan')
-rw-r--r--package/openswan/Config.in6
-rw-r--r--package/openswan/openswan.hash6
-rw-r--r--package/openswan/openswan.mk8
3 files changed, 11 insertions, 9 deletions
diff --git a/package/openswan/Config.in b/package/openswan/Config.in
index 340686cc50..c71d064daf 100644
--- a/package/openswan/Config.in
+++ b/package/openswan/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_OPENSWAN
bool "openswan"
depends on BR2_USE_MMU # iproute2
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
- depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # ns_t_tkey
select BR2_PACKAGE_GMP
select BR2_PACKAGE_IPROUTE2
help
@@ -10,7 +10,7 @@ config BR2_PACKAGE_OPENSWAN
http://www.openswan.org
-comment "openswan needs a uClibc or glibc toolchain w/ headers >= 3.4"
+comment "openswan needs a glibc or musl toolchain w/ headers >= 3.4"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
- BR2_TOOLCHAIN_USES_MUSL
+ BR2_TOOLCHAIN_USES_UCLIBC
diff --git a/package/openswan/openswan.hash b/package/openswan/openswan.hash
index a9b54dbaf6..574009ebfb 100644
--- a/package/openswan/openswan.hash
+++ b/package/openswan/openswan.hash
@@ -1,4 +1,4 @@
# Locally calculated
-sha256 4124f4ce970089f301c34b9c48f54b021cf6b2b8813877942337f8022104f70d openswan-2.6.51.5.tar.gz
-sha256 1c36ae1e7b0f6cce4b4ffe969b71f83635734804acdd38544443564b00f8783a COPYING
-sha256 d7d012ef3be47faffba4d97a83d4986c9f4a63ac997ebf5961d33852e5f1801a LICENSE
+sha256 69fe7a71e54aaf0ea93b874db4963057c1ff4904b3617b36f2c9be2010c23331 openswan-3.0.0.tar.gz
+sha256 1c36ae1e7b0f6cce4b4ffe969b71f83635734804acdd38544443564b00f8783a COPYING
+sha256 d7d012ef3be47faffba4d97a83d4986c9f4a63ac997ebf5961d33852e5f1801a LICENSE
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
index aabf7d98c7..7f083f695d 100644
--- a/package/openswan/openswan.mk
+++ b/package/openswan/openswan.mk
@@ -4,16 +4,18 @@
#
################################################################################
-OPENSWAN_VERSION = 2.6.51.5
-OPENSWAN_SITE = https://download.openswan.org/openswan
+OPENSWAN_VERSION = 3.0.0
+OPENSWAN_SITE = $(call github,xelerance,Openswan,v$(OPENSWAN_VERSION))
OPENSWAN_LICENSE = GPL-2.0+, BSD-3-Clause
OPENSWAN_LICENSE_FILES = COPYING LICENSE
+OPENSWAN_CPE_ID_VENDOR = xelerance
OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2
OPENSWAN_MAKE_OPTS = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" POD2MAN="" XMLTO="" \
USERCOMPILE="$(TARGET_CFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \
USERLINK="$(TARGET_LDFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \
- INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false
+ INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false \
+ USE_NOMANINSTALL=true
ifeq ($(BR2_PACKAGE_LIBCURL),y)
OPENSWAN_DEPENDENCIES += libcurl