--- libnfnetlink-1.0.0.orig/debian/watch
+++ libnfnetlink-1.0.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-(\S+).tar.bz2
--- libnfnetlink-1.0.0.orig/debian/control
+++ libnfnetlink-1.0.0/debian/control
@@ -0,0 +1,44 @@
+Source: libnfnetlink
+Section: libs
+Priority: extra
+Maintainer: netfilter maintainers <netfilter-maintainers@ned.snow-crash.org>
+Uploaders: Max Kellermann <max@duempel.org>, Alexander Wirt <formorer@debian.org>
+Build-Depends: debhelper (>= 5), libtool
+Standards-Version: 3.8.3
+
+Package: libnfnetlink0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Netfilter netlink library
+ libnfnetlink is the low-level library for netfilter related
+ kernel/userspace communication. It provides a generic messaging
+ infrastructure for in-kernel netfilter subsystems (such as
+ nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+ respective users and/or management tools in userspace.
+
+Package: libnfnetlink0-dbg
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, libnfnetlink0 (= ${binary:Version})
+Description: Debugging symbols for libnfnetlink0
+ libnfnetlink is the low-level library for netfilter related
+ kernel/userspace communication. It provides a generic messaging
+ infrastructure for in-kernel netfilter subsystems (such as
+ nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+ respective users and/or management tools in userspace.
+ .
+ This package provides the debugging symbols.
+
+Package: libnfnetlink-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, libnfnetlink0 (= ${binary:Version}),
+ pkg-config
+Description: Development files for libnfnetlink0
+ libnfnetlink is the low-level library for netfilter related
+ kernel/userspace communication. It provides a generic messaging
+ infrastructure for in-kernel netfilter subsystems (such as
+ nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+ respective users and/or management tools in userspace.
+ .
+ This package provides development files and static libraries.
--- libnfnetlink-1.0.0.orig/debian/libnfnetlink-dev.install
+++ libnfnetlink-1.0.0/debian/libnfnetlink-dev.install
@@ -0,0 +1,3 @@
+usr/lib/pkgconfig
+usr/lib/*.{so,a}
+usr/include
--- libnfnetlink-1.0.0.orig/debian/copyright
+++ libnfnetlink-1.0.0/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Max Kellermann <max@duempel.org> on
+Wed Sep 20 22:57:38 CEST 2006
+
+It was downloaded from http://www.netfilter.org/downloads.html
+
+Upstream Author: Netfilter Core Team <coreteam@netfilter.org>
+
+Copyright:
+
+(C) 2001-2005 Netfilter Core Team <coreteam@netfilter.org>
+
+ this software may be used and distributed according to the terms of the gnu
+ general public license, incorporated herein by reference.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- libnfnetlink-1.0.0.orig/debian/libnfnetlink0-dbg.dirs
+++ libnfnetlink-1.0.0/debian/libnfnetlink0-dbg.dirs
@@ -0,0 +1 @@
+usr/share/doc
--- libnfnetlink-1.0.0.orig/debian/libnfnetlink0.install
+++ libnfnetlink-1.0.0/debian/libnfnetlink0.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
--- libnfnetlink-1.0.0.orig/debian/compat
+++ libnfnetlink-1.0.0/debian/compat
@@ -0,0 +1 @@
+5
--- libnfnetlink-1.0.0.orig/debian/changelog
+++ libnfnetlink-1.0.0/debian/changelog
@@ -0,0 +1,79 @@
+libnfnetlink (1.0.0-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release (Closes: #545914)
+
+  [ Alexander Wirt ]
+  * Bump standards version (no changes)
+  * Move debug package to section debug
+
+ -- Alexander Wirt <formorer@debian.org>  Sun, 13 Sep 2009 21:43:53 +0200
+
+libnfnetlink (0.0.41-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * New upstream release
+    - increased shlibs version because the symbol nlif_get_ifflags was
+      added
+  * Priority "extra"
+
+  [ Alexander Wirt ]
+  * bump standards version 
+
+ -- Alexander Wirt <formorer@debian.org>  Thu, 02 Apr 2009 10:18:29 +0200
+
+libnfnetlink (0.0.39-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alexander Wirt <formorer@debian.org>  Tue, 22 Jul 2008 23:09:10 +0200
+
+libnfnetlink (0.0.38-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release (Closes: #491884)
+
+  [ Alexander Wirt ]
+  * Bump standards version (No changes) 
+
+ -- Alexander Wirt <formorer@debian.org>  Tue, 22 Jul 2008 22:56:54 +0200
+
+libnfnetlink (0.0.33-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release
+  * priority changed to "extra"
+  * Standards-Version 3.7.3
+
+ -- Alexander Wirt <formorer@debian.org>  Fri, 21 Mar 2008 22:30:43 +0100
+
+libnfnetlink (0.0.30-2) unstable; urgency=low
+
+  * Build depend on libtool (Closes: #451450) 
+
+ -- Alexander Wirt <formorer@debian.org>  Fri, 16 Nov 2007 08:50:07 +0100
+
+libnfnetlink (0.0.30-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release (Closes: #448777)
+
+  [ Alexander Wirt ]
+  * Fix distclean call in rules file
+  * Move compat from rules file to debian/compat
+  * Make package Bin NMU safe
+
+ -- Alexander Wirt <formorer@debian.org>  Mon, 12 Nov 2007 11:33:36 +0100
+
+libnfnetlink (0.0.25-1) unstable; urgency=low
+
+  * new upstream release
+  * bumped soversion to 0
+
+ -- Max Kellermann <max@duempel.org>  Tue, 13 Mar 2007 08:17:32 +0100
+
+libnfnetlink (0.0.16-1) unstable; urgency=low
+
+  * initial debian release (Closes: #388613)
+
+ -- Max Kellermann <max@duempel.org>  Thu, 21 Sep 2006 18:04:29 +0200
--- libnfnetlink-1.0.0.orig/debian/libnfnetlink-dev.docs
+++ libnfnetlink-1.0.0/debian/libnfnetlink-dev.docs
@@ -0,0 +1 @@
+README
--- libnfnetlink-1.0.0.orig/debian/rules
+++ libnfnetlink-1.0.0/debian/rules
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+# Uncomment this to turn on verbose mode.
+#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)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+else
+  CFLAGS += -O2 -fno-strict-aliasing
+endif
+
+build: debian/stamp-build
+debian/stamp-build:
+	dh_testdir
+
+	# ./configure
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--disable-dependency-tracking \
+		--prefix=/usr
+
+	# Build it
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f debian/stamp-*
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean
+
+install: debian/stamp-install
+debian/stamp-install: debian/stamp-build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) DESTDIR=`pwd`/debian/tmp install
+
+	touch $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdocs -i -A README
+	dh_installchangelogs -i debian/no-upstream-changelog
+	dh_install -i --sourcedir=debian/tmp
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -plibnfnetlink-dev
+	dh_installdocs -plibnfnetlink0
+	ln -sf libnfnetlink0 debian/libnfnetlink0-dbg/usr/share/doc/libnfnetlink0-dbg
+	dh_installchangelogs -plibnfnetlink0
+	dh_installchangelogs -plibnfnetlink-dev
+	dh_install -a --sourcedir=debian/tmp
+	dh_link -a
+	dh_strip -a --dbg-package=libnfnetlink0-dbg
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a -V 'libnfnetlink0 (>= 1.0.0)'
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
