summaryrefslogtreecommitdiff
path: root/package/openswan/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-03-21 20:10:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-03-21 20:11:29 +0100
commit1f0b1b4dc960d55dc3d1df6a85ef5470e1c6c092 (patch)
treec0deeb011274affb0dd9d50bf6cd3599fe88da41 /package/openswan/Makefile
parent7b6d51bed2af151260f2a9a1d20446bb8f4b737d (diff)
openswan: update to 3.0.0
Diffstat (limited to 'package/openswan/Makefile')
-rw-r--r--package/openswan/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 5a48daf15..9dec6182d 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -4,19 +4,20 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openswan
-PKG_VERSION:= 2.6.51.5
+PKG_VERSION:= 3.0.0
PKG_RELEASE:= 1
-PKG_HASH:= 4124f4ce970089f301c34b9c48f54b021cf6b2b8813877942337f8022104f70d
+PKG_HASH:= 69fe7a71e54aaf0ea93b874db4963057c1ff4904b3617b36f2c9be2010c23331
PKG_DESCR:= ipsec software
PKG_SECTION:= net/security
PKG_DEPENDS:= libgmp
PKG_BUILDDEP:= gmp
PKG_NEEDS:= threads
PKG_URL:= http://www.openswan.org/
-PKG_SITES:= http://www.openswan.org/download/
+PKG_SITES:= https://github.com/xelerance/Openswan/archive/refs/tags/
PKG_NOPARALLEL:= 1
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+DISTFILES:= v${PKG_VERSION}.tar.gz
+WRKDIST= $(WRKDIR)/Openswan-$(PKG_VERSION)
# GLOB_BRACE usage
PKG_LIBC_DEPENDS:= uclibc-ng glibc
@@ -32,7 +33,9 @@ XAKE_FLAGS+= KERNELSRC="${LINUX_DIR}" \
MODPROBE="insmod" \
OSDEP="linux" \
WERROR="" \
- BUILDENV="linux"
+ BUILDENV="linux" \
+ ARCH=$(ADK_TARGET_KARCH) \
+ V=1
ALL_TARGET:= programs
openswan-install: