Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10813662
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/shellserver/userland-software/init.sls b/roles/shellserver/userland-software/init.sls
index 938f19d..6e84851 100644
--- a/roles/shellserver/userland-software/init.sls
+++ b/roles/shellserver/userland-software/init.sls
@@ -1,13 +1,14 @@
# -------------------------------------------------------------
# Salt — Provision software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-04-10
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
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
index 48a7dd2..4ebbc0f 100644
--- a/roles/shellserver/userland-software/openssl-legacy.sls
+++ b/roles/shellserver/userland-software/openssl-legacy.sls
@@ -1,53 +1,59 @@
# -------------------------------------------------------------
# Salt — Deploy legacy OpenSSL 1.0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2017-02-25
# 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
- user: builder
- group: deployment
- dir_mode: 755
cmd.run:
- name: curl ftp://openssl.org/source/openssl-1.0.2k.tar.gz | tar xz --strip-components=1
- cwd: /usr/local/src/openssl-legacy
- runas: builder
- require:
- file: openssl_src
- creates: /usr/local/src/openssl-legacy/Makefile
# -------------------------------------------------------------
# Build
# -------------------------------------------------------------
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
- runas: builder
- require:
- file: openssl_src
- creates: /usr/local/src/openssl-legacy/libcrypto.so
# -------------------------------------------------------------
# Install
# -------------------------------------------------------------
openssl_install:
cmd.run:
- name: make MANDIR=/opt/openssl-legacy/man MANSUFFIX=ssl install
- cwd: /usr/local/src/openssl-legacy
- require:
- cmd: openssl_build
- creates: /opt/openssl-legacy/bin/openssl
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jul 29, 13:57 (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2853011
Default Alt Text
(2 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment