Various small changes.
This commit is contained in:
parent
e469fca4d7
commit
8a4daf4ea7
4 changed files with 13 additions and 11 deletions
3
debian/Makefile.am
vendored
3
debian/Makefile.am
vendored
|
@ -1,2 +1,3 @@
|
|||
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs \
|
||||
docs info init.d postinst rules doc-base.tinc
|
||||
docs info init.d postinst rules doc-base.tinc tinc-up tinc-down \
|
||||
tinc.modules
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,8 +1,10 @@
|
|||
tinc (1.0pre3-2) unstable; urgency=low
|
||||
tinc (1.0pre4-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
* Added universal tinc-up and tinc-down scripts
|
||||
*
|
||||
|
||||
-- Ivo Timmermans <ivo@debian.org> Wed, 15 Nov 2000 23:26:56 +0100
|
||||
-- Ivo Timmermans <ivo@debian.org> Sun, 3 Dec 2000 13:24:10 +0100
|
||||
|
||||
tinc (1.0pre3-1) unstable; urgency=low
|
||||
|
||||
|
|
6
debian/control
vendored
6
debian/control
vendored
|
@ -3,11 +3,11 @@ Section: non-US/main
|
|||
Priority: optional
|
||||
Maintainer: Ivo Timmermans <ivo@debian.org>
|
||||
Standards-Version: 3.0.1
|
||||
Build-Depends: libc6-dev, libssl095a-dev, autoconf (>= 2.12),
|
||||
automake, debhelper, libtool, gettext
|
||||
Build-Depends: libc6-dev, libssl096-dev, autoconf (>= 2.12),
|
||||
automake, debhelper, gettext
|
||||
|
||||
Package: tinc
|
||||
Architecture: i386
|
||||
Architecture: i386 alpha
|
||||
Depends: ${shlibs:Depends}, ${perl:Depends}
|
||||
Description: Virtual Private Network daemon
|
||||
tinc is a daemon with which you can create a virtual private network
|
||||
|
|
9
debian/tinc-up
vendored
9
debian/tinc-up
vendored
|
@ -1,7 +1,7 @@
|
|||
#! /usr/bin/perl -w
|
||||
#
|
||||
# Device configuration script for tinc
|
||||
# $Id: tinc-up,v 1.1.2.1 2000/11/24 16:52:57 zarq Exp $
|
||||
# $Id: tinc-up,v 1.1.2.2 2000/12/22 16:54:56 zarq Exp $
|
||||
#
|
||||
# Based on Lubomir Bulej's Redhat init script.
|
||||
#
|
||||
|
@ -42,8 +42,7 @@ sub vpn_load {
|
|||
}
|
||||
}
|
||||
if(!defined($DEV)) {
|
||||
warn "tinc: There must be a TapDevice\n";
|
||||
return 0;
|
||||
$DEV = "/dev/tap0";
|
||||
}
|
||||
if($DEV eq "") {
|
||||
warn "tinc: TapDevice should be of the form /dev/tapN\n";
|
||||
|
@ -75,7 +74,7 @@ sub vpn_load {
|
|||
$ADR = pack('C4', @addr);
|
||||
$MSK = pack('N4', -1 << (32 - $LEN));
|
||||
$BRD = join(".", unpack('C4', $ADR | ~$MSK));
|
||||
$MAC = "fe:fd:" . join(":", map { sprintf "%02x", $_ } unpack('C4', $ADR));
|
||||
$MAC = "fe:fd:00:00:00:00";
|
||||
|
||||
if(!defined($VPNMASK)) {
|
||||
$VPNMASK = $MSK;
|
||||
|
@ -83,7 +82,7 @@ sub vpn_load {
|
|||
}
|
||||
$ADR = join(".", unpack('C4', $ADR));
|
||||
$MSK = join(".", unpack('C4', $MSK));
|
||||
|
||||
|
||||
1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue