| 1 | # Sockgit |
| 2 | |
| 3 | A simple service that allows creation of a new git repository without all of the trouble of having to actually ssh in and remember what to do as your stripped down `git` user. |
| 4 | |
| 5 | ## Requirements |
| 6 | |
| 7 | - `netcat` |
| 8 | - `rustc` stable |
| 9 | - An OpenSSL lib to compile/link against (rewriting in a compiled language was a mistake) |
| 10 | |
| 11 | ## Compiling on ARM |
| 12 | |
| 13 | 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. |
| 14 | |
| 15 | - 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` |
| 16 | - Finally build the Piece-of-Software: `OPENSSL_LIB_DIR=/tmp/openssl-$VERSION OPENSSL_INCLUDE_DIR=/tmp/openssl-$VERSION/include cargo build --release` |