]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Provide recipes to build tkm and required libraries
authorReto Buerki <reet@codelabs.ch>
Tue, 22 Jan 2013 15:07:25 +0000 (16:07 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:50 +0000 (15:23 +0100)
testing/scripts/recipes/005_anet.mk [new file with mode: 0644]
testing/scripts/recipes/006_tkm-rpc.mk [new file with mode: 0644]
testing/scripts/recipes/007_x509-ada.mk [new file with mode: 0644]
testing/scripts/recipes/008_xfrm-ada.mk [new file with mode: 0644]
testing/scripts/recipes/009_tkm.mk [new file with mode: 0644]
testing/scripts/recipes/010_strongswan.mk [moved from testing/scripts/recipes/005_strongswan.mk with 95% similarity]

diff --git a/testing/scripts/recipes/005_anet.mk b/testing/scripts/recipes/005_anet.mk
new file mode 100644 (file)
index 0000000..1ecb7b2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make
+
+PKG = anet
+SRC = http://git.codelabs.ch/git/$(PKG).git
+REV = v0.2.2
+
+all: install
+
+.$(PKG)-cloned:
+       git clone $(SRC) $(PKG)
+       cd $(PKG) && git checkout $(REV)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-cloned
+       cd $(PKG) && make tests && make LIBRARY_KIND=static
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make LIBRARY_KIND=static install
diff --git a/testing/scripts/recipes/006_tkm-rpc.mk b/testing/scripts/recipes/006_tkm-rpc.mk
new file mode 100644 (file)
index 0000000..571d590
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/make
+
+PKG = tkm-rpc
+SRC = http://git.codelabs.ch/git/$(PKG).git
+REV = v0.1
+
+export ADA_PROJECT_PATH=/root/libraries/lib/gnat
+
+all: install
+
+.$(PKG)-cloned:
+       git clone $(SRC) $(PKG)
+       cd $(PKG) && git checkout $(REV)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-cloned
+       cd $(PKG) && make tests && make
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/007_x509-ada.mk b/testing/scripts/recipes/007_x509-ada.mk
new file mode 100644 (file)
index 0000000..319a6e2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make
+
+PKG = x509-ada
+SRC = http://git.codelabs.ch/git/$(PKG).git
+REV = v0.1
+
+all: install
+
+.$(PKG)-cloned:
+       git clone $(SRC) $(PKG)
+       cd $(PKG) && git checkout $(REV)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-cloned
+       cd $(PKG) && make tests && make
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/008_xfrm-ada.mk b/testing/scripts/recipes/008_xfrm-ada.mk
new file mode 100644 (file)
index 0000000..f44a282
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/make
+
+PKG = xfrm-ada
+SRC = http://git.codelabs.ch/git/$(PKG).git
+REV = v0.1
+
+export ADA_PROJECT_PATH=/root/libraries/lib/gnat
+
+all: install
+
+.$(PKG)-cloned:
+       git clone $(SRC) $(PKG)
+       cd $(PKG) && git checkout $(REV)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-cloned
+       cd $(PKG) && make
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/009_tkm.mk b/testing/scripts/recipes/009_tkm.mk
new file mode 100644 (file)
index 0000000..e8ced8a
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/make
+
+PKG = tkm
+SRC = http://git.codelabs.ch/git/$(PKG).git
+REV = v0.1
+
+export ADA_PROJECT_PATH=/root/libraries/lib/gnat
+
+all: install
+
+.$(PKG)-cloned:
+       git clone $(SRC) $(PKG)
+       cd $(PKG) && git checkout $(REV)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-cloned
+       cd $(PKG) && make tests && make
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make install
similarity index 95%
rename from testing/scripts/recipes/005_strongswan.mk
rename to testing/scripts/recipes/010_strongswan.mk
index 8bac5aa07e09886ca601cb669bdaf99b927fbae9..4390bf49f1d74074322764e6a4b609110ac118f0 100644 (file)
@@ -69,7 +69,10 @@ CONFIG_OPTS = \
        --enable-pkcs8 \
        --enable-unity \
        --enable-unbound \
-       --enable-ipseckey
+       --enable-ipseckey \
+       --enable-tkm
+
+export ADA_PROJECT_PATH=/root/libraries/lib/gnat
 
 all: install