crypto: update Mac OS documentation
Rewrote the instructions on how to set up the build environment on Mac OS.
Fixes .
@@ -93,23 +93,18 @@ For a custom Botan development file location set:
### Mac OS X
-Both variants of the plugin compile under Mac OS X "El Capitan" (Version 10.11.3 (15D21)).
+All variants of the plugin work under Mac OS Sierra (Version 10.12.3 (16D32)).
-For the `crypto_gcrypt` variant download and install either [MacPorts](https://www.macports.org/) or [Homebrew](http://brew.sh/).
-Use one of those tools to download and install `libgcrypt`. If you choose MacPorts, you can set the CMake variables like this:
+To set up the build environment on Mac OS Sierra we reccommend using [Homebrew](http://brew.sh/).
+Follow these steps to get everything up and running:
-- *LIBGCRYPT_INCLUDE_DIR* to `/opt/local/include/`
-- *LIBGCRYPT_LIBRARIES* to `/opt/local/lib/libgcrypt.dylib`
+ brew update
+ brew upgrade
+ brew install openssl botan libgcrypt cmake
+ # The next step is required for pkg-config to find the include files of OpenSSL
+ ln -s /usr/local/opt/openssl/include/openssl/ /usr/local/include/openssl
-The CMake command might look something like:
-
- cmake -DLIBGCRYPT_INCLUDE_DIR="/opt/local/include/" -DLIBGCRYPT_LIBRARIES="/opt/local/lib/libgcrypt.dylib" -DPLUGINS="crypto;crypto_gcrypt;" /path_to_elektra_src
-
-For the `crypto_openssl` variant a custom-built OpenSSL library is necessary as the MacPorts or Homebrew variants do not seem to work.
-Download the latest version of the OpenSSL library from the [project homepage](https://www.openssl.org/source/) and compile it.
-Copy the header files and the binary files to a location where all users can access them.
-
-Set the CMake variables `OPENSSL_INCLUDE_DIR` and `OPENSSL_LIBRARIES` to your desired location.
+Also a GPG installation is required. The [GPG Tools](https://gpgtools.org) work fine for us.
## Restrictions
