From 8f0da580686d7a40eb710809ee2500eb57ba7830 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 21 Jan 2021 13:12:35 +0000 Subject: [PATCH] mention the configure script and how to link to a local libtls --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index c3bc947..aa67019 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ The build is as simple as make +If the configure scripts fails to pick up something, please open an +isuse or notify me via email. + To install execute: make install @@ -60,6 +63,23 @@ and then run it with something along the lines of ellipses used for brevity. +#### Local libretls + +This is **NOT** recommended, please try to port LibreSSL/LibreTLS to +your distribution of choice or use docker instead. + +However, it's possible to link `gmid` to locally-installed libtls +quite easily. (It's how I test gmid on Fedora, for instance) + +Let's say you have compiled and installed libressl in `$LIBRESSL`, +then you can build `gmid` with + + ./configure CFLAGS="-I$LIBRESSL/include" \ + LDFLAGS="$LIBRESSL/lib/libtls.a -lssl -lcrypto" + make + +(Fedora requires also `-lpthread` for some reason) + ## Architecture/Security considerations