Various small changes.

This commit is contained in:
Ivo Timmermans 2000-12-22 16:54:56 +00:00
parent e469fca4d7
commit 8a4daf4ea7
4 changed files with 13 additions and 11 deletions

3
debian/Makefile.am vendored
View file

@ -1,2 +1,3 @@
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs \ 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
View file

@ -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 * 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 tinc (1.0pre3-1) unstable; urgency=low

6
debian/control vendored
View file

@ -3,11 +3,11 @@ Section: non-US/main
Priority: optional Priority: optional
Maintainer: Ivo Timmermans <ivo@debian.org> Maintainer: Ivo Timmermans <ivo@debian.org>
Standards-Version: 3.0.1 Standards-Version: 3.0.1
Build-Depends: libc6-dev, libssl095a-dev, autoconf (>= 2.12), Build-Depends: libc6-dev, libssl096-dev, autoconf (>= 2.12),
automake, debhelper, libtool, gettext automake, debhelper, gettext
Package: tinc Package: tinc
Architecture: i386 Architecture: i386 alpha
Depends: ${shlibs:Depends}, ${perl:Depends} Depends: ${shlibs:Depends}, ${perl:Depends}
Description: Virtual Private Network daemon Description: Virtual Private Network daemon
tinc is a daemon with which you can create a virtual private network tinc is a daemon with which you can create a virtual private network

7
debian/tinc-up vendored
View file

@ -1,7 +1,7 @@
#! /usr/bin/perl -w #! /usr/bin/perl -w
# #
# Device configuration script for tinc # 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. # Based on Lubomir Bulej's Redhat init script.
# #
@ -42,8 +42,7 @@ sub vpn_load {
} }
} }
if(!defined($DEV)) { if(!defined($DEV)) {
warn "tinc: There must be a TapDevice\n"; $DEV = "/dev/tap0";
return 0;
} }
if($DEV eq "") { if($DEV eq "") {
warn "tinc: TapDevice should be of the form /dev/tapN\n"; warn "tinc: TapDevice should be of the form /dev/tapN\n";
@ -75,7 +74,7 @@ sub vpn_load {
$ADR = pack('C4', @addr); $ADR = pack('C4', @addr);
$MSK = pack('N4', -1 << (32 - $LEN)); $MSK = pack('N4', -1 << (32 - $LEN));
$BRD = join(".", unpack('C4', $ADR | ~$MSK)); $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)) { if(!defined($VPNMASK)) {
$VPNMASK = $MSK; $VPNMASK = $MSK;