debian/0000700000000000000000000000000012250047542007155 5ustar debian/tinc.init0000600000000000000000000000410712250044423010776 0ustar #! /bin/sh # ### BEGIN INIT INFO # Provides: tinc # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Should-Start: $syslog $named # Should-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start tinc daemons # Description: Create a file $NETSFILE (/etc/tinc/nets.boot), # and put all the names of the networks in there. # These names must be valid directory names under # $TCONF (/etc/tinc). Lines starting with a # will be # ignored in this file. ### END INIT INFO # # Based on Lubomir Bulej's Redhat init script. . /lib/lsb/init-functions DAEMON="/usr/sbin/tincd" NAME="tinc" DESC="tinc daemons" TCONF="/etc/tinc" NETSFILE="$TCONF/nets.boot" NETS="" test -f $DAEMON || exit 0 [ -r /etc/default/tinc ] && . /etc/default/tinc # foreach_net "what-to-say" action [arguments...] foreach_net() { if [ ! -f $NETSFILE ] ; then echo "Please create $NETSFILE." exit 0 fi echo -n "$1" shift egrep '^[ ]*[a-zA-Z0-9_-]+' $NETSFILE | while read net args; do echo -n " $net" "$@" $net $args done echo "." } signal_running() { for i in /var/run/tinc.*pid; do if [ -f "$i" ]; then head -1 $i | while read pid; do kill -$1 $pid done fi done } start() { $DAEMON $EXTRA -n "$@" } stop() { $DAEMON -n $1 -k } reload() { $DAEMON -n $1 -kHUP } alarm() { $DAEMON -n $1 -kALRM } restart() { stop "$@" sleep 0.5 i=0; while [ -f /var/run/tinc.$1.pid ] ; do if [ $i = '10' ] ; then break else echo -n "." sleep 0.5 i=$(($i+1)) fi done start "$@" } case "$1" in start) foreach_net "Starting $DESC:" start ;; stop) foreach_net "Stopping $DESC:" stop ;; reload|force-reload) foreach_net "Reloading $DESC configuration:" reload ;; restart) foreach_net "Restarting $DESC:" restart ;; alarm) signal_running ALRM ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|reload|restart|force-reload|alarm}" exit 1 ;; esac exit 0 debian/tinc.default0000600000000000000000000000006411273360704011464 0ustar # Extra options to be passed to tincd. # EXTRA="-d" debian/tinc.if-up0000700000000000000000000000016712250044330011053 0ustar #!/bin/sh set -e if [ "$METHOD" = loopback -o -n "$IF_TINC_NET" ]; then exit 0 fi invoke-rc.d tinc alarm || exit 0 debian/postrm0000600000000000000000000000013311343206020010411 0ustar #!/bin/sh set -e if [ "$1" = purge ]; then rm -f /etc/tinc/nets.boot fi #DEBHELPER# debian/postinst0000600000000000000000000000125411343210226010760 0ustar #! /bin/sh NETSFILE="/etc/tinc/nets.boot" set -e case "$1" in configure) if [ ! -e /dev/.devfsd ] ; then if [ ! -e /dev/.devfs ] ; then if [ ! -e /dev/net/tun ] ; then if [ ! -e /dev/tun ] ; then echo "Creating tun device..." cd /dev && ./MAKEDEV net/tun 2>/dev/null || ./MAKEDEV tun 2>/dev/null || echo "Failed to create tun device." fi; fi fi; fi if [ ! -e $NETSFILE ] ; then echo "## This file contains all names of the networks to be started on system startup." > $NETSFILE fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# debian/changelog0000600000000000000000000004130512250047535011036 0ustar tinc (1.0.23-2) unstable; urgency=low * Use if-statements instead of && in shell scripts. Closes: #731279 The && operator does not clear the error status, and if the next statement in a shell script does not change the error status it would cause the script to prematurely exit. Thanks to Peter Reinholdtsen for spotting it. * Use absolute path to tincd in the if-post-down script. -- Guus Sliepen Thu, 05 Dec 2013 09:41:13 +0000 tinc (1.0.23-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Sat, 19 Oct 2013 21:06:05 +0200 tinc (1.0.22-1) unstable; urgency=low * New upstream release. - Handles whitespace between command line flags and optional arguments. Closes: #710267 * Bump Standards-Version. * Source /lib/lsb/init-functions in the init.d script. * Don't use texi2html anymore, use automake's install-html target which uses makeinfo. -- Guus Sliepen Wed, 14 Aug 2013 15:34:29 +0200 tinc (1.0.21-1) unstable; urgency=low * New upstream release. - Includes fix for CVE-2013-1428. -- Guus Sliepen Sun, 05 May 2013 10:42:33 +0200 tinc (1.0.19-3) unstable; urgency=high * Drop packets forwarded via TCP if they are too big (CVE-2013-1428). -- Guus Sliepen Fri, 12 Apr 2013 22:52:10 +0200 tinc (1.0.19-2) unstable; urgency=low * Fix behaviour of tinc-pidfile. Closes: #679130 * Enable parallel building in debian/rules. -- Guus Sliepen Tue, 26 Jun 2012 18:28:34 +0200 tinc (1.0.19-1) unstable; urgency=low * New upstream release. * Bump debian/compat so tinc gets built with hardening flags. * Allow tinc-pidfile in /etc/network/interfaces. -- Guus Sliepen Mon, 25 Jun 2012 20:29:22 +0200 tinc (1.0.18-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Sun, 25 Mar 2012 18:52:15 +0200 tinc (1.0.17-1) unstable; urgency=low * New upstream release. * Enable support for UML and VDE. -- Guus Sliepen Sat, 10 Mar 2012 14:50:00 +0100 tinc (1.0.16-1) unstable; urgency=low * New upstream release. * Mention alarm option in /etc/init.d/tinc's usage information. Closes: #631761 -- Guus Sliepen Sat, 23 Jul 2011 14:37:56 +0200 tinc (1.0.15-1) unstable; urgency=low * New upstream release. * Send SIGALRM to running tinc daemons whenever an interface is brought up with the ifupdown framework. Based on a patch from Joachim Breitner. Closes: #629880 * Allow tinc daemons to be started using ifupdown. -- Guus Sliepen Fri, 24 Jun 2011 18:21:51 +0200 tinc (1.0.14-1) unstable; urgency=low * New upstream release. * Bump Standards-Version. -- Guus Sliepen Mon, 09 May 2011 00:25:37 +0200 tinc (1.0.13-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Tue, 13 Apr 2010 12:06:36 +0200 tinc (1.0.12-2) unstable; urgency=low * Remove debconf questions. Closes: #572116 Apparently debconf may not be used to ask a question at install time and use the answer at upgrade time. Instead of kludging around this restriction, no questions are asked anymore, and tinc will now always be restarted when upgrading. * Wait up to 5 seconds for tinc daemon to stop before restarting it. -- Guus Sliepen Tue, 02 Mar 2010 14:01:36 +0100 tinc (1.0.12-1) unstable; urgency=low * New upstream release. * Bump Standards-Version. * Migrate from CDBS to debhelper. * Convert source package to 3.0 (quilt) format. * Remove useless tinc.modules. * Use init.d script from Michael Tokarev, allowing per-network arguments to tincd. * Remove update-rc.d calls from postinst and postrm. * Let the init.d script depend on $remote_fs. -- Guus Sliepen Thu, 04 Feb 2010 00:56:45 +0100 tinc (1.0.11-1) unstable; urgency=low * New upstream release. * Cope with texi2html arbitrarily changing its output directory. Closes: #552927 * Do not stop tinc when configuring a new version, just restart after the upgrade. -- Guus Sliepen Sun, 01 Nov 2009 20:37:16 +0100 tinc (1.0.10-1) unstable; urgency=low * New upstream release. * Include Russian debconf translation. Closes: #548759 -- Guus Sliepen Sun, 18 Oct 2009 16:31:49 +0200 tinc (1.0.9-1) unstable; urgency=low * New upstream release. - Binds IPv6 sockets only to IPv6. Closes: #440150 * Update copyright file. Closes: #482566 -- Guus Sliepen Fri, 26 Dec 2008 13:25:05 +0100 tinc (1.0.8-2) unstable; urgency=low * Include Portugese debconf translation. Closes: #434191 -- Guus Sliepen Tue, 14 Aug 2007 13:50:27 +0200 tinc (1.0.8-1) unstable; urgency=low * New upstream release. Closes: #173987 * Include german debconf translation. Closes: #412351 * Build-Depend on texinfo. Closes: #424209 -- Guus Sliepen Wed, 16 May 2007 17:59:16 +0200 tinc (1.0.7-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 5 Jan 2007 15:55:42 +0100 tinc (1.0.6-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Mon, 18 Dec 2006 15:41:03 +0100 tinc (1.0.5-1) unstable; urgency=low * New upstream release. Closes: #391610 * Add an LSB section to the init script. -- Guus Sliepen Tue, 14 Nov 2006 16:32:20 +0100 tinc (1.0.4-4) unstable; urgency=low * Include swedish debconf translation. Closes: #332963 * Remove nets.boot on purge. Closes: #333303 -- Guus Sliepen Mon, 17 Oct 2005 12:34:32 +0200 tinc (1.0.4-3) unstable; urgency=low * Depend on debconf | debconf-2.0. * Include vietnamese debconf translation. Closes: #322305 * Include japanese debconf translation. Closes: #319591 -- Guus Sliepen Thu, 29 Sep 2005 11:15:34 +0200 tinc (1.0.4-2) unstable; urgency=low * Compensate for change in texinfo's output directory. Closes: #318562 * Include Czech translation of the debconf questions. Closes: #312982 -- Guus Sliepen Sat, 16 Jul 2005 11:42:04 +0200 tinc (1.0.4-1) unstable; urgency=low * New upstream release. Closes: #294819 * Update french translation of debconf template. Closes: #293371, #296148 * Allow dashes in nets.boot. Closes: #296281 -- Guus Sliepen Wed, 4 May 2005 21:56:22 +0200 tinc (1.0.3-4) unstable; urgency=low * Call debconf early in postinst so it won't get confused by output from other commands in the postinst script. Closes: #292920 * If MAKEDEV doesn't know about net/tun, fall back to tun. -- Guus Sliepen Mon, 31 Jan 2005 13:27:16 +0100 tinc (1.0.3-3) unstable; urgency=low * Fix clean rule in debian/rules. -- Guus Sliepen Thu, 27 Jan 2005 23:16:59 +0000 tinc (1.0.3-2) unstable; urgency=low * Don't check for /dev/tap* in postinst if we don't create them anyway. * MAKEDEV expects net/tun instead of tun. * Don't ask if /dev/net/tun should be created, just do it. Closes: #259489, #292450 * Move $EXTRA from init.d/tinc to /etc/default/tinc. Closes: #281366 -- Guus Sliepen Thu, 27 Jan 2005 14:10:02 +0100 tinc (1.0.3-1) unstable; urgency=low * New upstream release. * Adopting the package from Ivo. * Use invoke-rc.d, and tell user to do so as well. Closes: #223276 * Let force-reload do the same thing as reload. Closes: #230180 -- Guus Sliepen Fri, 1 Oct 2004 21:04:14 +0200 tinc (1.0.2-2) unstable; urgency=low * debian/control: Oops, really make that automake1.7. -- Ivo Timmermans Sat, 8 Nov 2003 21:53:04 +0100 tinc (1.0.2-1) unstable; urgency=low * New upstream release: * Fix broken replies to CHAL_RESP. (Closes: #217646) * debian/control: Updated automake build dependency to automake1.7. (Closes: #219360) -- Ivo Timmermans Sat, 8 Nov 2003 19:56:04 +0100 tinc (1.0.1-2) unstable; urgency=low * debian/dirs: Removed, moved contents to tinc.dirs. (Closes: #208591) * debian/docs: Renamed to tinc.docs. * debian/rules: Install the contents of doc/sample-config.tar.gz in /usr/share/doc/tinc/examples instead of /etc/tinc. * debian/Makefile*: Removed. -- Ivo Timmermans Wed, 10 Sep 2003 12:19:32 +0200 tinc (1.0.1-1) unstable; urgency=low * New upstream release. * debian/patches/001_openbsd_device.c.patch: Removed. -- Ivo Timmermans Thu, 14 Aug 2003 17:03:28 +0200 tinc (1.0release-1) unstable; urgency=low * New upstream version. (Closes: #204639) * Fixes switching back to normal logging mode when killing with SIGINT twice. (Closes: #175633) * Uses one SSL context struct for each connection, speeding up encrypting/decrypting data; don't throw away out of sequence packets. (Closes: #188874) * Fixes handling of broadcast messages. (Closes: #175632) * debian/rules: Use cdbs. * debian/control: Build-Depend on cdbs, liblzo-dev. * debian/patches/001_openbsd_device.c.patch: Sync openbsd/device.c to latest CVS version. -- Ivo Timmermans Sun, 10 Aug 2003 16:13:29 +0200 tinc (1.0pre8-6) unstable; urgency=low * debian/po/fr.po: Added French debconf translation. (Closes: #201803) -- Ivo Timmermans Fri, 18 Jul 2003 10:03:20 +0200 tinc (1.0pre8-5) unstable; urgency=low * debian/*: Change to po-debconf, thanks to From: Michel Grentzinger for the patch: - change debhelper dependency to 4.1.16 (according to man po-debconf), - manually add nl translation in old tinc.templates (master), - run debconf-gettextize debian/tinc.templates, - move old templates files (debian/tinc.templates.*), - change construction "If you say no" to "If you refuse", * debian/rules: Call po2debconf. * debian/rules: Don't copy COPYING.README to the package. * debian/control: Update Standards-Version. * debian/conffiles: Removed. * debian/postinst: No longer use mknod directly, use MAKEDEV. -- Ivo Timmermans Tue, 15 Jul 2003 20:13:47 +0200 tinc (1.0pre8-4) unstable; urgency=low * src/net.h, src/net_packet.c, src/net_setup.c: Apply fix from CVS for OpenSSL-related memory leaks. (Closes: #189432) -- Ivo Timmermans Mon, 5 May 2003 15:00:29 +0200 tinc (1.0pre8-3) unstable; urgency=low * m4/openssl.m4: Updated to CVS version. (Closes: #184400) -- Ivo Timmermans Thu, 13 Mar 2003 17:24:42 +0100 tinc (1.0pre8-2) unstable; urgency=low * debian/postinst: Create /dev/net/tun if it doesn't exist. * debian/tinc.modules: Add alias for /dev/net/tun. * debian/rules: Install tinc.modules. * These things together: (Closes: #151967, #153156) -- Ivo Timmermans Wed, 13 Nov 2002 22:45:38 +0100 tinc (1.0pre8-1) unstable; urgency=low * New upstream version. * debian/rules: - DEB_BUILD_OPTIONS support. - Enable --enable-tracing by default. -- Ivo Timmermans Tue, 17 Sep 2002 13:50:44 +0200 tinc (1.0pre7-3) unstable; urgency=low * Properly install _all_ info pages. (Closes: #144718) -- Ivo Timmermans Wed, 29 May 2002 14:01:21 +0200 tinc (1.0pre7-2) unstable; urgency=low * Dutch translation wasn't being installed. -- Ivo Timmermans Thu, 11 Apr 2002 09:26:14 +0200 tinc (1.0pre7-1) unstable; urgency=medium * New upstream release. -- Ivo Timmermans Tue, 9 Apr 2002 16:04:46 +0200 tinc (1.0pre6-3) unstable; urgency=medium * Synched with upstream CVS. * Added build dependency on zlib1g-dev. (Closes: #141705) -- Ivo Timmermans Mon, 8 Apr 2002 21:19:31 +0200 tinc (1.0pre6-2) unstable; urgency=low * The Section was non-US again, so changed it back to main/net. -- Ivo Timmermans Thu, 28 Mar 2002 07:26:10 +0100 tinc (1.0pre6-1) unstable; urgency=low * New upstream release. * Fixed text in debian/copyright -- Ivo Timmermans Wed, 27 Mar 2002 23:10:07 +0100 tinc (1.0pre5-4) unstable; urgency=low * Added a debconf question for restarting on upgrade. * Added reload option to init.d, start with EXTRA='-d' default. * Moved from non-US to main. * Install example configuration files. * The HTML documentation wasn't installed; fixed. -- Ivo Timmermans Tue, 26 Mar 2002 20:14:19 +0100 tinc (1.0pre5-3) unstable; urgency=low * Config variables are now treated case sentitivly again. * Added a forgotten xstrdup. -- Ivo Timmermans Fri, 15 Feb 2002 12:35:17 +0100 tinc (1.0pre5-2) unstable; urgency=low * MaxTimeout accidentally wasn't configurable. (Closes: #119653) -- Ivo Timmermans Wed, 13 Feb 2002 13:36:54 +0100 tinc (1.0pre5-1) unstable; urgency=low * New upstream version. (Closes: #119653) * Init script redone in sh. -- Ivo Timmermans Sun, 10 Feb 2002 16:39:53 +0100 tinc (1.0pre4-1.cvs010621.6) unstable; urgency=low * Somehow po-Makefile.in.in.diff got lost, readded. (Closes: #119157) -- Ivo Timmermans Thu, 15 Nov 2001 17:00:03 +0100 tinc (1.0pre4-1.cvs010621.5) unstable; urgency=low * Fix a typo in postinst that let it MAKEDEV even on devfs. (Closes: #116034) -- Ivo Timmermans Thu, 18 Oct 2001 09:35:16 +0200 tinc (1.0pre4-1.cvs010621.4) unstable; urgency=low * Ask before creating the device files. (Closes: #111099) * Add a section to the info file. -- Ivo Timmermans Fri, 12 Oct 2001 20:47:09 +0200 tinc (1.0pre4-1.cvs010621.3) unstable; urgency=low * Build and install html documentation. (Closes: #106843) * Remove build-time dependency on libc6-dev. -- Ivo Timmermans Mon, 30 Jul 2001 22:03:52 +0200 tinc (1.0pre4-1.cvs010621.2) unstable; urgency=low * Changed location of the pidfile. (Closes: #102798) -- Ivo Timmermans Sun, 1 Jul 2001 01:57:43 +0200 tinc (1.0pre4-1.cvs010621.1) unstable; urgency=low * New upstream version. (Closes: #98730) * Rebuilding automatically inserted new config.{sub|guess}. (Closes: #98165) * Updated Standards-Version. * Don't include a sample configuration file. -- Ivo Timmermans Thu, 21 Jun 2001 14:08:49 +0200 tinc (1.0pre3-5) unstable; urgency=low * Fixed an error in the init script that prevented tinc from starting correctly. -- Ivo Timmermans Thu, 8 Feb 2001 02:45:09 +0100 tinc (1.0pre3-4) unstable; urgency=low * Change build-depends for OpenSSL to libssl096-dev (Closes: #84197, #84873). -- Ivo Timmermans Sun, 4 Feb 2001 22:43:22 +0100 tinc (1.0pre3-3) unstable; urgency=low * Set architecture to any (really this time!) (Closes: #80451). * Section set to non-US -- Ivo Timmermans Tue, 23 Jan 2001 22:52:53 +0100 tinc (1.0pre3-2) unstable; urgency=low * Set architecture to any (Closes: #80451). * Added tinc.modules with some useful module aliases. -- Ivo Timmermans Sat, 13 Jan 2001 16:10:57 +0100 tinc (1.0pre3-1) unstable; urgency=low * New upstream version (1.0pre3) (Closes: #71274). * Better Depends and Build-Depends lines. * Dropped dependencies on libgmp, added libssl. * doc-base.tinc: New file. * Deleted the file shlibs, as there on longer is a libblowfish. * Patch po/Makefile.in.in from po-Makefile.in.in.diff if necessary. * Use dh_perl to get accurate perl dependencies. -- Ivo Timmermans Thu, 9 Nov 2000 21:58:40 +0100 tinc (1.0pre2-1.1) unstable; urgency=low * NMU at Ivo's request as his application is being processed, and his sponsor is based in the US. -- J.H.M. Dassen (Ray) Wed, 28 Jun 2000 21:52:30 +0200 tinc (1.0pre2-1) unstable; urgency=low * postinst creates a file /etc/tinc/nets.boot, containing all networks to be started upon system startup; * init.d script starts all networks from that list. * postinst script creates tap devices. -- Ivo Timmermans Tue, 16 May 2000 00:06:25 +0200 tinc (1.0pre1-0.4) unstable; urgency=low * postinst script. -- Ivo Timmermans Mon, 15 May 2000 19:22:05 +0200 tinc (1.0pre1-0.3) unstable; urgency=low * system startup script. -- Ivo Timmermans Sun, 14 May 2000 22:58:02 +0200 tinc (1.0pre1-0.2) unstable; urgency=low * Included the blowfish license. -- Ivo Timmermans Fri, 21 Apr 2000 17:07:50 +0200 tinc (1.0pre1-0.1) unstable; urgency=low * Initial Release. -- Ivo Timmermans Fri, 21 Apr 2000 17:07:50 +0200 debian/README.Debian0000600000000000000000000000263411772126745011240 0ustar tinc for Debian ---------------------- The manual for tinc is also available as info pages, type `info tinc' to read it. The system startup script for tinc, /etc/init.d/tinc, uses the file /etc/tinc/nets.boot to find out which networks have to be started. Alternatively, you can create a stanza in /etc/network/interfaces, and add a line with "tinc-net ". This will cause a tincd to be started which uses the configuration from /etc/tinc/. You can use an inet static (with address and netmask options) or inet dhcp stanza, in which case the ifup will configure the VPN interface and you do not need to have a tinc-up script. The following options are also recognized and map directly to the corresponding command line options for tincd: tinc-config tinc-debug tinc-mlock yes tinc-logfile tinc-pidfile tinc-chroot yes tinc-user An example stanza: iface vpn inet static address 192.168.2.42 netmask 255.255.0.0 tinc-net myvpn tinc-debug 1 tinc-mlock yes tinc-user nobody tinc-pidfile /tmp/tinc.pid This will start a tinc daemon that reads its configuration from /etc/tinc/myvpn, logs at debug level 1, locks itself in RAM, runs as user nobody, writes the PID to /tmp/tinc.pid, and creates a network interface called "vpn". Ifup then sets the address and netmask on that interface. -- Guus Sliepen , Fri, 25 June 2012, 20:28:35 +0200 debian/info0000600000000000000000000000001611273360704010034 0ustar doc/tinc.info debian/tinc.if-pre-up0000700000000000000000000000174112250043676011652 0ustar #!/bin/sh set -e if [ -z "$IF_TINC_NET" ]; then exit 0 fi # Read options from /etc/default . /etc/default/tinc # Read options from /etc/network/interfaces [ -n "$IF_TINC_CONFIG" ] && EXTRA="$EXTRA -c $IF_TINC_CONFIG" [ -n "$IF_TINC_DEBUG" ] && EXTRA="$EXTRA -d$IF_TINC_DEBUG" [ -n "$IF_TINC_MLOCK" ] && EXTRA="$EXTRA --mlock" [ -n "$IF_TINC_LOGFILE" ] && EXTRA="$EXTRA --logfile=$IF_TINC_LOGFILE" [ -n "$IF_TINC_PIDFILE" ] && EXTRA="$EXTRA --pidfile=$IF_TINC_PIDFILE" || IF_TINC_PIDFILE=/var/run/tinc.$IF_TINC_NET.pid [ -n "$IF_TINC_CHROOT" ] && EXTRA="$EXTRA --chroot" [ -n "$IF_TINC_USER" ] && EXTRA="$EXTRA --user=$IF_TINC_USER" # Start tinc daemon /usr/sbin/tincd -n "$IF_TINC_NET" -o "Interface=$IFACE" $EXTRA # Wait for it to come up properly sleep 0.1 i=0; while [ ! -f "$IF_TINC_PIDFILE" ] ; do if [ $i = '30' ] ; then echo 'Failed to start tinc daemon!' exit 1 fi sleep 0.1 i=$(($i+1)) done exit 0 debian/tinc.dirs0000600000000000000000000000011711273360704011000 0ustar usr/sbin usr/share etc etc/init.d usr/share/locale usr/share/doc/tinc etc/tinc debian/source/0000700000000000000000000000000011332406462010455 5ustar debian/source/format0000600000000000000000000000001411332406462011665 0ustar 3.0 (quilt) debian/rules0000700000000000000000000000135212230554337010241 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- --enable-uml --enable-vde override_dh_auto_install: dh_auto_install -- install-html # Remove info dir file rm -f debian/tinc/usr/share/info/dir override_dh_installinit: dh_installinit -R override_dh_clean: dh_clean rm -f src/device.c debian/doc-base.tinc0000600000000000000000000000043112202677204011512 0ustar Document: tinc Title: tinc Manual Author: Ivo Timmermans, Guus Sliepen Abstract: This manual describes how to set up a Virtual Private Network with tinc. Section: System/Security Format: HTML Files: /usr/share/doc/tinc/tinc.html/* Index: /usr/share/doc/tinc/tinc.html/index.html debian/tinc.docs0000600000000000000000000000002411273360704010764 0ustar NEWS README AUTHORS debian/tinc.if-post-down0000700000000000000000000000063412250047443012370 0ustar #!/bin/sh set -e if [ "$IF_TINC_NET" ] ; then EXTRA="" if [ -n "$IF_TINC_PIDFILE" ]; then EXTRA="--pidfile=$IF_TINC_PIDFILE" else IF_TINC_PIDFILE=/var/run/tinc.$IF_TINC_NET.pid fi /usr/sbin/tincd -n "$IF_TINC_NET" -k $EXTRA sleep 0.1 i=0; while [ -f "$IF_TINC_PIDFILE" ] ; do if [ $i = '30' ] ; then echo 'Failed to stop tinc daemon!' exit 1 fi sleep 0.1 i=$(($i+1)) done fi exit 0 debian/compat0000600000000000000000000000000211772125320010354 0ustar 9 debian/tinc.files0000600000000000000000000000012411273360704011137 0ustar usr/sbin/tincd usr/share/man etc usr/share/doc/tinc usr/share/locale usr/share/info debian/patches/0000700000000000000000000000000012202676277010616 5ustar debian/patches/series0000600000000000000000000000000012202676631012015 0ustar debian/control0000600000000000000000000000112412202700326010551 0ustar Source: tinc Section: net Priority: optional Maintainer: Guus Sliepen Standards-Version: 3.9.4 Build-Depends: libssl-dev, debhelper (>= 9), gettext, texinfo, zlib1g-dev, liblzo2-dev, libvdeplug-dev Homepage: http://www.tinc-vpn.org/ Package: tinc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Virtual Private Network daemon 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. debian/copyright0000600000000000000000000000233611273360704011120 0ustar This package was debianized by Ivo Timmermans on Fri, 21 Apr 2000 17:07:50 +0200. It was downloaded from http://www.tinc-vpn.org/ Upstream Authors: Guus Sliepen Ivo Timmermans Copyright (C) 1998-2005 Ivo Timmermans 1998-2008 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2. The following applies to tinc: This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. You may provide binary packages linked to the OpenSSL libraries, provided that all other requirements of the GPL are met. The following applies to the LZO library: Hereby I grant a special exception to the tinc VPN project (http://tinc.nl.linux.org/) to link the LZO library with the OpenSSL library (http://www.openssl.org). Markus F.X.J. Oberhumer