install FIPS-aware OpenSSL Debian packages
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 19 Apr 2013 16:36:38 +0000 (18:36 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 19 Apr 2013 16:36:38 +0000 (18:36 +0200)
testing/scripts/recipes/012_openssl.mk

index 5fcb148..9312445 100644 (file)
@@ -2,25 +2,12 @@
 
 PV  = 1.0.1e
 PKG = openssl-$(PV)
-TAR = $(PKG).tar.gz
-SRC = http://www.openssl.org/source/$(TAR)
+SRC = http://download.strongswan.org/testing/openssl-fips/
 
-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
+$(PKG):
+       wget -r $(SRC) --no-directories --directory-prefix $(PKG) --accept deb
 
+install: $(PKG)
+       cd $(PKG) && dpkg -i *.deb