--- openvas-client-2.0.5.orig/debian/control
+++ openvas-client-2.0.5/debian/control
@@ -0,0 +1,25 @@
+Source: openvas-client
+Section: net
+Priority: extra
+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), dpatch, autotools-dev, libssl-dev, libgtk2.0-dev, libgdchart-gd2-noxpm-dev
+Homepage: http://www.openvas.org/
+Vcs-Browser: http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/openvas-client/packaging/debian/?root=openvas
+Vcs-Svn: https://svn.wald.intevation.org/svn/openvas/trunk/openvas-client/packaging/debian/
+Standards-Version: 3.8.3
+
+Package: openvas-client
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: nessusclient, nessus (<< 3)
+Description: Remote network security auditor, the client
+ The OpenVAS Security Scanner is a security auditing tool. It makes
+ possible to test security modules in an attempt to find vulnerable
+ spots 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 the user a nice X11/GTK+ interface.
+ .
+ This package contains the GTK+ client.
--- openvas-client-2.0.5.orig/debian/dirs
+++ openvas-client-2.0.5/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/applications
--- openvas-client-2.0.5.orig/debian/compat
+++ openvas-client-2.0.5/debian/compat
@@ -0,0 +1 @@
+5
--- openvas-client-2.0.5.orig/debian/TODO
+++ openvas-client-2.0.5/debian/TODO
@@ -0,0 +1,3 @@
+
+- Review ./src/xpm/OpenVAS-logo.xpm and consider using it (or part) as the logo
+  for OpenVAS (in the menu and desktop file)
--- openvas-client-2.0.5.orig/debian/watch
+++ openvas-client-2.0.5/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://wald.intevation.org/frs/?group_id=29  \
+	/frs/download.php/.*/openvas-client-(.*).tar.gz
--- openvas-client-2.0.5.orig/debian/changelog
+++ openvas-client-2.0.5/debian/changelog
@@ -0,0 +1,212 @@
+openvas-client (2.0.5-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Jan Wagner <waja@cyconet.org>  Thu, 27 Aug 2009 12:19:24 +0200
+
+openvas-client (2.0.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove 05_fix_script_dir.dpatch as the changes have been fixed upstream
+  * Bump Standards-Version to 3.8.3, no changes needed
+
+ -- Jan Wagner <waja@cyconet.org>  Tue, 18 Aug 2009 09:57:27 +0200
+
+openvas-client (2.0.4-1) unstable; urgency=low
+
+  [ Javier Fernandez-Sanguino ]
+  * New upstream release
+  * Remove 02_de-fix.dpatch and 03_es-fix.dpatch as the changes have been fixed
+    upstream
+  * 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
+  * relicense packaging to GPL-3
+  * add 05_fix_script_dir.dpatch to get scripts installed into /usr/share/
+
+ -- Jan Wagner <waja@cyconet.org>  Tue, 28 Jul 2009 02:39:46 +0200
+
+openvas-client (2.0.3-2) unstable; urgency=low
+
+  * add debian/patches/03_es-fix.dpatch to update Spanish translation with the latest
+    complete translation available in SVN
+  * Change priority from optional to extra
+  * Remove config.sub and config.guess since the package depends on autotools-dev and
+    should be able to recreate them. This also fixes a lintian bug
+  * Remove .svn folders from debian/ subdir
+  * Lintian fix: Remove COPYING.OpenSSL from debian/docs since it is already
+   included in debian/copyright
+
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Sun, 10 May 2009 13:10:32 +0200
+
+openvas-client (2.0.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Update changelog for new code
+  * add debian/patches/02_de-fix.dpatch to fix german translation
+
+ -- Jan Wagner <waja@cyconet.org>  Sat, 09 May 2009 10:42:14 +0200
+
+openvas-client (2.0.1-2) unstable; urgency=low
+
+  * Brown paper bag release: Integrate changes missing in previous upload which
+    had been introduced after 1.0.3-2.
+  * Do not patch nessus/Makefile with gdchart0.94b (we didn't intend to)
+  * Remove from 01_libgdchart-gd2-noxpm-dev.dpatch patch the changes to
+    nessus/Makefile:
+     - Removal of gdchart0.94b targets
+     - Add -lgdc, as it is already defined by the configure script by setting GDC_LIB
+    The rest of the patch remains there since otherwise the pie charts would
+    end up ugly (background edges visible, see
+    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326502).
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Fri, 16 Jan 2009 01:19:17 +0100
+
+openvas-client (2.0.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Fri, 02 Jan 2009 01:43:18 +0100
+
+openvas-client (2.0.0.beta1-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Cleaned up the rules
+  * Removed no longer required patches
+  * Updated copyright
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Sun, 12 Oct 2008 19:06:52 +0100
+
+openvas-client (1.0.4-1) unstable; urgency=low
+
+  [ Jan Wagner ]
+  * 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
+  * Added 02_update_configure.dpatch, since shipped configure seems outdated
+    and package doesn't build with it
+  * Remove debian/*.dirs since unneeded
+  * remove trailing whitespaces from EOL and EOF in debian/*
+
+  [ Tim Brown ]
+  * Ported the fixes to use libgdchart-gd2-noxpm-dev to the latest release
+  * Fixed up rules file to correctly handle CROSS
+
+ -- Jan Wagner <waja@cyconet.org>  Sat, 19 Jul 2008 16:11:12 +0200
+
+openvas-client (1.0.3-4) unstable; urgency=low
+
+  * Minor updates to control file, fixed Priority
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Thu, 19 Jun 2008 23:21:45 +0100
+
+openvas-client (1.0.3-2) unstable; urgency=low
+
+  * Upload making this a non-Debian native package, as it should.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Sun, 06 Apr 2008 02:17:17 +0200
+
+openvas-client (1.0.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed man8 from upstream's make install-man
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Fri, 04 Apr 2008 22:26:00 +0000
+
+openvas-client (1.0.2-1) unstable; urgency=low
+
+  * New package on the upstream release
+    (fixes all the issues which made ftp masters REJECT the previous
+     upload of the 1.0.1) release:
+     - does not provide test.pdf anymore
+  [ Javier Fernandez-Sanguino ]
+  * Expand the debian/copyright information based both on the information
+    available at COPYING.README and a deep review of the copyright notices
+    of all the source code.
+        - Detail which contents are GPLv2 or later, just GPLv2, LGPL or
+          MIT/BSD
+        - Include the list of all copyright holders (by content)
+        - Include list of Authors of the OpenVAS GUI itself (frontend and
+          backend)
+  [ Tim Brown ]
+  * Incorporates the fixes to use libgdchart-gd2-noxpm-dev, it no longer
+    build the embedded copy but uses the Debian package.
+  * Updated openvas-client.menu in line with Debian Menu sub-policy
+  * Removed man8 from upstream's make install
+  * Depends on dpatch
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Fri, 28 Dec 2007 11:41:04 +0000
+
+openvas-client (1.0.1-2) unstable; urgency=low
+
+  * Updated debian/copyright to list all contributing authors based on
+    grep for "\([cC]\)|[cC]opyright"
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Sun, 04 Nov 2007 21:47:52 +0000
+
+openvas-client (1.0.1-1) unstable; urgency=low
+
+  * New upstream release. This release removes the non-free text files
+    (README_SSL, doc/WARNING.En, doc/WARNING.Fr) from Nessus which
+    was the main reason 1.0.0 was not allowed into NEW last time
+  * Other fixes:
+     - Temporary files are prefixed with "openvas" instead of "nessus"
+     - Incorporates the fixes to the Makefile introduced in previous
+       package versions.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Tue, 30 Oct 2007 00:39:17 +0100
+
+openvas-client (1.0.0-2) unstable; urgency=low
+
+  * Review and upload to Debian (Closes: #435456)
+  * Restore the changes introduced in 0.9.1-2
+  * Use Homepage: in debian/control's package headers
+  * Add a debian/TODO file (only one item currently)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Sun, 14 Oct 2007 16:56:59 +0200
+
+openvas-client (1.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 26 Sep 2007 00:41:58 +0100
+
+openvas-client (0.9.1-2) unstable; urgency=low
+
+  * Make it Replace: nessus < 3 also
+  * Remove spaces before dots in the control definition
+  * Add a Homepage: to the control definition
+  * Added myself as an uploader:
+  * Added the SSL exemption from COPYING.OpenSSL to debian/copyright
+  * Added symlinks to both the binary and the manpage for users that
+    try to execute it using the package name.
+  * Add a menu file so the application is available in Debian menus.
+  * Install the desktop file in the proper location
+     * Add a Spanish translation to the Desktop file
+     * Comment out the XPM icon as none is available which meets
+       FreeDesktop's standards.
+  * Fix top Makefile so that it cleans src/gui too
+  * Compile and install the PO files to get translations also in the package.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org>  Wed, 01 Aug 2007 14:44:10 +0200
+
+openvas-client (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Initial release (Closes: #435456)
+  * Added replaces: nessusclient
+  * Removed /usr/sbin from dirs
+  * Fixed copyright
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Wed, 01 Aug 2007 00:25:05 +0100
+
+openvas-client (0.9.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Tim Brown <timb@nth-dimension.org.uk>  Thu, 19 Jul 2007 12:18:13 +0100
--- openvas-client-2.0.5.orig/debian/copyright
+++ openvas-client-2.0.5/debian/copyright
@@ -0,0 +1,122 @@
+This package was debianized by Tim Brown <timb@nth-dimension.org.uk> on
+Thu, 19 Jul 2007 12:18:13 +0100.
+
+It was downloaded from http://www.openvas.org/
+
+Upstream Author: OpenVAS <openvas-devel@wald.intevation.org>
+
+Copyright:
+
+ - OpenVAS GUI and documentation:
+     * Copyright (C) 2004, 2005, 2007-2009 Intevation GmbH
+     * Copyright (C) 2005 by DN-Systems GmbH
+     * Copyright (C) 1998-2006 Renaud Deraison
+     * Copyright (C) 1993 Free Software Foundation, Inc [regex library]
+     * Copyright (C) 2001 Michael Arboi [ssl]
+
+  - Include files:
+     [nessus] Copyright (C) 1998-2006 Renaud Deraison
+              Copyright (c) Nessus Consulting S.A.R.L., 2000 - 2001
+
+  - Translations:
+     * Copyright (C) 2007 Intevation GmbH [de]
+     * Copyright (C) 2008 Javier Fernandez-Sanguino <jfs@debian.org> [es]
+     * Copyright (C) 2008 Marco Fradin [es]
+     * Copyright (C) 2008 Vlatko Kosturjak <kost@linux.hr> [hr]
+     * Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper
+                 <drepper@gnu.ai.mit.edu> [makefile]
+
+Other copyrights:
+
+- 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
+
+ - Autoconf:
+    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+    2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+    Inc.
+
+Authors:
+
+ - OpenVAS GUI:
+     * Renaud Deraison
+     * Thomas Arendsen Hein <thomas@intevation.de>
+     * Dirk Jagdmann <dirk@jagdmann.de>
+     * Jan-Oliver Wagner <jan.oliver.wagner@intevation.de>
+     * Thomas Arendsen Hein <thomas.arendsen.hein@intevation.de>
+     * Bernhard Herzog <bh@intevation.de>
+     * Michael Arboi [ssl]
+     * Michael Wiegand <michael.wiegand@intevation.de>
+     * Tim Brown <timb@nth-dimension.org.uk>
+     * Felix Wolfsteller <felix.wolfsteller@intevation.de>
+     * Joey Schulze <joey@infodrom.org>
+
+ - Translations:
+     * Marco Fradin [fr]
+     * Javier Fernandez-Sanguino <jfs@computer.org> [es]
+     * Vlatko Kosturjak <kost@linux.hr> [hr]
+
+License:
+
+This package holds software with four different licenses:
+
+- GNU General Public License version 2 or later: the GUI itself (the frontend)
+- GNU General Public License version 2: the nessus backend
+- GNU Library General Public License version 2 or later: the nessus library,
+  its includes, and some files of the nessus backend
+- A BSD/MIT license: some of the contents of the nessus library
+
+The following text explains which licenses apply to which parts of the code. In
+case of doubt the interested party should review the copyright headers of the
+affected files.
+
+The license for most of the software in this package is the following:
+
+    This software 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.
+
+    This software 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
+
+Notice that some parts of the software (source code files) are available
+at a GPL version 2 or (at your choice) a later version, as described above.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+In addition, as a special exception, the copyright holders give
+permission to link the code of portions of this program with the
+OpenSSL library under certain conditions as described in each
+individual source file, and distribute linked combinations
+including the two.
+
+You must obey the GNU General Public License in all respects
+for all of the code used other than OpenSSL.  If you modify
+file(s) with this exception, you may extend this exception to your
+version of the file(s), but you are not obligated to do so.  If
+you do not wish to do so, delete this exception statement from your
+version.  If you delete this exception statement from all source
+files in the program, then also delete it here.
+
+Also, OpenVAS sources include (parts of) the libnessus library under the
+libnessus/ directory, this library is distributed under the GNU LIBRARY GENERAL
+PUBLIC LICENSE version 2 (or later).  On Debian systems, the complete text of
+the GNU Library General Public License can be found in
+`/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is licensed under the GPL-3, and
+  (c) 2007, Tim Brown <timb@nth-dimension.org.uk>
+  (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'.
--- openvas-client-2.0.5.orig/debian/docs
+++ openvas-client-2.0.5/debian/docs
@@ -0,0 +1,3 @@
+README
+TODO
+CHANGES
--- openvas-client-2.0.5.orig/debian/openvas-client.menu
+++ openvas-client-2.0.5/debian/openvas-client.menu
@@ -0,0 +1 @@
+?package(openvas-client): needs="X11" section="Applications/System/Security" title="OpenVAS client" command="OpenVAS-Client"
--- openvas-client-2.0.5.orig/debian/rules
+++ openvas-client-2.0.5/debian/rules
@@ -0,0 +1,115 @@
+#!/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
+
+
+
+config.status: patch 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 CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/openvas-client.sgml > openvas-client.1
+
+	touch $@
+
+patch: patch-stamp
+
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Clean translations first
+	[ ! -f po/Makefile ] || [ ! -f nessus.tmpl ] || $(MAKE) -C po distclean
+	-rm -f po/*gmo # Not sure if we should use 'maintainer-clean' instead..
+	-rm -f po/stamp-po
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/openvas-client.
+	$(MAKE) prefix=$(CURDIR)/debian/openvas-client/usr install
+	# Build translations
+	cd po && $(MAKE) prefix=$(CURDIR)/debian/openvas-client/usr install
+	# Create a symlink for the binary:
+	cd debian/openvas-client/usr/bin && ln -s OpenVAS-Client openvas-client
+	cd debian/openvas-client/usr/share/man/man1 && ln -s OpenVAS-Client.1.gz openvas-client.1.gz
+	# Install the desktop icon
+	install -m 644 nessus/OpenVAS-Client.desktop debian/openvas-client/usr/share/applications
+
+# 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_installmenu
+	dh_installman
+	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 
--- openvas-client-2.0.5.orig/debian/patches/01_libgdchart-gd2-noxpm-dev.dpatch
+++ openvas-client-2.0.5/debian/patches/01_libgdchart-gd2-noxpm-dev.dpatch
@@ -0,0 +1,88 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_libgdchart-gd2-noxpm-dev.dpatch by  <jfs@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad openvas-client-2.0.1~/nessus/html_graph_output.c openvas-client-2.0.1/nessus/html_graph_output.c
+--- openvas-client-2.0.1~/nessus/html_graph_output.c	2009-01-02 01:59:16.000000000 +0100
++++ openvas-client-2.0.1/nessus/html_graph_output.c	2009-01-02 02:12:30.000000000 +0100
+@@ -69,6 +69,10 @@
+ #include <includes.h>
+ #include "nessus_i18n.h"
+ #ifndef NO_GDCHART
++#ifndef HAVE_LIBFREETYPE
++/* prevent undefined references in gdc (http://bugs.debian.org/242936) */
++# define HAVE_LIBFREETYPE 0
++#endif
+ #include <gdc.h>
+ #include <gdchart.h>
+ #include <gdcpie.h>
+@@ -737,7 +741,7 @@
+     GDCPIE_label_dist = 15;
+     GDCPIE_LineColor = 0x000000L;
+     GDCPIE_PlotColor =  0xC0C0C0L;
+-    GDCPIE_EdgeColor = 0x000000L;
++    GDCPIE_EdgeColor = GDC_NOCOLOR; /* http://bugs.debian.org/326502 */
+     GDCPIE_label_size = GDC_SMALL;
+     GDCPIE_title_size = GDC_MEDBOLD;
+     GDCPIE_3d_angle  = 45;
+@@ -747,6 +751,7 @@
+     GDC_generate_gif = TRUE;
+     GDC_hold_img = GDC_DESTROY_IMAGE;
+     GDC_image = NULL;
++    GDC_image_type = GDC_GIF;
+     GDCPIE_missing = NULL;
+     GDCPIE_percent_labels = GDCPIE_PCT_RIGHT;
+ 
+@@ -888,9 +893,11 @@
+     GDCPIE_explode   = expl;
+     GDCPIE_Color = clr;
+     GDCPIE_BGColor = 0xFFFFFFL;
+-    GDCPIE_EdgeColor = 0x000000L;
++    GDCPIE_EdgeColor = GDC_NOCOLOR; /* http://bugs.debian.org/326502 */
+     GDCPIE_missing = NULL;
+     GDCPIE_percent_labels = GDCPIE_PCT_RIGHT;
++    GDCPIE_percent_fmt = " (%.0f%%)";
++    GDC_image_type = GDC_GIF;
+     pie_gif(480, 360, pie, GDC_3DPIE, num_risks, lbl, risks_f);
+     fclose(pie);
+     insert_img(f, "pie_risks.gif");
+@@ -923,6 +930,7 @@
+      GDC_BGColor   = 0xFFFFFFL;                  /* backgound color (white) */
+      GDC_LineColor = 0x000000L;                  /* line color      (black) */
+      GDC_SetColor = &(color);
++     GDC_image_type = GDC_GIF;
+      out_graph(480, 360, chart, GDC_3DBAR, num, services, 1, value);
+      fclose(chart);
+      insert_img(f, "chart_dangerous_services.gif");
+@@ -956,6 +964,7 @@
+      GDC_BGColor   = 0xFFFFFFL;                  /* backgound color (white) */
+      GDC_LineColor = 0x000000L;                  /* line color      (black) */
+      GDC_SetColor = color;
++     GDC_image_type = GDC_GIF;
+      out_graph(480, 360, chart, GDC_3DBAR, num, services, 1, value);
+      fclose(chart);
+      insert_img(f, "chart_services_occurences.gif");
+@@ -987,6 +996,7 @@
+      GDC_BGColor   = 0xFFFFFFL;                  /* backgound color (white) */
+      GDC_LineColor = 0x000000L;                  /* line color      (black) */
+      GDC_SetColor = &(color);
++     GDC_image_type = GDC_GIF;
+      out_graph(480, 360, chart, GDC_3DBAR, num, oses, 1, value);
+      fclose(chart);
+      insert_img(f, "chart_operating_systems.gif");
+@@ -1039,9 +1049,11 @@
+     GDCPIE_explode   = expl;
+     GDCPIE_Color = clr;
+     GDCPIE_BGColor = 0xFFFFFFL;
+-    GDCPIE_EdgeColor = 0x000000L;
++    GDCPIE_EdgeColor = GDC_NOCOLOR; /* http://bugs.debian.org/326502 */
+     GDCPIE_missing = NULL;
+     GDCPIE_percent_labels = GDCPIE_PCT_RIGHT;
++    GDCPIE_percent_fmt = " (%.0f%%)";
++    GDC_image_type = GDC_GIF;
+     pie_gif(480, 360, pie, GDC_3DPIE, 2,names, values);
+     fclose(pie);
+     insert_img(f, "pie_most.gif");
--- openvas-client-2.0.5.orig/debian/patches/00list
+++ openvas-client-2.0.5/debian/patches/00list
@@ -0,0 +1 @@
+01_libgdchart-gd2-noxpm-dev.dpatch
