debian
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
j3d1 2017-06-19 21:43:04 +02:00 committed by jedi
parent 38fffafd48
commit 17a237d5e3
5 changed files with 51 additions and 0 deletions

0
debian/patches/series vendored Normal file
View file

30
debian/postinst vendored Normal file
View file

@ -0,0 +1,30 @@
#! /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 if [ -e /dev/MAKEDEV ]; 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; 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#

7
debian/tinc.default vendored Normal file
View file

@ -0,0 +1,7 @@
# Extra options to be passed to tincd.
# EXTRA="-d"
# Limits to be configured for the tincd process. Please read your shell
# (pointed by /bin/sh) documentation for ulimit. You probably want to raise the
# max locked memory value if using both --mlock and --user flags.
# LIMITS="-l 1024"

7
debian/tinc.dirs vendored Normal file
View file

@ -0,0 +1,7 @@
usr/sbin
usr/share
etc
etc/init.d
usr/share/locale
usr/share/doc/tinc
etc/tinc

7
debian/tinc.files vendored Normal file
View file

@ -0,0 +1,7 @@
usr/sbin/tincd
usr/sbin/tinc
usr/share/man
etc
usr/share/doc/tinc
usr/share/locale
usr/share/info