Skip to content

Instantly share code, notes, and snippets.

@AiyionPrime
Created May 6, 2020 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AiyionPrime/dc2c9bbb39fb585744403105a18bd014 to your computer and use it in GitHub Desktop.
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
#!/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