summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2009-03-03 10:45:29 +0000
committerMichael Prokop <mika@debian.org>2009-03-03 10:45:29 +0000
commit2f60396c67d0526b9b52f0cc9ea339dbca0939cb (patch)
tree9e0651023bb25a57ef581a4ba77196e1b50e5ab7 /debian
parenttabs to spaces (diff)
Add debian/ for initial Debian package
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control27
-rw-r--r--debian/copyright29
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules78
6 files changed, 141 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ec56fa1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+uanytun (0.3-1~pre1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn [FIXME/TODO]).
+
+ -- Michael Prokop <mika@grml.org> Tue, 03 Mar 2009 11:09:43 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a5ffcbb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: uanytun
+Section: net
+Priority: extra
+Maintainer: Michael Prokop <mika@grml.org>
+Build-Depends: debhelper (>= 5), libgcrypt11-dev, asciidoc
+Standards-Version: 3.8.0
+Homepage: http://www.anytun.org/
+VCS-svn: https://svn.chaos-at-home.org/uanytun/
+VCS-Browser: https://svn.chaos-at-home.org/uanytun/
+
+Package: uanytun
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: tiny implementation of the secure anycast tunneling protocol
+ uAnytun is a tiny implementation of SATP. Unlike Anytun which is
+ a full featured implementation uAnytun has no support for
+ multiple connections or synchronisation. It is a small single
+ threaded implementation intended to act as a client on small
+ platforms. The secure anycast tunneling protocol (satp) defines
+ a protocol used for communication between any combination of
+ unicast and anycast tunnel endpoints. It has less protocol
+ overhead than IPSec in Tunnel mode and allows tunneling of every
+ ETHER TYPE protocol (e.g. ethernet, ip, arp ...). satp directly
+ includes cryptography and message authentication based on the
+ methodes used by SRTP. It is intended to deliver a generic,
+ scaleable and secure solution for tunneling and relaying of
+ packets of any protocol.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fc349d5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Michael Prokop <mika@grml.org> on
+Tue, 03 Mar 2009 11:09:43 +0100.
+
+It was downloaded from https://svn.chaos-at-home.org/uanytun/
+
+Upstream Author:
+
+ Christian Pointner <equinox@anytun.org>
+
+Copyright:
+
+ Copyright (C) 2007-2008 Christian Pointner <equinox@anytun.org>
+
+License:
+
+ uAnytun is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 3 as
+ published by the Free Software Foundation.
+
+ uAnytun is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with uAnytun. If not, see <http://www.gnu.org/licenses/>.
+
+The Debian packaging is copyright 2009, Michael Prokop <mika@grml.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5ae1eff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ cd src && ./configure && cd ..
+ touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ cd src && $(MAKE) && cd ..
+ cd doc && $(MAKE) && cd ..
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # temporary workarounds:
+ rm -f src/tun.c
+ touch src/include.mk
+
+ cd src && $(MAKE) clean && cd ..
+ cd doc && $(MAKE) clean && cd ..
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs usr/sbin usr/share/uanytun/examples/config
+
+ # Add here commands to install the package into debian/uanytun.
+ install -m 755 src/uanytun debian/uanytun/usr/sbin/
+ cp -a etc/uanytun/* debian/uanytun/usr/share/uanytun/examples/config/
+ # remove svn files for now:
+ find debian/uanytun -name \.svn -print0 | xargs -0 rm -rf
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_installinit etc/init.d/uanytun
+ dh_installman doc/uanytun.8
+ dh_link
+ dh_strip
+ 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 configure