~ salmonella-environment-setup (master) e2c55b6477115fbcd3af9a0792a720850e5417c8


commit e2c55b6477115fbcd3af9a0792a720850e5417c8
Author:     Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Tue Jul 20 22:04:00 2021 +0200
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Tue Jul 20 22:04:09 2021 +0200

    openbsd-6.8: add openssl package and system settings
    
    OpenBSD ships LibreSSL by default, and that doesn't provide the API
    expected by the openssl egg, so we install the openssl package and set
    the environment variables expected by the openssl egg.

diff --git a/conf/shell-settings/openbsd/settings.sh b/conf/shell-settings/openbsd/settings.sh
index 2cfc5b7..04fd244 100644
--- a/conf/shell-settings/openbsd/settings.sh
+++ b/conf/shell-settings/openbsd/settings.sh
@@ -1,4 +1,5 @@
 export BLOSC_DIR=/usr/local
+
 export CSC_OPTIONS="\
     -I/usr/X11R6/include/ \
     -I/usr/local/include/ \
@@ -9,3 +10,8 @@ export CSC_OPTIONS="\
 
 export KIWI_LDLIBS="-L/usr/local/lib -lKiWi"
 export KIWI_CFLAGS="-I/usr/local/include/KiWi"
+
+OPENSSL_CFLAGS=$(pkg-config --cflags eopenssl11)
+export OPENSSL_CFLAGS
+OPENSSL_LDLIBS=$(pkg-config --libs eopenssl11)
+export OPENSSL_LDLIBS
diff --git a/system-setup/openbsd-6.8.sh b/system-setup/openbsd-6.8.sh
index 5da85e8..54fa68c 100755
--- a/system-setup/openbsd-6.8.sh
+++ b/system-setup/openbsd-6.8.sh
@@ -21,6 +21,7 @@ sudo pkg_add \
      lmdb \
      nanomsg \
      openmpi \
+     openssl \
      postgresql-server \
      qt4 \
      sdl2 \
Trap