From 70312e6596f28a30e29efc4fd07ae2ab927b762c Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 18 Apr 2013 12:46:02 +0200 Subject: [PATCH] build openssl-fips in KVM root-image --- .../{011_xfrm-proxy.mk => 009_xfrm-proxy.mk} | 0 .../recipes/{009_tkm.mk => 010_tkm.mk} | 0 testing/scripts/recipes/011_openssl-fips.mk | 23 ++++++++++++++++ testing/scripts/recipes/012_openssl.mk | 26 +++++++++++++++++++ .../{010_strongswan.mk => 013_strongswan.mk} | 0 5 files changed, 49 insertions(+) rename testing/scripts/recipes/{011_xfrm-proxy.mk => 009_xfrm-proxy.mk} (100%) rename testing/scripts/recipes/{009_tkm.mk => 010_tkm.mk} (100%) create mode 100644 testing/scripts/recipes/011_openssl-fips.mk create mode 100644 testing/scripts/recipes/012_openssl.mk rename testing/scripts/recipes/{010_strongswan.mk => 013_strongswan.mk} (100%) diff --git a/testing/scripts/recipes/011_xfrm-proxy.mk b/testing/scripts/recipes/009_xfrm-proxy.mk similarity index 100% rename from testing/scripts/recipes/011_xfrm-proxy.mk rename to testing/scripts/recipes/009_xfrm-proxy.mk diff --git a/testing/scripts/recipes/009_tkm.mk b/testing/scripts/recipes/010_tkm.mk similarity index 100% rename from testing/scripts/recipes/009_tkm.mk rename to 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 0000000000..5d28b181e7 --- /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 0000000000..5fcb148e18 --- /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 similarity index 100% rename from testing/scripts/recipes/010_strongswan.mk rename to testing/scripts/recipes/013_strongswan.mk -- 2.47.2