From: Ivo Timmermans Date: Tue, 25 Apr 2000 19:11:02 +0000 (+0000) Subject: Initial CVS. X-Git-Tag: import-tinc-1.1~983 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=45b275e2542b4e8e7deac9e5e9eeddacfdbce90f;p=meshlink Initial CVS. --- diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000..4a1c9d2f --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +tinc for Debian +---------------------- + + + + -- Ivo Timmermans,,, + , Fri, 21 Apr 2000 17:07:50 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..552206c9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +tinc (1.0-0.1) unstable; urgency=low + + * Initial Release. + + -- Ivo Timmermans Fri, 21 Apr 2000 17:07:50 +0200 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 00000000..0d046fdb --- /dev/null +++ b/debian/conffiles @@ -0,0 +1 @@ +/etc/tinc/tincd.conf diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..affbed71 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: tinc +Section: non-US/main +Priority: optional +Maintainer: Ivo Timmermans +Standards-Version: 3.0.1 +Depends: libc6, libgmp2 + +Package: tinc +Architecture: i386 +Depends: ${shlibs:Depends}, libgmp2-dev +Description: Virtual Private Network daemon + blablabla diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..3fd7455e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Ivo Timmermans,,, + on +Fri, 21 Apr 2000 17:07:50 +0200. + +It was downloaded from + +Upstream Author(s): + +Copyright: + + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 00000000..7c831f56 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +etc/tinc +etc/tinc/passphrases diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..84e45f51 --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +INSTALL +NEWS +README +TODO diff --git a/debian/files b/debian/files new file mode 100644 index 00000000..72899e9c --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +tinc_1.0-0.1_i386.deb non-US/main optional diff --git a/debian/info b/debian/info new file mode 100644 index 00000000..5468d6c9 --- /dev/null +++ b/debian/info @@ -0,0 +1 @@ +doc/tinc.info diff --git a/debian/init.d b/debian/init.d new file mode 100644 index 00000000..ffe51bd3 --- /dev/null +++ b/debian/init.d @@ -0,0 +1,70 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux +# by Ian Murdock . +# +# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl +# +# This file was automatically customized by dh-make on Fri, 21 Apr 2000 17:07:50 +0200 + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/tinc +NAME=tinc +DESC=tinc + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON + echo "$NAME." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100644 index 00000000..de43c0db --- /dev/null +++ b/debian/rules @@ -0,0 +1,76 @@ +#!/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=1 + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=`pwd`/debian/tmp/usr + mkdir -p `pwd`/debian/tmp/etc/tinc + cp doc/tincd.conf.sample `pwd`/debian/tmp/etc/tinc/tincd.conf + + +# 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_testversion + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron + dh_installmanpages + dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here. + dh_suidregister +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install