build openssl-fips in KVM root-image
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user