Import Debian changes 1.0pre7-2
tinc (1.0pre7-2) unstable; urgency=low * Dutch translation wasn't being installed. tinc (1.0pre7-1) unstable; urgency=medium * New upstream release. tinc (1.0pre6-3) unstable; urgency=medium * Synched with upstream CVS. * Added build dependency on zlib1g-dev. (Closes: #141705) tinc (1.0pre6-2) unstable; urgency=low * The Section was non-US again, so changed it back to main/net. tinc (1.0pre6-1) unstable; urgency=low * New upstream release. * Fixed text in debian/copyright 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. tinc (1.0pre5-3) unstable; urgency=low * Config variables are now treated case sentitivly again. * Added a forgotten xstrdup. tinc (1.0pre5-2) unstable; urgency=low * MaxTimeout accidentally wasn't configurable. (Closes: #119653) tinc (1.0pre5-1) unstable; urgency=low * New upstream version. (Closes: #119653) * Init script redone in sh. tinc (1.0pre4-1.cvs010621.6) unstable; urgency=low * Somehow po-Makefile.in.in.diff got lost, readded. (Closes: #119157) tinc (1.0pre4-1.cvs010621.5) unstable; urgency=low * Fix a typo in postinst that let it MAKEDEV even on devfs. (Closes: #116034) tinc (1.0pre4-1.cvs010621.4) unstable; urgency=low * Ask before creating the device files. (Closes: #111099) * Add a section to the info file. tinc (1.0pre4-1.cvs010621.3) unstable; urgency=low * Build and install html documentation. (Closes: #106843) * Remove build-time dependency on libc6-dev. tinc (1.0pre4-1.cvs010621.2) unstable; urgency=low * Changed location of the pidfile. (Closes: #102798) 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. tinc (1.0pre3-5) unstable; urgency=low * Fixed an error in the init script that prevented tinc from starting correctly. tinc (1.0pre3-4) unstable; urgency=low * Change build-depends for OpenSSL to libssl096-dev (Closes: #84197, #84873). tinc (1.0pre3-3) unstable; urgency=low * Set architecture to any (really this time!) (Closes: #80451). * Section set to non-US tinc (1.0pre3-2) unstable; urgency=low * Set architecture to any (Closes: #80451). * Added tinc.modules with some useful module aliases. 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. 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. 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. tinc (1.0pre1-0.4) unstable; urgency=low * postinst script. tinc (1.0pre1-0.3) unstable; urgency=low * system startup script. tinc (1.0pre1-0.2) unstable; urgency=low * Included the blowfish license. tinc (1.0pre1-0.1) unstable; urgency=low * Initial Release.
This commit is contained in:
parent
ed8d36a434
commit
0f3c45c5cc
26 changed files with 1063 additions and 0 deletions
202
debian/Makefile
vendored
Normal file
202
debian/Makefile
vendored
Normal file
|
@ -0,0 +1,202 @@
|
||||||
|
# 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
Normal file
2
debian/Makefile.am
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
EXTRA_DIST = README.Debian changelog conffiles control copyright dirs \
|
||||||
|
docs info init.d postinst rules doc-base.tinc
|
202
debian/Makefile.in
vendored
Normal file
202
debian/Makefile.in
vendored
Normal file
|
@ -0,0 +1,202 @@
|
||||||
|
# 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:
|
10
debian/README.Debian
vendored
Normal file
10
debian/README.Debian
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <itimmermans@bigfoot.com>, Wed, 31 May 2000, 19:56:05 +0200
|
186
debian/changelog
vendored
Normal file
186
debian/changelog
vendored
Normal file
|
@ -0,0 +1,186 @@
|
||||||
|
tinc (1.0pre7-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Dutch translation wasn't being installed.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <ivo@debian.org> Thu, 11 Apr 2002 09:26:14 +0200
|
||||||
|
|
||||||
|
tinc (1.0pre7-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> Fri, 15 Feb 2002 12:35:17 +0100
|
||||||
|
|
||||||
|
tinc (1.0pre5-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* MaxTimeout accidentally wasn't configurable. (Closes: #119653)
|
||||||
|
|
||||||
|
-- Ivo Timmermans <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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 <ivo@debian.org> 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) <jdassen@debian.org> 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 <itimmermans@bigfoot.com> Tue, 16 May 2000 00:06:25 +0200
|
||||||
|
|
||||||
|
tinc (1.0pre1-0.4) unstable; urgency=low
|
||||||
|
|
||||||
|
* postinst script.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <itimmermans@bigfoot.com> Mon, 15 May 2000 19:22:05 +0200
|
||||||
|
|
||||||
|
tinc (1.0pre1-0.3) unstable; urgency=low
|
||||||
|
|
||||||
|
* system startup script.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <itimmermans@bigfoot.com> Sun, 14 May 2000 22:58:02 +0200
|
||||||
|
|
||||||
|
tinc (1.0pre1-0.2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Included the blowfish license.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <itimmermans@bigfoot.com> Fri, 21 Apr 2000 17:07:50 +0200
|
||||||
|
|
||||||
|
tinc (1.0pre1-0.1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial Release.
|
||||||
|
|
||||||
|
-- Ivo Timmermans <itimmermans@bigfoot.com> Fri, 21 Apr 2000 17:07:50 +0200
|
||||||
|
|
||||||
|
|
1
debian/conffiles
vendored
Normal file
1
debian/conffiles
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/etc/init.d/tinc
|
9
debian/config
vendored
Normal file
9
debian/config
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Source debconf library.
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
|
db_title tinc configuration
|
||||||
|
|
||||||
|
db_input medium tinc/restart_on_upgrade || true
|
||||||
|
db_go
|
19
debian/control
vendored
Normal file
19
debian/control
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
Package: tinc
|
||||||
|
Architecture: any
|
||||||
|
Depends: debconf, ${shlibs: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.
|
||||||
|
.
|
||||||
|
You need to have two kernel modules installed, on a Debian system
|
||||||
|
they should already be there. If they are not, the manual will
|
||||||
|
explain you how to do that.
|
20
debian/copyright
vendored
Normal file
20
debian/copyright
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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/
|
||||||
|
|
||||||
|
Upstream Author(s):
|
||||||
|
Guus Sliepen <guus@sliepen.warande.net>
|
||||||
|
Ivo Timmermans <ivo@debian.org>
|
||||||
|
|
||||||
|
Copyright: GPL version 2. On Debian GNU/Linux systems, the complete
|
||||||
|
text of the GNU General Public License can be found in
|
||||||
|
/usr/share/common-licenses/GPL.
|
||||||
|
|
||||||
|
|
||||||
|
The following is the text from /usr/share/doc/tinc/COPYING.README:
|
||||||
|
|
||||||
|
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.
|
3
debian/dirs
vendored
Normal file
3
debian/dirs
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
etc/tinc
|
||||||
|
etc/tinc/example
|
||||||
|
usr/share/doc/tinc
|
10
debian/doc-base.tinc
vendored
Normal file
10
debian/doc-base.tinc
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
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: net
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Files: /usr/share/doc/tinc/tinc*.html
|
||||||
|
Index: /usr/share/doc/tinc/tinc_toc.html
|
3
debian/docs
vendored
Normal file
3
debian/docs
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
NEWS
|
||||||
|
README
|
||||||
|
AUTHORS
|
1
debian/info
vendored
Normal file
1
debian/info
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
doc/tinc.info
|
77
debian/init.d
vendored
Normal file
77
debian/init.d
vendored
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# System startup script for tinc
|
||||||
|
# $Id: init.d,v 1.14.2.4 2000/12/05 09:03:41 zarq Exp $
|
||||||
|
#
|
||||||
|
# Based on Lubomir Bulej's Redhat init script.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
DAEMON="/usr/sbin/tincd"
|
||||||
|
NAME="tinc"
|
||||||
|
DESC="tinc daemons"
|
||||||
|
TCONF="/etc/tinc"
|
||||||
|
EXTRA=""
|
||||||
|
NETSFILE="$TCONF/nets.boot"
|
||||||
|
NETS=""
|
||||||
|
|
||||||
|
test -f $DAEMON || exit 0
|
||||||
|
|
||||||
|
find_nets () {
|
||||||
|
if [ ! -f $NETSFILE ] ; then
|
||||||
|
echo "Please create $NETSFILE."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
NETS="`egrep '^[ ]*[a-zA-Z0-9_]+[ ]*$' $NETSFILE`"
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
find_nets
|
||||||
|
echo -n "Starting $DESC:"
|
||||||
|
for n in $NETS ; do
|
||||||
|
echo -n " $n"
|
||||||
|
$DAEMON -n $n $EXTRA
|
||||||
|
done
|
||||||
|
echo "."
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
find_nets
|
||||||
|
echo -n "Stopping $DESC:"
|
||||||
|
for n in $NETS ; do
|
||||||
|
echo -n " $n"
|
||||||
|
$DAEMON -n $n $EXTRA -k
|
||||||
|
done
|
||||||
|
echo "."
|
||||||
|
;;
|
||||||
|
reload)
|
||||||
|
find_nets
|
||||||
|
echo -n "Reloading $DESC configuration:"
|
||||||
|
for n in $NETS ; do
|
||||||
|
echo -n " $n"
|
||||||
|
$DAEMON -n $n $EXTRA -k1
|
||||||
|
done
|
||||||
|
echo "."
|
||||||
|
;;
|
||||||
|
restart|force-reload)
|
||||||
|
find_nets
|
||||||
|
echo -n "Restarting $DESC:"
|
||||||
|
for n in $NETS ; do
|
||||||
|
echo -n " $n"
|
||||||
|
$DAEMON -n $n $EXTRA -k
|
||||||
|
sleep 1
|
||||||
|
$DAEMON -n $n $EXTRA
|
||||||
|
done
|
||||||
|
echo "."
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: /etc/init.d/$NAME {start|stop|reload|restart|force-reload}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
32
debian/po-Makefile.in.in.diff
vendored
Normal file
32
debian/po-Makefile.in.in.diff
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
--- 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; \
|
108
debian/postinst
vendored
Normal file
108
debian/postinst
vendored
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# postinst script for tinc
|
||||||
|
#
|
||||||
|
# $Id: postinst,v 1.6 2000/05/21 23:01:28 zarq Exp $
|
||||||
|
#
|
||||||
|
# see: dh_installdeb(1)
|
||||||
|
|
||||||
|
TCONF="/etc/tinc"
|
||||||
|
NETSFILE="$TCONF/nets.boot"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# summary of how this script can be called:
|
||||||
|
# * <postinst> `configure' <most-recently-configured-version>
|
||||||
|
# * <old-postinst> `abort-upgrade' <new version>
|
||||||
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||||
|
# <new-version>
|
||||||
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||||
|
# <failed-install-package> <version> `removing'
|
||||||
|
# <conflicting-package> <version>
|
||||||
|
# for details, see /usr/doc/packaging-manual/
|
||||||
|
#
|
||||||
|
# quoting from the policy:
|
||||||
|
# Any necessary prompting should almost always be confined to the
|
||||||
|
# post-installation script, and should be protected with a conditional
|
||||||
|
# so that unnecessary prompting doesn't happen if a package's
|
||||||
|
# installation fails and the `postinst' is called with `abort-upgrade',
|
||||||
|
# `abort-remove' or `abort-deconfigure'.
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
9
debian/postrm
vendored
Normal file
9
debian/postrm
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
# Automatically added by package maintainer
|
||||||
|
if [ "$1" = purge ]; then
|
||||||
|
update-rc.d tinc remove >/dev/null 2>/dev/null
|
||||||
|
fi
|
||||||
|
# End automatically added section
|
||||||
|
|
||||||
|
#DEBHELPER#
|
18
debian/prerm
vendored
Normal file
18
debian/prerm
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Automatically added by dh_installinit, edited for use with debconf
|
||||||
|
if [ -x "/etc/init.d/tinc" ]; then
|
||||||
|
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 stop
|
||||||
|
fi
|
||||||
|
db_stop
|
||||||
|
else
|
||||||
|
/etc/init.d/tinc stop
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# End automatically added section
|
||||||
|
|
||||||
|
#DEBHELPER#
|
81
debian/rules
vendored
Executable file
81
debian/rules
vendored
Executable file
|
@ -0,0 +1,81 @@
|
||||||
|
#!/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
|
||||||
|
|
||||||
|
# This is the debhelper compatability version to use.
|
||||||
|
export DH_COMPAT=3
|
||||||
|
|
||||||
|
build: build-stamp
|
||||||
|
build-stamp:
|
||||||
|
dh_testdir
|
||||||
|
|
||||||
|
# # 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
|
||||||
|
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
|
7
debian/tinc-down
vendored
Normal file
7
debian/tinc-down
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/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
Normal file
14
debian/tinc-up
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/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
|
6
debian/tinc.dirs
vendored
Normal file
6
debian/tinc.dirs
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
usr/sbin
|
||||||
|
usr/share
|
||||||
|
etc
|
||||||
|
etc/init.d
|
||||||
|
usr/share/locale
|
||||||
|
|
5
debian/tinc.files
vendored
Normal file
5
debian/tinc.files
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
usr/sbin/tincd
|
||||||
|
usr/share/man
|
||||||
|
etc
|
||||||
|
usr/share/doc/tinc
|
||||||
|
usr/share/locale
|
11
debian/tinc.modules
vendored
Normal file
11
debian/tinc.modules
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
alias char-major-36 netlink_dev
|
||||||
|
|
||||||
|
alias tap0 ethertap
|
||||||
|
alias tap1 ethertap
|
||||||
|
alias tap2 ethertap
|
||||||
|
alias tap3 ethertap
|
||||||
|
|
||||||
|
options tap0 -o tap0 -x unit=0
|
||||||
|
options tap1 -o tap1 -x unit=1
|
||||||
|
options tap2 -o tap2 -x unit=2
|
||||||
|
options tap3 -o tap3 -x unit=3
|
14
debian/tinc.templates
vendored
Normal file
14
debian/tinc.templates
vendored
Normal file
|
@ -0,0 +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.
|
||||||
|
.
|
||||||
|
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.
|
13
debian/tinc.templates.nl
vendored
Normal file
13
debian/tinc.templates.nl
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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…
Reference in a new issue