Page MenuHomeDevCentral

D2089.id5271.diff
No OneTemporary

D2089.id5271.diff

diff --git a/roles/shellserver/userland-software/openssl-legacy.sls b/roles/shellserver/userland-software/openssl-legacy.sls
--- a/roles/shellserver/userland-software/openssl-legacy.sls
+++ b/roles/shellserver/userland-software/openssl-legacy.sls
@@ -8,6 +8,9 @@
{% from "map.jinja" import dirs with context %}
+{% set openssl_version = "1.0.2k" %}
+{% set openssl_tarball = "openssl-" + openssl_version + ".tar.gz" %}
+
# -------------------------------------------------------------
# Source code
# -------------------------------------------------------------
@@ -23,9 +26,11 @@
- group: deployment
- dir_mode: 755
cmd.run:
- - name: curl ftp://openssl.org/source/openssl-1.0.2k.tar.gz | tar xz --strip-components=1
+ - names:
+ - wget https://www.openssl.org/source/{{ openssl_tarball }}
+ - tar xfz {{ openssl_tarball }} --strip-components=1
- cwd: /usr/local/src/openssl-legacy
- - runas: builder
+ - user: builder
- require:
- file: openssl_src
- creates: /usr/local/src/openssl-legacy/Makefile
@@ -36,12 +41,12 @@
openssl_build:
cmd.run:
- - name: |
- ./config --prefix=/opt/openssl-legacy --openssldir={{ dirs.etc }}/ssl-legacy shared zlib-dynamic
- make depend
- make
+ - names:
+ - ./config --prefix=/opt/openssl-legacy --openssldir={{ dirs.etc }}/ssl-legacy shared zlib-dynamic
+ - make depend
+ - make
- cwd: /usr/local/src/openssl-legacy
- - runas: builder
+ - user: builder
- require:
- file: openssl_src
- creates: /usr/local/src/openssl-legacy/libcrypto.so

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 03:49 (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261715
Default Alt Text
D2089.id5271.diff (1 KB)

Event Timeline