--- net6-1.3.6.orig/debian/docs
+++ net6-1.3.6/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+AUTHORS
--- net6-1.3.6.orig/debian/watch
+++ net6-1.3.6/debian/watch
@@ -0,0 +1,3 @@
+# Site		Directory		Pattern			Version	Script
+version=2
+http://releases.0x539.de/net6/ net6-(\d.\d.\d)\.tar\.gz debian uupdate
--- net6-1.3.6.orig/debian/libnet6-1.3-0.dirs
+++ net6-1.3.6/debian/libnet6-1.3-0.dirs
@@ -0,0 +1 @@
+usr/lib
--- net6-1.3.6.orig/debian/control
+++ net6-1.3.6/debian/control
@@ -0,0 +1,44 @@
+Source: net6
+Section: net
+Priority: optional
+Maintainer: Philipp Kern <pkern@debian.org>
+Build-Depends: debhelper (>= 5.0.0), libtool, autotools-dev, libsigc++-2.0-dev (>= 2.0.16-2), libgnutls-dev
+Standards-Version: 3.7.3
+VCS-Git: git://git.debian.org/git/users/pkern/net6.git
+VCS-Browser: http://git.debian.org/?p=users/pkern/net6.git
+
+Package: libnet6-1.3-dev
+Section: libdevel
+Architecture: any
+Depends: libnet6-1.3-0 (= ${binary:Version}), pkg-config, libsigc++-2.0-dev, libgnutls-dev
+Conflicts: libnet6-1.0-dev, libnet6-1.1-dev, libnet6-1.2-dev
+Replaces: libnet6-1.0-dev, libnet6-1.1-dev, libnet6-1.2-dev
+Description: Network access framework for IPv4/IPv6 - development files
+ net6 is a library which eases the development of network-based applications
+ as it provides a TCP protocol abstraction for C++. It is portable to both
+ the Windows and Unix-like platforms.
+ .
+ These are the development files for net6, needed only if you wish to write
+ or compile software which uses it.
+
+Package: libnet6-1.3-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Network access framework for IPv4/IPv6
+ net6 is a library which eases the development of network-based applications
+ as it provides a TCP protocol abstraction for C++. It is portable to both
+ the Windows and Unix-like platforms.
+
+Package: libnet6-1.3-0-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libnet6-1.3-0 (= ${binary:Version})
+Description: Network access framework for IPv4/IPv6 - debugging symbols
+ net6 is a library which eases the development of network-based applications
+ as it provides a TCP protocol abstraction for C++. It is portable to both
+ the Windows and Unix-like platforms.
+ .
+ These are the debugging symbols for net6, needed only if you try to debug
+ an application using it.
--- net6-1.3.6.orig/debian/compat
+++ net6-1.3.6/debian/compat
@@ -0,0 +1 @@
+5
--- net6-1.3.6.orig/debian/changelog
+++ net6-1.3.6/debian/changelog
@@ -0,0 +1,134 @@
+net6 (1:1.3.6-1~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Philipp Kern <pkern@debian.org>  Fri, 06 Jun 2008 14:29:17 +0200
+
+net6 (1:1.3.6-1) unstable; urgency=low
+
+  * Added VCS information to the source stanza.
+  * Removed the dpatch build-dependency.
+  * Added a rule to regenerate the tarball from the git repository
+    through pristine-tar, thanks to MadCoder.
+  * Do not ignore failures on `make distclean' if Makefile is present.
+
+ -- Philipp Kern <pkern@debian.org>  Tue, 25 Dec 2007 19:00:22 +0100
+
+net6 (1:1.3.5-2) unstable; urgency=low
+
+  * Include locale files in library binary package.
+  * Make package properly compatible to BinNMUs.
+
+ -- Philipp Kern <pkern@debian.org>  Thu, 30 Aug 2007 21:53:11 +0200
+
+net6 (1:1.3.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Philipp Kern <pkern@debian.org>  Sat, 16 Jun 2007 22:30:52 +0200
+
+net6 (1:1.3.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed all Debian-provided patch files
+
+ -- Philipp Kern <pkern@debian.org>  Sat, 28 Apr 2007 15:11:16 +0200
+
+net6 (1:1.3.1-3) unstable; urgency=low
+
+  * Adopted dpatch.
+    - Fix IPv6 usage: Every application could now choose to use IPv6
+      on connect which enables them to retry without if the first
+      attempt fails due to missing kernel support.
+    - Errors caused by invalid data on the connection does propagate
+      as a seperate exception.
+    - Moved gettext compatibility patch into a seperate patch file.
+  * Bump versioned dependency in shlibs file.
+
+ -- Philipp Kern <pkern@debian.org>  Wed, 17 Jan 2007 00:17:58 +0100
+
+net6 (1:1.3.1-2) unstable; urgency=low
+
+  * Fix the shlibs dependencies.
+
+ -- Philipp Kern <pkern@debian.org>  Sat, 26 Aug 2006 15:43:08 +0200
+
+net6 (1:1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Uploading to unstable. Dependent packages break now, but updates
+    will be uploaded over the next days. Please do not file bugs
+    about the breakage, if possible.
+
+ -- Philipp Kern <pkern@debian.org>  Fri, 25 Aug 2006 17:42:46 +0200
+
+net6 (1:1.3.0~rc3-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Philipp Kern <pkern@debian.org>  Fri, 18 Aug 2006 01:09:24 +0200
+
+net6 (1.3.0rc2-1) experimental; urgency=low
+
+  * New upstream release
+  * Downgrade priority of the debug package to stay in sync with the
+    overrides
+
+ -- Philipp Kern <pkern@debian.org>  Sun,  4 Jun 2006 15:22:12 +0200
+
+net6 (1.3.0rc1-1) experimental; urgency=low
+
+  * New upstream release, which is incompatible to previous versions and
+    still a release candidate; pushing to experimental to receive more
+    testing
+  * Add a package containing debugging symbols; bump debhelper compatibility
+    version for it
+
+ -- Philipp Kern <pkern@debian.org>  Wed, 19 Apr 2006 03:24:47 +0200
+
+net6 (1.2.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Comply to the most recent C++ ABI transition (Closes: #339234)
+  * Include patch specific for Debian Sarge to ease backports; it does
+    no harm on other systems
+
+ -- Philipp Kern <pkern@debian.org>  Tue, 13 Dec 2005 16:44:24 +0100
+
+net6 (1.1.0-3) unstable; urgency=medium
+
+  * Development package now also depends on pkg-config and libsigc++-2.0-dev
+    (Closes: #329930)
+
+ -- Philipp Kern <pkern@debian.org>  Mon, 17 Oct 2005 21:04:14 +0200
+
+net6 (1.1.0-2) unstable; urgency=low
+
+  * Tightened the build dependencies
+
+ -- Philipp Kern <pkern@debian.org>  Sat, 20 Aug 2005 06:41:40 +0200
+
+net6 (1.1.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Philipp Kern <pkern@debian.org>  Sat, 30 Jul 2005 17:45:15 +0200
+
+net6 (1.0.1-2) unstable; urgency=low
+
+  * C++ ABI transition
+
+ -- Philipp Kern <pkern@debian.org>  Tue, 12 Jul 2005 17:27:15 +0000
+
+net6 (1.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Philipp Kern <pkern@debian.org>  Mon,  6 Jun 2005 08:44:52 +0200
+
+net6 (0.9+20050508-1) unstable; urgency=low
+
+  * Initial release (Closes: #303811)
+
+ -- Philipp Kern <pkern@debian.org>  Mon,  9 May 2005 14:48:23 +0200
+
--- net6-1.3.6.orig/debian/copyright
+++ net6-1.3.6/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Philipp Kern <pkern@debian.org> on
+Sun,  3 Apr 2005 20:23:18 +0200.
+
+It was downloaded from <http://releases.0x539.de/net6/>.
+
+Copyright: Armin Burgmeier / 0x539 dev group
+
+Upstream Author: Armin Burgmeier <armin@0x539.de>
+
+License:
+
+  This library is written by Armin Burgmeier and is licensed
+  under the GNU Lesser General Public License (GPL) version 2.1
+  or any later version. A copy of the license is included in the
+  distribution.
+
+  This program 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.
+
+  Copyright (C) 2005-2007 Armin Burgmeier <armin@0x539.de> / 0x539 dev group
+
+  The 0x539 dev group owns the copyright as a procuration if
+  Armin Burgmeier is not reachable.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
--- net6-1.3.6.orig/debian/libnet6-1.3-dev.dirs
+++ net6-1.3.6/debian/libnet6-1.3-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- net6-1.3.6.orig/debian/libnet6-1.3-dev.install
+++ net6-1.3.6/debian/libnet6-1.3-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
--- net6-1.3.6.orig/debian/rules
+++ net6-1.3.6/debian/rules
@@ -0,0 +1,96 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+srcpkg = $(shell dpkg-parsechangelog | sed -ne 's/Source: *//p')
+srcver = $(shell dpkg-parsechangelog | sed -ne 's/Version: *\([0-9]*:\)\?\(.*\)-[^-]*$$/\2/p')
+libpkg = $(shell  sed -ne 's/Package: *\(.*\)-dbg/\1/p' debian/control)
+dbgpkg = $(libpkg)-dbg
+
+CFLAGS = -g -Wall -Wextra $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
+LDFLAGS= -Wl,-z,defs
+
+#{{{ generic rules
+
+../$(srcpkg)_$(srcver).orig.tar.gz:
+	@if git rev-parse --git-dir >/dev/null 2>&1; then                 \
+	    echo -n 'Regenerating $(@F)';                                 \
+	    git show pristine-tar:$(@F).delta | pristine-tar gentar - $@; \
+	    echo .;                                                       \
+	fi
+
+check-tarball: ../$(srcpkg)_$(srcver).orig.tar.gz
+
+.PHONY: check-tarball
+
+#}}}
+
+config.status: configure
+	dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure --prefix=/usr \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+
+build: build-stamp
+build-stamp: config.status
+	@echo ">>> Starting compile (`date`)..."
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	@echo ">>> Cleaning..."
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# Kill auto-generated files so that they do not enter the diff.
+	rm -rf config.guess config.log config.sub
+	dh_clean
+
+install: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# 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_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp
+	dh_link
+	dh_strip --dbg-package=$(dbgpkg)
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps -L$(libpkg) -ldebian/$(libpkg)/usr/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install clean
+
--- net6-1.3.6.orig/debian/libnet6-1.3-0.shlibs
+++ net6-1.3.6/debian/libnet6-1.3-0.shlibs
@@ -0,0 +1 @@
+libnet6-1.3 0 libnet6-1.3-0 (>= 1:1.3.4-0)
--- net6-1.3.6.orig/debian/libnet6-1.3-0.install
+++ net6-1.3.6/debian/libnet6-1.3-0.install
@@ -0,0 +1,2 @@
+usr/lib/lib*.so.*
+usr/share/locale
