From d8c623dd75bb1f45258bc7f8e7424772b7562909 Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Sat, 25 Apr 2020 13:59:49 -0500 Subject: [PATCH] Add compilation on ARM docs --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 8c59cd9..7692723 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,12 @@ A simple service that allows creation of a new git repository without all of the ## Requirements - `netcat` +- `rustc` stable +- An OpenSSL lib to compile/link against (rewriting in a compiled language was a mistake) + +## Compiling on ARM + +The whole point of this lib was that it would run on my RPi3+. It doesn't do that off the bat anymore, thanks Rust. + +- Compile yourself a version of the OpenSSL source: `curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xz -C /tmp && cd openssl-$VERSION && ./config shared && make` +- Finally build the Piece-of-Software: `OPENSSL_LIB_DIR=/tmp/openssl-$VERSION OPENSSL_INCLUDE_DIR=/tmp/openssl-$VERSION/include cargo build --release` -- 2.20.1