aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-04-18 12:46:02 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-04-19 18:34:35 +0200
commit70312e6596f28a30e29efc4fd07ae2ab927b762c (patch)
treeb24496c09726884b6895e533bf641db13fdda571 /testing/scripts
parent2d902d7e7c5e1d9b1cc5c6dfc974296c7df20a1a (diff)
downloadstrongswan-70312e6596f28a30e29efc4fd07ae2ab927b762c.tar.bz2
strongswan-70312e6596f28a30e29efc4fd07ae2ab927b762c.tar.xz
build openssl-fips in KVM root-image
Diffstat (limited to 'testing/scripts')
-rw-r--r--testing/scripts/recipes/009_xfrm-proxy.mk (renamed from testing/scripts/recipes/011_xfrm-proxy.mk)0
-rw-r--r--testing/scripts/recipes/010_tkm.mk (renamed from testing/scripts/recipes/009_tkm.mk)0
-rw-r--r--testing/scripts/recipes/011_openssl-fips.mk23
-rw-r--r--testing/scripts/recipes/012_openssl.mk26
-rw-r--r--testing/scripts/recipes/013_strongswan.mk (renamed from testing/scripts/recipes/010_strongswan.mk)0
5 files changed, 49 insertions, 0 deletions
diff --git a/testing/scripts/recipes/011_xfrm-proxy.mk b/testing/scripts/recipes/009_xfrm-proxy.mk
index 569fbfe3c..569fbfe3c 100644
--- a/testing/scripts/recipes/011_xfrm-proxy.mk
+++ b/testing/scripts/recipes/009_xfrm-proxy.mk
diff --git a/testing/scripts/recipes/009_tkm.mk b/testing/scripts/recipes/010_tkm.mk
index 971cd170f..971cd170f 100644
--- a/testing/scripts/recipes/009_tkm.mk
+++ b/testing/scripts/recipes/010_tkm.mk
diff --git a/testing/scripts/recipes/011_openssl-fips.mk b/testing/scripts/recipes/011_openssl-fips.mk
new file mode 100644
index 000000000..5d28b181e
--- /dev/null
+++ b/testing/scripts/recipes/011_openssl-fips.mk
@@ -0,0 +1,23 @@
+#!/usr/bin/make
+
+PV = 2.0.3
+PKG = openssl-fips-$(PV)
+TAR = $(PKG).tar.gz
+SRC = http://www.openssl.org/source/$(TAR)
+
+all: install
+
+$(TAR):
+ wget $(SRC)
+
+$(PKG): $(TAR)
+ tar xfz $(TAR)
+
+configure: $(PKG)
+ cd $(PKG) && ./config
+
+build: configure
+ cd $(PKG) && make
+
+install: build
+ cd $(PKG) && make install
diff --git a/testing/scripts/recipes/012_openssl.mk b/testing/scripts/recipes/012_openssl.mk
new file mode 100644
index 000000000..5fcb148e1
--- /dev/null
+++ b/testing/scripts/recipes/012_openssl.mk
@@ -0,0 +1,26 @@
+#!/usr/bin/make
+
+PV = 1.0.1e
+PKG = openssl-$(PV)
+TAR = $(PKG).tar.gz
+SRC = http://www.openssl.org/source/$(TAR)
+
+CONFIG_OPTS = \
+ --prefix=/usr
+all: install
+
+$(TAR):
+ wget $(SRC)
+
+$(PKG): $(TAR)
+ tar xfz $(TAR)
+
+configure: $(PKG)
+ cd $(PKG) && ./config fips shared $(CONFIG_OPTS)
+
+build: configure
+ cd $(PKG) && make
+
+install: build
+ cd $(PKG) && make install
+
diff --git a/testing/scripts/recipes/010_strongswan.mk b/testing/scripts/recipes/013_strongswan.mk
index 14fdebbc9..14fdebbc9 100644
--- a/testing/scripts/recipes/010_strongswan.mk
+++ b/testing/scripts/recipes/013_strongswan.mk