build openssl-fips in KVM root-image

This commit is contained in:
Andreas Steffen
2013-04-19 18:34:35 +02:00
parent 2d902d7e7c
commit 70312e6596
5 changed files with 49 additions and 0 deletions
@@ -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
+26
View File
@@ -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