Import Debian changes 1.0.3-4
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.
tinc (1.0.3-3) unstable; urgency=low
* Fix clean rule in debian/rules.
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
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
tinc (1.0.2-2) unstable; urgency=low
* debian/control: Oops, really make that automake1.7.
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)
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.
tinc (1.0.1-1) unstable; urgency=low
* New upstream release.
* debian/patches/001_openbsd_device.c.patch: Removed.
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.
tinc (1.0pre8-6) unstable; urgency=low
* debian/po/fr.po: Added French debconf translation. (Closes: #201803)
tinc (1.0pre8-5) unstable; urgency=low
* debian/*: Change to po-debconf, thanks to From: Michel Grentzinger
<mic.grentz@online.fr> 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.
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)
tinc (1.0pre8-3) unstable; urgency=low
* m4/openssl.m4: Updated to CVS version. (Closes: #184400)
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)
tinc (1.0pre8-1) unstable; urgency=low
* New upstream version.
* debian/rules:
- DEB_BUILD_OPTIONS support.
- Enable --enable-tracing by default.
tinc (1.0pre7-3) unstable; urgency=low
* Properly install _all_ info pages. (Closes: #144718)
This commit is contained in:
commit
6f5ff440c9
224 changed files with 43488 additions and 33509 deletions
202
debian/Makefile
vendored
202
debian/Makefile
vendored
|
|
@ -1,202 +0,0 @@
|
|||
# Generated automatically from Makefile.in by configure.
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
srcdir = .
|
||||
top_srcdir = ..
|
||||
prefix = /usr
|
||||
exec_prefix = ${prefix}
|
||||
|
||||
bindir = ${exec_prefix}/bin
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
datadir = ${prefix}/share
|
||||
sysconfdir = /etc
|
||||
sharedstatedir = ${prefix}/com
|
||||
localstatedir = /var
|
||||
libdir = ${exec_prefix}/lib
|
||||
infodir = ${prefix}/share/info
|
||||
mandir = ${prefix}/share/man
|
||||
includedir = ${prefix}/include
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/tinc
|
||||
pkglibdir = $(libdir)/tinc
|
||||
pkgincludedir = $(includedir)/tinc
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = aclocal -I m4
|
||||
AUTOCONF = autoconf
|
||||
AUTOMAKE = automake
|
||||
AUTOHEADER = autoheader
|
||||
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||
transform = s,x,x,
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = i586-pc-linux-gnu
|
||||
host_triplet = i586-pc-linux-gnu
|
||||
AS = @AS@
|
||||
AWK = mawk
|
||||
CATALOGS = es.gmo nl.gmo
|
||||
CATOBJEXT = .gmo
|
||||
CC = gcc
|
||||
CPP = gcc -E
|
||||
DATADIRNAME = share
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT =
|
||||
GMOFILES = es.gmo nl.gmo
|
||||
GMSGFMT = /usr/bin/msgfmt
|
||||
GT_NO =
|
||||
GT_YES = #YES#
|
||||
HAVE_TUNTAP =
|
||||
INCLUDE_LOCALE_H = #include <locale.h>
|
||||
INSTOBJEXT = .mo
|
||||
INTLDEPS =
|
||||
INTLLIBS =
|
||||
INTLOBJS =
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LINUX_IF_TUN_H =
|
||||
LN_S = ln -s
|
||||
MAKEINFO = makeinfo
|
||||
MKINSTALLDIRS = ./mkinstalldirs
|
||||
MSGFMT = /usr/bin/msgfmt
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = tinc
|
||||
PERL = perl
|
||||
POFILES = es.po nl.po
|
||||
POSUB = po
|
||||
RANLIB = ranlib
|
||||
USE_INCLUDED_LIBINTL = no
|
||||
USE_NLS = yes
|
||||
VERSION = 1.0-cvs
|
||||
l =
|
||||
|
||||
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs docs info init.d postinst rules doc-base.tinc
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps debian/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = debian
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-am
|
||||
dvi-am:
|
||||
dvi: dvi-am
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am:
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am:
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
|
||||
installcheck-am installcheck install-exec-am install-exec \
|
||||
install-data-am install-data install-am install uninstall-am uninstall \
|
||||
all-redirect all-am all installdirs mostlyclean-generic \
|
||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
2
debian/Makefile.am
vendored
2
debian/Makefile.am
vendored
|
|
@ -1,2 +0,0 @@
|
|||
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs \
|
||||
docs info init.d postinst rules doc-base.tinc
|
||||
202
debian/Makefile.in
vendored
202
debian/Makefile.in
vendored
|
|
@ -1,202 +0,0 @@
|
|||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
AWK = @AWK@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
HAVE_TUNTAP = @HAVE_TUNTAP@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LINUX_IF_TUN_H = @LINUX_IF_TUN_H@
|
||||
LN_S = @LN_S@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs docs info init.d postinst rules doc-base.tinc
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps debian/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = debian
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-am
|
||||
dvi-am:
|
||||
dvi: dvi-am
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am:
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am:
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
|
||||
installcheck-am installcheck install-exec-am install-exec \
|
||||
install-data-am install-data install-am install uninstall-am uninstall \
|
||||
all-redirect all-am all installdirs mostlyclean-generic \
|
||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
2
debian/README.Debian
vendored
2
debian/README.Debian
vendored
|
|
@ -7,4 +7,4 @@ 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.
|
||||
|
||||
-- Ivo Timmermans <itimmermans@bigfoot.com>, Wed, 31 May 2000, 19:56:05 +0200
|
||||
-- Ivo Timmermans <ivo@debian.org>, Wed, 31 May 2000, 19:56:05 +0200
|
||||
|
|
|
|||
143
debian/changelog
vendored
143
debian/changelog
vendored
|
|
@ -1,3 +1,146 @@
|
|||
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 <guus@debian.org> Mon, 31 Jan 2005 13:27:16 +0100
|
||||
|
||||
tinc (1.0.3-3) unstable; urgency=low
|
||||
|
||||
* Fix clean rule in debian/rules.
|
||||
|
||||
-- Guus Sliepen <guus@debian.org> 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 <guus@debian.org> 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 <guus@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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
|
||||
<mic.grentz@online.fr> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> Tue, 17 Sep 2002 13:50:44 +0200
|
||||
|
||||
tinc (1.0pre7-3) unstable; urgency=low
|
||||
|
||||
* Properly install _all_ info pages. (Closes: #144718)
|
||||
|
||||
-- Ivo Timmermans <ivo@debian.org> Wed, 29 May 2002 14:01:21 +0200
|
||||
|
||||
tinc (1.0pre7-2) unstable; urgency=low
|
||||
|
||||
* Dutch translation wasn't being installed.
|
||||
|
|
|
|||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
4
|
||||
1
debian/conffiles
vendored
1
debian/conffiles
vendored
|
|
@ -1 +0,0 @@
|
|||
/etc/init.d/tinc
|
||||
6
debian/control
vendored
6
debian/control
vendored
|
|
@ -1,9 +1,9 @@
|
|||
Source: tinc
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Ivo Timmermans <ivo@debian.org>
|
||||
Standards-Version: 3.5.6
|
||||
Build-Depends: libssl-dev, autoconf (>= 2.12), automake, debhelper, libtool, gettext, texi2html, zlib1g-dev
|
||||
Maintainer: Guus Sliepen <guus@debian.org>
|
||||
Standards-Version: 3.6.1
|
||||
Build-Depends: libssl-dev, debhelper (>= 4.1.16), gettext, texi2html, zlib1g-dev, cdbs, liblzo-dev
|
||||
|
||||
Package: tinc
|
||||
Architecture: any
|
||||
|
|
|
|||
18
debian/copyright
vendored
18
debian/copyright
vendored
|
|
@ -1,11 +1,11 @@
|
|||
This package was debianized by Ivo Timmermans <ivo@debian.org> on
|
||||
Fri, 21 Apr 2000 17:07:50 +0200.
|
||||
|
||||
It was downloaded from http://tinc.nl.linux.org/
|
||||
It was downloaded from http://www.tinc-vpn.org/
|
||||
|
||||
Upstream Author(s):
|
||||
Guus Sliepen <guus@sliepen.warande.net>
|
||||
Ivo Timmermans <ivo@debian.org>
|
||||
Upstream Authors:
|
||||
Guus Sliepen <guus@tinc-vpn.org>
|
||||
Ivo Timmermans <ivo@tinc-vpn.org>
|
||||
|
||||
Copyright: GPL version 2. On Debian GNU/Linux systems, the complete
|
||||
text of the GNU General Public License can be found in
|
||||
|
|
@ -14,7 +14,17 @@ text of the GNU General Public License can be found in
|
|||
|
||||
The following is the text from /usr/share/doc/tinc/COPYING.README:
|
||||
|
||||
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
|
||||
|
|
|
|||
3
debian/dirs
vendored
3
debian/dirs
vendored
|
|
@ -1,3 +0,0 @@
|
|||
etc/tinc
|
||||
etc/tinc/example
|
||||
usr/share/doc/tinc
|
||||
9
debian/init.d
vendored
9
debian/init.d
vendored
|
|
@ -15,12 +15,13 @@ DAEMON="/usr/sbin/tincd"
|
|||
NAME="tinc"
|
||||
DESC="tinc daemons"
|
||||
TCONF="/etc/tinc"
|
||||
EXTRA=""
|
||||
NETSFILE="$TCONF/nets.boot"
|
||||
NETS=""
|
||||
|
||||
test -f $DAEMON || exit 0
|
||||
|
||||
[ -r /etc/default/tinc ] && . /etc/default/tinc
|
||||
|
||||
find_nets () {
|
||||
if [ ! -f $NETSFILE ] ; then
|
||||
echo "Please create $NETSFILE."
|
||||
|
|
@ -48,16 +49,16 @@ case "$1" in
|
|||
done
|
||||
echo "."
|
||||
;;
|
||||
reload)
|
||||
reload|force-reload)
|
||||
find_nets
|
||||
echo -n "Reloading $DESC configuration:"
|
||||
for n in $NETS ; do
|
||||
echo -n " $n"
|
||||
$DAEMON -n $n $EXTRA -k1
|
||||
$DAEMON -n $n $EXTRA -kHUP
|
||||
done
|
||||
echo "."
|
||||
;;
|
||||
restart|force-reload)
|
||||
restart)
|
||||
find_nets
|
||||
echo -n "Restarting $DESC:"
|
||||
for n in $NETS ; do
|
||||
|
|
|
|||
32
debian/po-Makefile.in.in.diff
vendored
32
debian/po-Makefile.in.in.diff
vendored
|
|
@ -1,32 +0,0 @@
|
|||
--- Makefile.in.in.orig Thu Nov 2 20:02:58 2000
|
||||
+++ Makefile.in.in Thu Nov 2 23:25:42 2000
|
||||
@@ -24,6 +24,8 @@
|
||||
gettextsrcdir = $(prefix)/share/gettext/po
|
||||
subdir = po
|
||||
|
||||
+DESTDIR =
|
||||
+
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
|
||||
@@ -111,16 +113,16 @@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
case "$$cat" in \
|
||||
- *.gmo) destdir=$(gnulocaledir);; \
|
||||
- *) destdir=$(localedir);; \
|
||||
+ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
|
||||
+ *) destdir=$(DESTDIR)$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||
1
debian/po/POTFILES.in
vendored
Normal file
1
debian/po/POTFILES.in
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
[type: gettext/rfc822deb] tinc.templates
|
||||
63
debian/po/fr.po
vendored
Normal file
63
debian/po/fr.po
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: tinc_1.0pre8-4\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2004-11-11 20:06+0000\n"
|
||||
"PO-Revision-Date: 2003-07-10 13:14+0200\n"
|
||||
"Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n"
|
||||
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-15\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid "Restart tinc on each upgrade?"
|
||||
msgstr "Redémarrer tinc à chaque mise à jour ?"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"You may choose if you want me to restart the tinc daemon every time you "
|
||||
"install a new version of this package."
|
||||
msgstr ""
|
||||
"Vous pouvez choisir de redémarrer le démon tinc à chaque fois que vous "
|
||||
"installez une nouvelle version de ce paquet."
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"Sometimes you don't want to do this, for example if you are doing the "
|
||||
"upgrade over a tunnel that is created with tinc. Stopping the daemon would "
|
||||
"probably leave you with a dead connection, and tinc may not be started again."
|
||||
msgstr ""
|
||||
"Dans certains cas, vous devrez éviter de le faire, par exemple si vous "
|
||||
"mettez à jour à travers un tunnel créé avec tinc. Arrêter le démon vous "
|
||||
"laisserait sans doute une connexion inactive et tinc ne pourra pas être "
|
||||
"redémarré."
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"If you refuse, you have to restart tinc yourself if you upgraded, by typing "
|
||||
"`invoke-rc.d tinc restart' whenever it suits you."
|
||||
msgstr ""
|
||||
"Si vous refusez, vous devrez redémarrer tinc vous-même en cas de mise à "
|
||||
"jour, en entrant la commande : « /etc/init.d/tinc restart », au moment où "
|
||||
"cela vous conviendra."
|
||||
64
debian/po/nl.po
vendored
Normal file
64
debian/po/nl.po
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2004-11-11 20:06+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-15\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid "Restart tinc on each upgrade?"
|
||||
msgstr "Start tinc opnieuw na iedere upgrade?"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"You may choose if you want me to restart the tinc daemon every time you "
|
||||
"install a new version of this package."
|
||||
msgstr ""
|
||||
"Je kunt kiezen of ik de tinc daemon opnieuw moet starten iedere keer als je "
|
||||
"een nieuwe versie van het pakket installeert."
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"Sometimes you don't want to do this, for example if you are doing the "
|
||||
"upgrade over a tunnel that is created with tinc. Stopping the daemon would "
|
||||
"probably leave you with a dead connection, and tinc may not be started again."
|
||||
msgstr ""
|
||||
"Soms wil je dit niet doen, bij voorbeeld als je de upgrade uitvoert over een "
|
||||
"tunnel die met tinc is gemaakt. Het stoppen van tinc resulteert dan "
|
||||
"waarschijnlijk is een dode verbinding, en tinc wordt dan misschien niet "
|
||||
"opnieuw gestart."
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"If you refuse, you have to restart tinc yourself if you upgraded, by typing "
|
||||
"`invoke-rc.d tinc restart' whenever it suits you."
|
||||
msgstr ""
|
||||
"Als je weigert, moet je zelf tinc opnieuw starten na een upgrade, door `/etc/"
|
||||
"init.d/tinc restart' in te tiepen wanneer het goed uitkomt.y"
|
||||
56
debian/po/templates.pot
vendored
Normal file
56
debian/po/templates.pot
vendored
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2004-11-11 20:06+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid "Restart tinc on each upgrade?"
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"You may choose if you want me to restart the tinc daemon every time you "
|
||||
"install a new version of this package."
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"Sometimes you don't want to do this, for example if you are doing the "
|
||||
"upgrade over a tunnel that is created with tinc. Stopping the daemon would "
|
||||
"probably leave you with a dead connection, and tinc may not be started again."
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../tinc.templates:4
|
||||
msgid ""
|
||||
"If you refuse, you have to restart tinc yourself if you upgraded, by typing "
|
||||
"`invoke-rc.d tinc restart' whenever it suits you."
|
||||
msgstr ""
|
||||
86
debian/postinst
vendored
86
debian/postinst
vendored
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
TCONF="/etc/tinc"
|
||||
NETSFILE="$TCONF/nets.boot"
|
||||
RET="false"
|
||||
|
||||
set -e
|
||||
|
||||
|
|
@ -27,40 +28,47 @@ set -e
|
|||
# installation fails and the `postinst' is called with `abort-upgrade',
|
||||
# `abort-remove' or `abort-deconfigure'.
|
||||
|
||||
# Automatically added by dh_installinit, edited for use with debconf
|
||||
if [ -x "/etc/init.d/tinc" ]; then
|
||||
update-rc.d tinc defaults >/dev/null
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
if dpkg --compare-versions "$2" lt "1.0pre5-4" ; then
|
||||
RET="true"
|
||||
else
|
||||
if [ -e /usr/share/debconf/confmodule ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
db_get tinc/restart_on_upgrade
|
||||
db_stop
|
||||
else
|
||||
RET="true"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if [ ! -e /dev/.devfsd -a ! -e /dev/.devfs ] ; then
|
||||
devices_exist=1
|
||||
for d in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ; do
|
||||
test -e /dev/tap$d || devices_exist=0
|
||||
done
|
||||
if [ $devices_exist -eq 0 ] ; then
|
||||
cat <<EOF
|
||||
|
||||
You don't seem to have the necessary devices available. If you want,
|
||||
I can create them for you now, or you may create them later yourself
|
||||
with the command:
|
||||
|
||||
cd /dev && ./MAKEDEV netlink
|
||||
|
||||
EOF
|
||||
echo -n 'Do you want me to do this for you now? '
|
||||
read answer
|
||||
case $answer in
|
||||
y*|Y*)
|
||||
cd /dev && ./MAKEDEV netlink || true
|
||||
;;
|
||||
*)
|
||||
echo 'Ok. But you must create these devices before tinc can work!'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -e /dev/net/tun -a ! -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
|
||||
|
||||
if [ ! -e $NETSFILE ] ; then
|
||||
echo "## This file contains all names of the networks to be started on system startup." > $NETSFILE
|
||||
fi
|
||||
;;
|
||||
|
||||
if [ "$RET" = "true" ] ; then
|
||||
invoke-rc.d tinc start
|
||||
else
|
||||
echo "I have not stopped or restarted the tinc daemon. You should do this"
|
||||
echo "yourself whenever you're ready; type \`\`invoke-rc.d tinc restart''."
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
|
|
@ -72,32 +80,6 @@ EOF
|
|||
;;
|
||||
esac
|
||||
|
||||
# Automatically added by dh_installinit, edited for use with debconf
|
||||
if [ -x "/etc/init.d/tinc" ]; then
|
||||
update-rc.d tinc defaults >/dev/null
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
if dpkg --compare-versions "$2" lt "1.0pre5-4" ; then
|
||||
/etc/init.d/tinc start
|
||||
else
|
||||
if [ -e /usr/share/debconf/confmodule ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
db_get tinc/restart_on_upgrade
|
||||
if [ "$RET" = "true" ] ; then
|
||||
/etc/init.d/tinc start
|
||||
else
|
||||
echo "I have not stopped or restarted the tinc daemon. You should do this"
|
||||
echo "yourself whenever you're ready; type \`\`/etc/init.d/tinc restart''."
|
||||
fi
|
||||
db_stop
|
||||
else
|
||||
/etc/init.d/tinc start
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
|
|
|
|||
4
debian/prerm
vendored
4
debian/prerm
vendored
|
|
@ -6,11 +6,11 @@ if [ -x "/etc/init.d/tinc" ]; then
|
|||
. /usr/share/debconf/confmodule
|
||||
db_get tinc/restart_on_upgrade
|
||||
if [ "$RET" = "true" ] ; then
|
||||
/etc/init.d/tinc stop
|
||||
invoke-rc.d tinc stop
|
||||
fi
|
||||
db_stop
|
||||
else
|
||||
/etc/init.d/tinc stop
|
||||
invoke-rc.d tinc stop
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
|
|
|
|||
88
debian/rules
vendored
88
debian/rules
vendored
|
|
@ -1,81 +1,19 @@
|
|||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
|
||||
# This is the debhelper compatability version to use.
|
||||
export DH_COMPAT=3
|
||||
DEB_CONFIGURE_EXTRA_FLAGS = --enable-tracing
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
# A bit of a kludge, we have our own init.d handling in postinst, but
|
||||
# cdbs calls dh_installinit anyway.
|
||||
DEB_DH_INSTALLINIT_ARGS = -n
|
||||
|
||||
# # If the Makefile.in.in file in po/ already contains DESTDIR support, skip the patching.
|
||||
cd `pwd`/po ; ( \
|
||||
if ! grep DESTDIR Makefile.in.in > /dev/null ; then \
|
||||
patch -Ns -p0 < `pwd`/../debian/po-Makefile.in.in.diff || true ;\
|
||||
fi ;\
|
||||
)
|
||||
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info --sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
$(MAKE)
|
||||
# cd doc && texi2html -split=chapter tinc.texi
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
-$(MAKE) distclean
|
||||
clean::
|
||||
rm -f src/device.c
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
$(MAKE) install DESTDIR=`pwd`/debian/tmp
|
||||
mkdir -p `pwd`/debian/tmp/etc/tinc/example
|
||||
# cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/example/tinc.conf
|
||||
mkdir -p `pwd`/debian/tmp/usr/share/doc/tinc/examples
|
||||
cd `pwd`/debian/tmp/usr/share/doc/tinc/examples/ && tar xfz $(PWD)/doc/sample-config.tar.gz
|
||||
cp COPYING.README `pwd`/debian/tmp/usr/share/doc/tinc/
|
||||
ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README
|
||||
p="`pwd`" ; cd $$p/debian/tmp/usr/share/doc/tinc ; texi2html -split=chapter $$p/doc/tinc.texi
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_movefiles
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
install -o root -g root -m 755 debian/init.d debian/tinc/etc/init.d/tinc
|
||||
dh_installmanpages
|
||||
dh_installinfo
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_installdebconf
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
build/tinc::
|
||||
cd doc && $(MAKE) texi2html
|
||||
binary-post-install/tinc::
|
||||
mv -v doc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
|
||||
cd debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ && tar xzf ../../../../../../doc/sample-config.tar.gz && mv sample-config examples && rm -rf examples/CVS examples/hosts/CVS
|
||||
|
|
|
|||
7
debian/tinc-down
vendored
7
debian/tinc-down
vendored
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
# This file closes down the tap device.
|
||||
# Note that if you use the universal tun/tap driver, you don't
|
||||
# need to do anything; once tinc quits the tap device is already
|
||||
# removed by the kernel.
|
||||
|
||||
ifconfig tap0 down
|
||||
14
debian/tinc-up
vendored
14
debian/tinc-up
vendored
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
# This file sets up the tap device.
|
||||
# It gives you the freedom to do anything you want with it.
|
||||
# Use the correct name for the tap device:
|
||||
# For ethertap this is tap0, tap1, tap2 etcetera,
|
||||
# but for the universal tun/tap device use $NETNAME.
|
||||
|
||||
# Set hardware ethernet address (required for Mode=router)
|
||||
ifconfig tap0 hw ether fe:fd:0:0:0:0
|
||||
|
||||
# Give it the right ip and netmask. Remember, the subnet of the
|
||||
# tap device must be larger than that of the individual Subnets
|
||||
# as defined in the host configuration file!
|
||||
ifconfig tap0 192.168.1.1 netmask 255.255.0.0 -arp
|
||||
2
debian/tinc.default
vendored
Normal file
2
debian/tinc.default
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Extra options to be passed to tincd.
|
||||
# EXTRA="-d"
|
||||
3
debian/tinc.dirs
vendored
3
debian/tinc.dirs
vendored
|
|
@ -3,4 +3,5 @@ usr/share
|
|||
etc
|
||||
etc/init.d
|
||||
usr/share/locale
|
||||
|
||||
usr/share/doc/tinc
|
||||
etc/tinc
|
||||
|
|
|
|||
0
debian/docs → debian/tinc.docs
vendored
0
debian/docs → debian/tinc.docs
vendored
1
debian/tinc.files
vendored
1
debian/tinc.files
vendored
|
|
@ -3,3 +3,4 @@ usr/share/man
|
|||
etc
|
||||
usr/share/doc/tinc
|
||||
usr/share/locale
|
||||
usr/share/info
|
||||
|
|
|
|||
1
debian/tinc.modules
vendored
1
debian/tinc.modules
vendored
|
|
@ -1,4 +1,5 @@
|
|||
alias char-major-36 netlink_dev
|
||||
alias char-major-10-200 tun
|
||||
|
||||
alias tap0 ethertap
|
||||
alias tap1 ethertap
|
||||
|
|
|
|||
10
debian/tinc.templates
vendored
10
debian/tinc.templates
vendored
|
|
@ -1,14 +1,14 @@
|
|||
Template: tinc/restart_on_upgrade
|
||||
Type: boolean
|
||||
Default: true
|
||||
Description: Restart tinc on each upgrade?
|
||||
You may choose if you want me to restart the tinc daemon every time
|
||||
you install a new version of this package.
|
||||
_Description: Restart tinc on each upgrade?
|
||||
You may choose if you want me to restart the tinc daemon every time you
|
||||
install a new version of this package.
|
||||
.
|
||||
Sometimes you don't want to do this, for example if you are doing the
|
||||
upgrade over a tunnel that is created with tinc. Stopping the daemon
|
||||
would probably leave you with a dead connection, and tinc may not be
|
||||
started again.
|
||||
.
|
||||
If you say no, you have to restart tinc yourself if you upgraded,
|
||||
by typing `/etc/init.d/tinc restart' whenever it suits you.
|
||||
If you refuse, you have to restart tinc yourself if you upgraded, by
|
||||
typing `invoke-rc.d tinc restart' whenever it suits you.
|
||||
|
|
|
|||
13
debian/tinc.templates.nl
vendored
13
debian/tinc.templates.nl
vendored
|
|
@ -1,13 +0,0 @@
|
|||
Template: tinc/restart_on_upgrade
|
||||
Description: Start tinc opnieuw na iedere upgrade?
|
||||
Je kunt kiezen of ik de tinc daemon opnieuw moet starten iedere keer
|
||||
als je een nieuwe versie van het pakket installeert.
|
||||
.
|
||||
Soms wil je dit niet doen, bij voorbeeld als je de upgrade uitvoert
|
||||
over een tunnel die met tinc is gemaakt. Het stoppen van tinc
|
||||
resulteert dan waarschijnlijk is een dode verbinding, en tinc wordt
|
||||
dan misschien niet opnieuw gestart.
|
||||
.
|
||||
Als je nee antwoordt, moet je zelf tinc opnieuw starten na een
|
||||
upgrade, door `/etc/init.d/tinc restart' in te tiepen wanneer het
|
||||
goed uitkomt.
|
||||
Loading…
Add table
Add a link
Reference in a new issue