Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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