--- openvas-libraries-2.0.4.orig/debian/libopenvas2.install
+++ openvas-libraries-2.0.4/debian/libopenvas2.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- openvas-libraries-2.0.4.orig/debian/control
+++ openvas-libraries-2.0.4/debian/control
@@ -0,0 +1,45 @@
+Source: openvas-libraries
+Section: libs
+Priority: optional
+Maintainer: Debian OpenVAS Maintainers <openvas-distro-deb@wald.intevation.org>
+Uploaders: Tim Brown <timb@nth-dimension.org.uk>, Javier Fernandez-Sanguino Pen~a <jfs@debian.org>, Jan Wagner <waja@cyconet.org>
+Build-Depends: debhelper (>= 5), autotools-dev, libgnutls-dev, libpcap-dev, libglib2.0-dev, dpatch
+Homepage: http://www.openvas.org/
+Vcs-Browser: http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/openvas-libraries/packaging/debian/?root=openvas
+Vcs-Svn: https://svn.wald.intevation.org/svn/openvas/trunk/openvas-libraries/packaging/debian/
+Standards-Version: 3.8.3
+
+Package: libopenvas2-dev
+Section: libdevel
+Architecture: any
+Depends: libopenvas2 (= ${binary:Version}), libgnutls-dev, libpcap-dev
+Replaces: libopenvas1-dev
+Conflicts: libopenvas1-dev
+Description: remote network security auditor - static libraries and headers
+ The Open Vulnerability Assessment System is a modular security auditing
+ tool, used for testing remote systems for vulnerabilities that should be
+ fixed.
+ .
+ It is made up of two parts: a server, and a client. The server/daemon,
+ openvasd, is in charge of the attacks, whereas the client,
+ OpenVAS-Client, provides an X11/GTK+ user interface.
+ .
+ This package contains the required static libraries, headers, and
+ libopenvas-config script.
+
+Package: libopenvas2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libopenvas1
+Conflicts: libopenvas1
+Description: remote network security auditor - shared libraries
+ The Open Vulnerability Assessment System is a modular security auditing
+ tool, used for testing remote systems for vulnerabilities that should be
+ fixed.
+ .
+ It is made up of two parts: a server, and a client. The server/daemon,
+ openvasd, is in charge of the attacks, whereas the client,
+ OpenVAS-Client, provides an X11/GTK+ user interface.
+ .
+ This package contains the required shared libraries.
--- openvas-libraries-2.0.4.orig/debian/copyright
+++ openvas-libraries-2.0.4/debian/copyright
@@ -0,0 +1,70 @@
+This package was debianized by Tim Brown <timb@nth-dimension.org.uk> on
+Wed, 19 Sep 2007 01:41:35 +0100.
+
+It was downloaded from http://www.openvas.org/
+
+Upstream Author: OpenVAS <openvas-devel@wald.intevation.org>
+
+Copyright:
+
+ - Libnessus library:
+     * Copyright (C) 1998-2002 Renaud Deraison
+     * Copyright (C) 2001 Michael Arboi
+     * Copyright (c) Nessus Consulting S.A.R.L., 2000 - 2001
+     * Copyright (c) mjh-EDV Beratung, 1996-1999
+     * Copyright (C) Free Software Foundation, Inc., [getopt]
+     * Copyright (c) 1995-1999 Kungliga Tekniska Högskolan
+       (Royal Institute of Technology, Stockholm, Sweden). [snprintf]
+     * Copyright 1988-2002, Patrick Powell, San Diego, CA [proctitle]
+     * Copyright 2001 Niels Provos <provos@citi.umich.edu> [share_fd]
+     * Copyright (C) 2008 Intevation GmbH
+
+Other copyrights:
+
+ - Autoconf:
+    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+    2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+    Inc.
+
+Authors:
+
+ - Libnessus library:
+
+     * Renaud Deraison
+     * Michael Arboi
+     * Bernhard Herzog <bh@intevation.de>
+     * Jan-Oliver Wagner <jan-oliver.wagner@intevation.de>
+     * Michael Wiegand <michael.wiegand@intevation.de>
+     * Tim Brown <timb@nth-dimension.org.uk>
+     * Vlatko Kosturjak <kost@linux.hr>
+     * Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This package 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 this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is licensed under the GPL-3 and
+  Copyright (c) 2007, Tim Brown <timb@nth-dimension.org.uk>
+  Copyright (c) 2008, 2009 Jan Wagner <waja@cyconet.org>
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+Portions of the Debian packing are heavily based on the packaging of
+nessus-libraries which is (C) 1998, Javier Fernandez-Sanguino
+Pe�a <jfs@debian.org> which is licensed under the GPL, see above.
--- openvas-libraries-2.0.4.orig/debian/libopenvas2.dirs
+++ openvas-libraries-2.0.4/debian/libopenvas2.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/share/doc/libopenvas2
--- openvas-libraries-2.0.4.orig/debian/changelog
+++ openvas-libraries-2.0.4/debian/changelog
@@ -0,0 +1,148 @@
+openvas-libraries (2.0.4-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Jan Wagner <waja@cyconet.org>  Thu, 27 Aug 2009 12:26:35 +0200
+
+openvas-libraries (2.0.4-1) unstable; urgency=low
+
+  * new upstream release
+  * drop configure-grypt dpatch
+  * relicense packaging to GPL-3
+  * Bump Standards-Version to 3.8.3, no changes needed
+
+ -- Jan Wagner <waja@cyconet.org>  Wed, 19 Aug 2009 13:24:35 +0200
+
+openvas-libraries (2.0.3-1) unstable; urgency=low
+
+  [ Javier Fernandez-Sanguino ]
+  * New upstream release
+  * add configure-grypt.dpatch to get grypt working well
+  * fixing DESTDIR in rules
+  * Add debian/watch to detect when a new version is available at
+    wald.intevation.org
+
+  [ Jan Wagner ]
+  * Bump Standards-Version to 3.8.2, no changes needed
+
+ -- Jan Wagner <waja@cyconet.org>  Tue, 28 Jul 2009 01:05:17 +0200
+
+openvas-libraries (2.0.2-1) unstable; urgency=low
+
+  [ Tim Brown ]
+  * New upstream release
+  * Updated the control file to take account of translation work as part
+    of the Smith review project
+  * Include dpatch infrastructure
+
+  [ Jan Wagner ]
+  * Add some copyright and author
+
+ -- Jan Wagner <waja@cyconet.org>  Sat, 09 May 2009 12:54:24 +0200
+
+openvas-libraries (2.0.0-2) unstable; urgency=low
+
+  * Brown paper bug upload: Restore the changes introduced since 1.0.1-5
+  * Make proper versioned binary packages for this library
+  * Add a Build-Depend on libglib2.0-dev (Closes: 511627)
+  * Conflict against libopenvas1-dev
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Thu, 15 Jan 2009 22:19:53 +0100
+
+openvas-libraries (2.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Fri, 02 Jan 2009 01:21:09 +0100
+
+openvas-libraries (2.0.0.beta2-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Sat, 15 Nov 2008 12:52:28 +0000
+
+openvas-libraries (2.0.0.beta1-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Cleaned up the rules
+  * Updated copyright
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Sun, 12 Oct 2008 19:23:20 +0100
+
+openvas-libraries (1.0.2-2) UNRELEASED; urgency=low
+
+  * Not released yet
+
+ -- Jan Wagner <waja@cyconet.org>  Tue, 08 Jul 2008 10:10:47 +0200
+
+openvas-libraries (1.0.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Add Tim and myself to Uploaders
+  * Set Debian Maintainers Mailing List as Maintainer
+  * Add Vcs-Headers
+  * Bump Standards Version to 3.8.0, no changes needed
+  * Remove trailing whitespaces from EOL and EOF in debian/*
+  * Move Section to right place for openvas-libraries in control
+  * Also depend on libgnutls-dev, libpcap-dev for -dev
+  * Remove debian/*.dirs since unneeded
+
+ -- Jan Wagner <waja@cyconet.org>  Mon, 07 Jul 2008 16:17:53 +0200
+
+openvas-libraries (1.0.1-5) unstable; urgency=low
+
+  * Fix the Makefile so that the library is linked with the appropriate
+    libraries. Also change openvas-libraries.tmpl
+  * Drop the libgpgme11-dev Build-Dep, we actually don't need it, none of the
+    sources build use the gpgme.h header.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Fri, 02 May 2008 21:20:05 +0200
+
+openvas-libraries (1.0.1-4) unstable; urgency=low
+
+  * Minor updates to control and copyright file to fix issues highlighted
+    by jfs in regard to the priority and copyright of the packaging
+    respectively
+  * Minor update to control to fix differing dependency between
+    openvas-libraries and openvas-libnasl as highlighted by jfs
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 30 Apr 2008 23:23:27 +0100
+
+openvas-libraries (1.0.1-3) unstable; urgency=low
+
+  * Minor update to control file, fixed dependency on ${source:Version} substvar
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 16 Apr 2008 05:57:27 +0100
+
+openvas-libraries (1.0.1-2) unstable; urgency=low
+
+  * Minor updates to control file, now lists jfs as uploader, fixed deprecated
+    ${Source-Version} substvar, Build-Depends directive
+  * Minor update to rules file, DH_COMPAT environment variable no longer required
+  * Minor update to libopenvas2-dev.install
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 16 Apr 2008 05:21:09 +0100
+
+openvas-libraries (1.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Thu, 03 Apr 2008 01:18:00 +0100
+
+openvas-libraries (1.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Tue, 05 Feb 2008 22:12:21 +0000
+
+openvas-libraries (0.9.1-2) unstable; urgency=low
+
+  * Minor updates to the control and copyright files
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 31 Oct 2007 02:29:25 +0000
+
+openvas-libraries (0.9.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 19 Sep 2007 01:41:35 +0100
--- openvas-libraries-2.0.4.orig/debian/watch
+++ openvas-libraries-2.0.4/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://wald.intevation.org/frs/?group_id=29  \
+	/frs/download.php/.*/openvas-libraries-(.*).tar.gz
--- openvas-libraries-2.0.4.orig/debian/rules
+++ openvas-libraries-2.0.4/debian/rules
@@ -0,0 +1,97 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+include /usr/share/dpatch/dpatch.make
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: patch-stamp configure
+	dh_testdir
+	# Add here commands to configure the package.
+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 $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --localstatedir=/var CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	touch openvas-libraries.tmpl
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp/ install
+
+# 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_install --sourcedir=debian/tmp
+	( cd debian/libopenvas2-dev/usr/share/doc/ ; rm -rf libopenvas2-dev; ln -s libopenvas2 libopenvas2-dev; )
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- openvas-libraries-2.0.4.orig/debian/libopenvas2-dev.dirs
+++ openvas-libraries-2.0.4/debian/libopenvas2-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- openvas-libraries-2.0.4.orig/debian/libopenvas2-dev.install
+++ openvas-libraries-2.0.4/debian/libopenvas2-dev.install
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/*.la
+usr/share/man/man1/libopenvas-config.1
+usr/bin/libopenvas-config
--- openvas-libraries-2.0.4.orig/debian/compat
+++ openvas-libraries-2.0.4/debian/compat
@@ -0,0 +1 @@
+5
