Created
May 6, 2020 10:02
-
-
Save AiyionPrime/dc2c9bbb39fb585744403105a18bd014 to your computer and use it in GitHub Desktop.
This script builds and installs the experimental 'ponyhof' branch of tinc on a clean deban buster with sudo configured
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script builds and installs the experimental 'ponyhof' branch of tinc on a clean deban buster with sudo configured | |
sudo apt install git autoconf gcc libncurses-dev libreadline-dev zlib1g-dev liblzo2-dev libssl-dev make | |
sudo apt install make texinfo checkinstall | |
cd ~ | |
if [ ! -d tinc ]; then | |
git clone https://github.com/thorkill/tinc.git | |
fi | |
cd tinc | |
autoreconf -fsi | |
./configure \ | |
--prefix=/usr \ | |
--sysconfdir=/etc \ | |
--localstatedir=/var \ | |
--sbindir=/usr/local/bin \ | |
--with-systemd=/usr/lib/systemd/system | |
make | |
sudo checkinstall --pkgversion 1.1-pre-ponyhof -y make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment