Skip to content

Instantly share code, notes, and snippets.

Last active October 9, 2018 16:04
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Building Tinc1.1pre12 on Debian Wheezy

Create the build directory:

mkdir -p /usr/src/tinc
cd /usr/src/tinc

Get the Source packages

tar xvzf tinc_1.1~pre12.orig.tar.gz
tar xvJf tinc_1.1~pre12-1.debian.tar.xz -C tinc-1.1pre11
cd tinc-1.1pre12

If you want debug symbols for tinc edit the build files as follows:

Append to debian/rules

PHONY: override_dh_strip
        dh_strip --dbg-package=tinc-dbg

Append to debian/control

Package: tinc-dbg
Architecture: any
Section: debug
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}, tinc (= ${binary:Version})
Description: debugging symbols for tinc
 tinc is a daemon with which you can create a virtual private network
 (VPN). One daemon can handle multiple connections, so you can
 create an entire (moderately sized) VPN with only one daemon per
 participating computer.
 This package contains the debugging symbols for tinc.

Build the package

dpkg-buildpackage -rfakeroot -uc -us

Install the package

dpkg -i ../tinc_1.1~pre12-1_amd64.deb
dpkg -i ../tinc-dbg_1.1~pre12-1_amd64.deb
Copy link

Mic92 commented Aug 3, 2016

debian now ships tinc_1.1~pre12-1 in testing!

Copy link

krombel commented Oct 9, 2018

As of yesterday it is tinc_1.1~pre17-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment