charon-tkm: Delegate encryption/decryption of IKE traffic to TKM

Co-authored-by: Tobias Brunner <tobias@strongswan.org>
This commit is contained in:
Stefan Berghofer
2021-06-17 09:53:51 +02:00
committed by Tobias Brunner
co-authored by Tobias Brunner
parent 6537be9c8d
commit 22e7900718
6 changed files with 334 additions and 121 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/make
PKG = spark-crypto
SRC = https://git.codelabs.ch/spark-crypto.git
REV = c97939b6cdd5e5f19847cf8d1abb7575e1c01df7
DESTDIR = /usr/local/ada/lib/gnat
all: install
.$(PKG)-cloned:
[ -d $(PKG) ] || git clone $(SRC) $(PKG)
@touch $@
.$(PKG)-checkout-$(REV): .$(PKG)-cloned
cd $(PKG) && git fetch && git checkout $(REV)
@rm -f .$(PKG)-checkout-* && touch $@
.$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
cd $(PKG) && make NO_SPARK=1 NO_TESTS=1 NO_APIDOC=1
@rm -f .$(PKG)-built-* && touch $@
install: .$(PKG)-built-$(REV)
cd $(PKG) && make NO_SPARK=1 NO_TESTS=1 NO_APIDOC=1 DESTDIR=$(DESTDIR) install
+1 -1
View File
@@ -2,7 +2,7 @@
PKG = tkm-rpc
SRC = https://git.codelabs.ch/git/$(PKG).git
REV = 1235905c5c6fad5df1eecb6ba0447d5722753203
REV = a681aa8694412f16a44a7fba2eeb67cb3d43caf6
PREFIX = /usr/local/ada
+1 -1
View File
@@ -2,7 +2,7 @@
PKG = tkm
SRC = https://git.codelabs.ch/git/$(PKG).git
REV = b99aeb158b7701ea4a77184bff5ff38f8e26013a
REV = fadff7fd8c454ae46177924fde56600081ddf4d5
export ADA_PROJECT_PATH=/usr/local/ada/lib/gnat