Initial CVS.
authorIvo Timmermans <ivo@lychnis.net>
Tue, 25 Apr 2000 19:11:02 +0000 (19:11 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Tue, 25 Apr 2000 19:11:02 +0000 (19:11 +0000)
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/conffiles [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/info [new file with mode: 0644]
debian/init.d [new file with mode: 0644]
debian/rules [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..4a1c9d2
--- /dev/null
@@ -0,0 +1,7 @@
+tinc for Debian
+----------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Ivo Timmermans,,,
+ <itimmermans@bigfoot.com>, Fri, 21 Apr 2000 17:07:50 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..552206c
--- /dev/null
@@ -0,0 +1,9 @@
+tinc (1.0-0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Ivo Timmermans <itimmermans@bigfoot.com>  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 (file)
index 0000000..0d046fd
--- /dev/null
@@ -0,0 +1 @@
+/etc/tinc/tincd.conf
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..affbed7
--- /dev/null
@@ -0,0 +1,12 @@
+Source: tinc
+Section: non-US/main
+Priority: optional
+Maintainer: Ivo Timmermans <itimmermans@bigfoot.com>
+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 (file)
index 0000000..3fd7455
--- /dev/null
@@ -0,0 +1,11 @@
+This package was debianized by Ivo Timmermans,,,
+ <itimmermans@bigfoot.com> on
+Fri, 21 Apr 2000 17:07:50 +0200.
+
+It was downloaded from <fill in ftp site>
+
+Upstream Author(s): <put author(s) name and email here>
+
+Copyright:
+
+<Must follow here>
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..7c831f5
--- /dev/null
@@ -0,0 +1,2 @@
+etc/tinc
+etc/tinc/passphrases
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..84e45f5
--- /dev/null
@@ -0,0 +1,4 @@
+INSTALL
+NEWS
+README
+TODO
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..72899e9
--- /dev/null
@@ -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 (file)
index 0000000..5468d6c
--- /dev/null
@@ -0,0 +1 @@
+doc/tinc.info
diff --git a/debian/init.d b/debian/init.d
new file mode 100644 (file)
index 0000000..ffe51bd
--- /dev/null
@@ -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 <miquels@cistron.nl>.
+#              Modified for Debian GNU/Linux
+#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# 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 (file)
index 0000000..de43c0d
--- /dev/null
@@ -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