Page MenuHomeDevCentral

D2086.diff
No OneTemporary

D2086.diff

diff --git a/roles/shellserver/userland-software/init.sls b/roles/shellserver/userland-software/init.sls
--- a/roles/shellserver/userland-software/init.sls
+++ b/roles/shellserver/userland-software/init.sls
@@ -9,5 +9,6 @@
include:
- roles/builder/account
- .base
+ - .openssl-legacy
- .irc
- .web
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
@@ -6,10 +6,16 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% from "map.jinja" import dirs with context %}
+
# -------------------------------------------------------------
# Source code
# -------------------------------------------------------------
+/usr/local/src:
+ file.directory:
+ - dir_mode: 755
+
openssl_src:
file.directory:
- name: /usr/local/src/openssl-legacy
@@ -31,7 +37,7 @@
openssl_build:
cmd.run:
- name: |
- ./config --prefix=/opt/openssl-legacy --openssldir=/etc/ssl-legacy shared zlib-dynamic
+ ./config --prefix=/opt/openssl-legacy --openssldir={{ dirs.etc }}/ssl-legacy shared zlib-dynamic
make depend
make
- cwd: /usr/local/src/openssl-legacy

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 16:05 (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247762
Default Alt Text
D2086.diff (1 KB)

Event Timeline