--- libnetfilter-log-0.0.16.orig/debian/rules
+++ libnetfilter-log-0.0.16/debian/rules
@@ -0,0 +1,79 @@
+#!/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: build-stamp
+build-stamp:
+	dh_testdir
+
+	# ./configure
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--disable-dependency-tracking \
+		--prefix=/usr
+
+	# Build libnetfilter-log
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install*-stamp
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) DESTDIR=`pwd`/debian/tmp install
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -plibnetfilter-log1
+	ln -sf libnetfilter-log1 debian/libnetfilter-log1-dbg/usr/share/doc/libnetfilter-log1-dbg
+	ln -sf libnetfilter-log1 debian/libnetfilter-log-dev/usr/share/doc/libnetfilter-log-dev
+	dh_installchangelogs -plibnetfilter-log1
+	dh_install -a --sourcedir=debian/tmp
+	dh_link -a
+	dh_strip -a --dbg-package=libnetfilter-log1-dbg
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a -V 'libnetfilter-log1 (>= 0.0.15)'
+	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
--- libnetfilter-log-0.0.16.orig/debian/watch
+++ libnetfilter-log-0.0.16/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://ftp.netfilter.org/pub/libnetfilter_log/libnetfilter_log-(\S+).tar.bz2
--- libnetfilter-log-0.0.16.orig/debian/compat
+++ libnetfilter-log-0.0.16/debian/compat
@@ -0,0 +1 @@
+5
--- libnetfilter-log-0.0.16.orig/debian/copyright
+++ libnetfilter-log-0.0.16/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Max Kellermann <max@duempel.org> on
+Fri Sep 22 10:56:25 CEST 2006
+
+It was downloaded from http://www.netfilter.org/downloads.html
+
+Upstream Author: Harald Welte <laforge@gnumonks.org>
+
+Copyright:
+
+ (C) 2005 by Harald Welte <laforge@gnumonks.org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2
+ as published by the Free Software Foundation
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
--- libnetfilter-log-0.0.16.orig/debian/libnetfilter-log-dev.install
+++ libnetfilter-log-0.0.16/debian/libnetfilter-log-dev.install
@@ -0,0 +1,3 @@
+usr/lib/pkgconfig
+usr/lib/*.{so,a}
+usr/include
--- libnetfilter-log-0.0.16.orig/debian/libnetfilter-log-dev.dirs
+++ libnetfilter-log-0.0.16/debian/libnetfilter-log-dev.dirs
@@ -0,0 +1 @@
+usr/share/doc
--- libnetfilter-log-0.0.16.orig/debian/control
+++ libnetfilter-log-0.0.16/debian/control
@@ -0,0 +1,42 @@
+Source: libnetfilter-log
+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), libnfnetlink-dev (>= 0.0.41)
+Standards-Version: 3.8.1
+
+Package: libnetfilter-log1
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Netfilter netlink-log library
+ libnetfilter_log is a userspace library providing interface to
+ packets that have been logged by the kernel packet filter. It is part
+ of a system that deprecates the old syslog/dmesg based packet
+ logging.
+
+Package: libnetfilter-log1-dbg
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, libnetfilter-log1 (= ${binary:Version})
+Description: Debugging symbols for libnetfilter-log1
+ libnetfilter_log is a userspace library providing interface to
+ packets that have been logged by the kernel packet filter. It is part
+ of a system that deprecates the old syslog/dmesg based packet
+ logging.
+ .
+ This package provides the debugging symbols.
+
+Package: libnetfilter-log-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, pkg-config,
+ libnetfilter-log1 (= ${binary:Version}),
+ libnfnetlink-dev (>= 0.0.16)
+Description: Development files for libnetfilter-log1
+ libnetfilter_log is a userspace library providing interface to
+ packets that have been logged by the kernel packet filter. It is part
+ of a system that deprecates the old syslog/dmesg based packet
+ logging.
+ .
+ This package provides development files and static libraries.
--- libnetfilter-log-0.0.16.orig/debian/libnetfilter-log1.install
+++ libnetfilter-log-0.0.16/debian/libnetfilter-log1.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
--- libnetfilter-log-0.0.16.orig/debian/libnetfilter-log1-dbg.dirs
+++ libnetfilter-log-0.0.16/debian/libnetfilter-log1-dbg.dirs
@@ -0,0 +1 @@
+usr/share/doc
--- libnetfilter-log-0.0.16.orig/debian/changelog
+++ libnetfilter-log-0.0.16/debian/changelog
@@ -0,0 +1,33 @@
+libnetfilter-log (0.0.16-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release
+  * build with libnfnetlink-dev 0.0.41
+
+  [ Alexander Wirt ]
+  * Bump standards version (no changes) 
+  * Fix copyright file
+
+ -- Alexander Wirt <formorer@debian.org>  Thu, 02 Apr 2009 11:05:59 +0200
+
+libnetfilter-log (0.0.15-1) unstable; urgency=low
+
+  [ Max Kellermann ]
+  * new upstream release (Closes: #494947)
+    - increased shlibs version to 0.0.15 because of API additions
+  * fixed duplicated word in description
+  * bumped Standards-Version to 3.8.0
+  * moved DH_COMPAT to debian/compat
+  * don't ignore "make distclean" errors
+  * use ${binary:Version} instead of ${Source-Version}
+
+  [ Alexander Wirt ]
+  * Use http in watchfile 
+
+ -- Alexander Wirt <formorer@debian.org>  Fri, 17 Oct 2008 13:12:33 +0200
+
+libnetfilter-log (0.0.13-1) unstable; urgency=low
+
+  * initial debian release (Closes: #388730)
+
+ -- Max Kellermann <max@duempel.org>  Fri, 22 Sep 2006 13:43:26 +0200
