]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
build openssl-fips in KVM root-image
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 18 Apr 2013 10:46:02 +0000 (12:46 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 19 Apr 2013 16:34:35 +0000 (18:34 +0200)
testing/scripts/recipes/009_xfrm-proxy.mk [moved from testing/scripts/recipes/011_xfrm-proxy.mk with 100% similarity]
testing/scripts/recipes/010_tkm.mk [moved from testing/scripts/recipes/009_tkm.mk with 100% similarity]
testing/scripts/recipes/011_openssl-fips.mk [new file with mode: 0644]
testing/scripts/recipes/012_openssl.mk [new file with mode: 0644]
testing/scripts/recipes/013_strongswan.mk [moved from testing/scripts/recipes/010_strongswan.mk with 100% similarity]

diff --git a/testing/scripts/recipes/011_openssl-fips.mk b/testing/scripts/recipes/011_openssl-fips.mk
new file mode 100644 (file)
index 0000000..5d28b18
--- /dev/null
@@ -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 (file)
index 0000000..5fcb148
--- /dev/null
@@ -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
+