--- mono-2.4.2.3+dfsg.orig/debian/libmono-data2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-data2.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/2.0/Mono.Data.SybaseClient.dll
+debian/tmp/usr/lib/mono/2.0/Mono.Data.TdsClient.dll
+debian/tmp/usr/lib/mono/2.0/Mono.Data.dll
+debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Data/2.0.0.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/compat
+++ mono-2.4.2.3+dfsg/debian/compat
@@ -0,0 +1 @@
+7
--- mono-2.4.2.3+dfsg.orig/debian/mono-gac.postinst
+++ mono-2.4.2.3+dfsg/debian/mono-gac.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# Install the GAC
+if [ -x /usr/share/cli-common/gac-install ]; then
+	/usr/share/cli-common/gac-install mono
+fi
+
+# Update the alternatives
+update-alternatives \
+	--install /usr/bin/cli-gacutil global-assembly-cache-tool /usr/bin/gacutil 10 \
+	--slave /usr/share/man/man1/cli-gacutil.1.gz cli-gacutil.1.gz /usr/share/man/man1/gacutil.1.gz
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/mono-mcs.install
+++ mono-2.4.2.3+dfsg/debian/mono-mcs.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/mcs
+debian/tmp/usr/lib/mono/1.0/mcs.exe*
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system2.1-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system2.1-cil.install
@@ -0,0 +1,18 @@
+debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.Core/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.Net/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.Runtime.Serialization/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.ServiceModel/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.ServiceModel.Web/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.Xml/2.0.5.0__*/
+debian/tmp/usr/lib/mono/gac/System.Xml.Linq/2.0.5.0__*/
+debian/tmp/usr/lib/mono/2.1/Mono.CompilerServices.SymbolWriter.dll
+debian/tmp/usr/lib/mono/2.1/System.dll
+debian/tmp/usr/lib/mono/2.1/System.Core.dll
+debian/tmp/usr/lib/mono/2.1/System.Net.dll
+debian/tmp/usr/lib/mono/2.1/System.Runtime.Serialization.dll
+debian/tmp/usr/lib/mono/2.1/System.ServiceModel.dll
+debian/tmp/usr/lib/mono/2.1/System.ServiceModel.Web.dll
+debian/tmp/usr/lib/mono/2.1/System.Xml.dll
+debian/tmp/usr/lib/mono/2.1/System.Xml.Linq.dll
--- mono-2.4.2.3+dfsg.orig/debian/update-shlibs.local.sh
+++ mono-2.4.2.3+dfsg/debian/update-shlibs.local.sh
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+
+VERSION=$(dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
+UPVERSION=$(echo $VERSION | sed 's,-.*,,' | sed 's,+dfsg,,')
+MAJOR_MINOR_UPVERSION=$(perl -e '$_=pop; print m/^(\d+\.\d+)/g;' $UPVERSION)
+
+dpkg-checkbuilddeps -d "\
+	libcairo2-dev, \
+	firebird2.0-dev, \
+	libsqlite0-dev, \
+	libsqlite3-dev, \
+	libasound2-dev, \
+	libgamin-dev, \
+	libcups2-dev, \
+	librsvg2-dev, \
+	libgtk2.0-dev, \
+	libgnomeui-dev
+"
+	
+echo -n "Updating shlibs.local for Mono $UPVERSION..."
+
+cp debian/shlibs.local debian/shlibs.local.backup
+rm -f debian/shlibs.local.new
+
+# libs that don't ship shlibs
+echo "libMonoPosixHelper 0 mono-runtime (>= $MAJOR_MINOR_UPVERSION)"	>> debian/shlibs.local.new
+echo "libMonoSupportW 0 mono-runtime (>= $MAJOR_MINOR_UPVERSION)"	>> debian/shlibs.local.new
+echo "libgdiplus 0 libgdiplus (>= $MAJOR_MINOR_UPVERSION)"		>> debian/shlibs.local.new
+echo "libgluezilla 0 libgluezilla (>= $MAJOR_MINOR_UPVERSION)"		>> debian/shlibs.local.new
+
+for SONAME in \
+	"^libcairo 2" \
+	"^libfbclient 2" \
+	"^libsqlite 0" \
+	"^libsqlite3 0" \
+	"^libasound 2" \
+	"^libgamin-1 0" \
+	"^libcups 2" \
+	"^librsvg-2 2" \
+	"^libgtk-x11-2.0 0" \
+	"^libgnomeui-2 0" \
+	; do
+	grep --no-filename "$SONAME" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve $SONAME"
+done
+
+cp debian/shlibs.local.new debian/shlibs.local
+
+echo "done."
--- mono-2.4.2.3+dfsg.orig/debian/libmono-cscompmgd8.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-cscompmgd8.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/cscompmgd/8.0.*/
+debian/tmp/usr/lib/mono/2.0/cscompmgd.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-microsoft7.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-microsoft7.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/Microsoft.JScript/7.0.*/
+debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/7.0.*/
+debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/7.0.*/
+debian/tmp/usr/lib/mono/1.0/Microsoft.JScript.dll
+debian/tmp/usr/lib/mono/1.0/Microsoft.VisualC.dll
+debian/tmp/usr/lib/mono/1.0/Microsoft.Vsa.dll
--- mono-2.4.2.3+dfsg.orig/debian/prj2make-sharp.manpages
+++ mono-2.4.2.3+dfsg/debian/prj2make-sharp.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/prj2make.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-data2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-data2.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/System.Data/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Data.Linq/3.5.0.0__*/
+debian/tmp/usr/lib/mono/2.0/System.Data.dll
+debian/tmp/usr/lib/mono/2.0/System.Data.DataSetExtensions.dll
+debian/tmp/usr/lib/mono/2.0/System.Data.Linq.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-winforms1.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-winforms1.0-cil.clideps-override
@@ -0,0 +1,4 @@
+suggests libgtk2.0-0
+suggests libgnomeui-0
+suggests librsvg2-2
+suggests libglib2.0-0
--- mono-2.4.2.3+dfsg.orig/debian/libmono-i18n2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-i18n2.0-cil.install
@@ -0,0 +1,8 @@
+/usr/lib/mono/gac/I18N.CJK/2.0.*/
+/usr/lib/mono/gac/I18N.MidEast/2.0.*/
+/usr/lib/mono/gac/I18N.Other/2.0.*/
+/usr/lib/mono/gac/I18N.Rare/2.0.*/
+/usr/lib/mono/2.0/I18N.CJK.dll
+/usr/lib/mono/2.0/I18N.MidEast.dll
+/usr/lib/mono/2.0/I18N.Other.dll
+/usr/lib/mono/2.0/I18N.Rare.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-getoptions2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-getoptions2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/2.0/Mono.GetOptions.dll
+debian/tmp/usr/lib/mono/gac/Mono.GetOptions/2.0.0.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-runtime1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-runtime1.0-cil.install
@@ -0,0 +1,4 @@
+/usr/lib/mono/gac/System.Runtime.Remoting/1.0.*__*/
+/usr/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/1.0.*__*/
+/usr/lib/mono/1.0/System.Runtime.Remoting.dll
+/usr/lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll
--- mono-2.4.2.3+dfsg.orig/debian/dh_monoaot
+++ mono-2.4.2.3+dfsg/debian/dh_monoaot
@@ -0,0 +1,87 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_monoaot - generates AOT images for assemblies
+
+=cut
+
+use strict;
+use File::Find;
+use Debian::Debhelper::Dh_Lib;
+
+=head1 SYNOPSIS
+
+B<dh_monoaot> [S<I<debhelper options>>] [B<-n>]
+
+=head1 DESCRIPTION
+
+dh_monoaot is a debhelper program that is responsible for
+generating AOT images at package install time.
+
+It also automatically generates the postinst and prerm commands needed
+to generate AOT images. See L<dh_installdeb(1)> for an
+explanation of how this works.
+
+This is based on L<dh_installcligac(1)> in the cli-common package.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-n>, B<--noscripts>
+
+Do not modify postinst/prerm scripts.
+
+=back
+
+=head1 NOTES
+
+Note that this command is not idempotent. "dh_clean -k" should be called
+between invocations of this command. Otherwise, it may cause multiple
+instances of the same text to be added to maintainer scripts.
+
+=cut
+
+init();
+
+foreach my $package (@{$dh{DOPACKAGES}}) {
+  my $tmp = tmpdir($package);
+  my @files;
+  
+  # find binaries
+  find (sub {
+    return unless -f and /\.(exe|dll)$/;
+    return unless $File::Find::dir =~ m!^$tmp/usr/lib!;
+    
+    my $fullfilename = $File::Find::name;
+    
+    my $filename = $fullfilename;
+    $filename =~ s/^$tmp//;
+    
+    verbose_print("fullfilename: $fullfilename");
+    verbose_print("filename: $filename");
+    push(@files, $filename);
+  }, $tmp);
+  
+  if (! $dh{NOSCRIPTS}) {
+    foreach my $file (@files) {
+      autoscript($package, "postinst", "postinst-monoaot",
+                 "s!#FILE#!$file!");
+      autoscript($package, "prerm", "prerm-monoaot",
+                 "s!#FILE#!$file.so!");
+    }
+  }
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of cli-common-dev.
+
+=head1 AUTHOR
+
+Mirco 'meebey' Bauer <meebey@meebey.net>
+
+=cut
--- mono-2.4.2.3+dfsg.orig/debian/libmono-webbrowser0.5-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-webbrowser0.5-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.WebBrowser/0.5.0.0__*/
+debian/tmp/usr/lib/mono/2.0/Mono.WebBrowser.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-bytefx0.7.6.2-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-bytefx0.7.6.2-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.2*/
+debian/tmp/usr/lib/mono/2.0/ByteFX.Data.dll
--- mono-2.4.2.3+dfsg.orig/debian/postinst-monoaot
+++ mono-2.4.2.3+dfsg/debian/postinst-monoaot
@@ -0,0 +1,4 @@
+if [ "$1" = "configure" ]
+then
+	/usr/bin/mono --aot -O=all,shared #FILE# > /dev/null 2>&1
+fi
--- mono-2.4.2.3+dfsg.orig/debian/mono-aot-bootstrap
+++ mono-2.4.2.3+dfsg/debian/mono-aot-bootstrap
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+MCS_DIR=mcs/class/lib
+
+find $MCS_DIR -name "*.exe" -or -name "*.dll" -exec runtime/mono-wrapper --aot {} \;
--- mono-2.4.2.3+dfsg.orig/debian/libmono-cairo1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-cairo1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.Cairo/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Mono.Cairo.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-accessibility1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-accessibility1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Accessibility/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Accessibility.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-devel.install
+++ mono-2.4.2.3+dfsg/debian/mono-devel.install
@@ -0,0 +1,67 @@
+debian/tmp/usr/bin/al
+debian/tmp/usr/bin/caspol
+debian/tmp/usr/bin/cert2spc
+debian/tmp/usr/bin/certmgr
+debian/tmp/usr/bin/chktrust
+debian/tmp/usr/bin/cilc
+debian/tmp/usr/bin/disco
+debian/tmp/usr/bin/dtd2xsd
+debian/tmp/usr/bin/dtd2rng
+debian/tmp/usr/bin/genxs
+debian/tmp/usr/bin/ilasm
+debian/tmp/usr/bin/installvst
+debian/tmp/usr/bin/macpack
+debian/tmp/usr/bin/mkbundle
+debian/tmp/usr/bin/mono-api-info
+debian/tmp/usr/bin/mono-cil-strip
+debian/tmp/usr/bin/mono-shlib-cop
+debian/tmp/usr/bin/mono-xmltool
+debian/tmp/usr/bin/monop
+debian/tmp/usr/bin/monolinker
+debian/tmp/usr/bin/mozroots
+debian/tmp/usr/bin/permview
+debian/tmp/usr/bin/resgen
+debian/tmp/usr/bin/secutil
+debian/tmp/usr/bin/setreg
+debian/tmp/usr/bin/signcode
+debian/tmp/usr/bin/sn
+debian/tmp/usr/bin/soapsuds
+debian/tmp/usr/bin/sqlsharp
+debian/tmp/usr/bin/wsdl
+debian/tmp/usr/bin/xsd
+debian/tmp/usr/lib/mono/1.0/browsercaps-updater.exe
+debian/tmp/usr/lib/mono/1.0/caspol.exe
+debian/tmp/usr/lib/mono/1.0/cert2spc.exe
+debian/tmp/usr/lib/mono/1.0/certmgr.exe
+debian/tmp/usr/lib/mono/1.0/chktrust.exe
+debian/tmp/usr/lib/mono/1.0/cilc.exe
+debian/tmp/usr/lib/mono/1.0/culevel.exe
+debian/tmp/usr/lib/mono/1.0/disco.exe
+debian/tmp/usr/lib/mono/1.0/dtd2rng.exe
+debian/tmp/usr/lib/mono/1.0/dtd2xsd.exe
+debian/tmp/usr/lib/mono/1.0/ictool.exe
+debian/tmp/usr/lib/mono/1.0/installvst.exe
+debian/tmp/usr/lib/mono/1.0/macpack.exe
+debian/tmp/usr/lib/mono/1.0/makecert.exe
+debian/tmp/usr/lib/mono/1.0/mono-xmltool.exe
+debian/tmp/usr/lib/mono/1.0/mozroots.exe
+debian/tmp/usr/lib/mono/1.0/secutil.exe
+debian/tmp/usr/lib/mono/1.0/setreg.exe
+debian/tmp/usr/lib/mono/1.0/signcode.exe
+debian/tmp/usr/lib/mono/1.0/sn.exe
+debian/tmp/usr/lib/mono/1.0/soapsuds.exe
+debian/tmp/usr/lib/mono/2.0/permview.exe
+debian/tmp/usr/lib/mono/2.0/monolinker.exe
+debian/tmp/usr/lib/mono/2.0/mono-api-info.exe
+debian/tmp/usr/lib/mono/2.0/mono-cil-strip.exe
+debian/tmp/usr/lib/mono/2.0/mono-shlib-cop.exe*
+debian/tmp/usr/lib/mono/2.0/sqlsharp.exe
+debian/tmp/usr/lib/mono-source-libs/getline.cs
+debian/tmp/usr/lib/mono-source-libs/Options.cs
+debian/tmp/usr/lib/pkgconfig/dotnet.pc
+debian/tmp/usr/lib/pkgconfig/dotnet35.pc
+debian/tmp/usr/lib/pkgconfig/mono-lineeditor.pc
+debian/tmp/usr/lib/pkgconfig/mono-options.pc
+debian/tmp/usr/share/locale/*/LC_MESSAGES/mcs.mo
+debian/mono-api-check		/usr/bin/
+debian/mono-api-diff.exe	/usr/lib/mono/2.0/
--- mono-2.4.2.3+dfsg.orig/debian/libmono-npgsql1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-npgsql1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Npgsql/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Npgsql.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-devel.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-devel.manpages
@@ -0,0 +1,8 @@
+debian/tmp/usr/share/man/man1/al1.1
+debian/tmp/usr/share/man/man1/genxs1.1
+debian/tmp/usr/share/man/man1/ilasm1.1
+debian/tmp/usr/share/man/man1/mkbundle1.1
+debian/tmp/usr/share/man/man1/monop1.1
+debian/tmp/usr/share/man/man1/resgen1.1
+debian/tmp/usr/share/man/man1/wsdl1.1
+debian/tmp/usr/share/man/man1/xsd1.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-smcs.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-smcs.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/smcs.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-relaxng2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-relaxng2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Commons.Xml.Relaxng.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-smcs.install
+++ mono-2.4.2.3+dfsg/debian/mono-smcs.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/bin/smcs
+debian/tmp/usr/lib/mono/2.1/smcs.exe*
+debian/tmp/usr/lib/pkgconfig/smcs.pc
--- mono-2.4.2.3+dfsg.orig/debian/mono-mjs.install
+++ mono-2.4.2.3+dfsg/debian/mono-mjs.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/mjs
+debian/tmp/usr/lib/mono/1.0/mjs.exe*
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-web-mvc1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-web-mvc1.0-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/System.Web.Mvc/1.0.0.0__*/
+/usr/lib/mono/2.0/System.Web.Mvc.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-devel.install
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-devel.install
@@ -0,0 +1,24 @@
+debian/tmp/etc/mono/mconfig
+debian/tmp/usr/bin/al2
+debian/tmp/usr/bin/genxs2
+debian/tmp/usr/bin/httpcfg
+debian/tmp/usr/bin/ilasm2 
+debian/tmp/usr/bin/mconfig
+debian/tmp/usr/bin/mkbundle2
+debian/tmp/usr/bin/monop2
+debian/tmp/usr/bin/resgen2
+debian/tmp/usr/bin/sgen
+debian/tmp/usr/bin/wsdl2
+debian/tmp/usr/bin/xsd2
+debian/tmp/usr/lib/mono/2.0/al.exe
+debian/tmp/usr/lib/mono/2.0/genxs.exe
+debian/tmp/usr/lib/mono/2.0/httpcfg.exe
+debian/tmp/usr/lib/mono/2.0/ilasm.exe
+debian/tmp/usr/lib/mono/2.0/installutil.exe
+debian/tmp/usr/lib/mono/2.0/mconfig.exe
+debian/tmp/usr/lib/mono/2.0/mkbundle.exe
+debian/tmp/usr/lib/mono/2.0/monop.exe
+debian/tmp/usr/lib/mono/2.0/resgen.exe
+debian/tmp/usr/lib/mono/2.0/sgen.exe
+debian/tmp/usr/lib/mono/2.0/wsdl.exe
+debian/tmp/usr/lib/mono/2.0/xsd.exe
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-gac.install
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-gac.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/gacutil1
+debian/tmp/usr/lib/mono/1.0/gacutil.exe
--- mono-2.4.2.3+dfsg.orig/debian/control
+++ mono-2.4.2.3+dfsg/debian/control
@@ -0,0 +1,1648 @@
+Source: mono
+Section: cli-mono
+Priority: optional
+Maintainer: Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>
+Uploaders: Mirco Bauer <meebey@debian.org>, Sebastian Dröge <slomo@debian.org>, Jo Shields <directhex@apebox.org>
+Build-Depends: debhelper (>= 7),
+	dpkg-dev (>= 1.13.19),
+	libglib2.0-dev (>= 2.4),
+	bison,
+	libtool,
+	dpatch,
+	libxml-dom-perl,
+	libxslt1-dev,
+	dc,
+	lsb-release,
+	libx11-dev,
+	libxt-dev,
+	zlib1g-dev,
+	autoconf,
+	automake
+Standards-Version: 3.8.2
+Homepage: http://www.mono-project.com/
+Vcs-Git: git://git.debian.org/git/pkg-mono/packages/mono.git
+Vcs-Browser: http://git.debian.org/?p=pkg-mono/packages/mono.git
+
+Package: mono-runtime
+Provides: cli-runtime, cli-virtual-machine
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Replaces: mono-common (<< 2.4), mono-jit (<< 2.4), libmono0 (<< 2.4)
+Conflicts: mono-common (<< 2.4),
+           mono-jit (<< 2.4),
+           mono-1.0-runtime (<< 2.4),
+           mono-2.0-runtime (<< 2.4)
+Suggests: xdg-utils | libgnome2-0 | konqueror
+Recommends: binfmt-support (>= 1.1.2)
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         mono-gac (= ${source:Version})
+Description: Mono runtime
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Virtual Machine, JIT (Just-in-Time) and
+ AOT (Ahead-of-Time) code generator "mono".
+ "mono" executes applications for the CLI (Common Language Infrastructure).
+ Mono currently only supports the X86, PowerPC, ARM, SPARC, S/390, AMD64 and
+ IA64 architectures. Optionally this package configures BINFMT support.
+
+Package: mono-runtime-dbg
+Priority: extra
+Section: debug
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Replaces: mono-jit-dbg (<< 2.4)
+Conflicts: mono-jit-dbg (<< 2.4)
+Depends: mono-runtime (= ${binary:Version})
+Recommends: gdb
+Description: Mono runtime, debugging symbols
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the debugging symbols of the Mono JIT/AOT compiler.
+
+Package: mono-utils
+Provides: cil-disassembler
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Replaces: mono-mcs (<= 1.1.6-4)
+Depends: ${shlibs:Depends}, ${misc:Depends}, libmono0 (= ${binary:Version}), libmono-corlib2.0-cil (= ${source:Version}) | libmono-corlib1.0-cil (= ${source:Version})
+Description: Mono utilities
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package includes various tools useful for CLI developers, like
+ pedump, monodis and monograph.
+
+Package: mono-complete
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Recommends: libmono-firebirdsql1.7-cil (= ${source:Version})
+Depends: mono-runtime (= ${binary:Version}),
+         libmono0 (= ${binary:Version}),
+         libmono-profiler (= ${binary:Version}),
+         mono-utils (= ${binary:Version}),
+         mono-jay (= ${binary:Version}),
+         mono-devel (= ${source:Version}),
+         mono-gmcs (= ${source:Version}),
+         mono-xbuild (= ${source:Version}),
+         mono-csharp-shell (= ${source:Version}),
+         mono-1.0-gac (= ${source:Version}),
+         mono-2.0-gac (= ${source:Version}),
+         mono-1.0-service (= ${source:Version}),
+         mono-2.0-service (= ${source:Version}),
+         mono-1.0-devel (= ${source:Version}),
+         mono-2.0-devel (= ${source:Version}),
+         monodoc-base (= ${source:Version}),
+         monodoc-manual (= ${source:Version}),
+         prj2make-sharp (= ${source:Version}),
+         libmono1.0-cil (= ${source:Version}),
+         libmono2.0-cil (= ${source:Version}),
+         libmono-corlib1.0-cil (= ${source:Version}),
+         libmono-corlib2.0-cil (= ${source:Version}),
+         libmono-posix1.0-cil (= ${source:Version}),
+         libmono-posix2.0-cil (= ${source:Version}),
+         libmono-getoptions1.0-cil (= ${source:Version}),
+         libmono-getoptions2.0-cil (= ${source:Version}),
+         libmono-data1.0-cil (= ${source:Version}),
+         libmono-data2.0-cil (= ${source:Version}),
+         libmono-c5-1.0-cil (= ${source:Version}),
+         libmono-cecil-private-cil (= ${source:Version}),
+         libmono-webbrowser0.5-cil (= ${source:Version}),
+         libmono-nunit2.4-cil (= ${source:Version}),
+         libmono-management2.0-cil (= ${source:Version}),
+         libmono-messaging2.0-cil (= ${source:Version}),
+         libmono-messaging-rabbitmq2.0-cil (= ${source:Version}),
+         libmono-rabbitmq2.0-cil (= ${source:Version}),
+         libmono-simd2.0-cil (= ${source:Version}),
+         libmono-i18n1.0-cil (= ${source:Version}),
+         libmono-i18n2.0-cil (= ${source:Version}),
+         libmono-i18n-west1.0-cil (= ${source:Version}),
+         libmono-i18n-west2.0-cil (= ${source:Version}),
+         libmono-system1.0-cil (= ${source:Version}),
+         libmono-system2.0-cil (= ${source:Version}),
+         libmono-system-messaging1.0-cil (= ${source:Version}),
+         libmono-system-messaging2.0-cil (= ${source:Version}),
+         libmono-security1.0-cil (= ${source:Version}),
+         libmono-security2.0-cil (= ${source:Version}),
+         libmono-data-tds1.0-cil (= ${source:Version}),
+         libmono-data-tds2.0-cil (= ${source:Version}),
+         libmono-system-data1.0-cil (= ${source:Version}),
+         libmono-system-data2.0-cil (= ${source:Version}),
+         libmono-system-web1.0-cil (= ${source:Version}),
+         libmono-system-web2.0-cil (= ${source:Version}),
+         libmono-system-web-mvc1.0-cil (= ${source:Version}),
+         libmono-wcf3.0-cil (= ${source:Version}),
+         libmono-system-runtime1.0-cil (= ${source:Version}),
+         libmono-system-runtime2.0-cil (= ${source:Version}),
+         libmono-system-ldap1.0-cil (= ${source:Version}),
+         libmono-system-ldap2.0-cil (= ${source:Version}),
+         libmono-winforms1.0-cil (= ${source:Version}),
+         libmono-winforms2.0-cil (= ${source:Version}),
+         libmono-cairo1.0-cil (= ${source:Version}),
+         libmono-cairo2.0-cil (= ${source:Version}),
+         libmono-sharpzip0.6-cil (= ${source:Version}),
+         libmono-sharpzip2.6-cil (= ${source:Version}),
+         libmono-sharpzip0.84-cil (= ${source:Version}),
+         libmono-sharpzip2.84-cil (= ${source:Version}),
+         libmono-npgsql1.0-cil (= ${source:Version}),
+         libmono-npgsql2.0-cil (= ${source:Version}),
+         libmono-bytefx0.7.6.1-cil (= ${source:Version}),
+         libmono-bytefx0.7.6.2-cil (= ${source:Version}),
+         libmono-db2-1.0-cil (= ${source:Version}),
+         libmono-oracle1.0-cil (= ${source:Version}),
+         libmono-oracle2.0-cil (= ${source:Version}),
+         libmono-sqlite1.0-cil (= ${source:Version}),
+         libmono-sqlite2.0-cil (= ${source:Version}),
+         libmono-accessibility1.0-cil (= ${source:Version}),
+         libmono-accessibility2.0-cil (= ${source:Version}),
+         libmono-cscompmgd7.0-cil (= ${source:Version}),
+         libmono-cscompmgd8.0-cil (= ${source:Version}),
+         libmono-ldap2.0-cil (= ${source:Version}),
+         libmono-ldap1.0-cil (= ${source:Version}),
+         libmono-microsoft-build2.0-cil (= ${source:Version}),
+         libmono-microsoft7.0-cil (= ${source:Version}),
+         libmono-microsoft8.0-cil (= ${source:Version}),
+         libmono-peapi1.0-cil (= ${source:Version}),
+         libmono-peapi2.0-cil (= ${source:Version}),
+         libmono-relaxng1.0-cil (= ${source:Version}),
+         libmono-relaxng2.0-cil (= ${source:Version})
+Description: complete Mono runtime, development tools and all libraries
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This is a metapackage and pulls in the Mono runtime, development tools and
+ all libraries.
+ .
+ Install this package if you want to run software for Mono or Microsoft .NET
+ which you are not installing from a Debian package.
+ .
+ For packagers: This package is not to be used as dependency for packages!
+ You should build-depend on cli-common-dev and the needed libraries instead.
+
+Package: libmono0
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Replaces: libmono-dev (<= 1.1.6-4)
+Conflicts: mono-utils (<< 1.2.3.1-4)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Mono JIT library
+ Shared library for Mono, used for embedding/hosting of the JIT.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: libmono0-dbg
+Priority: extra
+Section: debug
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Depends: libmono0 (= ${binary:Version})
+Recommends: gdb
+Description: Mono JIT library, debugging symbols
+ This package contains the debugging symbols of the Mono JIT library.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: libmono-dev
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Depends: libmono0 (= ${binary:Version}), libglib2.0-dev
+Description: Mono JIT library - Development files
+ Header files and static libraries for libmono.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: libmono-profiler
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Replaces: mono-runtime (<< 2.4.2.3)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Mono profiler libraries
+ Profiler libraries for Mono, used for profiling applications running on Mono.
+ For details how to use them, please take a look at the mono manpage.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: libmono1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}, libmono-posix1.0-cil, libmono-getoptions1.0-cil, libmono-cecil-private-cil
+Description: Mono libraries (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various Mono libraries for CLI 1.0:
+  - Mono.CompilerServices.SymbolWriter
+  - Mono.Http
+  - OpenSystem.C
+
+Package: libmono2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}, libmono-posix2.0-cil, libmono-getoptions2.0-cil
+Description: Mono libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various Mono libraries for CLI 2.0:
+  - Mono.CompilerServices.SymbolWriter
+  - Mono.Http
+  - Mono.Web
+  - OpenSystem.C
+
+Package: libmono-posix1.0-cil
+Architecture: all
+Replaces: libmono1.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.Posix library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Posix library for CLI 1.0 that binds many APIs
+ found in glibc or intl.
+
+Package: libmono-posix2.0-cil
+Architecture: all
+Replaces: libmono2.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.Posix library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Posix library for CLI 2.0 that binds many APIs
+ found in glibc or intl.
+
+Package: libmono-getoptions1.0-cil
+Architecture: all
+Replaces: libmono1.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.GetOptions library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.GetOptions library for CLI 1.0 that allows to
+ parse command line options and arguments easily.
+
+Package: libmono-getoptions2.0-cil
+Architecture: all
+Replaces: libmono2.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.GetOptions library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.GetOptions library for CLI 2.0 that allows to
+ parse command line options and arguments easily.
+
+Package: libmono-cecil-private-cil
+Architecture: all
+Replaces: libmono1.0-cil (<< 2.4)
+Depends: ${cli:Depends}
+Description: Mono.Cecil library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the private Mono.Cecil library that allows to generate
+ and inspect programs and libraries in the ECMA CIL format.
+
+Package: libmono-data1.0-cil
+Architecture: all
+Replaces: libmono1.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.Data.* libraries (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various Mono.Data.* libraries for CLI 1.0 that allow to
+ use different TDS-based databases:
+  - Mono.Data
+  - Mono.Data.TdsClient:
+    Generic TDS provider (TDS 4.2 by default) for older versions of Sybase and
+    Microsoft SQL Servers.
+  - Mono.Data.SybaseClient:
+    Provider for Sybase SQL Servers (TDS 5.0)
+ .
+ If you are looking for a current Microsoft SQL Server library then you want
+ to check the libmono-system-data1.0-cil package which contains
+ System.Data.SqlClient.
+ .
+ For more information about Mono.Data and TDS see:
+ http://www.mono-project.com/TDS_Providers
+
+Package: libmono-data2.0-cil
+Architecture: all
+Replaces: libmono2.0-cil (<< 2.0)
+Depends: ${cli:Depends}
+Description: Mono.Data.* libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various Mono.Data.* libraries for CLI 2.0 that allow to
+ use different TDS-based databases:
+  - Mono.Data
+  - Mono.Data.TdsClient:
+    Generic TDS provider (TDS 4.2 by default) for older versions of Sybase and
+    Microsoft SQL Servers.
+  - Mono.Data.SybaseClient:
+    Provider for Sybase SQL Servers (TDS 5.0)
+ .
+ If you are looking for a current Microsoft SQL Server library then you want
+ to check the libmono-system-data2.0-cil package which contains
+ System.Data.SqlClient.
+ .
+ For more information about Mono.Data and TDS see:
+ http://www.mono-project.com/TDS_Providers
+
+Package: libmono-c5-1.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono C5 library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono C5 library.
+
+Package: libmono-webbrowser0.5-cil
+Architecture: all
+Depends: ${cli:Depends}
+Recommends: libgluezilla
+Description: Mono Web Browser library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the implementation of the WebControl class based on the
+ Mozilla engine using libgluezilla.
+
+Package: libmono-nunit2.4-cil
+Architecture: all
+Conflicts: libnunit2.2-cil, libmono-nunit2.2-cil
+Replaces: libmono-nunit2.2-cil
+Depends: ${cli:Depends}, libnunit2.4-cil
+Description: Mono Unit test framework for CLI
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains NUnit which is a unit testing framework. It serves the
+ same purpose as JUnit does in the Java world. It supports test categories,
+ testing for exceptions and writing test results in plain text or XML.
+
+Package: libmono-management2.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: Mono Management library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Management library for CLI 2.0, which provides
+ attach functionality for the Mono runtime. It allows to load code externally
+ into a Mono process to debug or augment code live.
+
+Package: libmono-messaging2.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Homepage: http://mono-project.com/SystemMessaging
+Description: Mono Messaging library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Messaging library for CLI 2.0, which provides
+ messaging functionality using different implementations. At this time Mono
+ does not provide a System.Messaging implementation.
+
+Package: libmono-messaging-rabbitmq2.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Homepage: http://mono-project.com/SystemMessaging
+Description: Mono Messaging RabbitMQ library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Messaging.RabbitMQ library for CLI 2.0.
+
+Package: libmono-rabbitmq2.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Homepage: http://mono-project.com/SystemMessaging
+Description: Mono RabbitMQ.Client library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the RabbitMQ.Client library for CLI 2.0.
+
+Package: libmono-simd2.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Homepage: http://go-mono.com/docs/index.aspx?tlink=0@N%3aMono.Simd
+Description: Mono SIMD (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono.Simd library for CLI 2.0, which provides a
+ number of classes that are hardware accelerated by mapping the classes and
+ the actual operations to native SIMD instructions on a processor.
+
+Package: libmono-corlib1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Conflicts: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion})
+Recommends: libmono-i18n-west1.0-cil
+Suggests: libmono-i18n1.0-cil
+Description: Mono core library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Core Library (mscorlib.dll) of Mono for CLI 1.0, 
+ which is the glue between the BCL (Base Class Libraries) and the JIT.
+ .
+ You should install libmono-i18n-west1.0-cil if you are using
+ ISO 8859-15 (Latin 9) or other common Western European code pages.
+ US-ASCII, ISO 8859-1 (Latin 1) and UTF-8 users don't need any extra I18N
+ packages.
+
+Package: libmono-corlib2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Conflicts: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion})
+Recommends: libmono-i18n-west2.0-cil
+Suggests: libmono-i18n2.0-cil
+Description: Mono core library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Core Library (mscorlib.dll) of Mono for CLI 2.0, 
+ which is the glue between the BCL (Base Class Libraries) and the JIT.
+ .
+ You should install libmono-i18n-west2.0-cil if you are using
+ ISO 8859-15 (Latin 9) or other common Western European code pages.
+ US-ASCII, ISO 8859-1 (Latin 1) and UTF-8 users don't need any extra I18N
+ packages.
+
+Package: libmono-i18n-west1.0-cil
+Architecture: all
+Replaces: libmono-corlib1.0-cil (<< 1.2.6-1), libmono-i18n1.0-cil (<< 2.4)
+Depends: ${cli:Depends}
+Description: Mono I18N.West library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the I18N.West library for CLI 1.0, containing Central
+ and Western European code pages such as ISO 8859-3 (Latin 3),
+ ISO 8859-15 (Latin 9) and others.
+ .
+ This package also includes the base I18N library used by all I18N
+ libraries.
+
+Package: libmono-i18n-west2.0-cil
+Architecture: all
+Replaces: libmono-corlib2.0-cil (<< 1.2.6-1), libmono-i18n2.0-cil (<< 2.4)
+Depends: ${cli:Depends}
+Description: Mono I18N.West library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the I18N.West library for CLI 2.0, containing Central
+ and Western European code pages such as ISO 8859-3 (Latin 3),
+ ISO 8859-15 (Latin 9) and others.
+ .
+ This package also includes the base I18N library used by all I18N
+ libraries.
+
+Package: libmono-i18n1.0-cil
+Architecture: all
+Replaces: libmono-corlib1.0-cil (<< 1.2.6-1)
+Depends: ${cli:Depends}
+Description: Mono I18N libraries (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains I18N libraries for CLI 1.0, containing various code
+ pages definitions.
+
+Package: libmono-i18n2.0-cil
+Architecture: all
+Replaces: libmono-corlib2.0-cil (<< 1.2.6-1)
+Depends: ${cli:Depends}
+Description: Mono I18N libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains I18N libraries for CLI 2.0, containing various code
+ pages definitions.
+
+Package: libmono-system1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion})
+Description: Mono System libraries (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the BCL (Base Class Libraries) of Mono for CLI 1.0.
+
+Package: libmono-system2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion})
+Description: Mono System libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the BCL (Base Class Libraries) of Mono for CLI 2.0.
+
+Package: libmono-system-messaging1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono System.Messaging library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Messaging library for CLI 1.0.
+
+Package: libmono-system-messaging2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono System.Messaging Library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Messaging library for CLI 2.0.
+
+Package: libmono-security1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Security library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Security library for CLI 1.0.
+
+Package: libmono-security2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Security library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Security library for CLI 2.0.
+
+Package: libmono-data-tds1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Data library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Data library for CLI 1.0.
+
+Package: libmono-data-tds2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Data Library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Data library for CLI 2.0.
+
+Package: libmono-system-data1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono System.Data library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Data library for CLI 1.0.
+
+Package: libmono-system-data2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono System.Data Library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Data library for CLI 2.0.
+
+Package: libmono-system-web1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}), libgdiplus
+Description: Mono System.Web library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Web library for CLI 1.0.
+
+Package: libmono-system-web2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}), libgdiplus
+Description: Mono System.Web Library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Web library for CLI 2.0.
+
+Package: libmono-system-web-mvc1.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: Mono ASP.NET MVC Library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler
+ and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Web.Mvc library for CLI 2.0.
+
+Package: libmono-wcf3.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Homepage: http://mono-project.com/WCF
+Description: Mono WCF libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Windows Communication Foundation (WCF) libraries
+ of Mono for CLI 2.0. The WFC stack is for building SOA-based applications.
+ Its development is in early stages.
+ .
+ WCF is also used in Moonlight, but it cuts down huge parts of .NET 3.0
+ features but this implementation used by Moonlight should be almost feature
+ complete.
+
+Package: libmono-system-runtime1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono System.Runtime library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Runtime library for CLI 1.0.
+
+Package: libmono-system-runtime2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono System.Runtime Library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Runtime library for CLI 2.0.
+
+Package: libmono-system-ldap1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono System.DirectoryServices library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.DirectoryServices library for CLI 1.0.
+
+Package: libmono-system-ldap2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono System.DirectoryServices library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.DirectoryServices library for CLI 2.0.
+
+Package: libmono-winforms1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}, shared-mime-info
+Depends: ${cli:Depends}, libgdiplus
+Description: Mono System.Windows.Forms library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Windows.Forms library for CLI 1.0.
+
+Package: libmono-winforms2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Suggests: ${cli:Suggests}, shared-mime-info
+Depends: ${cli:Depends}, libgdiplus
+Description: Mono System.Windows.Forms library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono System.Windows.Forms library for CLI 2.0.
+
+Package: libmono-cairo1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}, libmono-cairo2.0-cil
+Description: Mono Cairo library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Cairo library for CLI 1.0.
+
+Package: libmono-cairo2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1),
+          mono-classlib-2.0-dbg (<< 1.1.13.4-1),
+          libmono-cairo1.0-cil (<< 2.4)
+Depends: ${cli:Depends}
+Description: Mono Cairo library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Cairo library for CLI 2.0.
+
+Package: libmono-sharpzip0.6-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono SharpZipLib library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono SharpZipLib library version 0.6, for CLI 1.0.
+
+Package: libmono-sharpzip0.84-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono SharpZipLib library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono SharpZipLib library version 0.84, for CLI 1.0.
+
+Package: libmono-sharpzip2.6-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono SharpZipLib library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono SharpZipLib library version 2.6, for CLI 2.0.
+
+Package: libmono-sharpzip2.84-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono SharpZipLib library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono SharpZipLib library version 2.84, for CLI 2.0.
+
+Package: libmono-npgsql1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono Npgsql library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Npgsql library for CLI 1.0.
+
+Package: libmono-npgsql2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono Npgsql library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Npgsql library for CLI 2.0.
+
+Package: libmono-bytefx0.7.6.1-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono ByteFX.Data library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono ByteFX.Data library version 0.7.6.1, for CLI 
+ 1.0.
+
+Package: libmono-bytefx0.7.6.2-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Suggests: ${cli:Suggests}
+Depends: ${cli:Depends}
+Description: Mono ByteFX.Data library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono ByteFX.Data library version 0.7.6.2, for CLI
+ 2.0.
+
+Package: libmono-firebirdsql1.7-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono FirebirdSql library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono FirebirdSql library.
+
+Package: libmono-db2-1.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: Mono DB2 library
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono DB2 library.
+
+Package: libmono-oracle1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Oracle library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Oracle library for CLI 1.0.
+
+Package: libmono-oracle2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Oracle library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Oracle library for CLI 2.0.
+
+Package: libmono-sqlite1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono Sqlite library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Sqlite library for CLI 1.0.
+
+Package: libmono-sqlite2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1)
+Depends: ${cli:Depends}
+Description: Mono Sqlite library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Sqlite library for CLI 2.0.
+
+Package: libmono-accessibility1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Accessibility library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Accessibility library for CLI 1.0.
+
+Package: libmono-accessibility2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Accessibility library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Accessibility library for CLI 2.0.
+
+Package: libmono-cscompmgd7.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono cscompmgd library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono cscompmgd library version 7.0, for CLI 1.0.
+
+Package: libmono-cscompmgd8.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono cscompmgd library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono cscompmgd library version 8.0, for CLI 2.0.
+
+Package: libmono-ldap1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono LDAP library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono LDAP library for CLI 1.0.
+
+Package: libmono-ldap2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono LDAP library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono LDAP library for CLI 2.0.
+
+Package: libmono-microsoft-build2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Microsoft.Build libraries
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Microsoft.Build libraries version 2.0.
+
+Package: libmono-microsoft7.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Microsoft libraries (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Microsoft libraries version 7.0, for CLI 1.0.
+
+Package: libmono-microsoft8.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Microsoft libraries (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Microsoft libraries version 8.0, for CLI 2.0.
+
+Package: libmono-peapi1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono PEAPI library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono PEAPI library for CLI 1.0.
+
+Package: libmono-peapi2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono PEAPI library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono PEAPI library for CLI 2.0.
+
+Package: libmono-relaxng1.0-cil
+Architecture: all
+Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Relaxng library (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Relaxng library for CLI 1.0.
+
+Package: libmono-relaxng2.0-cil
+Architecture: all
+Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6)
+Depends: ${cli:Depends}
+Description: Mono Relaxng library (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the Mono Relaxng library for CLI 2.0.
+
+Package: mono-dbg
+Priority: extra
+Section: debug
+Architecture: all
+Recommends: mono-debugger
+Replaces: libmono1.0-cil (<< 1.2.4-1),
+ libmono2.0-cil (<< 1.2.4-1),
+ libmono-c5-1.0-cil (<< 1.2.4-1),
+ libmono-corlib1.0-cil (<< 1.2.4-1),
+ libmono-corlib2.0-cil (<< 1.2.4-1),
+ libmono-system1.0-cil (<< 1.2.4-1),
+ libmono-system2.0-cil (<< 1.2.4-1),
+ libmono-system-messaging1.0-cil (<< 1.2.4-1),
+ libmono-system-messaging2.0-cil (<< 1.2.4-1),
+ libmono-security1.0-cil (<< 1.2.4-1),
+ libmono-security2.0-cil (<< 1.2.4-1),
+ libmono-data-tds1.0-cil (<< 1.2.4-1),
+ libmono-data-tds2.0-cil (<< 1.2.4-1),
+ libmono-system-data1.0-cil (<< 1.2.4-1),
+ libmono-system-data2.0-cil (<< 1.2.4-1),
+ libmono-system-web1.0-cil (<< 1.2.4-1),
+ libmono-system-web2.0-cil (<< 1.2.4-1),
+ libmono-system-runtime1.0-cil (<< 1.2.4-1),
+ libmono-system-runtime2.0-cil (<< 1.2.4-1),
+ libmono-system-ldap1.0-cil (<< 1.2.4-1),
+ libmono-system-ldap2.0-cil (<< 1.2.4-1),
+ libmono-winforms1.0-cil (<< 1.2.4-1),
+ libmono-winforms2.0-cil (<< 1.2.4-1),
+ libmono-cairo1.0-cil (<< 1.2.4-1),
+ libmono-cairo2.0-cil (<< 1.2.4-1),
+ libmono-sharpzip0.6-cil (<< 1.2.4-1),
+ libmono-sharpzip0.84-cil (<< 1.2.4-1),
+ libmono-sharpzip2.6-cil (<< 1.2.4-1),
+ libmono-sharpzip2.84-cil (<< 1.2.4-1),
+ libmono-npgsql1.0-cil (<< 1.2.4-1),
+ libmono-npgsql2.0-cil (<< 1.2.4-1),
+ libmono-bytefx0.7.6.1-cil (<< 1.2.4-1),
+ libmono-bytefx0.7.6.2-cil (<< 1.2.4-1),
+ libmono-firebirdsql1.7-cil (<< 1.2.4-1),
+ libmono-oracle1.0-cil (<< 1.2.4-1),
+ libmono-oracle2.0-cil (<< 1.2.4-1),
+ libmono-sqlite1.0-cil (<< 1.2.4-1),
+ libmono-sqlite2.0-cil (<< 1.2.4-1),
+ libmono-accessibility1.0-cil (<< 1.2.4-1),
+ libmono-accessibility2.0-cil (<< 1.2.4-1),
+ libmono-cscompmgd7.0-cil (<< 1.2.4-1),
+ libmono-cscompmgd8.0-cil (<< 1.2.4-1),
+ libmono-ldap1.0-cil (<< 1.2.4-1),
+ libmono-ldap2.0-cil (<< 1.2.4-1),
+ libmono-microsoft-build2.0-cil (<< 1.2.4-1),
+ libmono-microsoft7.0-cil (<< 1.2.4-1),
+ libmono-microsoft8.0-cil (<< 1.2.4-1),
+ libmono-peapi1.0-cil (<< 1.2.4-1),
+ libmono-peapi2.0-cil (<< 1.2.4-1),
+ libmono-relaxng1.0-cil (<< 1.2.4-1),
+ libmono-relaxng2.0-cil (<< 1.2.4-1),
+ mono-mcs (<< 1.2.4-1),
+ mono-mjs (<< 1.2.4-1),
+ mono-gmcs (<< 1.2.4-1),
+ mono-gac (<< 1.2.4-1)
+Description: Mono debugging symbols
+ This package contains the debugging symbols of various libmono-* and mono-*
+ packages.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: mono-mjs
+Architecture: all
+Depends: ${cli:Depends}
+Replaces: mono-mcs (<< 1.2.5-1)
+Description: Mono JScript compiler
+ This is the Mono JScript compiler, a platform-independent compiler which
+ produces CIL (Common Intermediate Language) binary executables.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: mono-mcs
+Architecture: all
+Depends: ${cli:Depends},
+         libmono-corlib1.0-cil (>= ${mono:upversion}),
+         libmono-corlib1.0-cil (<< ${mono:next-upversion})
+Recommends: pkg-config
+Replaces: mono-devel (<< 2.4.2.3)
+Description: Mono C# 1.0 compiler for CLI 1.1
+ This is the Mono C# (C-Sharp) 1.0 compiler, a platform-independent compiler
+ which produces CIL (Common Intermediate Language) binary executables.
+ This compiler targets the CLI 1.1 runtime version.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: mono-gmcs
+Architecture: all
+Depends: ${cli:Depends},
+         libmono-corlib2.0-cil (>= ${mono:upversion}),
+         libmono-corlib2.0-cil (<< ${mono:next-upversion}),
+         mono-devel (= ${source:Version})
+Recommends: pkg-config
+Replaces: mono-mcs (>= 1.1.10), mono-mcs (<= 1.1.13), mono-devel (<< 2.4.2.3)
+Description: Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
+ This is the Mono C# (C-Sharp) 2.0 and C# 3.0 compiler, a platform-independent
+ compiler which produces CIL (Common Intermediate Language) binary executables.
+ The gmcs compiler supports two different featuresets (C# versions).
+ .
+ With C# 2.0 (which is the default) it supports:
+  - generics
+  - iterators (yield)
+  - nullable value types
+  - partial types
+  - anonymous methods
+  - static classes
+  - coalesce operator: ??
+ .
+ With C# 3.0 it supports:
+  - Language Integrated Query (LINQ)
+  - object initializers
+  - collection initializers
+  - anonymous types
+  - local variable type inference
+  - implicitly-typed arrays
+  - lambda expressions
+  - automatic properties
+  - extension methods
+  - partial methods
+ .
+ This compiler targets the CLI 2.0 runtime version.
+ .
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+
+Package: mono-devel
+Architecture: all
+Provides: c-sharp-compiler,
+ c-sharp-2.0-compiler,
+ c-sharp-3.0-compiler,
+ resource-file-generator,
+ assembly-linker,
+ strong-name-tool
+Replaces: mono-1.0-devel (<< 2.0),
+          mono-2.0-devel (<< 2.4),
+          mono-mcs (<< 2.0),
+          mono-gmcs (<< 2.0),
+          libmono-dev (<< 2.4)
+Recommends: mono-csharp-shell
+Depends: ${cli:Depends},
+         mono-2.0-devel (= ${source:Version}),
+         mono-gac (= ${source:Version})
+Description: Mono development tools
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various development tools and pulls in the default
+ development stack for Mono (which is 2.0 currently).
+
+Package: mono-1.0-devel
+Architecture: all
+Depends: ${cli:Depends},
+         mono-mcs (= ${source:Version}),
+         mono-1.0-gac (= ${source:Version}),
+         libmono-dev (>= ${source:Version}),
+         pkg-config
+Replaces: mono-mcs (<< 1.2.6-1)
+Description: Mono development tools for CLI 1.0
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various development tools and pulls in a full
+ development stack for Mono targeting CLI 1.0.
+
+Package: mono-2.0-devel
+Architecture: all
+Depends: ${cli:Depends},
+         mono-gmcs (= ${source:Version}),
+         mono-2.0-gac (= ${source:Version}),
+         libmono-dev (>= ${source:Version}),
+         pkg-config
+Replaces: mono-gmcs (<< 1.2.6-1), mono-common (<< 1.2.6-2)
+Description: Mono development tools for CLI 2.0
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains various development tools and pull in a full
+ development stack for Mono targeting CLI 2.0.
+
+Package: mono-1.0-service
+Architecture: all
+Depends: ${cli:Depends}
+Replaces: mono-mcs (<< 1.2.6-1)
+Description: Mono service manager for CLI 1.0
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the mono-service manager, used to start and stop CLI 1.0 
+ services based on the System.ServiceProcess API.
+
+Package: mono-2.0-service
+Architecture: all
+Depends: ${cli:Depends}
+Replaces: mono-gmcs (<< 1.2.6-1)
+Description: Mono service manager for CLI 2.0
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the mono-service2 manager, used to start and stop CLI 
+ 2.0 services based on the System.ServiceProcess API.
+
+Package: mono-xbuild
+Architecture: all
+Depends: ${cli:Depends}
+Replaces: mono-gmcs (<< 1.2.6-1)
+Description: MSBuild-compatible build system for Mono
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ xbuild is Mono's implementation of msbuild and allows projects that have a
+ msbuild file to be compiled natively on Linux.
+ .
+ Microsoft Build (msbuild) is a build system developed by Microsoft similar in
+ spirit to Nant (in that it uses XML files for describing the build process)
+ and in the same spirit as make.
+ .
+ http://www.mono-project.com/Microsoft.Build
+
+Package: mono-gac
+Architecture: all
+Depends: mono-2.0-gac (= ${source:Version})
+Provides: global-assembly-cache-tool
+Description: Mono GAC tool
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package pulls in the default GAC (Global Assembly Cache) tool (gacutil)
+ used by Mono to store shared CIL (Common Intermediate Language) libraries.
+
+Package: mono-1.0-gac
+Architecture: all
+Replaces: mono-gac (<< 2.0)
+Depends: ${cli:Depends}
+Recommends: cli-common (>= 0.4.0)
+Description: Mono GAC tool (for CLI 1.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package includes a version of the GAC (Global Assembly Cache) tool 
+ (gacutil) used by Mono to store shared CIL (Common Intermediate Language) 
+ libraries, for CLI 1.0
+
+Package: mono-2.0-gac
+Architecture: all
+Depends: ${cli:Depends}
+Recommends: cli-common (>= 0.4.0)
+Description: Mono GAC tool (for CLI 2.0)
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package includes a version of the GAC (Global Assembly Cache) tool 
+ (gacutil) used by Mono to store shared CIL (Common Intermediate Language) 
+ libraries, for CLI 2.0
+
+Package: mono-jay
+Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: LALR(1) parser generator oriented to Java/CLI
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ Jay is a Yacc implementation oriented to Java-like input syntax. It
+ takes a grammar, specified in BNF and augmented with semantic actions,
+ and generates tables and an interpreter which recognizes the language
+ defined by the grammar and executes the semantic actions as their
+ corresponding phrases are recognized.
+
+Package: prj2make-sharp
+Section: devel
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, pkg-config, libmono-dev
+Description: Convert VS.NET solution files to Makefiles
+ prj2make-solution is a utility used to read a "solution" file created
+ with Visual Studio .NET and generate a usual Makefile suitable for
+ compilation with a C# compiler.
+
+Package: mono-csharp-shell
+Section: shells
+Architecture: all
+Homepage: http://www.mono-project.com/CsharpRepl
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}
+Description: interactive C# shell
+ Mono is a platform for running and developing applications based on the
+ ECMA/ISO Standards. Mono is an open source effort led by Novell.
+ Mono provides a complete CLR (Common Language Runtime) including compiler and
+ runtime, which can produce and execute CIL (Common Intermediate Language)
+ bytecode (aka assemblies), and a class library.
+ .
+ This package contains the interactive C# shell named csharp.  csharp permits
+ dynamically evaluating C# statements, and can be used for writing scripts or
+ testing code fragments.
+ For examples and a brief overview of the commands see:
+ http://www.mono-project.com/CsharpRepl
+
+Package: monodoc-base
+Architecture: all
+Depends: ${cli:Depends}
+Description: shared MonoDoc binaries
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This packages contains the shared binaries which are used by the monodoc
+ programs like the documentation file compiler (assembler.exe aka "monodoc").
+
+Package: monodoc-manual
+Architecture: all
+Section: doc
+Recommends: monodoc-browser | monodoc-http | monodoc-viewer
+Suggests: monodoc-gtk-manual,
+ monodoc-gecko-manual,
+ monodoc-nunit-manual
+Description: compiled XML documentation from the Mono project
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This packages contains the compiled XML documentation of MonoDoc.
--- mono-2.4.2.3+dfsg.orig/debian/libmono-security1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-security1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.Security/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Mono.Security.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-csharp-shell.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-csharp-shell.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/csharp.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system2.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system2.0-cil.clideps-override
@@ -0,0 +1,7 @@
+suggests libfam0
+suggests libgamin0
+suggests libx11-6
+suggests libasound2
+suggests libcups2
+suggests libgdiplus
+suggests libmono-winforms2.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sharpzip2.6-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sharpzip2.6-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.6.*/
+debian/tmp/usr/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll
--- mono-2.4.2.3+dfsg.orig/debian/README.source
+++ mono-2.4.2.3+dfsg/debian/README.source
@@ -0,0 +1,27 @@
+The upstream tarball for this application has been altered to remove
+(unneeded) binary-only components. The list of files removed is as follows:
+
+      docs/AgilityPack.dll
+
+Also the specification and auto-generated code of the RabbitMQ library found
+in: mcs/class/RabbitMQ.Client/docs/specs/* had to be removed as those are
+licensed under non-DFSG-free terms. Because of the removed files the RabbitMQ
+library can no longer be build and had to be disabled in the build process.
+The resulting binary packages are not containing RabbitMQ.Client.dll nor
+Mono.Messaging.RabbitMQ.dll for that reason.
+
+To create your own copy of this modified tarball, use the "get-orig-source"
+target of the debian/rules makefile.
+
+The compiler needs to bootstrap using the pre-build binary
+mcs/class/lib/monolite/mcs.exe, which requires
+mcs/class/lib/monolite/mscorlib.dll,
+mcs/class/lib/monolite/System.dll and
+mcs/class/lib/monolite/System.Xml.dll in order to operate.
+
+These binaries are used to compile the code in mcs/mcs/*, mcs/class/corlib/*,
+mcs/class/System/* and mcs/class/System.XML/*, which in turn, produce their
+own mcs.exe, mscorlib.dll, System.dll and System.Xml.dll.
+
+Only the resulting binaries are included in packages - not the versions
+used for bootstrapping.
--- mono-2.4.2.3+dfsg.orig/debian/monodoc-base.manpages
+++ mono-2.4.2.3+dfsg/debian/monodoc-base.manpages
@@ -0,0 +1,11 @@
+debian/tmp/usr/share/man/man1/mdassembler.1
+debian/tmp/usr/share/man/man1/mdoc.1
+debian/tmp/usr/share/man/man1/mdoc-assemble.1
+debian/tmp/usr/share/man/man1/mdoc-export-html.1
+debian/tmp/usr/share/man/man1/mdoc-export-msxdoc.1
+debian/tmp/usr/share/man/man1/mdoc-update.1
+debian/tmp/usr/share/man/man1/mdoc-validate.1
+debian/tmp/usr/share/man/man1/mdvalidater.1
+debian/tmp/usr/share/man/man1/monodocer.1
+debian/tmp/usr/share/man/man1/monodocs2html.1
+debian/tmp/usr/share/man/man5/mdoc.5
--- mono-2.4.2.3+dfsg.orig/debian/Mono.Data.SqliteClient.dll.config
+++ mono-2.4.2.3+dfsg/debian/Mono.Data.SqliteClient.dll.config
@@ -0,0 +1,4 @@
+<configuration>
+	<dllmap dll="sqlite" target="libsqlite.so.0"/>
+	<dllmap dll="sqlite3" target="libsqlite3.so.0"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/libmono-i18n-west1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-i18n-west1.0-cil.install
@@ -0,0 +1,4 @@
+/usr/lib/mono/gac/I18N/1.0.*/
+/usr/lib/mono/gac/I18N.West/1.0.*/
+/usr/lib/mono/1.0/I18N.dll
+/usr/lib/mono/1.0/I18N.West.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-c5-1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-c5-1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.C5/1.0.*/
+debian/tmp/usr/lib/mono/2.0/Mono.C5.dll
--- mono-2.4.2.3+dfsg.orig/debian/changelog
+++ mono-2.4.2.3+dfsg/debian/changelog
@@ -0,0 +1,584 @@
+mono (2.4.2.3+dfsg-2~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+  * debian/shlibs.local:
+    + Updated using debian/update-shlibs.local.sh for Debian/Lenny
+      libraries.
+  * debian/control:
+    + Added libmono-posix{1,2}.0-cil, libmono-getoptions{1,2}.0-cil
+      and libmono-cecil-private-cil dependencies to libmono{1,2}.0-cil for binary
+      backwards compatibility with packages build against Mono 1.9.1.
+    + Added libmono-cairo2.0-cil dependency to libmono-cairo1.0-cil so the
+      pkg-config file stays present.
+    + Added mono-devel dependency to mono-gmcs for build-dep compatiblity with
+      source packages of lenny.
+
+ -- Mirco Bauer <meebey@debian.org>  Fri, 25 Sep 2009 21:23:29 +0200
+
+mono (2.4.2.3+dfsg-2) unstable; urgency=medium
+
+  * debian/control:
+    + Add missing cli:Suggests to libmono-bytefx0.7.6.1-cil and
+      libmono-bytefx0.7.6.2-cil.
+  * debian/rules:
+    + Removed mono:upversion and mono:next-version from dh_gencontrol -s
+      call as those are unused for arch:any packages.
+  * debian/patches/fix_metadata_dup.dpatch:
+    + Remove duplicate appdomain.h, fixing FTBFS.
+      (thanks to Stefan Siegl for the investigation, Closes: #543010)
+  * debian/patches/fix_CreateDelegate_ArgumentException.dpatch:
+    + Fixed ArgumentException in System.Delegate.CreateDelegate() which broke
+      IronPython 2.6 Beta 2.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 07 Sep 2009 22:00:21 +0200
+
+mono (2.4.2.3+dfsg-1) unstable; urgency=low
+
+  * New upstream release:
+    + Fixes XML signature HMAC truncation authentication bypass.
+      (CVE-2009-0217)
+    + Shipping the RabbitMQ.Client library now as the non-free bits were
+      removed.
+    + Includes ASP.NET MVC.
+    + Updated xbuild.
+  * debian/patches/disable_unavailable_cpu_optimizations_r133647.dpatch
+    debian/patches/fix_disabling_aot_r131940.dpatch
+    debian/patches/fix_null_funcptr_marshalling_r127347.dpatch
+    debian/patches/fix_ppc_build_using_gcc-4.4_r131472.dpatch
+    debian/patches/fix_recursive_unmanaged_types.dpatch
+    debian/patches/fix_sparc_support_r134797.dpatch:
+    + Dropped, as already applied upstream.
+  * debian/rules:
+    + Bumped clilibs where needed.
+  * debian/rules
+    debian/mono-devel.install
+    debian/mono-api-diff.cs:
+    + As mono-api-diff was dropped from Mono 2.4 and we need it to track API
+      changes we bundle it now in the source package.
+      (thanks to C.J. Adams-Collier for this)
+  * debian/copyright:
+    + Updated for ASP.NET MVC.
+  * debian/control:
+    + Moved libmono-firebirdsql1.7-cil from Depends to Recommends of
+      mono-complete, as libfbclient2 as not available on s390.
+    + Added libmono-system-web-mvc1.0-cil package.
+    + Added libmono-messaging-rabbitmq2.0-cil and libmono-rabbitmq2.0-cil
+      package.
+  * debian/patches/fix_array_compare.dpatch:
+    + Fix in the compiler needed for IronRuby.
+      (thanks goes to C.J. Adams-Collier for providing the patch)
+  * debian/control
+    debian/mono-runtime.install
+    debian/libmono-profiler.install:
+    + Moved the libmono-profiler-* libraries to the new libmono-profiler
+      package, as they pull libmono0 in which is unneeded for normal usage.
+  * debian/control
+    debian/mono-devel.install
+    debian/mono-mcs.install
+    debian/mono-gmcs.install:
+    + Moved mcs to mono-mcs and gmcs to mono-gmcs from mono-devel, as that
+      caused a lot of confusion. (closes: #525279 and #537081)
+    + Added mono-csc to mono-devel in preparation to drop csc in the future as
+      it conflicts with the chicken compiler, see #509367.
+
+ -- Mirco Bauer <meebey@debian.org>  Thu, 30 Jul 2009 19:35:10 +0200
+
+mono (2.4+dfsg-6) unstable; urgency=low
+
+  * debian/rules:
+    + Force pthread for armel as __thread FTBFS.
+    + Build Mono.Simd in test target, which hopefully fixes the failing
+      mono/mini tests.
+  * debian/control:
+    + Removed dh_installxsp and monodiet from the package description of
+      mono-utils. (Closes: #534906)
+    + Bumped Standards-Version to 3.8.2 (no changes needed)
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 05 Jul 2009 14:44:23 +0200
+
+mono (2.4+dfsg-5) unstable; urgency=low
+
+  * debian/rules:
+    + Let the build system decide if sigaltstack() will be used and which TLS
+      instead of passing explicitly --with-sigaltstack and --with-tls to
+      the ./configure script.
+    + Run also the JIT (mono/mini) tests.
+  * debian/patches/fix_disabling_aot_r131940.dpatch:
+    + Fixes the build of kfreebsd-amd64 and kfreebsd-i386.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 22 Jun 2009 00:08:35 +0200
+
+mono (2.4+dfsg-4) unstable; urgency=low
+
+  * debian/rules:
+    + Removed the config.make hack as that broke AMD64 builds and instead let
+      the ./configure script from the configure-indep target create that file.
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 14 Jun 2009 16:52:28 +0200 
+
+mono (2.4+dfsg-3) unstable; urgency=low
+
+  * debian/control:
+    + Change Section of prj2make-sharp to devel to match archive overrides.
+    + Added replaces libmono-cairo1.0-cil to libmono-cairo2.0-cil, as the
+      pkg-config file was moved from that. (Closes: #531006)
+    + Added conflicts mono-{1,2}.0-runtime to mono-runtime to ensure
+      aptitude is proposing a happy upgrade path.
+  * debian/libmono-wcf3.0-cil.install:
+    + Added missing System.IdentityModel development symlink.
+      (Closes: #531496)
+  * debian/shlibs.local
+    debian/update-shlibs.local.sh:
+    + Removed libgda-2 entry for the benefit of dh_clideps not picking that as
+      Suggests for libmono-system-data{1,2}.0-cil up. (Closes: #531870)
+  * debian/patches/fix_ppc_build_using_gcc-4.4_r131472.dpatch:
+    + Fixes the build on PPC when using GCC 4.4.
+  * debian/patches/disable_unavailable_cpu_optimizations_r133647.dpatch:
+    + Disable CPU optimizations which might be unavailable (like SSE2 on
+      Pentium 3).
+  * debian/patches/fix_sparc_support_r134797.patch:
+    + Fixes the hang for all applications when running on SPARC.
+      (Closes: #531566)
+  * debian/rules:
+    + Implemented test target and run basic runtime tests as part of the build
+      if nocheck wasn't passed via DEB_BUILD_OPTIONS.
+
+ -- Mirco Bauer <meebey@debian.org>  Sat, 13 Jun 2009 16:56:43 +0200
+
+mono (2.4+dfsg-2) unstable; urgency=low
+
+  [ Jo Shields ]
+  * debian/rules:
+    + Implement workaround to force removal of /usr/share/doc symlinks
+      on Ubuntu systems when upgrading from pre-2.4 packages
+  * debian/control:
+    + Add dependency on lsb-release to allow distro detection
+
+  [ Mirco Bauer ]
+  * Upload to unstable.
+  * debian/update-shlibs.local.sh:
+    + Fixed shlibs line of libMonoPosixHelper, was causing incorrect
+      dependencies on libmono0 instead of mono-runtime.
+    + Added shlibs line for libMonoSupportW.
+  * debian/monodoc-base.install:
+    + Added missing monodoc development symlink.
+  * debian/mono-1.0-devel.install
+    debian/mono-2.0-devel.install:
+    + Added installutil.exe.
+  * debian/mono-csharp-shell.install:
+    + Added missing Mono.CSharp development symlink.
+  * debian/libmono-messaging2.0-cil.install:
+    + Really install library and development symlink of Mono.Messaging.
+  * debian/libmono-management2.0-cil.install:
+    + Added missing Mono.Management development symlink.
+  * debian/mono-devel.install:
+    + Install mcs mo-files.
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 24 May 2009 15:23:14 +0200
+
+mono (2.4+dfsg-1) experimental; urgency=low
+
+  * New upstream release.
+    + For release highlights see the NEWS.Debian file
+  * debian/NEWS:
+    + Updated for Mono 2.4, Mono 2.2 and Mono 2.0.
+  * DFSG edition of Mono 2.4 as the source taball contained a binary that is
+    not part of the bootstrapping process (docs/AgilityPack.dll) and is CC
+    Share-alike 2.5 licensed (non-free). Also it contained non-free
+    specification files needed by the RabbitMQ.Client library.
+  * debian/README.source:
+    + Mention which files we removed and how to create the tarball we use.
+    + Document which binaries are required to bootstrap the C# compiler.
+  * debian/rules:
+    + Made get-orig-source policy conform (by using . as output path).
+    + Dropped --with-oprofile from configure call as debian doesn't ship the
+      needed header files for it.
+    + Pass --with-moonlight=no to configure call as the moon source package
+      will ship the assemblies with the release containing Silverlight 2.0
+      support.
+    + Build MonoGetAssemblyName using gmcs instead of mcs.
+    + Don't allow dh_clideps to add mono-runtime dependencies to
+      mono-1.0/2.0-gac to prevent circular dependency hell. (Closes: #528090)
+    + Added missing non-stamp/files targets to .PHONY.
+    + Only pass mono/2.0 to MONO_PATH in RUN_MONO variable, else gmcs.exe
+      picks up the 1.0 corlib.
+    + Bumped clilibs of libmono-cairo{1.0,2.0}-cil, libmono-data{1.0,2.0}-cil,
+      libmono-data-tds{1.0,2.0}-cil, libmono-oracle2.0-cil,
+      libmono-posix{1.0,2.0}-cil, libmono-relaxng{1.0,2.0}-cil,
+      libmono-system2.0-cil, libmono-system-runtime2.0-cil, libmono-web2.0-cil,
+      libmono-winforms2.0-cil and libmono-webbrowser0.5-cil.
+    + Install upstream changelog and debian news only in the mono-runtime
+      package.
+  * debian/cli-wrapper.c
+    + Dropped as this wrapper is obsolete since mono 1.1.6-1.
+  * debian/patches/kfreebsd_support.dpatch
+    debian/patches/build_genxs_2.0.dpatch:
+    + Updated to cleanly apply again.
+  * debian/patches/fix_wsdl2_duplicate_keys_r117243.dpatch
+    debian/patches/fix_NetworkInterface_exception_r120282.dpatch
+    debian/patches/fix_TcpClient_IPv6_r122598.dpatch:
+    + Dropped, already applied upstream.
+  * debian/patches/armel_fix_configure_fpu_check.dpatch:
+    + Only patch configure.in, autoreconf takes care of configure.
+  * debian/patches/armel-glibc-2.8.dpatch:
+    + Dropped, fixed upstream in a different way.
+  * debian/patches/fix_NetworkInterface_endless_loop.dpatch:
+    + Fix loop by setting next item. (Closes: #519480)
+  * debian/libmono-system-web2.0-cil.install:
+    + Added system.web.extensions_1.0.pc and
+      system.web.extensions.design_1.0.pc.
+  * debian/libmono2.0-cil.install:
+    + Added mono.web.pc.
+  * debian/control:
+    debian/patches/99_autoreconf.dpatch:
+    + Added autoconf to build-deps, as we autoreconf in debian/rules now.
+    + Dropped autoreconf dpatch.
+  * debian/control:
+    + Updated Vcs-* fields for the migrated git repository.
+    + Added new mono-csharp-shell package.
+    + mono-devel recommends mono-csharp-shell now (very useful for
+      debugging).
+    + Added new libmono-management2.0-cil, libmono-messaging2.0-cil,
+      libmono-simd2.0-cil and libmono-wcf3.0-cil packages.
+    + Merged monodoc-base and monodoc-manual packages from the monodoc source
+      package.
+    + Dropped mono-smcs, libmono-corlib2.1-cil and libmono-system2.1-cil as
+      those will be shipped by the moon source package.
+    + Removed transition dependencies from libmono1.0-cil, libmono2.0-cil
+      mono-devel, as the Mono 2.0 transition has been completed some weeks ago.
+    + Renamed libmono-nunit2.2-cil to libmono-nunit2.4-cil and only ship a
+      symlink to nunit.pc with a binary dependency on libnunit2.4-cil.
+    + Added mono-complete metapackage to make ISVs and users installing
+      non-Debian applications happy.
+    + Changed Section of all packages to cli-mono except *-dbg to match
+      archive overrides.
+    + Added automake to build-deps needed for autoreconf.
+  * debian/libmono-cairo1.0-cil.install
+    debian/libmono-cairo2.0-cil.install
+    debian/patches/fix-mono-cairo.pc.in.dpatch:
+    + Moved mono-cairo.pc from libmono-cairo1.0-cil to libmono-cairo2.0-cil
+      and reference the CLI 2.0 version in the pkg-config file now.
+  * debian/mono-devel.install:
+    + Added mono-cil-strip
+    + Added getline.cs, mono-lineeditor.pc, Options.cs and mono-options.pc
+    + Removed CorCompare.exe and mono-api-diff(.exe) as dropped by upstream.
+    + Updated mono-shlib-cop and sqlsharp as they are now CLI 2.0
+  * debian/patches/fix_recursive_unmanaged_types.dpatch:
+    + Fixes recursive structs regression as seen with OpenOffice.org.
+  * debian/copyright:
+    + Added Lucene.Net, RabbitMQ.Client and HtmlAgilityPack licenses.
+  * debian/patches/build_cecil_as_2.0.dpatch
+    debian/patches/build_firebirdsql_as_2.0.dpatch
+    debian/patches/build_permview_as_2.0.dpatch
+    debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch:
+    + Build Mono.Cecil, FirebirdSql.Data.Firebird, permview, tuner, linker and
+      cil-strip for CLI 2.0.
+  * debian/control
+    debian/rules
+    debian/mono-jt.*
+    debian/mono-common.*
+    debian/libmono0.*
+    debian/mono-runtime.*:
+    + Merged mono-jit, mono-common and libmono0 (except libmono.so.*)
+      packages into mono-runtime. libmono0 was pulled in by
+      libmono-system2.0-cil as it pinvokes libMonoPosixHelper.so for
+      compression stream APIs. Since the interpreter (mint) was dropped long
+      time ago and is unmainained upstream, there is no reason to keep those
+      3 domains (VM, config / binfmt support, helper libraries) split.
+    + Renamed mono-jit-dbg package to mono-runtime-dbg.
+  * debian/shlibs.local:
+    + Updated using the debian/update-shlibs.local.sh script.
+  * debian/watch:
+    + Mangle +dfsg version.
+  * debian/control
+    debian/libmono1.0-cil.install
+    debian/libmono-cecil-private-cil.install:
+    + Moved Mono.Cecil from libmono1.0-cil to libmono-cecil-private-cil, as
+      it's now build for CLI 2.0.
+  * debian/libmono-system-web2.0-cil.install:
+    + Added System.ComponentModel.DataAnnotations, System.Web.Abstractions,
+      System.Web.DynamicData and System.Web.Routing.
+  * debian/control
+    debian/libmono-i18n1.0-cil.install
+    debian/libmono-i18n2.0-cil.install
+    debian/libmono-i18n-west1.0-cil.install
+    debian/libmono-i18n-west2.0-cil.install:
+    + Moved I18N.dll and I18N.West.dll from libmono-i18nX.Y-cil to
+      libmono-i18n-westX.Y-cil, as this is the only code page that is really
+      needed in 90% of the cases.
+  * debian/compat
+    debian/control:
+    + Bumped debhelper to 7.
+  * debian/control
+    debian/mono-1.0-devel.install
+    debian/mono-2.0-devel.install
+    debian/mono-devel.install:
+    + Removed mono-api-info1 as dropped by upstream and moved
+      2.0/mono-api-info.exe from mono-2.0-devel to mono-devel.
+  * debian/control
+    debian/libmono0.install
+    debian/libmono-dev.install
+    debian/mono-devel.install:
+    + Moved dotnet.pc and dotnet35.pc from libmono-dev to mono-devel.
+    + Removed libmono-profiler-*.a as unused and unneeded.
+  * debian/mono-runtime.docs
+    debian/changelog
+    debian/changelog.1:
+    + Moved all entries older than the version in lenny (1.9.1) to
+      changelog.1
+    + Install changelog.1 only in mono-runtime.
+
+ -- Mirco Bauer <meebey@debian.org>  Thu, 21 May 2009 01:04:54 +0200
+
+mono (2.0.1-6) unstable; urgency=low
+
+  [ Jo Shields ]
+  * debian/control:
+    + Update package descriptions to make it clearer what is what, and
+      avoid multiple packages with identical short descriptions
+      (Closes: #519404)
+
+  [ Sebastian Dröge ]
+  * debian/patches/fix_null_funcptr_marshalling_r127347.dpatch:
+    + Fix marshalling for NULL function pointers, they should be mapped
+      to managed null delegates and vice versa. Patch from upstream SVN.
+
+ -- Sebastian Dröge <slomo@debian.org>  Fri, 01 May 2009 13:37:07 +0200
+
+mono (2.0.1-5) unstable; urgency=low
+
+  * The "Let the show begin!" release
+    + Upload to unstable starting the Mono 2.0 transition, status available at:
+      http://wiki.debian.org/Teams/DebianMonoGroup/Mono20TransitionTODO
+  * debian/control:
+    + The compilers (mono-mcs and mono-gmcs) are not forward compatible with
+      newer upstream versions, thus added stronger dependencies.
+    + Removed libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev and
+      libgnomeui-dev from build-deps-indep as those packages are only needed
+      to generate the debian/shlibs.local file using the
+      debian/update-shlibs.local.sh script (the script checks now if those
+      are installed). This extended hack is needed as shared-mime-info in
+      unstable conflicts with gnome < 2.24 and gnome 2.24 is blocked by
+      the Mono 2.0 transition.
+  * debian/shlibs.local:
+    + Updated using the debian/update-shlibs.local.sh script.
+
+ -- Mirco Bauer <meebey@debian.org>  Wed, 25 Feb 2009 00:10:02 +0100
+
+mono (2.0.1-4) experimental; urgency=low
+
+  * debian/rules:
+    + Pass internal-mono instead of --internal-mono if the debhelper version
+      is older than 7.1, as that one doesn't support custom parameters via
+      init(). This ensures backwards compatibility with older debhelper
+      versions, as found in Ubuntu.
+  * debian/control:
+    + Lowered debhelper build-dep to >= 5.
+  * debian/dh_clideps
+    debian/dh_makeclilibs:
+    + Re-synced from cli-common 0.6.0, needed for dh 7.0 backwards
+      compatibilty.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 27 Jan 2009 00:15:04 +0100
+
+mono (2.0.1-3) experimental; urgency=low
+
+  * Rebuilt against libc6 and glib from unstable.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 26 Jan 2009 22:49:05 +0100
+
+mono (2.0.1-2) experimental; urgency=low
+
+  [ Jo Shields ]
+  * debian/patches/fix_wsdl2_duplicate_keys_r117243.dpatch:
+    + Fix bug in wsdl2 preventing parsing of Amazon Web Services 
+      wsdl file (thanks to Iain Lane <laney@ubuntu.com> for help
+      isolating this bug)
+  * debian/patches/fix_NetworkInterface_exception_r120282.dpatch:
+    + Warn, rather than fail, on "funny" network interfaces
+      (Closes: #507297)
+
+  [ Mirco Bauer ]
+  * debian/mono-1.0-devel.{postinst,prerm}
+    debian/mono-mcs.{postinst,prerm}
+    debian/mono-devel.{postinst,prerm}:
+    + Moved update-alternatives calls to mono-devel.{postinst,prerm}.
+  * debian/mono.links
+    debian/mono.postinst
+    + Removed, those are just left-overs.
+  * debian/mono-jit.postinst:
+    + Lowered alternative priority to 10 like all other alternative we install.
+  * debian/control:
+    + Moved cli-* Provides from mono-1.0-devel, mono-mcs and mono-gmcs to
+      mono-devel, as thats where the cli-* alternatives now lives.
+    + Added many strong versioned binary dependencies to mono-devel as hack
+      to make experimental buildds happy, else everything needing
+      mono-devel >= 2.0 will FTBFS in experimental (e.g. KDE4).
+      (thanks goes to Modestas Vainius for the investigation)
+    + Made dependency on libmono0, libmono-corlib2.0-cil and
+      libmono-corlib1.0-cil strong for mono-utils to ensure that the correct
+      versions are pulled in (else we might confuse APT or funny buildds).
+    + Bumped debhelper build-dep to >= 7.1, as needed for the bundled
+      debian/dh_* scripts.
+  * debian/dh_clideps
+    debian/dh_makeclilibs:
+    + Synced from cli-common 0.6.0, needed for dh 7.1 support.
+
+   [ David Paleino ]
+   * debian/patches/fix_TcpClient_IPv6_r122598.dpatch:
+     + Fix bug in TcpClient() implementation preventing IPv6 connections
+       from working
+
+ -- Mirco Bauer <meebey@debian.org>  Wed, 21 Jan 2009 23:39:02 +0100
+
+mono (2.0.1-1) experimental; urgency=low
+
+  [ Mirco Bauer ]
+  * New upstream (bugfix) release.
+  * debian/mono-1.0-devel.manpages:
+    + Removed mcs1 as it's already shipped in mono-mcs.
+  * debian/patches/99_autoreconf.dpatch:
+    + Updated
+  * debian/mono-devel.links:
+    + Make csc a symlink to gmcs, a runtime version neutral default
+      compiler.
+  * debian/patches/armel_fix_configure_fpu_check.dpatch:
+    + Forward ported patch from 1.2.4 to fix FTBFS on linux/armel.
+  * debian/patches/99_autoreconf.dpatch:
+    + Updated
+  * debian/mono-common.install:
+    + Name the /etc files and directories explicitly to make sure not to
+      install /etc/mconfig by accident when doing a binary-indep binary-arch
+      (in that order) build.
+
+  [ Jo Shields ]
+  * debian/patches/armel-glibc-2.8.dpatch:
+    + Fix build failure on armel architecture on libc6 2.8 (Thanks
+      to Michael Casadevall <sonicmctails@gmail.com> for the patch)
+
+  [ David Paleino ]
+  * Group Policy:
+    + implemented get-orig-source target in debian/rules
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 23 Nov 2008 16:16:00 +0100
+
+mono (2.0-1) experimental; urgency=low
+
+  * New upstream release.
+    + System.Web.Extensions is included in the debian source and binary
+      packages now, as JSON.NET was relicensed to MIT/X11 and thus no DFSGing
+      needed anymore! (Closes: #497213)
+    + With this release, we changed the default development stack from 1.0 to
+      2.0. This has no influence to the runtime nor existing binary packages,
+      for more details see:
+      http://wiki.debian.org/Teams/DebianMonoGroup/Mono20Transition
+  * debian/copyright:
+    + Updated license info of JSON.NET
+  * debian/control:
+    + Removed libgda2-dev from buid-deps as debian/update-shlibs.local.sh
+      takes already care of it.
+    + mono-utils depends on libmono-corlib2.0-cil and only suggests
+      libmono-corlib1.0-cil now as the default runtime was changed to 2.0.
+    + Updated libcupsys2-dev build-dependency to libcups2-dev.
+    + Updated Standards-Version to 3.8.0 (no changes needed).
+  * debian/rules:
+    + Pass --enable-quiet-build=no to configure call, else we get a less
+      verbose build log.
+    + Bumped clilibs to 2.0 of libmono{1,2}.0-cil, libmono-cairo{1,2}.0-cil,
+      libmono-data-tds{1,2}.0-cil, libmono-system2.0-cil,
+      libmono-system-runtime2.0-cil, libmono-security{1,2}.0-cil,
+      libmono-web2.0-cil, libmono-winforms2.0-cil and libmono-system2.1-cil.
+  * debian/mono.runtime-script:
+    + Call the script of gacutil instead of passing the application filename
+      directly to mono, as we rely on the default gacutil now provided by the
+      mono-gac package.
+  * debian/patches/method-signature-testing.dpatch
+    debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch
+    debian/patches/fix_bound_checking_r98524_r98527.dpatch
+    debian/patches/fix_softfloat_r105848.dpatch
+    debian/patches/fix_stack_alignment_r105650_r105651.dpatch
+    debian/patches/fix_xen_support_r103474_r103475.dpatch
+    debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch
+    debian/patches/fix_TdsConnectionPool_svn.dpatch
+    debian/patches/fix_Assembly.LoadFrom_deadlock.dpatch:
+    + Removed, already applied upstream.
+  * debian/patches/dont_build_System.Web.Extensions.dpatch:
+    + Disabled, JSON.NET was re-licensed to MIT/X11.
+  * debian/libmono-system-web2.0-cil.install:
+    + Added System.Web.Extensions.dll and System.Web.Extensions.Design.dll.
+  * debian/update-shlibs.local.sh:
+    + Fixed grep calls so it doesn't match udeb lines.
+  * debian/shlibs.local:
+    + Updated
+  * debian/control
+    debian/libmono-mozilla0.2-cil.install
+    debian/libmono-webbrowser0.5-cil.install:
+    + Renamed libmono-mozilla0.2-cil to libmono-webbrowser0.5-cil and
+      removed Replaces.
+  * debian/control
+    debian/libmono{1,2}.0-cil.install
+    debian/libmono-posix{1,2}.0-cil.install:
+    debian/libmono-getoptions{1,2}.0-cil.install:
+    debian/libmono-data{1,2}.0-cil.install:
+    + Moved the Mono.Posix, Mono.GetOptions and Mono.Data.* libraries into
+      extra packages to support smaller install sizes of typical applications
+      (e.g. tomboy or gnome-do).
+    + Added libmono-posix{1,2}.0-cil, libmono-getoptions{1,2}.0-cil and
+      libmono-data{1,2}.0-cil as dependency of libmono{1,2}-cil to aid a smooth
+      runtime transition.
+  * debian/libmono-system-data2.0-cil.install:
+    + Added System.Data.DataSetExtensions.dll and System.Data.Linq.dll.
+  * debian/rules
+    debian/libmono{1,2}.0-cil.install:
+    + Dropped Mono.Security.Win32.dll as the library is only useful on
+      Windows.
+  * debian/patches/build_genxs_2.0.dpatch:
+    + Enables compiling genxs for CLI 2.0 as upstream provided a genxs2 script
+      but forgot to build the actual application.
+  * debian/mono-2.0-devel.install
+    debian/mono-2.0-devel.manpages:
+    + Added xsd2 and genxs2
+  * debian/mono-devel.install
+    debian/mono-devel.manpages
+    debian/mono-1.0-devel.install
+    debian/mono-1.0-devel.manpages:
+    + Moved all unversioned tools and default scripts (with their manpages) to
+      mono-devel.
+  * debian/mono-mcs.install
+    debian/mono-mcs.manpages
+    debian/mono-gmcs.install
+    debian/mono-gmcs.manpages
+    debian/mono-devel.install
+    debian/mono-devel.manpages
+    debian/control:
+    + Moved gmcs script and manpage from mono-gmcs to mono-devel.
+    + Added Replaces for mono-mcs and mono-gmcs to mono-devel.
+    + Added gmcs2 script and manpage to mono-gmcs
+    + Added mcs1 script and manpage to mono-mcs.
+      This changes are needed to get a default compiler target using a single
+      package that depends on the current default which is 2.0 (gmcs2).
+  * debian/System.Windows.Forms.dll.config:
+    + Added dll-map for libgdk_pixbuf-2.0.so
+  * debian/control:
+    + Improved many package descriptions by adding the names of the
+      libraries they contain with a brief description of what they do.
+  * debian/control
+    debian/mono-gac.install
+    debian/mono-{1,2}.0-gac.install:
+    + The default script "gacutil" is still shipped in mono-gac but
+      "gacutil1" and "gacutil2" are now in mono-1.0-gac and mono-2.0-gac.
+      mono-gac pulls in mono-2.0-gac by default.
+      This is needed to make a 2.0-only install possible.
+  * debian/control:
+    + Added mono-1.0-runtime and mono-2.0-runtime package, which pull in the
+      runtime stack of the specific runtime version in.
+      mono-runtime pulls in mono-2.0-runtime as the new default runtime.
+      This is needed to make a 2.0-only install possible.
+  * debian/libmono-dev.install:
+    + Added dotnet35.pc
+  * debian/mono-smcs.install:
+    + Added smcs.pc
+  * debian/control:
+    + s/meta package/metapackage/ as lintian says so.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 11 Nov 2008 00:21:27 +0100
--- mono-2.4.2.3+dfsg.orig/debian/libmono-peapi1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-peapi1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/PEAPI/1.0.*/
+debian/tmp/usr/lib/mono/1.0/PEAPI.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-messaging2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-messaging2.0-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/Mono.Messaging/2.0.0.0__*/
+/usr/lib/mono/2.0/Mono.Messaging.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-messaging1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-messaging1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.Messaging/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.Messaging.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-oracle2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-oracle2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/2.0.*/
+debian/tmp/usr/lib/mono/2.0/System.Data.OracleClient.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-devel.install
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-devel.install
@@ -0,0 +1,17 @@
+debian/tmp/usr/bin/al1
+debian/tmp/usr/bin/genxs1
+debian/tmp/usr/bin/ilasm1
+debian/tmp/usr/bin/mkbundle1
+debian/tmp/usr/bin/monop1
+debian/tmp/usr/bin/resgen1
+debian/tmp/usr/bin/wsdl1
+debian/tmp/usr/bin/xsd1
+debian/tmp/usr/lib/mono/1.0/al.exe
+debian/tmp/usr/lib/mono/1.0/genxs.exe
+debian/tmp/usr/lib/mono/1.0/ilasm.exe
+debian/tmp/usr/lib/mono/1.0/installutil.exe
+debian/tmp/usr/lib/mono/1.0/mkbundle.exe
+debian/tmp/usr/lib/mono/1.0/monop.exe
+debian/tmp/usr/lib/mono/1.0/resgen.exe
+debian/tmp/usr/lib/mono/1.0/wsdl.exe
+debian/tmp/usr/lib/mono/1.0/xsd.exe
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-ldap1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-ldap1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.DirectoryServices/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.DirectoryServices.dll
--- mono-2.4.2.3+dfsg.orig/debian/README.Debian
+++ mono-2.4.2.3+dfsg/debian/README.Debian
@@ -0,0 +1,107 @@
+Mono for Debian
+---------------
+
+1. Documentation can be found in the separated monodoc packages.
+
+2. Supported Processor Architectures for Mono 1.1.x (current)
+    JIT:
+    Linux/x86
+    Linux/AMD64
+    Linux/PPC
+    Linux/S390 (not functional)
+    Linux/ARM
+    Solaris/SPARC
+    
+    Interpreter (deprecated/unmaintained):
+    -
+
+   Supported Processor Architectures for Mono 1.0.x (old)
+    JIT:
+    Linux/x86
+    Linux/PPC
+    MacOS/PPC
+
+    Interpreter (deprecated/unmaintained):
+    Linux/x86
+    Linux/PPC
+    HP-UX/HPPA
+    S390
+    StrongARM
+    Solaris/SPARC
+    Solaris/SPARC v9
+ 
+3. Typical problems:
+3a.  Purge your ~/.wapi directory if you see messages like:
+
+     ** (/tmp/hello.exe:23770): WARNING **: Shared memory sanity check
+     failed.
+
+     ** (/tmp/hello.exe:23770): WARNING **: Failed to attach shared memory!
+     Falling back to non-shared handles
+
+     Reason:
+     02:00:00 < totte> .wapi is the shared memory file folder used to handle process.start and someother functions for our IO lib
+3b. Question: 
+    Mono does not work for me (wrong version of mscorlib reported) or
+    monodevelop breaks on start (MonoDevelop.Core.dll has incorrect
+    version...)
+    Answer:
+    Most likely you have compiled some old Mono version before and have
+    a funny mixture of upstream and Debian files in different versions.
+    Make sure that /usr/local does not appear in the output of the
+    following commands and remove the particular files in /usr/local/...:
+
+    which mono
+    which mint
+    ldd $(which mono)
+    ls /usr/local/lib/Mono*dll
+    ls /usr/local/lib/System*dll
+    ls /usr/local/lib/I18*dll
+    (and maybe most other dll files there)
+
+4. (for developers) 
+   The main coordination site of the maintainers is on
+   http://pkg-mono.alioth.debian.org/, more details can be found there.
+   CLI Policy for packaging Mono libraries/applications can be found on
+   http://pkg-mono.alioth.debian.org/cli-policy/
+   An offline version is in /usr/share/doc/cli-common/ of the the cli-common package.
+
+-----------------------------------------------------------------------------
+
+PS: Some comparisons (not real benchmarks!), testing different
+invocation methods:
+
+  The "native" method via exec, binfmt_misc, binfmpt-support (Perl
+  script), binfmt-detector-cli:
+
+time for x in `seq 1000` ; do ./hello.exe > /dev/null; done
+
+real    3m2.969s
+user    2m8.060s
+sys     0m14.540s
+
+  The shell wrapper method using mono:
+
+time for x in `seq 1000` ; do ./hello.sh > /dev/null; done
+
+real    2m43.146s
+user    1m45.990s
+sys     0m11.140s
+
+  Using "cli-wrapper" with a symlink:
+
+time for x in `seq 1000` ; do ./hello > /dev/null; done
+
+real    2m23.958s
+user    1m32.720s
+sys     0m9.640s
+
+  The "interpreter" method using mono:
+
+time for x in `seq 1000` ; do /usr/bin/cli ./hello.exe > /dev/null; done
+
+real    2m23.699s
+user    1m33.140s
+sys     0m8.920s
+
+ Eduard Bloch <blade@debian.org> -- Sat, 19 Jun 2004 02:28:40 +0200
--- mono-2.4.2.3+dfsg.orig/debian/libmono-db2-1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-db2-1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/IBM.Data.DB2/1.0.*/
+debian/tmp/usr/lib/mono/1.0/IBM.Data.DB2.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-gac.install
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-gac.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/gacutil2
+debian/tmp/usr/lib/mono/2.0/gacutil.exe
--- mono-2.4.2.3+dfsg.orig/debian/monodoc-base.install
+++ mono-2.4.2.3+dfsg/debian/monodoc-base.install
@@ -0,0 +1,17 @@
+/usr/bin/mdassembler
+/usr/bin/mdoc
+/usr/bin/mdoc-assemble
+/usr/bin/mdoc-export-html
+/usr/bin/mdoc-export-msxdoc
+/usr/bin/mdoc-update
+/usr/bin/mdoc-validate
+/usr/bin/mdvalidater
+/usr/bin/mod
+/usr/bin/monodocer
+/usr/bin/monodocs2html
+/usr/bin/monodocs2slashdoc
+/usr/lib/mono/1.0/mod.exe
+/usr/lib/mono/2.0/mdoc.exe
+/usr/lib/mono/gac/monodoc/
+/usr/lib/mono/monodoc/monodoc.dll
+/usr/lib/pkgconfig/monodoc.pc
--- mono-2.4.2.3+dfsg.orig/debian/mono-jay.docs
+++ mono-2.4.2.3+dfsg/debian/mono-jay.docs
@@ -0,0 +1,5 @@
+debian/tmp/usr/share/jay/ACKNOWLEDGEMENTS
+debian/tmp/usr/share/jay/NEW_FEATURES
+debian/tmp/usr/share/jay/NOTES
+debian/tmp/usr/share/jay/README
+debian/tmp/usr/share/jay/README.jay
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-runtime2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-runtime2.0-cil.install
@@ -0,0 +1,4 @@
+/usr/lib/mono/gac/System.Runtime.Remoting/2.0.0.0__*/
+/usr/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__*/
+/usr/lib/mono/2.0/System.Runtime.Remoting.dll
+/usr/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-winforms2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-winforms2.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/System.Windows.Forms/2.0.*/
+debian/tmp/usr/lib/mono/gac/System.Drawing.Design/2.0.*/
+debian/tmp/usr/lib/mono/gac/System.Design/2.0.*/
+debian/tmp/usr/lib/mono/2.0/System.Windows.Forms.dll
+debian/tmp/usr/lib/mono/2.0/System.Drawing.Design.dll
+debian/tmp/usr/lib/mono/2.0/System.Design.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-management2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-management2.0-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/Mono.Management/2.0.0.0__*/
+/usr/lib/mono/2.0/Mono.Management.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-microsoft-build2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-microsoft-build2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Microsoft.Build.*/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Microsoft.Build.*.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-posix2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-posix2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/2.0/Mono.Posix.dll
+debian/tmp/usr/lib/mono/gac/Mono.Posix/2.0.0.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/mono-gac.install
+++ mono-2.4.2.3+dfsg/debian/mono-gac.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/gacutil
+debian/MonoGetAssemblyName.exe /usr/share/mono/
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.manpages
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/man/man1/mono.1
+debian/tmp/usr/share/man/man5/mono-config.5
+debian/man/cli-wrapper.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-i18n-west2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-i18n-west2.0-cil.install
@@ -0,0 +1,4 @@
+/usr/lib/mono/gac/I18N/2.0.*/
+/usr/lib/mono/gac/I18N.West/2.0.*/
+/usr/lib/mono/2.0/I18N.dll
+/usr/lib/mono/2.0/I18N.West.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-relaxng1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-relaxng1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Commons.Xml.Relaxng.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-bytefx0.7.6.1-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-bytefx0.7.6.1-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.1*/
+debian/tmp/usr/lib/mono/1.0/ByteFX.Data.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-utils.prerm
+++ mono-2.4.2.3+dfsg/debian/mono-utils.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ]; then
+        update-alternatives --remove cil-disassembler /usr/bin/monodis
+fi
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/mono-devel.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-devel.manpages
@@ -0,0 +1,29 @@
+debian/tmp/usr/share/man/man1/al.1
+debian/man/caspol.1
+debian/tmp/usr/share/man/man1/cert2spc.1
+debian/tmp/usr/share/man/man1/certmgr.1
+debian/tmp/usr/share/man/man1/chktrust.1
+debian/tmp/usr/share/man/man1/cilc.1
+debian/tmp/usr/share/man/man1/disco.1
+debian/tmp/usr/share/man/man1/dtd2xsd.1
+debian/tmp/usr/share/man/man1/genxs.1
+debian/tmp/usr/share/man/man1/ilasm.1
+debian/tmp/usr/share/man/man1/macpack.1
+debian/tmp/usr/share/man/man1/makecert.1
+debian/tmp/usr/share/man/man1/mkbundle.1
+debian/tmp/usr/share/man/man1/mono-cil-strip.1
+debian/tmp/usr/share/man/man1/mono-shlib-cop.1
+debian/tmp/usr/share/man/man1/mono-xmltool.1
+debian/tmp/usr/share/man/man1/monolinker.1
+debian/tmp/usr/share/man/man1/monop.1
+debian/tmp/usr/share/man/man1/mozroots.1
+debian/tmp/usr/share/man/man1/permview.1
+debian/tmp/usr/share/man/man1/resgen.1
+debian/tmp/usr/share/man/man1/secutil.1
+debian/tmp/usr/share/man/man1/setreg.1
+debian/tmp/usr/share/man/man1/signcode.1
+debian/tmp/usr/share/man/man1/sn.1
+debian/tmp/usr/share/man/man1/soapsuds.1
+debian/tmp/usr/share/man/man1/sqlsharp.1
+debian/tmp/usr/share/man/man1/wsdl.1
+debian/tmp/usr/share/man/man1/xsd.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-ldap2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-ldap2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.DirectoryServices/2.0.*/
+debian/tmp/usr/lib/mono/2.0/System.DirectoryServices.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono2.0-cil.install
@@ -0,0 +1,10 @@
+debian/tmp/usr/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll
+debian/tmp/usr/lib/mono/2.0/Mono.Http.dll
+debian/tmp/usr/lib/mono/2.0/Mono.Web.dll
+debian/tmp/usr/lib/mono/2.0/OpenSystem.C.dll
+debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Http/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Web/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/OpenSystem.C/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/mono-service/2.0.0.0__*/
+debian/tmp/usr/lib/pkgconfig/mono.web.pc
--- mono-2.4.2.3+dfsg.orig/debian/cli.binfmt
+++ mono-2.4.2.3+dfsg/debian/cli.binfmt
@@ -0,0 +1,4 @@
+package mono-common
+detector /usr/lib/cli/binfmt-detector-cli
+interpreter /usr/bin/cli
+magic MZ
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-data2.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system-data2.0-cil.clideps-override
@@ -0,0 +1,2 @@
+suggests libgda2-3
+suggests libglib2.0-0
--- mono-2.4.2.3+dfsg.orig/debian/libmono-data-tds1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-data-tds1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Mono.Data.Tds.dll
--- mono-2.4.2.3+dfsg.orig/debian/MonoGetAssemblyName.cs
+++ mono-2.4.2.3+dfsg/debian/MonoGetAssemblyName.cs
@@ -0,0 +1,14 @@
+using System;
+using System.Reflection;
+
+public class GetAssemblyName
+{
+	public static void Main(string [] args)
+	{
+		if (args.Length == 0)
+			throw new Exception("You must supply an assembly name");
+
+		Assembly assembly = Assembly.LoadFile(args[0]);
+		Console.WriteLine("{0}", assembly.FullName);
+	}
+}
--- mono-2.4.2.3+dfsg.orig/debian/mono-mcs.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-mcs.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/mcs.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-getoptions1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-getoptions1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/1.0/Mono.GetOptions.dll
+debian/tmp/usr/lib/mono/gac/Mono.GetOptions/1.0.5000.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/mono-mcs.dirs
+++ mono-2.4.2.3+dfsg/debian/mono-mcs.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/mono/1.0
--- mono-2.4.2.3+dfsg.orig/debian/libmono-bytefx0.7.6.2-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-bytefx0.7.6.2-cil.clideps-override
@@ -0,0 +1 @@
+suggests libmono-winforms2.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/libmono-corlib2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-corlib2.0-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/mono/2.0/mscorlib.dll*
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.dirs
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/binfmts
+usr/share/dotnet
--- mono-2.4.2.3+dfsg.orig/debian/Mono.Cairo.dll.config
+++ mono-2.4.2.3+dfsg/debian/Mono.Cairo.dll.config
@@ -0,0 +1,3 @@
+<configuration>
+	<dllmap dll="libcairo-2.dll" target="libcairo.so.2"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/mono-api-diff.cs
+++ mono-2.4.2.3+dfsg/debian/mono-api-diff.cs
@@ -0,0 +1,1857 @@
+//
+// mono-api-diff.cs - Compares 2 xml files produced by mono-api-info and
+//		      produces a file suitable to build class status pages.
+//
+// Authors:
+//	Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//	Marek Safar				(marek.safar@gmail.com)
+//
+// (C) 2003 Novell, Inc (http://www.novell.com)
+//
+
+using System;
+using System.Collections;
+using System.IO;
+using System.Reflection;
+using System.Text;
+using System.Xml;
+
+namespace Mono.AssemblyCompare
+{
+	class Driver
+	{
+		static int Main (string [] args)
+		{
+			if (args.Length != 2) {
+				Console.WriteLine ("Usage: mono mono-api-diff.exe <assembly 1 xml> <assembly 2 xml>");
+				return 1;
+			}
+
+			XMLAssembly ms = CreateXMLAssembly (args [0]);
+			XMLAssembly mono = CreateXMLAssembly (args [1]);
+			XmlDocument doc = ms.CompareAndGetDocument (mono);
+
+			XmlTextWriter writer = new XmlTextWriter (Console.Out);
+			writer.Formatting = Formatting.Indented;
+			doc.WriteTo (writer);
+
+			return 0;
+		}
+
+		static XMLAssembly CreateXMLAssembly (string file)
+		{
+			XmlDocument doc = new XmlDocument ();
+			doc.Load (File.OpenRead (file));
+
+			XmlNode node = doc.SelectSingleNode ("/assemblies/assembly");
+			XMLAssembly result = new XMLAssembly ();
+			try {
+				result.LoadData (node);
+			} catch (Exception e) {
+				Console.Error.WriteLine ("Error loading {0}: {1}\n{2}", file, e.Message, e);
+				Environment.Exit (1);
+			}
+
+			return result;
+		}
+	}
+
+	class Counters
+	{
+		public int Present;
+		public int PresentTotal;
+		public int Missing;
+		public int MissingTotal;
+		public int Todo;
+		public int TodoTotal;
+
+		public int Extra;
+		public int ExtraTotal;
+		public int Warning;
+		public int WarningTotal;
+		public int ErrorTotal;
+
+		public Counters ()
+		{
+		}
+
+		public void AddPartialToPartial (Counters other)
+		{
+			Present += other.Present;
+			Extra += other.Extra;
+			Missing += other.Missing;
+
+			Todo += other.Todo;
+			Warning += other.Warning;
+			AddPartialToTotal (other);
+		}
+
+		public void AddPartialToTotal (Counters other)
+		{
+			PresentTotal += other.Present;
+			ExtraTotal += other.Extra;
+			MissingTotal += other.Missing;
+
+			TodoTotal += other.Todo;
+			WarningTotal += other.Warning;
+		}
+
+		public void AddTotalToPartial (Counters other)
+		{
+			Present += other.PresentTotal;
+			Extra += other.ExtraTotal;
+			Missing += other.MissingTotal;
+
+			Todo += other.TodoTotal;
+			Warning += other.WarningTotal;
+			AddTotalToTotal (other);
+		}
+
+		public void AddTotalToTotal (Counters other)
+		{
+			PresentTotal += other.PresentTotal;
+			ExtraTotal += other.ExtraTotal;
+			MissingTotal += other.MissingTotal;
+
+			TodoTotal += other.TodoTotal;
+			WarningTotal += other.WarningTotal;
+			ErrorTotal += other.ErrorTotal;
+		}
+
+		public int Total {
+			get { return Present + Missing; }
+		}
+
+		public int AbsTotal {
+			get { return PresentTotal + MissingTotal; }
+		}
+
+		public int Ok {
+			get { return Present - Todo; }
+		}
+
+		public int OkTotal {
+			get { return PresentTotal - TodoTotal - ErrorTotal; }
+		}
+
+		public override string ToString ()
+		{
+			StringWriter sw = new StringWriter ();
+			sw.WriteLine ("Present: {0}", Present);
+			sw.WriteLine ("PresentTotal: {0}", PresentTotal);
+			sw.WriteLine ("Missing: {0}", Missing);
+			sw.WriteLine ("MissingTotal: {0}", MissingTotal);
+			sw.WriteLine ("Todo: {0}", Todo);
+			sw.WriteLine ("TodoTotal: {0}", TodoTotal);
+			sw.WriteLine ("Extra: {0}", Extra);
+			sw.WriteLine ("ExtraTotal: {0}", ExtraTotal);
+			sw.WriteLine ("Warning: {0}", Warning);
+			sw.WriteLine ("WarningTotal: {0}", WarningTotal);
+			sw.WriteLine ("ErrorTotal: {0}", ErrorTotal);
+			sw.WriteLine ("--");
+			return sw.GetStringBuilder ().ToString ();
+		}
+	}
+
+	abstract class XMLData
+	{
+		protected XmlDocument document;
+		protected Counters counters;
+		bool haveWarnings;
+
+		public XMLData ()
+		{
+			counters = new Counters ();
+		}
+
+		public virtual void LoadData (XmlNode node)
+		{
+		}
+
+		protected object [] LoadRecursive (XmlNodeList nodeList, Type type)
+		{
+			ArrayList list = new ArrayList ();
+			foreach (XmlNode node in nodeList) {
+				XMLData data = (XMLData) Activator.CreateInstance (type);
+				data.LoadData (node);
+				list.Add (data);
+			}
+
+			return (object []) list.ToArray (type);
+		}
+
+		public static bool IsMeaninglessAttribute (string s)
+		{
+			if (s == null)
+				return false;
+			if (s == "System.Runtime.CompilerServices.CompilerGeneratedAttribute")
+				return true;
+			return false;
+		}
+
+		public static bool IsMonoTODOAttribute (string s)
+		{
+			if (s == null)
+				return false;
+			if (//s.EndsWith ("MonoTODOAttribute") ||
+			    s.EndsWith ("MonoDocumentationNoteAttribute") ||
+			    s.EndsWith ("MonoExtensionAttribute") ||
+//			    s.EndsWith ("MonoInternalNoteAttribute") ||
+			    s.EndsWith ("MonoLimitationAttribute") ||
+			    s.EndsWith ("MonoNotSupportedAttribute"))
+				return true;
+			return s.EndsWith ("TODOAttribute");
+		}
+
+		protected void AddAttribute (XmlNode node, string name, string value)
+		{
+			XmlAttribute attr = document.CreateAttribute (name);
+			attr.Value = value;
+			node.Attributes.Append (attr);
+		}
+
+		protected void AddExtra (XmlNode node)
+		{
+			//TODO: count all the subnodes?
+			AddAttribute (node, "presence", "extra");
+			AddAttribute (node, "ok", "1");
+			AddAttribute (node, "ok_total", "1");
+			AddAttribute (node, "extra", "1");
+			AddAttribute (node, "extra_total", "1");
+		}
+
+		public void AddCountersAttributes (XmlNode node)
+		{
+  			if (counters.Missing > 0)
+				AddAttribute (node, "missing", counters.Missing.ToString ());
+
+  			if (counters.Present > 0)
+				AddAttribute (node, "present", counters.Present.ToString ());
+
+  			if (counters.Extra > 0)
+				AddAttribute (node, "extra", counters.Extra.ToString ());
+
+  			if (counters.Ok > 0)
+				AddAttribute (node, "ok", counters.Ok.ToString ());
+
+  			if (counters.Total > 0) {
+				int percent = (100 * counters.Ok / counters.Total);
+				AddAttribute (node, "complete", percent.ToString ());
+			}
+
+  			if (counters.Todo > 0)
+				AddAttribute (node, "todo", counters.Todo.ToString ());
+
+  			if (counters.Warning > 0)
+				AddAttribute (node, "warning", counters.Warning.ToString ());
+
+  			if (counters.MissingTotal > 0)
+				AddAttribute (node, "missing_total", counters.MissingTotal.ToString ());
+
+  			if (counters.PresentTotal > 0)
+				AddAttribute (node, "present_total", counters.PresentTotal.ToString ());
+
+  			if (counters.ExtraTotal > 0)
+				AddAttribute (node, "extra_total", counters.ExtraTotal.ToString ());
+
+  			if (counters.OkTotal > 0)
+				AddAttribute (node, "ok_total", counters.OkTotal.ToString ());
+
+  			if (counters.AbsTotal > 0) {
+				int percent = (100 * counters.OkTotal / counters.AbsTotal);
+				AddAttribute (node, "complete_total", percent.ToString ());
+			}
+
+  			if (counters.TodoTotal > 0) {
+				AddAttribute (node, "todo_total", counters.TodoTotal.ToString ());
+				//TODO: should be different on error. check error cases in corcompare.
+				AddAttribute (node, "error_total", counters.Todo.ToString ());
+			}
+
+  			if (counters.WarningTotal > 0)
+				AddAttribute (node, "warning_total", counters.WarningTotal.ToString ());
+
+		}
+
+		protected void AddWarning (XmlNode parent, string fmt, params object [] args)
+		{
+			counters.Warning++;
+			haveWarnings = true;
+			XmlNode warnings = parent.SelectSingleNode ("warnings");
+			if (warnings == null) {
+				warnings = document.CreateElement ("warnings", null);
+				parent.AppendChild (warnings);
+			}
+
+			AddAttribute (parent, "error", "warning");
+			XmlNode warning = document.CreateElement ("warning", null);
+			AddAttribute (warning, "text", String.Format (fmt, args));
+			warnings.AppendChild (warning);
+		}
+
+		public bool HaveWarnings {
+			get { return haveWarnings; }
+		}
+		
+		public Counters Counters {
+			get { return counters; }
+		}
+		
+		public abstract void CompareTo (XmlDocument doc, XmlNode parent, object other);
+	}
+	
+	abstract class XMLNameGroup : XMLData
+	{
+		protected XmlNode group;
+		protected Hashtable keys;
+
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			if (node.Name != GroupName)
+				throw new FormatException (String.Format ("Expecting <{0}>", GroupName));
+
+			keys = new Hashtable ();
+			foreach (XmlNode n in node.ChildNodes) {
+				string name = n.Attributes ["name"].Value;
+				if (CheckIfAdd (name, n)) {
+					string key = GetNodeKey (name, n);
+					//keys.Add (key, name);
+					keys [key] = name;
+					LoadExtraData (key, n);
+				}
+			}
+		}
+
+		protected virtual bool CheckIfAdd (string value, XmlNode node)
+		{
+			return true;
+		}
+
+		protected virtual void LoadExtraData (string name, XmlNode node)
+		{
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+			if (group == null)
+				group = doc.CreateElement (GroupName, null);
+
+			Hashtable okeys = null;
+			if (other != null && ((XMLNameGroup) other).keys != null) {
+				okeys = ((XMLNameGroup) other).keys;
+			}
+
+			XmlNode node = null;
+			bool onull = (okeys == null);
+			if (keys != null) {
+				foreach (DictionaryEntry entry in keys) {
+					node = doc.CreateElement (Name, null);
+					group.AppendChild (node);
+					string key = (string) entry.Key;
+					string name = (string) entry.Value;
+					AddAttribute (node, "name", name);
+
+					if (!onull && HasKey (key, okeys)) {
+						CompareToInner (key, node, (XMLNameGroup) other);
+						okeys.Remove (key);
+						counters.Present++;
+					} else {
+						AddAttribute (node, "presence", "missing");
+						counters.Missing++;
+					}
+				}
+			}
+
+			if (!onull && okeys.Count != 0) {
+				foreach (string value in okeys.Values) {
+					node = doc.CreateElement (Name, null);
+					AddAttribute (node, "name", (string) value);
+					AddAttribute (node, "presence", "extra");
+					group.AppendChild (node);
+					counters.Extra++;
+				}
+			}
+
+			if (group.HasChildNodes)
+				parent.AppendChild (group);
+		}
+
+		protected virtual void CompareToInner (string name, XmlNode node, XMLNameGroup other)
+		{
+		}
+
+		public virtual string GetNodeKey (string name, XmlNode node)
+		{
+			return name;
+		}
+
+		public virtual bool HasKey (string key, Hashtable other)
+		{
+			return other.ContainsKey (key);
+		}
+
+		public abstract string GroupName { get; }
+		public abstract string Name { get; }
+	}
+
+	class XMLAssembly : XMLData
+	{
+		XMLAttributes attributes;
+		XMLNamespace [] namespaces;
+		string name;
+		string version;
+
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			name = node.Attributes ["name"].Value;
+			version = node.Attributes  ["version"].Value;
+			XmlNode atts = node.FirstChild;
+			attributes = new XMLAttributes ();
+			if (atts.Name == "attributes") {
+				attributes.LoadData (atts);
+				atts = atts.NextSibling;
+			}
+
+			if (atts == null || atts.Name != "namespaces") {
+				Console.Error.WriteLine ("Warning: no namespaces found!");
+				return;
+			}
+
+			namespaces = (XMLNamespace []) LoadRecursive (atts.ChildNodes, typeof (XMLNamespace));
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			XMLAssembly assembly = (XMLAssembly) other;
+
+			XmlNode childA = doc.CreateElement ("assembly", null);
+			AddAttribute (childA, "name", name);
+			AddAttribute (childA, "version", version);
+			if (name != assembly.name)
+				AddWarning (childA, "Assembly names not equal: {0}, {1}", name, assembly.name);
+
+			if (version != assembly.version)
+				AddWarning (childA, "Assembly version not equal: {0}, {1}", version, assembly.version);
+
+			parent.AppendChild (childA);
+
+			attributes.CompareTo (doc, childA, assembly.attributes);
+			counters.AddPartialToPartial (attributes.Counters);
+
+			CompareNamespaces (childA, assembly.namespaces);
+			if (assembly.attributes != null && assembly.attributes.IsTodo) {
+				counters.Todo++;
+				counters.TodoTotal++;
+				counters.ErrorTotal++;
+				AddAttribute (childA, "error", "todo");
+				if (assembly.attributes.Comment != null)
+					AddAttribute (childA, "comment", assembly.attributes.Comment);
+			}
+
+			AddCountersAttributes (childA);
+		}
+
+		void CompareNamespaces (XmlNode parent, XMLNamespace [] other)
+		{
+			ArrayList newNS = new ArrayList ();
+			XmlNode group = document.CreateElement ("namespaces", null);
+			parent.AppendChild (group);
+
+			Hashtable oh = CreateHash (other);
+			XmlNode node = null;
+			int count = (namespaces == null) ? 0 : namespaces.Length;
+			for (int i = 0; i < count; i++) {
+				XMLNamespace xns = namespaces [i];
+
+				node = document.CreateElement ("namespace", null);
+				newNS.Add (node);
+				AddAttribute (node, "name", xns.Name);
+
+				int idx = -1;
+				if (oh.ContainsKey (xns.Name))
+					idx = (int) oh [xns.Name];
+				XMLNamespace ons = idx >= 0 ? (XMLNamespace) other [idx] : null;
+				xns.CompareTo (document, node, ons);
+				if (idx >= 0)
+					other [idx] = null;
+				xns.AddCountersAttributes (node);
+				counters.Present++;
+				counters.PresentTotal++;
+				counters.AddPartialToTotal (xns.Counters);
+			}
+
+			if (other != null) {
+				count = other.Length;
+				for (int i = 0; i < count; i++) {
+					XMLNamespace n = other [i];
+					if (n == null)
+						continue;
+
+					node = document.CreateElement ("namespace", null);
+					newNS.Add (node);
+					AddAttribute (node, "name", n.Name);
+					AddExtra (node);
+					counters.ExtraTotal++;
+				}
+			}
+
+			XmlNode [] nodes = (XmlNode []) newNS.ToArray (typeof (XmlNode));
+			Array.Sort (nodes, XmlNodeComparer.Default);
+			foreach (XmlNode nn in nodes)
+				group.AppendChild (nn);
+		}
+
+		static Hashtable CreateHash (XMLNamespace [] other)
+		{
+			Hashtable result = new Hashtable ();
+			if (other != null) {
+				int i = 0;
+				foreach (XMLNamespace n in other) {
+					result [n.Name] = i++;
+				}
+			}
+
+			return result;
+		}
+
+		public XmlDocument CompareAndGetDocument (XMLAssembly other)
+		{
+			XmlDocument doc = new XmlDocument ();
+			this.document = doc;
+			XmlNode parent = doc.CreateElement ("assemblies", null);
+			doc.AppendChild (parent);
+			
+			CompareTo (doc, parent, other);
+
+			XmlNode decl = doc.CreateXmlDeclaration ("1.0", null, null);
+			doc.InsertBefore (decl, doc.DocumentElement);
+
+			return doc;
+		}
+	}
+
+	class XMLNamespace : XMLData
+	{
+		string name;
+		XMLClass [] types;
+
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			if (node.Name != "namespace")
+				throw new FormatException ("Expecting <namespace>");
+
+			name = node.Attributes  ["name"].Value;
+			XmlNode classes = node.FirstChild;
+			if (classes == null) {
+				Console.Error.WriteLine ("Warning: no classes for {0}", node.Attributes  ["name"]);
+				return;
+			}
+
+			if (classes.Name != "classes")
+				throw new FormatException ("Expecting <classes>. Got <" + classes.Name + ">");
+
+			types = (XMLClass []) LoadRecursive (classes.ChildNodes, typeof (XMLClass));
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+			XMLNamespace nspace = (XMLNamespace) other;
+
+			XmlNode childA = doc.CreateElement ("classes", null);
+			parent.AppendChild (childA);
+
+			CompareTypes (childA, nspace != null ? nspace.types : new XMLClass [0]);
+		}
+
+		void CompareTypes (XmlNode parent, XMLClass [] other)
+		{
+			ArrayList newNodes = new ArrayList ();
+			Hashtable oh = CreateHash (other);
+			XmlNode node = null;
+			int count = (types == null) ? 0 : types.Length;
+			for (int i = 0; i < count; i++) {
+				XMLClass xclass = types [i];
+
+				node = document.CreateElement ("class", null);
+				newNodes.Add (node);
+				AddAttribute (node, "name", xclass.Name);
+				AddAttribute (node, "type", xclass.Type);
+
+				int idx = -1;
+				if (oh.ContainsKey (xclass.Name))
+					idx = (int) oh [xclass.Name];
+				xclass.CompareTo (document, node, idx >= 0 ? other [idx] : new XMLClass ());
+				if (idx >= 0)
+					other [idx] = null;
+				counters.AddPartialToPartial (xclass.Counters);
+			}
+
+			if (other != null) {
+				count = other.Length;
+				for (int i = 0; i < count; i++) {
+					XMLClass c = other [i];
+					if (c == null || IsMonoTODOAttribute (c.Name))
+						continue;
+
+					node = document.CreateElement ("class", null);
+					newNodes.Add (node);
+					AddAttribute (node, "name", c.Name);
+					AddAttribute (node, "type", c.Type);
+					AddExtra (node);
+					counters.Extra++;
+					counters.ExtraTotal++;
+				}
+			}
+
+			XmlNode [] nodes = (XmlNode []) newNodes.ToArray (typeof (XmlNode));
+			Array.Sort (nodes, XmlNodeComparer.Default);
+			foreach (XmlNode nn in nodes)
+				parent.AppendChild (nn);
+		}
+
+		static Hashtable CreateHash (XMLClass [] other)
+		{
+			Hashtable result = new Hashtable ();
+			if (other != null) {
+				int i = 0;
+				foreach (XMLClass c in other) {
+					result [c.Name] = i++;
+				}
+			}
+
+			return result;
+		}
+
+		public string Name {
+			get { return name; }
+		}
+	}
+
+	class XMLClass : XMLData
+	{
+		string name;
+		string type;
+		string baseName;
+		bool isSealed;
+		bool isSerializable;
+		bool isAbstract;
+		string charSet;
+		string layout;
+		XMLAttributes attributes;
+		XMLInterfaces interfaces;
+		XMLGenericTypeConstraints genericConstraints;
+		XMLFields fields;
+		XMLConstructors constructors;
+		XMLProperties properties;
+		XMLEvents events;
+		XMLMethods methods;
+		XMLClass [] nested;
+		
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			name = node.Attributes ["name"].Value;
+			type = node.Attributes  ["type"].Value;
+			XmlAttribute xatt = node.Attributes ["base"];
+			if (xatt != null)
+				baseName = xatt.Value;
+
+			xatt = node.Attributes ["sealed"];
+			isSealed = (xatt != null && xatt.Value == "true");
+
+			xatt = node.Attributes ["abstract"];
+			isAbstract = (xatt != null && xatt.Value == "true");
+
+			xatt = node.Attributes["serializable"];
+			isSerializable = (xatt != null && xatt.Value == "true");
+
+			xatt = node.Attributes["charset"];
+			if (xatt != null)
+				charSet = xatt.Value;
+
+			xatt = node.Attributes["layout"];
+			if (xatt != null)
+				layout = xatt.Value;
+
+			XmlNode child = node.FirstChild;
+			if (child == null) {
+				// Console.Error.WriteLine ("Empty class {0} {1}", name, type);
+				return;
+			}
+				
+			if (child.Name == "attributes") {
+				attributes = new XMLAttributes ();
+				attributes.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "interfaces") {
+				interfaces = new XMLInterfaces ();
+				interfaces.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "generic-type-constraints") {
+				genericConstraints = new XMLGenericTypeConstraints ();
+				genericConstraints.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "fields") {
+				fields = new XMLFields ();
+				fields.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "constructors") {
+				constructors = new XMLConstructors ();
+				constructors.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "properties") {
+				properties = new XMLProperties ();
+				properties.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "events") {
+				events = new XMLEvents ();
+				events.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "methods") {
+				methods = new XMLMethods ();
+				methods.LoadData (child);
+				child = child.NextSibling;
+			}
+
+			if (child != null && child.Name == "generic-parameters") {
+				// HACK: ignore this tag as it doesn't seem to
+				// add any value when checking for differences
+				return;
+			}
+
+			if (child == null)
+				return;
+
+			if (child.Name != "classes") {
+				Console.WriteLine ("name: {0} type: {1} {2}", name, type, child.NodeType);
+				throw new FormatException ("Expecting <classes>. Got <" + child.Name + ">");
+			}
+
+			nested = (XMLClass []) LoadRecursive (child.ChildNodes, typeof (XMLClass));
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+			XMLClass oclass = (XMLClass) other;
+
+			if (attributes != null || oclass.attributes != null) {
+				if (attributes == null)
+					attributes = new XMLAttributes ();
+
+				attributes.CompareTo (doc, parent, oclass.attributes);
+				counters.AddPartialToPartial (attributes.Counters);
+				if (oclass.attributes != null && oclass.attributes.IsTodo) {
+					counters.Todo++;
+					counters.TodoTotal++;
+					counters.ErrorTotal++;
+					AddAttribute (parent, "error", "todo");
+					if (oclass.attributes.Comment != null)
+						AddAttribute (parent, "comment", oclass.attributes.Comment);
+				}
+			}
+
+			if (type != oclass.type)
+				AddWarning (parent, "Class type is wrong: {0} != {1}", type, oclass.type);
+
+			if (baseName != oclass.baseName)
+				AddWarning (parent, "Base class is wrong: {0} != {1}", baseName, oclass.baseName);
+
+			if (isAbstract != oclass.isAbstract || isSealed != oclass.isSealed) {
+				if ((isAbstract && isSealed) || (oclass.isAbstract && oclass.isSealed))
+					AddWarning (parent, "Should {0}be static", (isAbstract && isSealed) ? "" : "not ");
+				else if (isAbstract != oclass.isAbstract)
+					AddWarning (parent, "Should {0}be abstract", isAbstract ? "" : "not ");
+				else if (isSealed != oclass.isSealed)
+					AddWarning (parent, "Should {0}be sealed", isSealed ? "" : "not ");
+			}
+
+			if (isSerializable != oclass.isSerializable)
+				AddWarning (parent, "Should {0}be serializable", isSerializable ? "" : "not ");
+
+			if (charSet != oclass.charSet)
+				AddWarning (parent, "CharSet is wrong: {0} != {1}", charSet, oclass.charSet);
+
+			if (layout != oclass.layout)
+				AddWarning (parent, "Layout is wrong: {0} != {1}", layout, oclass.layout);
+
+			if (interfaces != null || oclass.interfaces != null) {
+				if (interfaces == null)
+					interfaces = new XMLInterfaces ();
+
+				interfaces.CompareTo (doc, parent, oclass.interfaces);
+				counters.AddPartialToPartial (interfaces.Counters);
+			}
+
+			if (genericConstraints != null || oclass.genericConstraints != null) {
+				if (genericConstraints == null)
+					genericConstraints = new XMLGenericTypeConstraints ();
+
+				genericConstraints.CompareTo (doc, parent, oclass.genericConstraints);
+				counters.AddPartialToPartial (genericConstraints.Counters);
+			}
+
+			if (fields != null || oclass.fields != null) {
+				if (fields == null)
+					fields = new XMLFields ();
+
+				fields.CompareTo (doc, parent, oclass.fields);
+				counters.AddPartialToPartial (fields.Counters);
+			}
+
+			if (constructors != null || oclass.constructors != null) {
+				if (constructors == null)
+					constructors = new XMLConstructors ();
+
+				constructors.CompareTo (doc, parent, oclass.constructors);
+				counters.AddPartialToPartial (constructors.Counters);
+			}
+
+			if (properties != null || oclass.properties != null) {
+				if (properties == null)
+					properties = new XMLProperties ();
+
+				properties.CompareTo (doc, parent, oclass.properties);
+				counters.AddPartialToPartial (properties.Counters);
+			}
+
+			if (events != null || oclass.events != null) {
+				if (events == null)
+					events = new XMLEvents ();
+
+				events.CompareTo (doc, parent, oclass.events);
+				counters.AddPartialToPartial (events.Counters);
+			}
+
+			if (methods != null || oclass.methods != null) {
+				if (methods == null)
+					methods = new XMLMethods ();
+
+				methods.CompareTo (doc, parent, oclass.methods);
+				counters.AddPartialToPartial (methods.Counters);
+			}
+
+			if (nested != null || oclass.nested != null) {
+				XmlNode n = doc.CreateElement ("classes", null);
+				parent.AppendChild (n);
+				CompareTypes (n, oclass.nested);
+			}
+
+			AddCountersAttributes (parent);
+		}
+
+		void CompareTypes (XmlNode parent, XMLClass [] other)
+		{
+			ArrayList newNodes = new ArrayList ();
+			Hashtable oh = CreateHash (other);
+			XmlNode node = null;
+			int count = (nested == null) ? 0 : nested.Length;
+			for (int i = 0; i < count; i++) {
+				XMLClass xclass = nested [i];
+
+				node = document.CreateElement ("class", null);
+				newNodes.Add (node);
+				AddAttribute (node, "name", xclass.Name);
+				AddAttribute (node, "type", xclass.Type);
+
+				if (oh.ContainsKey (xclass.Name)) {
+					int idx = (int) oh [xclass.Name];
+					xclass.CompareTo (document, node, other [idx]);
+					other [idx] = null;
+					counters.AddPartialToPartial (xclass.Counters);
+				} else {
+					// TODO: Should I count here?
+					AddAttribute (node, "presence", "missing");
+					counters.Missing++;
+					counters.MissingTotal++;
+				}
+			}
+
+			if (other != null) {
+				count = other.Length;
+				for (int i = 0; i < count; i++) {
+					XMLClass c = other [i];
+					if (c == null || IsMonoTODOAttribute (c.Name))
+						continue;
+
+					node = document.CreateElement ("class", null);
+					newNodes.Add (node);
+					AddAttribute (node, "name", c.Name);
+					AddAttribute (node, "type", c.Type);
+					AddExtra (node);
+					counters.Extra++;
+					counters.ExtraTotal++;
+				}
+			}
+
+			XmlNode [] nodes = (XmlNode []) newNodes.ToArray (typeof (XmlNode));
+			Array.Sort (nodes, XmlNodeComparer.Default);
+			foreach (XmlNode nn in nodes)
+				parent.AppendChild (nn);
+		}
+
+		static Hashtable CreateHash (XMLClass [] other)
+		{
+			Hashtable result = new Hashtable ();
+			if (other != null) {
+				int i = 0;
+				foreach (XMLClass c in other) {
+					result [c.Name] = i++;
+				}
+			}
+
+			return result;
+		}
+
+		public string Name {
+			get { return name; }
+		}
+
+		public string Type {
+			get { return type; }
+		}
+	}
+
+	class XMLParameter : XMLData
+	{
+		string name;
+		string type;
+		string attrib;
+		string direction;
+		bool isUnsafe;
+		bool isOptional;
+		string defaultValue;
+		XMLAttributes attributes;
+
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			if (node.Name != "parameter")
+				throw new ArgumentException ("Expecting <parameter>");
+
+			name = node.Attributes["name"].Value;
+			type = node.Attributes["type"].Value;
+			attrib = node.Attributes["attrib"].Value;
+			if (node.Attributes ["direction"] != null)
+				direction = node.Attributes["direction"].Value;
+			if (node.Attributes["unsafe"] != null)
+				isUnsafe = bool.Parse (node.Attributes["unsafe"].Value);
+			if (node.Attributes["optional"] != null)
+				isOptional = bool.Parse (node.Attributes["optional"].Value);
+			if (node.Attributes["defaultValue"] != null)
+				defaultValue = node.Attributes["defaultValue"].Value;
+
+			XmlNode child = node.FirstChild;
+			if (child == null)
+				return;
+
+			if (child.Name == "attributes") {
+				attributes = new XMLAttributes ();
+				attributes.LoadData (child);
+				child = child.NextSibling;
+			}
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+
+			XMLParameter oparm = (XMLParameter) other;
+
+			if (name != oparm.name)
+				AddWarning (parent, "Parameter name is wrong: {0} != {1}", name, oparm.name);
+
+			if (type != oparm.type)
+				AddWarning (parent, "Parameter type is wrong: {0} != {1}", type, oparm.type);
+			
+			if (attrib != oparm.attrib)
+				AddWarning (parent, "Parameter attributes wrong: {0} != {1}", attrib, oparm.attrib);
+
+			if (direction != oparm.direction)
+				AddWarning (parent, "Parameter direction wrong: {0} != {1}", direction, oparm.direction);
+
+			if (isUnsafe != oparm.isUnsafe)
+				AddWarning (parent, "Parameter unsafe wrong: {0} != {1}", isUnsafe, oparm.isUnsafe);
+
+			if (isOptional != oparm.isOptional)
+				AddWarning (parent, "Parameter optional wrong: {0} != {1}", isOptional, oparm.isOptional);
+
+			if (defaultValue != oparm.defaultValue)
+				AddWarning (parent, "Parameter default value wrong: {0} != {1}", (defaultValue == null) ? "(no default value)" : defaultValue, (oparm.defaultValue == null) ? "(no default value)" : oparm.defaultValue);
+
+			if (attributes != null || oparm.attributes != null) {
+				if (attributes == null)
+					attributes = new XMLAttributes ();
+
+				attributes.CompareTo (doc, parent, oparm.attributes);
+				counters.AddPartialToPartial (attributes.Counters);
+				if (oparm.attributes != null && oparm.attributes.IsTodo) {
+					counters.Todo++;
+					counters.TodoTotal++;
+					counters.ErrorTotal++;
+					AddAttribute (parent, "error", "todo");
+					if (oparm.attributes.Comment != null)
+						AddAttribute (parent, "comment", oparm.attributes.Comment);
+				}
+			}
+		}
+
+		public string Name {
+			get { return name; }
+		}
+	}
+
+	class XMLAttributeProperties: XMLNameGroup
+	{
+		static Hashtable ignored_properties;
+		static XMLAttributeProperties ()
+		{
+			ignored_properties = new Hashtable ();
+			ignored_properties.Add ("System.Reflection.AssemblyKeyFileAttribute", "KeyFile");
+			ignored_properties.Add ("System.Reflection.AssemblyCompanyAttribute", "Company");
+			ignored_properties.Add ("System.Reflection.AssemblyConfigurationAttribute", "Configuration");
+			ignored_properties.Add ("System.Reflection.AssemblyCopyrightAttribute", "Copyright");
+			ignored_properties.Add ("System.Reflection.AssemblyProductAttribute", "Product");
+			ignored_properties.Add ("System.Reflection.AssemblyTrademarkAttribute", "Trademark");
+			ignored_properties.Add ("System.Reflection.AssemblyInformationalVersionAttribute", "InformationalVersion");
+
+			ignored_properties.Add ("System.ObsoleteAttribute", "Message");
+			ignored_properties.Add ("System.IO.IODescriptionAttribute", "Description");
+			ignored_properties.Add ("System.Diagnostics.MonitoringDescriptionAttribute", "Description");
+		}
+
+		Hashtable properties = new Hashtable ();
+		string attribute;
+
+		public XMLAttributeProperties (string attribute)
+		{
+			this.attribute = attribute;
+		}
+
+		public override void LoadData(XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			if (node.ChildNodes == null)
+				return;
+
+			string ignored = ignored_properties [attribute] as string;
+
+			foreach (XmlNode n in node.ChildNodes) {
+				string name = n.Attributes ["name"].Value;
+				if (ignored == name)
+					continue;
+
+				if (n.Attributes ["null"] != null) {
+					properties.Add (name, null);
+					continue;
+				}
+				string value = n.Attributes ["value"].Value;
+				properties.Add (name, value);
+			}
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+
+			Hashtable other_properties = ((XMLAttributeProperties)other).properties;
+			foreach (DictionaryEntry de in other_properties) {
+				object other_value = properties [de.Key];
+
+				if (de.Value == null) {
+					if (other_value != null)
+						AddWarning (parent, "Property '{0}' is 'null' and should be '{1}'", de.Key, other_value);
+					continue;
+				}
+
+				if (de.Value.Equals (other_value))
+					continue;
+
+				AddWarning (parent, "Property '{0}' is '{1}' and should be '{2}'", 
+					de.Key, de.Value, other_value == null ? "null" : other_value);
+			}
+		}
+
+		public override string GroupName {
+			get {
+				return "properties";
+			}
+		}
+
+		public override string Name {
+			get {
+				return "";
+			}
+		}
+	}
+
+	class XMLAttributes : XMLNameGroup
+	{
+		Hashtable properties = new Hashtable ();
+
+		bool isTodo;
+		string comment;
+
+		protected override bool CheckIfAdd (string value, XmlNode node)
+		{
+			if (IsMonoTODOAttribute (value)) {
+				isTodo = true;
+
+				XmlNode pNode = node.SelectSingleNode ("properties");
+				if (pNode != null && pNode.ChildNodes.Count > 0 && pNode.ChildNodes [0].Attributes ["value"] != null) {
+					comment = pNode.ChildNodes [0].Attributes ["value"].Value;
+				}
+				return false;
+			}
+
+			return !IsMeaninglessAttribute (value);
+		}
+
+		protected override void CompareToInner (string name, XmlNode node, XMLNameGroup other)
+		{
+			XMLAttributeProperties other_prop = ((XMLAttributes)other).properties [name] as XMLAttributeProperties;
+			XMLAttributeProperties this_prop = properties [name] as XMLAttributeProperties;
+			if (other_prop == null || this_prop == null)
+				return;
+
+			this_prop.CompareTo (document, node, other_prop);
+			counters.AddPartialToPartial (this_prop.Counters);
+		}
+
+		public override string GetNodeKey (string name, XmlNode node)
+		{
+			string key = null;
+
+			// if multiple attributes with the same name (type) exist, then we 
+			// cannot be sure which attributes correspond, so we must use the
+			// name of the attribute (type) and the name/value of its properties
+			// as key
+			XmlNodeList attributes = node.ParentNode.SelectNodes("attribute[@name='" + name + "']");
+			if (attributes.Count > 1) {
+				ArrayList keyParts = new ArrayList ();
+
+				XmlNodeList properties = node.SelectNodes ("properties/property");
+				foreach (XmlNode property in properties) {
+					XmlAttributeCollection attrs = property.Attributes;
+					if (attrs["value"] != null) {
+						keyParts.Add (attrs["name"].Value + "=" + attrs["value"].Value);
+					} else {
+						keyParts.Add (attrs["name"].Value + "=");
+					}
+				}
+
+				// sort properties by name, as order of properties in XML is 
+				// undefined
+				keyParts.Sort ();
+
+				// insert name (type) of attribute
+				keyParts.Insert (0, name);
+
+				StringBuilder sb = new StringBuilder ();
+				foreach (string value in keyParts) {
+					sb.Append (value);
+					sb.Append (';');
+				}
+				key = sb.ToString ();
+			} else {
+				key = name;
+			}
+
+			return key;
+		}
+
+		protected override void LoadExtraData(string name, XmlNode node)
+		{
+			XmlNode pNode = node.SelectSingleNode ("properties");
+
+			if (IsMonoTODOAttribute (name)) {
+				isTodo = true;
+				if (pNode.ChildNodes [0].Attributes ["value"] != null) {
+					comment = pNode.ChildNodes [0].Attributes ["value"].Value;
+				}
+				return;
+			}
+
+			if (pNode != null) {
+				XMLAttributeProperties p = new XMLAttributeProperties (name);
+				p.LoadData (pNode);
+
+				properties[name] = p;
+			}
+		}
+
+		public override string GroupName {
+			get { return "attributes"; }
+		}
+
+		public override string Name {
+			get { return "attribute"; }
+		}
+
+		public bool IsTodo {
+			get { return isTodo; }
+		}
+
+		public string Comment {
+			get { return comment; }
+		}
+	}
+
+	class XMLInterfaces : XMLNameGroup
+	{
+		public override string GroupName {
+			get { return "interfaces"; }
+		}
+
+		public override string Name {
+			get { return "interface"; }
+		}
+	}
+
+	abstract class XMLGenericGroup : XMLNameGroup
+	{
+		string attributes;
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			attributes = ((XmlElement) node).GetAttribute ("generic-attribute");
+		}
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			base.CompareToInner (name, parent, other);
+
+			XMLGenericGroup g = (XMLGenericGroup) other;
+			if (attributes != g.attributes)
+				AddWarning (parent, "Incorrect generic attributes: '{0}' != '{1}'", attributes, g.attributes);
+		}
+	}
+
+	class XMLGenericTypeConstraints : XMLGenericGroup
+	{
+		public override string GroupName {
+			get { return "generic-type-constraints"; }
+		}
+
+		public override string Name {
+			get { return "generic-type-constraint"; }
+		}
+	}
+
+	class XMLGenericMethodConstraints : XMLGenericGroup
+	{
+		public override string GroupName {
+			get { return "generic-method-constraints"; }
+		}
+
+		public override string Name {
+			get { return "generic-method-constraint"; }
+		}
+	}
+
+	abstract class XMLMember : XMLNameGroup
+	{
+		Hashtable attributeMap;
+		Hashtable access = new Hashtable ();
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			XmlAttribute xatt = node.Attributes ["attrib"];
+			if (xatt != null)
+				access [name] = xatt.Value;
+			
+			XmlNode orig = node;
+
+			node = node.FirstChild;
+			while (node != null) {
+				if (node != null && node.Name == "attributes") {
+					XMLAttributes a = new XMLAttributes ();
+					a.LoadData (node);
+					if (attributeMap == null)
+						attributeMap = new Hashtable ();
+
+					attributeMap [name] = a;
+					break;
+				}
+				node = node.NextSibling;
+			}
+
+			base.LoadExtraData (name, orig);
+		}
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			base.CompareToInner (name, parent, other);
+			XMLMember mb = other as XMLMember;
+			XMLAttributes att = null;
+			XMLAttributes oatt = null;
+			if (attributeMap != null)
+				att = attributeMap [name] as XMLAttributes;
+
+			if (mb != null && mb.attributeMap != null)
+				oatt = mb.attributeMap [name] as XMLAttributes;
+
+			if (att != null || oatt != null) {
+				if (att == null)
+					att = new XMLAttributes ();
+
+				att.CompareTo (document, parent, oatt);
+				counters.AddPartialToPartial(att.Counters);
+				if (oatt != null && oatt.IsTodo) {
+					counters.Todo++;
+					counters.ErrorTotal++;
+					AddAttribute (parent, "error", "todo");
+					if (oatt.Comment != null)
+						AddAttribute (parent, "comment", oatt.Comment);
+				}
+			}
+
+			XMLMember member = (XMLMember) other;
+			string acc = access [name] as string;
+			if (acc == null)
+				return;
+
+			string oacc = null;
+			if (member.access != null)
+				oacc = member.access [name] as string;
+
+			string accName = ConvertToString (Int32.Parse (acc));
+			string oaccName = "";
+			if (oacc != null)
+				oaccName = ConvertToString (Int32.Parse (oacc));
+
+			if (accName != oaccName)
+				AddWarning (parent, "Incorrect attributes: '{0}' != '{1}'", accName, oaccName);
+		}
+
+		protected virtual string ConvertToString (int att)
+		{
+			return null;
+		}
+	}
+	
+	class XMLFields : XMLMember
+	{
+		Hashtable fieldTypes;
+		Hashtable fieldValues;
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			XmlAttribute xatt = node.Attributes ["fieldtype"];
+			if (xatt != null) {
+				if (fieldTypes == null)
+					fieldTypes = new Hashtable ();
+
+				fieldTypes [name] = xatt.Value;
+			}
+
+			xatt = node.Attributes ["value"];
+			if (xatt != null) {
+				if (fieldValues == null)
+					fieldValues = new Hashtable ();
+
+				fieldValues[name] = xatt.Value;
+			}
+
+			base.LoadExtraData (name, node);
+		}
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			base.CompareToInner (name, parent, other);
+			XMLFields fields = (XMLFields) other;
+			if (fieldTypes != null) {
+				string ftype = fieldTypes [name] as string;
+				string oftype = null;
+				if (fields.fieldTypes != null)
+					oftype = fields.fieldTypes [name] as string;
+
+				if (ftype != oftype)
+					AddWarning (parent, "Field type is {0} and should be {1}", oftype, ftype);
+			}
+			if (fieldValues != null) {
+				string fvalue = fieldValues [name] as string;
+				string ofvalue = null;
+				if (fields.fieldValues != null)
+					ofvalue = fields.fieldValues [name] as string;
+
+				if (fvalue != ofvalue)
+					AddWarning (parent, "Field value is {0} and should be {1}", ofvalue, fvalue);
+			}
+		}
+
+		protected override string ConvertToString (int att)
+		{
+			FieldAttributes fa = (FieldAttributes) att;
+			return fa.ToString ();
+		}
+
+		public override string GroupName {
+			get { return "fields"; }
+		}
+
+		public override string Name {
+			get { return "field"; }
+		}
+	}
+
+	class XMLParameters : XMLNameGroup
+	{
+		public override void LoadData (XmlNode node)
+		{
+			if (node == null)
+				throw new ArgumentNullException ("node");
+
+			if (node.Name != GroupName)
+				throw new FormatException (String.Format ("Expecting <{0}>", GroupName));
+
+			keys = new Hashtable ();
+			foreach (XmlNode n in node.ChildNodes) {
+				string name = n.Attributes["name"].Value;
+				string key = GetNodeKey (name, n);
+				XMLParameter parm = new XMLParameter ();
+				parm.LoadData (n);
+				keys.Add (key, parm);
+				LoadExtraData (key, n);
+			}
+		}
+
+		public override string GroupName {
+			get {
+				return "parameters";
+			}
+		}
+
+		public override string Name {
+			get {
+				return "parameter";
+			}
+		}
+
+		public override string GetNodeKey (string name, XmlNode node)
+		{
+			return node.Attributes["position"].Value;
+		}
+
+		public override void CompareTo (XmlDocument doc, XmlNode parent, object other)
+		{
+			this.document = doc;
+			if (group == null)
+				group = doc.CreateElement (GroupName, null);
+
+			Hashtable okeys = null;
+			if (other != null && ((XMLParameters) other).keys != null) {
+				okeys = ((XMLParameters) other).keys;
+			}
+
+			XmlNode node = null;
+			bool onull = (okeys == null);
+			if (keys != null) {
+				foreach (DictionaryEntry entry in keys) {
+					node = doc.CreateElement (Name, null);
+					group.AppendChild (node);
+					string key = (string) entry.Key;
+					XMLParameter parm = (XMLParameter) entry.Value;
+					AddAttribute (node, "name", parm.Name);
+
+					if (!onull && HasKey (key, okeys)) {
+						parm.CompareTo (document, node, okeys[key]);
+						counters.AddPartialToPartial (parm.Counters);
+						okeys.Remove (key);
+						counters.Present++;
+					} else {
+						AddAttribute (node, "presence", "missing");
+						counters.Missing++;
+					}
+				}
+			}
+
+			if (!onull && okeys.Count != 0) {
+				foreach (XMLParameter value in okeys.Values) {
+					node = doc.CreateElement (Name, null);
+					AddAttribute (node, "name", value.Name);
+					AddAttribute (node, "presence", "extra");
+					group.AppendChild (node);
+					counters.Extra++;
+				}
+			}
+
+			if (group.HasChildNodes)
+				parent.AppendChild (group);
+		}
+	}
+
+	class XMLProperties : XMLMember
+	{
+		Hashtable nameToMethod = new Hashtable ();
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			Counters copy = counters;
+			counters = new Counters();
+
+			XMLProperties oprop = other as XMLProperties;
+			if (oprop != null) {
+				XMLMethods m = nameToMethod [name] as XMLMethods;
+				XMLMethods om = oprop.nameToMethod [name] as XMLMethods;
+				if (m != null || om != null) {
+					if (m == null)
+						m = new XMLMethods ();
+
+					m.CompareTo(document, parent, om);
+					counters.AddPartialToPartial(m.Counters);
+				}
+			}
+
+			base.CompareToInner (name, parent, other);
+			AddCountersAttributes(parent);
+
+			copy.AddPartialToPartial(counters);
+			counters = copy;
+		}
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			XmlNode orig = node;
+			node = node.FirstChild;
+			while (node != null) {
+				if (node != null && node.Name == "methods") {
+					XMLMethods m = new XMLMethods ();
+					XmlNode parent = node.ParentNode;
+					string key = GetNodeKey (name, parent);
+					m.LoadData (node);
+					nameToMethod [key] = m;
+					break;
+				}
+				node = node.NextSibling;
+			}
+
+			base.LoadExtraData (name, orig);
+		}
+
+		public override string GetNodeKey (string name, XmlNode node)
+		{
+			XmlAttributeCollection atts = node.Attributes;
+			return String.Format ("{0}:{1}:{2}",
+					      (atts["name"]   != null ? atts["name"].Value   : ""),
+					      (atts["ptype"]  != null ? atts["ptype"].Value  : ""),
+					      (atts["params"] != null ? atts["params"].Value : "")
+					      );
+		}
+
+		public override string GroupName {
+			get { return "properties"; }
+		}
+
+		public override string Name {
+			get { return "property"; }
+		}
+	}
+
+	class XMLEvents : XMLMember
+	{
+		Hashtable eventTypes;
+		Hashtable nameToMethod = new Hashtable ();
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			XmlAttribute xatt = node.Attributes ["eventtype"];
+			if (xatt != null) {
+				if (eventTypes == null)
+					eventTypes = new Hashtable ();
+
+				eventTypes [name] = xatt.Value;
+			}
+
+			XmlNode child = node.FirstChild;
+			while (child != null) {
+				if (child != null && child.Name == "methods") {
+					XMLMethods m = new XMLMethods ();
+					XmlNode parent = child.ParentNode;
+					string key = GetNodeKey (name, parent);
+					m.LoadData (child);
+					nameToMethod [key] = m;
+					break;
+				}
+				child = child.NextSibling;
+			}
+
+			base.LoadExtraData (name, node);
+		}
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			Counters copy = counters;
+			counters = new Counters ();
+
+			try {
+				base.CompareToInner (name, parent, other);
+				AddCountersAttributes (parent);
+				if (eventTypes == null)
+					return;
+
+				XMLEvents evt = (XMLEvents) other;
+				string etype = eventTypes [name] as string;
+				string oetype = null;
+				if (evt.eventTypes != null)
+					oetype = evt.eventTypes [name] as string;
+
+				if (etype != oetype)
+					AddWarning (parent, "Event type is {0} and should be {1}", oetype, etype);
+
+				XMLMethods m = nameToMethod [name] as XMLMethods;
+				XMLMethods om = evt.nameToMethod [name] as XMLMethods;
+				if (m != null || om != null) {
+					if (m == null)
+						m = new XMLMethods ();
+
+					m.CompareTo (document, parent, om);
+					counters.AddPartialToPartial (m.Counters);
+				}
+			} finally {
+				AddCountersAttributes (parent);
+				copy.AddPartialToPartial (counters);
+				counters = copy;
+			}
+		}
+
+		protected override string ConvertToString (int att)
+		{
+			EventAttributes ea = (EventAttributes) att;
+			return ea.ToString ();
+		}
+
+		public override string GroupName {
+			get { return "events"; }
+		}
+
+		public override string Name {
+			get { return "event"; }
+		}
+	}
+
+	class XMLMethods : XMLMember
+	{
+		Hashtable returnTypes;
+		Hashtable parameters;
+		Hashtable genericConstraints;
+		Hashtable signatureFlags;
+
+		[Flags]
+		enum SignatureFlags
+		{
+			None = 0,
+			Abstract = 1,
+			Virtual = 2,
+			Static = 4,
+			Final = 8,
+		}
+
+		protected override void LoadExtraData (string name, XmlNode node)
+		{
+			XmlAttribute xatt = node.Attributes ["returntype"];
+			if (xatt != null) {
+				if (returnTypes == null)
+					returnTypes = new Hashtable ();
+
+				returnTypes [name] = xatt.Value;
+			}
+
+			SignatureFlags flags = SignatureFlags.None;
+			if (((XmlElement) node).GetAttribute ("abstract") == "true")
+				flags |= SignatureFlags.Abstract;
+			if (((XmlElement) node).GetAttribute ("static") == "true")
+				flags |= SignatureFlags.Static;
+			if (((XmlElement) node).GetAttribute ("virtual") == "true")
+				flags |= SignatureFlags.Virtual;
+			if (((XmlElement) node).GetAttribute ("final") == "true")
+				flags |= SignatureFlags.Final;
+			if (flags != SignatureFlags.None) {
+				if (signatureFlags == null)
+					signatureFlags = new Hashtable ();
+				signatureFlags [name] = flags;
+			}
+
+			XmlNode parametersNode = node.SelectSingleNode ("parameters");
+			if (parametersNode != null) {
+				if (parameters == null)
+					parameters = new Hashtable ();
+
+				XMLParameters parms = new XMLParameters ();
+				parms.LoadData (parametersNode);
+
+				parameters[name] = parms;
+			}
+
+			XmlNode genericNode = node.SelectSingleNode ("generic-method-constraints");
+			if (genericNode != null) {
+				if (genericConstraints == null)
+					genericConstraints = new Hashtable ();
+				XMLGenericMethodConstraints csts = new XMLGenericMethodConstraints ();
+				csts.LoadData (genericNode);
+				genericConstraints [name] = csts;
+			}
+
+			base.LoadExtraData (name, node);
+		}
+
+		public override string GetNodeKey (string name, XmlNode node)
+		{
+			// for explicit/implicit operators we need to include the return
+			// type in the key to allow matching; as a side-effect, differences
+			// in return types will be reported as extra/missing methods
+			//
+			// for regular methods we do not need to take into account the
+			// return type for matching methods; differences in return types
+			// will be reported as a warning on the method
+			if (name.StartsWith ("op_")) {
+				XmlAttribute xatt = node.Attributes ["returntype"];
+				string returnType = xatt != null ? xatt.Value + " " : string.Empty;
+				return returnType + name;
+			}
+			return name;
+		}
+
+		protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
+		{
+			// create backup of actual counters
+			Counters copy = counters;
+			// initialize counters for current method
+			counters = new Counters();
+
+			try {
+				base.CompareToInner(name, parent, other);
+				XMLMethods methods = (XMLMethods) other;
+
+				SignatureFlags flags = signatureFlags != null &&
+					signatureFlags.ContainsKey (name) ?
+					(SignatureFlags) signatureFlags [name] :
+					SignatureFlags.None;
+				SignatureFlags oflags = methods.signatureFlags != null &&
+					methods.signatureFlags.ContainsKey (name) ?
+					(SignatureFlags) methods.signatureFlags [name] :
+					SignatureFlags.None;
+
+				if (flags!= oflags) {
+					if (flags == SignatureFlags.None)
+						AddWarning (parent, String.Format ("should not be {0}", oflags));
+					else if (oflags == SignatureFlags.None)
+						AddWarning (parent, String.Format ("should be {0}", flags));
+					else
+						AddWarning (parent, String.Format ("{0} and should be {1}", oflags, flags));
+				}
+
+				if (returnTypes != null) {
+					string rtype = returnTypes[name] as string;
+					string ortype = null;
+					if (methods.returnTypes != null)
+						ortype = methods.returnTypes[name] as string;
+
+					if (rtype != ortype)
+						AddWarning (parent, "Return type is {0} and should be {1}", ortype, rtype);
+				}
+
+				if (parameters != null) {
+					XMLParameters parms = parameters[name] as XMLParameters;
+					parms.CompareTo (document, parent, methods.parameters[name]);
+					counters.AddPartialToPartial (parms.Counters);
+				}
+			} finally {
+				// output counter attributes in result document
+				AddCountersAttributes(parent);
+
+				// add temporary counters to actual counters
+				copy.AddPartialToPartial(counters);
+				// restore backup of actual counters
+				counters = copy;
+			}
+		}
+
+		protected override string ConvertToString (int att)
+		{
+			MethodAttributes ma = (MethodAttributes) att;
+			// ignore ReservedMasks
+			ma &= ~ MethodAttributes.ReservedMask;
+			ma &= ~ MethodAttributes.VtableLayoutMask;
+			if ((ma & MethodAttributes.FamORAssem) != 0)
+				ma = (ma & ~ MethodAttributes.FamORAssem) | MethodAttributes.Family;
+
+			// ignore the HasSecurity attribute for now
+			if ((ma & MethodAttributes.HasSecurity) != 0)
+				ma = (MethodAttributes) (att - (int) MethodAttributes.HasSecurity);
+
+			// ignore the RequireSecObject attribute for now
+			if ((ma & MethodAttributes.RequireSecObject) != 0)
+				ma = (MethodAttributes) (att - (int) MethodAttributes.RequireSecObject);
+
+			// we don't care if the implementation is forwarded through PInvoke 
+			if ((ma & MethodAttributes.PinvokeImpl) != 0)
+				ma = (MethodAttributes) (att - (int) MethodAttributes.PinvokeImpl);
+
+			return ma.ToString ();
+		}
+
+		public override string GroupName {
+			get { return "methods"; }
+		}
+
+		public override string Name {
+			get { return "method"; }
+		}
+	}
+
+	class XMLConstructors : XMLMethods
+	{
+		public override string GroupName {
+			get { return "constructors"; }
+		}
+
+		public override string Name {
+			get { return "constructor"; }
+		}
+	}
+
+	class XmlNodeComparer : IComparer
+	{
+		public static XmlNodeComparer Default = new XmlNodeComparer ();
+
+		public int Compare (object a, object b)
+		{
+			XmlNode na = (XmlNode) a;
+			XmlNode nb = (XmlNode) b;
+			return String.Compare (na.Attributes ["name"].Value, nb.Attributes ["name"].Value);
+		}
+	}
+}
+
--- mono-2.4.2.3+dfsg.orig/debian/libmono1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono1.0-cil.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/lib/mono/1.0/Mono.CompilerServices.SymbolWriter.dll
+debian/tmp/usr/lib/mono/1.0/Mono.Http.dll
+debian/tmp/usr/lib/mono/1.0/OpenSystem.C.dll
+debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Http/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/OpenSystem.C/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/mono-service/1.0.5000.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/libmono-corlib2.1-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-corlib2.1-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/mono/2.1/mscorlib.dll*
--- mono-2.4.2.3+dfsg.orig/debian/mono-gmcs.install
+++ mono-2.4.2.3+dfsg/debian/mono-gmcs.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/gmcs
+debian/tmp/usr/lib/mono/2.0/gmcs.exe*
--- mono-2.4.2.3+dfsg.orig/debian/mono-aot-wrapper
+++ mono-2.4.2.3+dfsg/debian/mono-aot-wrapper
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+# Description: This wrapper script pre-compiles (AOT) the passed assembly
+#              before executing it, and AOTs new assemblies in build output
+#              directory.
+
+export MONO_PATH
+
+DEBIAN_DIR=$(dirname $0)
+#MONO_DIR=$DEBIAN_DIR/..
+MONO_DIR=${DEBIAN_DIR/%\/debian}
+ASSEMBLY=$1
+
+#case $ASSEMBLY in
+#	*.dll | *.exe)
+#		if [ -f $ASSEMBLY -a ! -f "$ASSEMBLY.so" ]; then
+#			$MONO_DIR/runtime/mono-wrapper --aot $ASSEMBLY
+#		fi
+#	;;
+#esac
+           
+$MONO_DIR/runtime/mono-wrapper "$@"
+
+ASSEMBLIES_DIR=$MONO_DIR/mcs/class/lib
+ASSEMBLIES=$(find $ASSEMBLIES_DIR -name "*.dll" -or -name "*.exe")
+for ASSEMBLY in $ASSEMBLIES; do
+	ASSEMBLY_DIR=$(dirname $ASSEMBLY)
+	ASSEMBLY_NAME=$(basename $ASSEMBLY)
+	if [ ! -f "$ASSEMBLY.so" ]; then
+		#if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] ||
+		#   [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ] ||
+		#   [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1_tuned" ]; then
+		#   	# AOT for 2.0/2.1 is buggy and likes to crash
+		#	true
+		#elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then
+		#	# AOT for 2.0 runtime libs seems to work though
+		#	$MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY
+		#else
+		#	$MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY
+		#fi
+		
+		# only AOT basic / 1.0 bootstrap / 2.0 bootstrap
+		if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/basic" ] ||
+		   [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_1_1_bootstrap" ] ||
+		   [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then
+			$MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY
+		fi
+		
+		# always AOT libs used by the compilers
+		if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/default" ]; then
+			if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] ||
+			   [ "$ASSEMBLY_NAME" = "System.dll" ] ||
+			   [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then
+				$MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY
+			fi
+		fi
+		#elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] ||
+		#     [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ]; then
+		#	if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] ||
+		#	   [ "$ASSEMBLY_NAME" = "System.dll" ] ||
+		#	   [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then
+		#		MONO_PATH=$MONO_DIR/class/lib/net_2_0:$MONO_PATH $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY
+		#	fi
+		#fi
+	fi
+done
--- mono-2.4.2.3+dfsg.orig/debian/libmono-accessibility2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-accessibility2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Accessibility/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Accessibility.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system1.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system1.0-cil.clideps-override
@@ -0,0 +1,6 @@
+suggests libfam0
+suggests libgamin0
+suggests libx11-6
+suggests libcups2
+suggests libgdiplus
+suggests libmono-winforms1.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/libmono-firebirdsql1.7-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-firebirdsql1.7-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/
+debian/tmp/usr/lib/mono/2.0/FirebirdSql.Data.Firebird.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-dev.install
+++ mono-2.4.2.3+dfsg/debian/libmono-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/libmono.so
+debian/tmp/usr/lib/libmono.a
+debian/tmp/usr/lib/pkgconfig/mono.pc
+debian/tmp/usr/include/
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.install
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.install
@@ -0,0 +1,8 @@
+/usr/bin/mono
+/etc/mono/browscap.ini
+/etc/mono/config
+/etc/mono/1.0/
+/etc/mono/2.0/
+/usr/share/mono-1.0/mono/cil/cil-opcodes.xml
+/usr/lib/libMonoPosixHelper.so
+/usr/lib/libMonoSupportW.so
--- mono-2.4.2.3+dfsg.orig/debian/changelog.1
+++ mono-2.4.2.3+dfsg/debian/changelog.1
@@ -0,0 +1,1783 @@
+mono (1.9.1+dfsg-4) unstable; urgency=high
+
+  [ Mirco Bauer ]
+  * Added lpia to Architecture fields.
+    (to make Jo Shields more happy)
+  * debian/fix_Assembly.LoadFrom_deadlock.dpatch:
+    + Fixes deadlock in loading assemblies code like Assembly.LoadFrom(),
+      causing deadlocks (mostly) on SMP systems.
+      (patches taken from upstream SVN revisions: r105036, r105153, r113458,
+       r115451 and r115697) 
+
+  [ Jo Shields ]
+  * Add myself to Uploaders
+  * debian/patches/fix_sloppy_attribute_encode_CVE-2008-3422.dpatch:
+    + Fixes CVE-2008-3422, thus urgency set to high (Closes: #494406)
+  * debian/patches/fix_CRLF_injection_CVE-2008-3906.dpatch:
+    + Fixes CVE-2008-3906, thus urgency set to high (Closes: #498894)
+  * debian/patches/fix_IsolatedStorage_regression_r99231_r101171_r101172.dpatch:
+    + Fix regression in IsolatedStorage behaviour causing exceptions 
+      with subdirectories (Closes: #501505)
+  * debian/patches/fix_mono-config_man_page_r111681.dpatch:
+    + Fix minor manpage typo (Closes: #495624)
+  * debian/control:
+    + Tweak description of mono-xbuild package (Closes: #493478)
+  * debian/man/*:
+    + Update default manpage to point to correct URL for documentation
+      (Closes: #500771)
+
+ -- Jo Shields <directhex@apebox.org>  Mon, 13 Oct 2008 23:21:40 +0200
+
+mono (1.9.1+dfsg-3) unstable; urgency=medium
+
+  * debian/control
+    debian/rules
+    debian/libmono-nunit2.2-cil.install:
+    + Added libmono-nunit2.2-cil package needed by packages like monodevelop
+      and mono-tools, the nunit 2.4 API (libnunit2.4-cil) changed too much to
+      port these packages. (thus urgency set to medium)
+  * debian/shlibs.local:
+    + Updated for the Mono 1.9 release (forgot this in -1).
+  * debian/rules:
+    debian/libmono-system2.0-cil.install:
+    + Added System.Xml.Linq library but with the correct compiler-directory.
+      (Closes: #487996)
+  * debian/control:
+    + Added libdiplus to dependencies of libmono-system-web1.0-cil and
+      libmono-system-web2.0-cil as System.Web.UI.WebControls.WebColorConverter
+      invokes it (which is needed by most web applications). (Closes: #479683)
+    + Removed -1 revision of all Replaces lines with << as condition, as it's
+      useless and makes backports and Ubuntu integration easier.
+    + Added Conflicts on mono-classlib-{1,2}.0 (<< 1.1.13.6) and
+      mono-classlib-{1,2}.0-dbg to ensure they are removed on all systems and
+      the transition was finished long time ago.
+  * debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch:
+    Clear empty slots in keySlots and valueSlots. Otherwise the garbage
+    collector cannot reclaim the referenced key/value.
+    (patch taken from upstream SVN revision 102114)
+  * debian/patches/fix_TdsConnectionPool_svn.dpatch:
+    + Don't leak connections in the pool, would cause an infinitely timeout.
+    (patch taken from upstream SVN revisions 105424, 105432, 105433, 105719,
+     106448 and 107325)
+  * debian/libmono-system1.0-cil.clideps-override
+    debian/libmono-system2.0-cil.clideps-override:
+    + libcupsys2 package was renamed to libcups2, moving the dependeny on
+      libcups2 to suggests (as it was before).
+  * debian/rules:
+    + Removed --list-missing from dh_install call, it's useless in the current
+      implementation.
+  * debian/patches/fix-mono-nunit.pc.in.dpatch:
+    + Remove stupid relative path from prefix variable.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 05 Aug 2008 21:46:48 +0200
+
+mono (1.9.1+dfsg-2) unstable; urgency=medium
+
+  * Urgency set to medium as this release contains important bugfixes for
+    different architectures.
+  * debian/control:
+    + Added xdg-utils | libgnome2-0 | konqueror to suggests of mono-jit as
+      starting processes can make use of those if installed (to emulate
+      ShellExecute).
+  * debian/patches/fix_bound_checking_r98524_r98527.dpatch:
+    + Fixes bound checking caused SIGSEGV on AMD64 when building XSP.
+      (Closes: #486652, patch taken from upstream SVN revision 98524 and 98527)
+      (thanks to Jo Shields <directhex@apebox.org> for investigation and
+       providing the dpatch)
+  * debian/patches/fix_softfloat_r105848.dpatch:
+    + Fixed softfloat caused SIGABRT on armel when building banshee.
+      (Closes: #485112, patch taken from upstream SVN revision 105848)
+  * debian/patches/fix_stack_alignment_r105650_r105651.dpatch:
+    + Fixes stack alignment, caused assertions on AMD64. (Closes: #473119)
+      (patch taken from upstream SVN revision 105650 and 105651)
+  * debian/patches/fix_xen_support_r103474_r103475.dpatch:
+    + Fixes XEN support caused "4gb seg fixup" messages. (Closes: #481699)
+      (patch taken from upstream SVN revision 103474 and 103475)
+      (thanks to Andrew Deason <adeason2@uiuc.edu> for investigation and
+       providing the dpatch)
+  * debian/patches/99_autoreconf.dpatch:
+    + Updated
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 17 Jun 2008 23:59:52 +0200
+
+mono (1.9.1+dfsg-1) unstable; urgency=low
+
+  * DFSG version of Mono 1.9.1
+    + Deleted the mcs/class/System.Web.Extensions/ directory as
+      mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs
+      is licensed under Creative Commons Attribution 2.5 which is not
+      DFSG-free.
+  * New upstream release.
+  * debian/libmono1.0-cil.install:
+    + Added internal cecil.pc as mono-tools >= 1.9 needs it.
+  * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch:
+    + Updated
+  * debian/mono-api-check:
+    + Fixed bashism. (Closes: #471879)
+    + Implemented support to check APIs on .deb and .changes files.
+  * debian/rules:
+    + clilibs are now defined much more granularly now (per package).
+      Checked APIs of mono 1.2.2.1 vs 1.2.6 and 1.2.6 vs 1.9.
+    + Bumped clilibs of libmono-system-web2.0-cil to 1.9.1
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 22 Apr 2008 20:09:39 +0200
+
+mono (1.9+dfsg-3) unstable; urgency=low
+
+  * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch:
+    + Pass CPPFLAGS nicely to libgc, fixes FTBFS. (Closes: #475972)
+      (taken from upstream SVN revision 98803)
+  * debian/patches/99_autoreconf.dpatch:
+    + Updated
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 15 Apr 2008 22:26:39 +0200
+
+mono (1.9+dfsg-2) unstable; urgency=low
+
+  * Upload to unstable.
+  * debian/control:
+    + Fixed Vcs-Svn field.
+    + Cleaned up Uploaders field.
+  * debian/rules:
+    + Delete binaries missed by "make clean". (Closes: #424576)
+      (thanks to Sandro Tosi <matrixhasu@gmail.com> for the patch)
+  * debian/mono-common.preinst:
+    + Removed empty script.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 07 Apr 2008 22:11:03 +0200
+
+mono (1.9+dfsg-1) experimental; urgency=low
+
+  [ Mirco Bauer ]
+  * DFSG version of Mono 1.9
+    + Deleted the mcs/class/System.Web.Extensions/ directory as
+      mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs
+      is licensed under Creative Commons Attribution 2.5 which is not
+      DFSG-free.
+  * New upstream release.
+  * debian/rules:
+    + Bumped clilibs to 1.9
+  * debian/mono-api-check:
+    + Implemented -k switch to keep and inspect the XML diff file.
+    + Fixed application invocation.
+  * debian/patches/fix_threads.h.dpatch
+    debian/patches/fix_Mono.Cecil_linkage.dpatch
+    debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch:
+    + Removed, already applied upstream.
+  * debian/libmono2.0-cil.install:
+    + Added Mono.Web.dll
+  * debian/control
+    debian/libmono-mozilla0.1-cil.install
+    debian/libmono-mozilla0.2-cil.install:
+    + Renamed libmono-mozilla0.1-cil to libmono-mozilla0.2-cil, as the assembly
+      version (ABI) was bumped from 0.1 to 0.2.
+
+  [ Sebastian Dröge ]
+  * debian/patches/method-signature-testing.dpatch:
+    + Patch from upstream SVN to fix db4o build failure with cecil 0.6,
+      improves checking of method signatures.
+  * debian/rules:
+    + Put CFLAGS into "" to make the shell happy and fix FTBFS.
+    + Set default CFLAGS to -O2 -g.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 04 Feb 2008 22:11:53 +0100
+
+mono (1.2.6+dfsg-6) unstable; urgency=high
+
+  * debian/mono-mcs.postinst
+    debian/mono-1.0-devel.postinst:
+    + Moved alternatives handling for cli-sn, cli-resgen and cli-al from
+      mono-mcs to mono-1.0-devel, as mono-1.0-devel ships those applications
+      (since mono 1.2.6+dfsg-1). (Closes: #460513)
+      This caused FTBS for different source packages that didn't explicitly
+      build-depend on mono-mcs, thus urgency set to high.
+      (Thanks to Laurent Bigonville <bigon@bigon.be> for the investigation)
+  * debian/mono-utils.postint
+    debian/mono-utils.postinst:
+    + Fixed file name.
+  * debian/control:
+    + Added libmono-dev and pkg-config to recommends of mono-{1,2}.0-devel, as
+      mkbundle(2) uses pkg-config and needs mono.pc.
+  * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch
+    debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch
+    + Replaced ppc_disable_delegate_trampoline_optimization with
+      ppc_fix_flushing_of_icache_r92014, as that one fixes instead of
+      workarounds the PPC SIGILL issue (taken from upstream's SVN).
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 04 Feb 2008 20:57:20 +0100
+
+mono (1.2.6+dfsg-5) unstable; urgency=low
+
+  * debian/rules:
+    + Reverted the changed target dependecies, which caused no patches being
+      applied anymore. Thus the fix_implicit_pointer_conversions patch for IA64
+      is applied again. (Closes: #457868)
+
+ -- Mirco Bauer <meebey@debian.org>  Thu, 27 Dec 2007 20:54:20 +0100
+
+mono (1.2.6+dfsg-4) unstable; urgency=low
+
+  * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch:
+    + Disables delegate trampoline code for PPC, fixes instant SIGILL runtime
+      crashes for every invoked application (as seen in PPC build logs of
+      gtk-sharp2, gnome-sharp2 or beagle).
+  * debian/patches/fix_threads.h.dpatch:
+    + Don't include threads-type.h in threads.h and moved functions to the
+      correct header, fixes compiling of OpenOffice.org's Mono bridge.
+      (taken from upstream SVN revision 91687 + 91817)
+  * debian/rules:
+    + Make sure -j1 is passed to make, Mono's build system doesn't like -j > 1.
+
+ -- Mirco Bauer <meebey@debian.org>  Wed, 26 Dec 2007 23:29:28 +0100
+
+mono (1.2.6+dfsg-3) unstable; urgency=low
+
+  * debian/rules:
+    + Pass -D to cli.binfmt install call, makes it not failing on archs that
+      are not listed in debian/control.
+      (thanks to Emanuele Rocca <ema@debian.org> for the hint)
+    + Enhanced "make distclean" error handling, making lintian happy.
+  * debian/libmono-system-messaging{1,2}.0-cil.clideps-override
+    debian/libmono-bytefx0.7.6.{1,2}-cil.clideps-override:
+    + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in
+      System.Windows.Forms for designer classes (which are only used by VS.NET)
+  * debian/patches/fix_implicit_pointer_conversions.dpatch:
+    + Fixed implicit pointer conversions by including a missing header, which
+      caused FTBFS on IA64.
+  * debian/control:
+    + Added Homepage, Vcs-Svn and Vcs-Browser fields.
+    + Updated Standards-Version to 3.7.3, no changes needed.
+    + Changed Section of libmono-dev to libmono-dev.
+    + Added Suggests (using cli:Suggests) fields for
+      libmono-system-messaging{1,2}.0-cil and libmono-bytefx0.7.6.{1,2}-cil.
+    + Use cli:Depends for libmono-bytefx0.7.6.{1,2}-cil instead of manual
+      dependencies.
+  * debian/NEWS:
+    + Fixed typo and indention.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 25 Dec 2007 13:40:33 +0100
+
+mono (1.2.6+dfsg-2) unstable; urgency=low
+
+  * The "Welcome SPARC and S390 Users!" release
+  * debian/mono-2.0-devel.install
+    debian/mono-2.0-devel.manpages:
+    + Added mconfig
+  * debian/control:
+    + Added sparc and s390 to Architecture fields. (Closes: #332511, #377584)
+      (as the last 3 feature-releases of Mono were able to build on sparc, and
+       upstream is getting sparc port contributions again, it should be safe
+       to enable sparc now)
+    + Added Replaces << mono-common 1.2.6+dfsg-2 to mono-2.0-devel, as
+      /etc/mono/mconfig/ was moved to mono-2.0-devel.
+  * debian/libmono-system{1,2}.0-cil.clideps-override:
+    + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in
+      System.Windows.Forms for designer classes (which are only used by VS.NET)
+  * debian/patches/g_thread_init.dpatch:
+    + Dropped, already applied upstream.
+        
+ -- Mirco Bauer <meebey@debian.org>  Fri, 21 Dec 2007 01:35:40 +0100
+
+mono (1.2.6+dfsg-1) unstable; urgency=low
+
+  * DFSG version of Mono 1.2.6
+    + Deleted mcs/class/System.Web.Extensions/System.Web.Script.Serialization/
+      JSON/* as those source files are licensed under Creative Commons
+      Attribution 2.5 which is not DFSG-free.
+  * New upstream release
+    + Invoking GetFields on emitted type doesn't crash anymore, as seen with
+      nemerle. (Closes: #452585)
+  * debian/rules:
+    + Updated MONO_API to 1.2.6
+    + Enabled moonlight support in configure call.
+    + Removed all "rm debian/tmp/usr/lib/mono/gac/"... calls, instead list
+      libraries explicitly in .install files.
+      (this is pretty error prone when upstream introduces new libraries and
+       the rm list became way too long)
+    + Copy various 1.0 manpages to 2.0 manpages for missing 2.0 manpages.
+    + Remove +dfsg part in upstream version detection (UPVERSION variable).
+  * debian/control:
+    + Added new packages (mono-mcs/gmcs needed to be split as some parts of the
+      runtime relies on the compiler, like the XmlSerializer class):
+      - mono-mcs was split to: mono-1.0-devel and mono-1.0-service.
+        (monolinker.exe is now shipped part of mono-1.0-devel, Closes: #443833)
+      - mono-gmcs was split to: mono-2.0-devel, mono-2.0-service and
+        mono-xbuild.
+      - mono-smcs, containing the new compiler for moonlight/silverlight
+        applications.
+      - libmono-corlib2.1-cil and libmono-system2.1-cil, containing the
+        moonlight/silverlight runtime libraries.
+      - libmono-db2-1.0-cil, containing IBM DB2 database connector.
+      - libmono-mozilla0.1-cil, containing the WebControl implementation using
+        the Mozilla engine.
+      - libmono-i18n1.0-cil and libmono-i18n2.0-cil, containing I18N libraries
+        with code page definitions, moved from libmono-corlib{1,2}.0-cil.
+      - prj2make-sharp, upstream moved distribution of prj2make-sharp to Mono.
+    + libmono-corlib{1,2}.0-cil recommends libmono-i18n{1,2}.0-cil now.
+    + Removed mono and mono-devel meta packages, as they are not useful for
+      anyone.
+  * debian/dh_clideps:
+    + Synced from cli-common 0.5.3, needed for CLI 2.1 support.
+  * debian/patches/00list:
+    + Disabled armel_fix_configure_fpu_check.dpatch
+      (FPU check is fixed upstream)
+  * debian/patches/kfreebsd_support.dpatch:
+    + Updated (and re-autoconfed)
+  * debian/patches/fix-mono.pc.in.dpatch:
+    + Updated
+  * debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch:
+    + Removed, already applied upstream.
+  * debian/patches/fix_Mono.Cecil_linkage.dpatch:
+    + Link Mono.Cecil(.Mdb) against CLI 1.0 instead of 2.0, patch taken from
+      upstream.
+  * debian/libmono1.0-cil.install:
+    + Added Mono.Cecil.dll and Mono.Cecil.Mdb.dll.
+  * debian/update-shlibs.local.sh:
+    + Wrote this script to ease updating the debian/shlibs.local file.
+  * debian/shlibs.local:
+    + Updated
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 16 Dec 2007 15:44:33 +0100
+
+mono (1.2.5.1-2) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/mono.runtime-script:
+      - When removing GAC libraries, output the assembly name correctly on
+        errors.
+    + debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch:
+      - Fixes CVE-2007-5197, thus urgency set to high.
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 04 Nov 2007 15:34:08 +0100
+
+mono (1.2.5.1-1) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + New upstream (bugfix) release. (Closes: #443468)
+    + debian/System.Windows.Forms.dll.config:
+      - Added libX11 and libXcursor.
+
+ -- Mirco Bauer <meebey@debian.org>  Sat, 22 Sep 2007 19:33:05 +0200
+
+mono (1.2.5-3) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch:
+      - Fixes crash bug on PPC for all applications that use DBus,
+        thus setting urgency to high. (Closes: #437452, #441795, #441879)
+        (Thanks to Bram Senders <bram@luon.net> for testing the patch)
+
+ -- Mirco Bauer <meebey@debian.org>  Thu, 13 Sep 2007 21:44:16 +0200
+
+mono (1.2.5-2) unstable; urgency=medium
+
+  * Sebastian 'slomo' Dröge:
+    + debian/FirebirdSql.Data.Firebird.dll.config,
+      debian/shlibs.local:
+      - Use libfbclient2 instead of old and to be removed libfbclient1.
+        Thanks to Damyan Ivanov <dmn@debian.org> for the
+        patch (Closes: #440850).
+    + debian/changelog:
+      - Use urgency=medium because of the RC bugfix.
+
+ -- Sebastian Dröge <slomo@debian.org>  Wed, 05 Sep 2007 07:02:15 +0200
+
+mono (1.2.5-1) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + New upstream release
+    + debian/watch:
+      - Updated
+    + debian/rules:
+      - Bumped MONO_API to 1.2.5
+    + debian/patches/kfreebsd_support.dpatch
+      debian/patches/armel_fix_configure_fpu_check.dpatch:
+      - Updated (re-autoconfed)
+      - Updated
+    + debian/patches/ppc_fix_memory_corruption_r81413.dpatch:
+      debian/patches/fix_delegate_memory_leak_r79001.dpatch
+      debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch:
+      - Removed, already applied upstream.
+    + debian/mono-utils.install
+      debian/mono-utils.manpages:
+      - Removed monodiet as removed by upstream
+    + debian/man/resgen.1:
+      - Removed, supplied upstream.
+    + debian/mono-mcs.manpages:
+      - Added monolinker.1
+      - Updated resgen.1
+    + debian/mono-mcs.manpages
+      debian/mono-mjs.manpages:
+      - Moved mono-mjs.1 manpage to mono-mjs package.
+    + debian/control:
+      - Added "Replaces" for mono-mjs.1 move to mono-mjs package.
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 02 Sep 2007 21:36:13 +0200
+
+mono (1.2.4-6) unstable; urgency=medium
+
+  * Mirco 'meebey' Bauer:
+    + debian/patches/kfreebsd_support.dpatch:
+      - Patch configure script too, as we are not re-autogening.
+        This made kfreebsd-* FTBFS.
+    + Urgency set to medium, as the last upload fixes an important crash
+      bug (#428190) for PPC.
+      
+ -- Mirco Bauer <meebey@debian.org>  Thu, 09 Aug 2007 19:36:21 +0200
+
+mono (1.2.4-5) unstable; urgency=low
+
+  * The "there is more than Linux and X86" release
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Replaced ${Source-Version} with ${source:Version} and ${binary:Version}
+    + debian/patches/ppc_fix_memory_corruption_r81413.dpatch:
+      - Fix memory corruption on PPC, caused all Gtk# programs to crash.
+        Patch taken from upstream SVN.
+        (Closes: #428209, #430614, #427934, #428190, #429685)
+        (Thanks to Wouter Verhelst for testing the patch)
+    + debian/patches/armel_fix_configure_fpu_check.dpatch:
+      - Detect FPU correctly. (Closes: #430582)
+        (Thanks to Riku Voipio <riku.voipio@iki.fi> for the patch)
+    + debian/patches/fix_delegate_memory_leak_r79001.dpatch:
+      - Fix memory leak for delegates passed to unmanaged land, taken from
+        upstream SVN. (Closes: #428781)
+        (Thanks to Chris Howie <cdhowie@nerdshack.com> for investigation)
+    + debian/patches/kfreebsd_support.dpatch:
+      - Updated, added support for kfreebsd-amd64
+    + debian/rules:
+      - Use softfloat on armel.
+  * Sebastian 'slomo' Dröge:
+    + debian/patches/armel_fix_configure_fpu_check.dpatch:
+      - Regenerate configure for the change.
+
+ -- Mirco Bauer <meebey@debian.org>  Sat, 21 Jul 2007 15:48:05 +0200
+
+mono (1.2.4-4) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/rules:
+      - Use pthread for arm/armeb/armel, should fix FTBFS for ARM.
+  * Sebastian 'slomo' Dröge:
+    + debian/patches/g_thread_init.dpatch:
+      - Call g_thread_init() as early as possible as this is required for newer
+        glib versions. See:
+        http://bugzilla.ximian.com/show_bug.cgi?id=81862
+        http://bugzilla.gnome.org/show_bug.cgi?id=331853
+        Patch from upstream SVN, rev. 78018.
+
+ -- Mirco Bauer <meebey@debian.org>  Wed, 13 Jun 2007 01:31:55 +0200
+
+mono (1.2.4-3) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/rules:
+      - Enable sigaltstack only for i386 and amd64, fixes FTBFS for ia64 and
+        possibly other archs.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 29 May 2007 22:54:24 +0200
+
+mono (1.2.4-2) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/patches/00list:
+      - Disabled dont_remap_non-runtime_libs patch, has side effects
+        and breaks banshee, means applications using libmono-cairo{1,2}.0-cil
+        running on CLR 2.0 need again to depend on the 2.0 version explicitly
+    + debian/rules:
+      - Call dh_strip in binary-arch target, else mono-utils binaries have
+        debugging symbols.
+    + debian/control:
+      - Strictly depend on upstream version for assemblies doing ICalls
+        (internal calls into the runtime implementation).
+  * Sebastian 'slomo' Dröge:
+    + debian/rules:
+      - Set executable bit on dh_clistrip and the other debhelper scripts
+        to fix FTBFS.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 28 May 2007 16:18:53 +0200
+
+mono (1.2.4-1) unstable; urgency=medium
+
+  * The clean me harder and be nicer to embedded devices upload
+  * Mirco 'meebey' Bauer:
+    + New upstream release
+      - Fixes endian problem with UDP multicasts (Closes: #406909)
+    + debian/patches/dont_remap_non-runtime_libs.dpatch:
+      - Don't remap referenced versions for libraries that are not part of the
+        runtime (like Npgsql, Novell.Directory.Ldap and Mono.* specially
+        Mono.Cairo) because that makes predictable dependency tracking
+        impossible for such libraries and is pretty insane as the remapped
+        version must be 100% ABI compatible.
+        This caused FTBFS for applications using Gtk# (which uses Mono.Cairo
+        version 1.0) but runs and compiles (gmcs) under CLR 2.0.
+        (Closes: #425194)
+    + debian/control:
+      - New package mono-dbg, containing all debug sybols (*.mdb), which is
+        27 MB for all libraries and applications of the mono source package.
+        This new package should make specially embedded device users happy.
+      - New package mono-jit-dbg, unstripped mono-jit
+      - New package libmono0-dbg, unstripped libmono0
+      - Add libgdiplus dependency to libmono-winforms{1,2}.0-cil, as it's only
+        indirectly used via System.Drawing of libmono-system{1,2}.0-cil, which
+        only suggests libgdiplus.
+    + debian/rules:
+      - Bumped MONO_API to 1.2.4
+      - Install Mono.Data.Sqlite.dll.config
+      - Enabled sigaltstack in ./configure call, since we use __thread / NPTL.
+      - Call debian/dh_clifixperms in binary-indep target
+      - Call debian/dh_clistrip in binary-indep target
+    + debian/libmono-sqlite{1,2}.0-cil.install:
+      - Added Mono.Data.Sqlite.dll
+    + debian/libmono-dev.install:
+      - Added dotnet.pc
+    + debian/patches/fix-mono.pc.in.dpatch
+      debian/patches/fix-mono-cairo.pc.in.dpatch:
+      - Replace ../../ with @prefix@
+    + debian/mono-gmcs.install:
+      - Added httpcfg and mono-api-info2
+    + debian/libmono-system1.0-cil.clideps-override:
+      - Move libcupsys2 to Suggests.
+      - Move libgdiplus to Suggests.
+    + debian/libmono-system-data{1,2}.0-cil.clideps-override:
+      - Move libglib2.0-0 to Suggests.
+    + debian/libmono-winforms{1,2}.0-cil.clideps-override:
+      - Move libglib2.0-0 to Suggests.
+    + debian/dh_clifixperms:
+      - Copied from cli-common-dev
+    + debian/dh_clistrip:
+      - Copied from cli-common-dev
+    + debian/shlibs.local:
+      - Added libgda-2
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 21 May 2007 01:04:08 +0200
+
+mono (1.2.3.1-5) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Added Conflicts: mono-utils (<< 1.2.3.1-4) to libmono0, to aid partial
+        upgrade of Mono from etch to lenny or sid, thanks to Rene Engelhard for
+        the hints. (really Closes: #412970)
+      - Moved binfmt-support dependency to recommends. (Closes: #418765)
+        The mono-common.postinst and mono-common.prerm scripts already checks
+        if binfmt-support is actually installed.
+      - Updated to use my Debian email address now.
+
+ -- Mirco Bauer <meebey@debian.org>  Mon, 16 Apr 2007 01:12:04 +0200
+
+mono (1.2.3.1-4) unstable; urgency=low
+
+  * Upload to unstable
+  * Sebastian 'slomo' Dröge:
+    + debian/control:
+      - Let mono-utils depend on exactly the same upstream version of libmono0
+        that it was build with and remove the other workarounds for bug #412970
+        as this is now the correct fix. Thanks to Mirco Bauer for investigating
+      - Add armel to architectures
+    + debian/rules:
+      - The shlibs file of libmono0 now contains >= $UPVERSION
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 15 Apr 2007 21:06:21 +0200
+
+mono (1.2.3.1-3) experimental; urgency=low
+
+  * Sebastian 'slomo' Dröge:
+    + debian/control:
+      - Also let mono-jit conflict with mono-utils (<< 1.2.3.1), otherwise the
+        previously added stricter dependencies in mono-utils don't have any
+        effect for pre-1.2.3.1-2 mono versions. (Closes: #412970)
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue,  6 Mar 2007 07:32:55 +0100
+
+mono (1.2.3.1-2) experimental; urgency=low
+
+  * Sebastian 'slomo' Dröge:
+    + debian/control:
+      - Also add kfreebsd-amd64 to archs
+      - Let libmono-winforms*.0-cil suggest shared-mime-info (Closes: #394674)
+      - Make mono-utils depend on libmono-corlib1.0-cil with a stricter
+        version requirement as it most probably breaks with other
+        versions. (Closes: #412970)
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon,  5 Mar 2007 08:00:35 +0100
+
+mono (1.2.3.1-1) experimental; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/rules:
+      - Split the package build system into arch and indep for the configure,
+        install and build target.
+      - Added --disable-mcs-build to configure-indep call.
+        (buildds doesn't need to build the complete base-class-libraries,
+         since it's arch-indep, in arch-indep packages, and already in the
+         archive when uploaded. This should reduce the build time from 10
+         hours to about 1 hour for arm)
+      - Added kfreebsd checks for configure confflags.
+      - Moved building of MonoGetAssemblyName.exe from install to binary-indep,
+        else the compiler isn't available yet (if only binary-arch is build).
+    + debian/dh_clideps:
+     - Synced from cli-common (contains support for kfreebsd)
+    + debian/patches/kfreebsd_support.dpatch:
+      - Adds kfreebsd support to Mono.
+        (Closes: #394456, thanks to Petr Salinger <Petr.Salinger@seznam.cz>
+         and Aurelien Jarno <aurelien@aurel32.net> for the patch)
+
+  * Sebastian 'slomo' Dröge:
+    + New upstream release (Closes: #411924):
+      - Fixes assertion failures on PPC (Closes: #403495)
+    + debian/libmono-system2.0-cil.clideps-override:
+      - Move libasound2 to Suggests
+    + debian/libmono-system1.0-cil.install,
+      debian/libmono-system2.0-cil.install:
+      - Add CustomMarshalers.dll
+    + debian/libmono-system-data1.0-cil.clideps-override,
+      debian/libmono-system-data2.0-cil.clideps-override:
+      - Move libgda2-3 to Suggests
+    + debian/libmono-winforms1.0-cil.clideps-override,
+      debian/libmono-winforms2.0-cil.clideps-override:
+      - Move librsvg2-2 to Suggests
+    + debian/mono-common.install:
+      - Update path for cil-opcodes.xml
+    + debian/mono-gmcs.install:
+      - Add /usr/bin/al2 utility
+      - Update path for xbuild stuff
+    + debian/rules:
+      - Install new System.Data.dll.config file
+      - Remove new utilities from mono-mcs as they're already elsewhere
+      - Update MONO_API to 1.2.3
+    + debian/shlibs.local:
+      - Add shlibs entry for libasound2
+    + debian/System.Data.dll.config:
+      - Added new dllmaps
+    + debian/shlibs.local,
+      debian/patches/firebird-fbclient.dpatch,
+      debian/FirebirdSql.Data.Firebird.dll.config:
+      - Use libfbclient1 instead of the embedded libfbembed1
+        library which is not thread-safe (Closes: #410379)
+    + debian/control:
+      - Clean up Build-Depends-Indep
+    + debian/rules,
+      debian/mono-gac.install:
+      - Fix various build failures caused by the binary-arch / binary-indep
+        split
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 27 Feb 2007 09:44:02 +0100
+
+mono (1.2.2.1-2) unstable; urgency=high
+
+  * Sebastian 'slomo' Dröge:
+    + Urgency high for RC bugfix
+    + debian/control:
+      - Build depend on dpkg-dev (>= 1.13.19) for ${source:Version}
+        substitution (Closes: #411915)
+      - Update to use my debian.org address
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 24 Feb 2007 16:51:10 +0100
+
+mono (1.2.2.1-1) unstable; urgency=low
+
+  * New upstream release
+    + Mono 1.2.2.1 contains important bugfixes for the ARM architecture
+      (see #394418), but urgency is not raised because it's a new version.
+    + Mono 1.2 has upstream security support for 7 years as it's used 
+      in enterprise distributions by upstream.
+    + For more Mono 1.2 news check the NEWS file.
+
+  * Mirco 'meebey' Bauer:
+    + New upstream release (1.2.1)
+    + debian/NEWS:
+      - Added entry for Mono 1.2
+    + debian/control:
+      - Removed unstable warning from mono-gmcs description.
+    + debian/patches/gmcs-static-anonmethods.dpatch:
+      - Removed, already applied upstream.
+    + debian/mono-gmcs.install:
+      - Added mkbundle2
+      - Added sgen
+    + debian/libmono-system-web2.0-cil.clideps-override:
+      - Override for GUI/X11 dependency on libmono-winforms2.0-cil to suggests.
+    + debian/dh_clideps:
+      - Synced from cli-common-dev 0.4.7.
+    + debian/shlibs.local:
+      - Synced versions from /var/lib/dpkg/info/*.shlibs
+  * Sebastian 'slomo' Dröge:
+    + New upstream release (1.2.2)
+    + New upstream release (1.2.2.1)
+    + debian/rules:
+      - Update MONO_API to 1.2.2
+    + debian/libmono{1,2}.0-cil.install:
+      - Add OpenSystem.C library
+    + debian/patches/*:
+      - Remove obsolete patches
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue,  5 Dec 2006 20:03:41 +0100
+
+mono (1.1.18-3) unstable; urgency=low
+
+  * Sebastian 'slomo' Dröge:
+    + debian/patches/gmcs-static-anonmethods.dpatch:
+      - Fix from SVN (r66807) for compilation of static anonymous methods
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Thu, 19 Oct 2006 06:58:20 +0200
+
+mono (1.1.18-2) unstable; urgency=medium
+
+  * The "clean me harder for etch" and "please build on arm this time" release
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Removed obsolete mono-classlib-{1,2}.0 transition packages.
+      - Changed dependency of mono-runtime on mono-gac to
+        (= ${source:Version}) for making Mono binNMUable.
+      - Removed libgc-dev build-dep for kfreebsd.
+    + debian/rules:
+      - Added --enable-minimal=aot to configure call for kfreebsd, this might
+        give us a successful build.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Wed, 18 Oct 2006 23:09:35 +0200
+
+mono (1.1.18-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer:
+    + debian/patches/arm_support_larger_stack_r65218.dpatch
+      debian/patches/fix_tmp_race_r65441.dpatch:
+      - Removed, already applied upstream.
+    + debian/control:
+      - Removed Mono from Build-Conflicts.
+    + debian/rules:
+      - Added parameters to $(MAKE) so an existing Mono install is not used.
+        (thanks to Raja R Harinath <harinath@gmail.com> to for the hint)
+    + debian/libmono-winforms{1,2}.0-cil.clideps-override:
+      - Added suggests libgnomeui-0.
+    + debian/watch:
+      - Updated location again.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 15 Oct 2006 13:03:38 +0200
+
+mono (1.1.17.1-5) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/patches/fix_tmp_race_r65441.dpatch:
+      - Fixes tempfile race condition (CVE-2006-5072), taken from upstream SVN.
+    + debian/control:
+      - Added mono binary packages to Build-Conflicts, else it tries to use it
+        during bootstrap and fails.
+    + debian/dh_clideps
+      debian/dh_makeclilibs:
+      - Synced from cli-common-dev 0.4.6.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 3 Oct 2006 14:02:21 +0200
+
+mono (1.1.17.1-4) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Added zlib1g-dev to build-deps, needed by the System.IO.Compression API
+        in System.dll 2.0. (Closes: #379225)
+    + debian/dh_clideps:
+      - Synced from cli-common package, contains bugfix for libc6 dependencies,
+        makes Mono installable on ia64 again. (Closes: #388557)
+      - Also supports -l switch now for controlling the MONO_GAC_PREFIX
+        environment variable.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 23 Sep 2006 23:09:49 +0200
+
+mono (1.1.17.1-3) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/patches/arm_support_larger_stack_r65218.dpatch:
+      - Should fix ARM FTBFS, taken from upstream SVN, thus urgency=medium.
+    + debian/dh_clideps:
+      - Synced from cli-common package, contains bugfix for dependencies on
+        libmono0 and other packages.
+    + debian/control:
+      - Added "Suggests: ${cli:Suggests}" to libmono-system{1,2}.0-cil and
+        libmono-winforms{1,2}.0-cil.
+      - Added libxml-dom-perl to build-deps (needed by debian/dh_clideps)
+    + libmono-system2.0-cil.clideps-override
+      libmono-winforms1.0-cil.clideps-override
+      libmono-system1.0-cil.clideps-override
+      libmono-winforms2.0-cil.clideps-override:
+      - Added, used to override specific Depends to Suggests for assembly
+        references.
+    + debian/shlibs.local:
+      - Updated
+    + debian/mono-common.postinst:
+      - Removed old /usr/share/dotnet/mono to /usr/lib/mono transition code.
+      - Added removal of unneeded /usr/share/dotnet/mono symlink.
+        (Closes: #387277)
+    + debian/rules:
+      - Honor noopt in DEB_BUILD_OPTIONS.
+        (thanks to Timo Lindfors <lindi@kurp.hut.fi>, Closes: #380617)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Mon, 4 Sep 2006 22:44:55 +0200
+
+mono (1.1.17.1-2) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer:
+    + debian/rules:
+      - Removed --with-static_mono=no from configure call, caused bad runtime
+        bugs (random crashes, e.g. FTBFS for ARM). According to upstream this
+        is an untested feature, and should not be used by the runtime itself.
+        (thanks to Sebastian 'slomo' Dröge for the investigation)
+    + debian/watch:
+      - Updated
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Mon, 4 Sep 2006 22:44:55 +0200
+
+mono (1.1.17.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer:
+    + debian/patches/unix-end-point-serialize.dpatch
+    + debian/patches/unix-end-point-equals.dpatch
+    + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch
+    + debian/patches/ppc_missing_lock.dpatch
+    + debian/patches/sqliteclient-ppc.dpatch
+    + debian/patches/gacutil-remove-full-assembly-name.dpatch:
+      - Removed, already applied upstream.
+    + debian/patches/console-no-utf8-bom.dpatch:
+      - Updated, thanks to Sebastian 'slomo' Dröge.
+    + debian/control:
+      - Removed mono-mbas package.
+    + debian/libmono-microsoft{7,8}.0-cil.install
+      debian/mono-mbas.install
+      debian/mono-mcs.manpages:
+      - Removed VB.NET, upstream split it into a separate tarball. 
+    + debian/mono-gmcs.install:
+      - Added bin/resgen2 and bin/mono-service2
+    + debian/libmono{1,2}.0-cil.install:
+      - Added mono-service.exe
+    + Updated to Standards Version 3.7.2 (no changes needed).
+  * Sebastian 'slomo' Dröge:
+    + debian/mono.runtime-script:
+      - don't fail on removal if an assembly can't be removed. This is most
+        likely the case because the assembly is already gone.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 3 Sep 2006 17:19:37 +0200
+
+mono (1.1.13.8-1) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + Updated debian/watch to use URL for stable releases.
+  * Sebastian 'slomo' Dröge:
+    + New upstream release
+    + debian/patches/ppc_missing_lock.dpatch:
+      - Add a missing lock and make some memory executable to fix
+        various segfaults on PPC64 SMP machines with 32 bit userland.
+        Patch from mono SVN (rev 61756). Thanks to Johannes Berg
+        (Closes: #371134)
+    + debian/patches/sqliteclient-ppc.dpatch:
+      - LastInsertRowID() returns long, not int for sqlite3.
+        Fixes it to not return always 0 on PPC. Patch from mono SVN (rev 60676).
+    + debian/patches/resource-manager-boo.dpatch:
+      - dropped, upstream now
+    + debian/patches/console-no-utf8-bom.dpatch:
+      - don't output the Byte Order Mark on UTF8 locales to the console. This
+        breaks scripts and everything that parses the output of mono programs.
+    + debian/patches/gacutil-remove-full-assembly-name.dpatch:
+      - Allow removal of assemblies with neutral culture info when given as
+        full assembly name to gacutil
+    + debian/mono.runtime-scripts:
+      - added LANG=C to all calls of external programs where the output is
+        parsed
+      - Exit with a non-0 exit code if something goes wrong
+      - Use the full assembly name and gacutil /u for uninstallation
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 27 Jun 2006 15:11:24 +0200
+
+mono (1.1.13.6-4) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/mono-api-check:
+      - Added .NET 2.0 support (-2 parameter).
+    + debian/rules:
+      - pass -r to dh_clideps call for mono-gac, to prevent a circular
+        dependency between mono-gac <-> mono-runtime. (Closes: #365822)
+  * Sebastian 'slomo' Dröge:
+    + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch:
+      - Fix the signature of the Mono.Cairo.ImageSurface constructor. It should
+        take a byte array, not a string. The old version with the string could
+        never work and would've caused a segfault instead. (SVN rev 60175)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 9 May 2006 22:34:09 +0200
+
+mono (1.1.13.6-3) unstable; urgency=medium
+
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Package mono-gac can not depend on cli-common >= 0.4.0 yet, which is
+        still in the NEW queue. Changed to use "Recommends" instead.
+        This caused FTBFS for packages that build-depend on cli-common or
+        mono-gac, thus using urgency=medium.
+      - Removed stdout and stderr redirect in mono-common.{postinst,prerm} to 
+        aid debugging a problem with binfmt.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 23 Apr 2006 15:32:29 +0200
+
+mono (1.1.13.6-2) unstable; urgency=low
+
+  * Dylan R. E. Moonfire
+    + Included the late-GAC install hooks.
+  * Mirco 'meebey' Bauer:
+    + synced dh_clideps and dh_makeclilibs from cli-common 0.4.0
+    + debian/control:
+      - New meta package mono-runtime.
+      - Removed libmono-$version provides of libmono0, not needed anymore.
+        The shlibs file uses now libmono0.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 9 Apr 2006 14:07:23 -0500
+
+mono (1.1.13.6-1) unstable; urgency=high
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + This upload solves a dependency chain hell that made Mono not installable
+      on all archs except i386 and amd64, this caused FTBFS for gtk-sharp and
+      could also for dbus, avahi and probably other source packages, too,
+      and blocking their migration to testing. Thus urgency=high.
+      Unfortunately, I can't close any bugreports here, because there is none
+      filed against Mono for this issue (yet).
+    + Splitted left libraries of mono-classlib-1.0 and mono-classlib-2.0
+      into own packages to avoid ABI breakages and meet the CLI Policy.
+      All libraries in a package must have the same version number
+      (required for versioned package names), see CLI Policy 0.4.0
+      mono-classlib-1.0/2.0 are now empty transition packages.
+      This also solves the circular depedency. (Closes: #358363)
+    + debian/mono-classlib-1.0.install
+      debian/mono-classlib-1.0-dbg.install
+      debian/mono-classlib-2.0.install
+      debian/mono-classlib-2.0-dbg.install:
+      - Removed, not needed anymore because of splitting.
+    + debian/control:
+      - Removed mono-classlib-1.0/2.0-dbg package
+        Removed mono-assemblies-base package:
+      - Changed mono-classlib-1.0/2.0 to have a minimum as depencies for the
+        transition to avoid a dependency hell. (Closes: #360996)
+        All packages that have a binary dependency on
+        mono-classlib-1.0/2.0 should be rebuild!
+      - Removed pnet-compiler Build-Conflicts and Conflicts.
+      - Updated libgdiplus dependency of libmono-winforms1.0/2.0-cil
+        to >= 1.1.13.4
+      - Moved System.Drawing.Design and System.Design to
+        libmono-winforms1.0/2.0-cil
+      - Added mono-mbas package, to avoid GUI dependency chain
+      - Added mono-mjs package, to avoid GUI dependency chain
+      - Added libmono-corlib2.0-cil to mono-utils Suggests, needed when
+        monodis parses 2.0 libraries.
+      - Added libmono1.0-cil package
+      - Added libmono2.0-cil package
+      - Added libmono-system1.0-cil package
+      - Added libmono-system2.0-cil package
+      - Added libmono-system-data1.0-cil package
+      - Added libmono-system-data2.0-cil package
+      - Added libmono-system-ldap1.0-cil package
+      - Added libmono-system-ldap2.0-cil package
+      - Added libmono-data-tds1.0-cil package
+      - Added libmono-data-tds2.0-cil package
+      - Added libmono-accessibility1.0-cil package
+      - Added libmono-accessibility2.0-cil package
+      - Added libmono-c5-1.0-cil package
+      - Added libmono-cscompmgd7.0-cil package
+      - Added libmono-cscompmgd8.0-cil package
+      - Added libmono-ldap1.0-cil package
+      - Added libmono-ldap2.0-cil package
+      - Added libmono-microsoft-build2.0-cil package
+      - Added libmono-microsoft7.0-cil package
+      - Added libmono-microsoft8.0-cil package
+      - Added libmono-oracle1.0-cil package
+      - Added libmono-oracle2.0-cil package
+      - Added libmono-peapi1.0-cil package
+      - Added libmono-peapi2.0-cil package
+      - Added libmono-relaxng1.0-cil package
+      - Added libmono-relaxng2.0-cil package
+    + debian/rules:
+      - Added dh_makeclilibs call for 2.0 libraries, with tighter dependencies.
+
+  * Sebastian Dröge
+    + Add myself to Uploaders
+    + Added debian/mono-api-check:
+      - small wrapper script for comparing two assemblies and testing whether
+        their API is compatible.
+    + debian/patches/unix-end-point-equals.dpatch (SVN rev 57754:57757):
+      - Fix Equals() and GetHashCode() of Mono.Unix.UnixEndPoint.
+        http://bugzilla.ximian.com/show_bug.cgi?id=77747
+    + debian/patches/resource-manager-boo.dpatch:
+      - Fix the long outstanding breakage of boo. See
+        http://bugzilla.ximian.com/show_bug.cgi?id=77242
+    + debian/patches/*.dpatch:
+      - Removed all obsolete, old patches
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Wed, 5 Apr 2006 23:47:48 +0200
+
+mono (1.1.13.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + Splitted some ABI problematic libraries into own packages.
+      Conforming to CLI Policy 0.3.0, for more details see:
+      http://pkg-mono.alioth.debian.org/cli-policy/ch3.html#s3.1
+    + debian/control:
+      - Added libmono-corlib1.0-cil package
+      - Added libmono-corlib2.0-cil package
+        (this solves tight dependency problems on mono-jit)
+      - Removed mono-classlib-1.0 dependency from mono-jit.
+      - Added libmono-firebirdsql1.7-cil package
+      - Added libmono-bytefx0.7.6.1-cil package
+      - Added libmono-bytefx0.7.6.2-cil package
+      - Added libmono-npgsql1.0-cil package
+      - Added libmono-npgsql2.0-cil package
+      - Added libmono-sharpzip0.6-cil package
+      - Added libmono-sharpzip0.84-cil package
+      - Added libmono-sharpzip2.6-cil package
+      - Added libmono-sharpzip2.84-cil package
+      - Added libmono-winforms1.0-cil package
+      - Added libmono-winforms2.0-cil package
+      - Added libmono-sqlite1.0-cil package
+      - Added libmono-sqlite2.0-cil package
+      - Added libmono-cairo1.0-cil package
+      - Added libmono-cairo2.0-cil package
+      - Added replaces for mono-classlib-1.0/2.0(-dbg).
+      - Added splitted packages to mono-classlib-1.0/2.0 depends, for
+        transistion.
+    + debian/mono-classlib-1.0.install:
+      - Moved mscorlib.dll to libmono-corlib1.0-cil.install
+    + debian/mono-classlib-2.0.install:
+      - Moved mscorlib.dll to libmono-corlib2.0-cil.install
+    + debian/README.Debian:
+      - Updated support archs list.
+    + debian/changelog:
+      - Fixed indentation of some entries.
+  * Sebastian Dröge
+    + debian/patches/unix-end-point-serialize.dpatch (SVN rev 57026):
+      - Fix the serialization of UnixEndPoint
+    + debian/rules:
+      - Add debian/libmono0/usr/lib to the search path of dh_shlibdeps to get
+        the missing libmono0 dependencies in mono-jit and mono-utils.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 11 Mar 2006 22:46:42 +0100
+
+mono (1.1.13.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Added arm and armeb to arch lists
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 28 Jan 2006 22:57:07 +0100
+
+mono (1.1.13.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + synced dh_clideps and dh_makeclilibs from cli-common
+    + debian/rules:
+      - Added --with-static_mono=no to configure call, else the libmono0
+         package would be useless and loading a 1.7mb shared library is not
+         _that_ slow.
+      - Removed chrpath hack
+    + debian/control:
+      - Updated debhelper build-dep to >= 5.0.0
+      - Removed chrpath from build-deps.
+      - Adjusted some package descriptions.
+      - Added replaces to mono-gmcs for mono-mcs.
+      - Added ${misc:Depends} to all arch dep packages.
+    + debian/mono-jay.manpages:
+      - Updated path of jay.1
+    + debian/mono-common.dirs:
+      - Added usr/share/dotnet (Closes: #311540)
+    + debian/mono-gmcs.install:
+      - Added xbuild
+      - Added ilasm2
+    + debian/libmono0.install:
+      - Added libMonoSupportW.so
+    + debian/libmono-dev.install:
+      - Added libMonoSupportW.a
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 14 Jan 2006 17:21:28 +0100
+
+mono (1.1.12.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #344531)
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Added libx11-dev and libxt-dev to build-deps.
+      - Added libgc-dev [kfreebsd-i386] to build-deps. (Closes: #322599)
+    + debian/rules:
+      - Added kfreebsd check for configure call.
+      - Added --with-libgdiplus=installed and --with-x=yes to configure call.
+    + debian/compat:
+      - Changed to 5.
+    + debian/mono-classlib-1.0.install:
+      - Added usr/lib/mono/compat-1.0/
+      - Added usr/lib/pkgconfig/mono-cairo.pc
+    + debian/mono-classlib-1.0-dbg.install:
+      - Removed usr/lib/mono/gac/Microsoft.VisualBasic/7.0.*/*.mdb
+    + debian/mono-classlib-2.0.install:
+      - Added usr/lib/mono/compat-2.0/
+      - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/
+      - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/
+      - Removed usr/lib/mono/gac/Microsoft.VisualBasic/8.0.*/*.mdb
+    + debian/mono-classlib-2.0-dbg.install:
+      - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/*.mdb
+      - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/*.mdb
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 27 Dec 2005 12:58:11 +0100
+
+mono (1.1.10-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/patches/00list:
+      - Removed fix_xsp2_inherits, already applied upstream.
+      - Removed datetime_doparse_fix, already applied upstream.
+      - Removed s390_compile_fix, already applied upstream.
+      - Removed 64bit_implicit_pointer_cast_fix, already applied upstream.
+    + debian/mono-mcs.manpages:
+      - Added mozroots.1
+    + debian/mono-classlib-1.0.install:
+      - Added dotnet.pc
+    + debian/control:
+      - Added libgdiplus to "Recommends" of mono. (Closes: #333851)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 12 Nov 2005 21:54:15 +0200
+
+mono (1.1.9.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/patches/00list:
+      - Removed io_layer_fix_r50689, already applied upstream.
+      - Removed amd64_compile_fix_r50553, already applied upstream.
+    + debian/mono-utils.install:
+      - Removed dh_installxsp, postrm-monoxsp and postinst-monoxsp. Those files
+        will be in the XSP package (mono-xsp-base) instead.
+    + debian/mono-utils.manpages:
+      - Removed dh_installxsp.1
+    + debian/patches/s390_compile_fix.dpatch:
+      - Updated the patch, one "break" was missing in an empty default label.
+    + debian/patches/fix_xsp2_inherits.dpatch:
+      - Added patch to fix class inheritance with XSP2.
+        (thanks to Dylan R. E. Moonfire <debian@mfgames.com> for the patch)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 16 Oct 2005 14:01:28 +0200
+
+mono (1.1.9.1-3) unstable; urgency=medium
+
+  * Mirco 'meebey' Bauer
+    + debian/patches/amd64_compile_fix_r50553.dpatch:
+      - Backport from upstream's SVN, should fix amd64 build.
+        (Closes: #330369)
+    + debian/patches/64bit_implicit_pointer_cast_fix.dpatch:
+      - Should fix problems with amd64 and ia64 build.
+        (Closes: #330982, thanks to David Mosberger-Tang
+         <David.Mosberger@acm.org> for the patch)
+    + Synced dh_makeclilibs and dh_clideps from cli-common.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 2 Oct 2005 17:17:19 +0200
+
+mono (1.1.9.1-2) unstable; urgency=medium
+
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Added dc to build-deps, required for full bootstrap (solves FTBFS).
+        (Closes: #330280)
+    + debian/rules:
+      - Making debian/dh_makeclilibs and debian/dh_clideps now executable.
+        (Closes: #330283)
+    + debian/patches/io_layer_fix_r50689.dpatch:
+      - Backport from upstream's SVN, fixes process signalling bug.
+    + debian/patches/s390_compile_fix.dpatch:
+      - Backport from upstream's SVN, should fix s390 build.
+  * Eduard Bloch
+    + fixed bashisms in maintainer scripts and added removal of rpath (chrpath)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 27 Sep 2005 11:58:34 +0200
+
+mono (1.1.9.1-1) unstable; urgency=low
+
+  * The "Mono becomes architecture friendly" release
+    - Mono 1.1.9 supports now IA-64 and ARM too
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/readme:
+      - Removed MonoConventions.
+      - Added link to CLI Policy.
+    + debian/rules:
+      - Deleting more nunit files.
+    + debian/control:
+      - Dropped cli-common build dependency.
+      - Added ia64 arch-dep packages.
+    + debian/mono-gmcs.install:
+      - Added monop2.
+    + debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch:
+      - Wrote patch to remove a dllmap which was causing that dh_clidep
+        generates a dependency for libc6.
+    + Copied dh_makeclilibs and dh_clideps of cli-common to debian/ for
+      bootstrapping reasons, Mono is now autobuildable.
+    + Applied patch for binfmt-detector-cli which makes it 64bit clean.
+      (Closes: #325313, thanks to Colin Watson <cjwatson@debian.org> for the
+       patch)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 24 Sep 2005 15:51:03 +0200
+
+mono (1.1.8.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/rules:
+      - Copying monodis to debian/tmp/usr/bin now, else dh_clideps in
+        internal-mono mode will fail.
+      - Copying monograph from mono/monograph/.libs to debian/tmp/usr/bin.
+        "make install" is still on drugs installing libtool wrapper scripts.
+        (Closes: #320479)
+    + debian/mono-utils.install:
+      - Use monodis from debian/tmp again.
+    + debian/control:
+      - Updated versioned cli-common build-dep to >= 0.2.1, this version
+        will generate proper deps now when using internal-mono mode.
+        (Closes: #325473)
+      - Updated to Standards Version 3.6.2.1 (no changes).
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Fri, 2 Sep 2005 18:42:39 +0200
+
+mono (1.1.8.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/rules:
+      - Using new feature of cli-common (internal-mono), this allows to use
+        the built Mono (in debian/) instead of an installed Mono
+        (thanks to Ingo Saitz for working on this).
+    + debian/control:
+      - Added mono-gmcs to "Suggests" of mono-devel.
+      - Changed "Priority" of mono-classlib-(1.0|2.0)-dbg to extra.
+      - Changed dependency of mono-classlib-2.0-dbg from mono-classlib-1.0
+        to mono-classlib-2.0.
+      - Updated versioned cli-common build-dep to >= 0.1.4
+      - Removed mono-common dependency from many packages (it's not required
+        and breaks autobuilding of new packages).
+      - Removed mono-classlib-1.0/2.0 from build-deps.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 10 Jul 2005 16:08:12 +0200
+
+mono (1.1.8.1-3) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer
+    + debian/mono-gmcs.install:
+    + debian/mono-gmcs.manpages:
+      - those 2 files were missing, thus the mono-gmcs package was empty.
+        (Closes: #316742)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 3 Jul 2005 15:51:55 +0200
+
+mono (1.1.8.1-2) unstable; urgency=medium
+
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Added "Replaces" to mono-utils for mono-mcs (<= 1.1.6-4).
+        This broke upgrading mono packages from 1.1.6 to 1.1.8.1, thus urgency
+        set to medium. (Closes: #316691)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 3 Jul 2005 12:43:24 +0200
+
+mono (1.1.8.1-1) unstable; urgency=low
+
+  * New upstream release
+    + Fixed DirectoryInfo.GetFiles(), it failed when filename had a backspace
+      or space at the end. (Closes: #285287)
+    + With this release we also package the C# 2.0 part, for details see below.
+  * Mirco 'meebey' Bauer
+    + debian/mono-mcs.manpages:
+      - removed monoresgen.1 and prj2make.1
+        (the programs for those don't exist in the packages anymore).
+    + debian/rules:
+      - disabled 07_no_libc_fun.dpatch
+        (upstream doesn't use internal libc symbols anymore)
+      - Deleting prj2make from build
+        (it is shipped with the prj2make-sharp package).
+      - Added --preview=yes and --with-ikvm-native=no to ./configure call
+        (libikvm-native.so is shipped by the ikvm package).
+      - A lot of changes to make the split of classlib 1.0/2.0 possible.
+    + debian/control:
+      - Updated versioned cli-common build-dep to >= 0.1.3
+      - Moved libMonoPosixHelper.so from libmono-dev to libmono0, because it's
+        an unversioned library now.
+      - Added "Replaces" to libmono0 for libmono-dev (<= 1.1.6-4).
+      - Renamed mono-assmeblies-base to mono-classlib-1.0 and set "Replaces"
+        and "Conflicts" for it.
+      - Added mono-assmeblies-base transistion package.
+      - Added new packages: mono-gmcs, mono-classlib-2.0, mono-classlib-1.0-dbg
+        and mono-classlib-2.0-dbg.
+      - Removed ${cli:Depends} from "Depends" of mono-classlib-1.0.
+      - Dropped mono-assemblies-arch package, there aren't any arch specific
+        CIL libraries.
+      - Changed static depends of mono-mcs to ${cli:Depends}
+      - Added mono-classlib-1.0 and mono-classlib-2.0 to build-deps
+        (required for dh_makeclilibs).
+    + debian/mono-utils.install:
+      - Using mono/dis/.libs/monodis because the Makefile is confused and
+        installs a libtool wrapper script instead.
+      - Added missing /usr/bin/monodiet
+      - Added new /usr/bin/mono-find-provides and /usr/bin/mono-find-requires
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 21 Jun 2005 21:30:36 +0200
+
+mono (1.1.6-4) unstable; urgency=low
+
+  * upload to unstable
+  * Mirco 'meebey' Bauer
+    + added debian/watch file
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 29 May 2005 19:51:35 +0200
+
+mono (1.1.6-3) experimental; urgency=low
+
+  * Mirco 'meebey' Bauer
+    + updated "Section" fields in debian/control.
+    + added amd64 to the arch fields (Closes: #253542)
+      (thanks to Kurt Roeckx for testing it on AMD64)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 14 May 2005 18:58:59 +0200
+
+mono (1.1.6-2) experimental; urgency=low
+
+  * Mirco 'meebey' Bauer
+    + removed cli-common from mono-common deps, it's for build-deps.
+    + updated versioned build-dep of cli-common to >= 0.1.1
+     
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 17 Apr 2005 21:19:58 +0200
+
+mono (1.1.6-1) experimental; urgency=low
+
+  * New upstream release
+    + New version (Closes: #296353, #301268)
+    + New build system, using one source tarball.
+    + Almost all programs have a manpage now.
+    + Mono 1.1.x branch supports AMD64 architecture.
+    + Remoting is fast again with 1.1.6
+      (Closes: #303349)
+  * Mirco 'meebey' Bauer
+    + Upstream merged mcs and mono into one mono tarball, this makes the
+      build process a lot easier.
+    + Dropping /usr/share/dotnet structure with this release, upstream
+      provides now a FHS conform solution.
+    + Added versioned mono-common dependency to mono, makes lintian happy.
+    + Added cli-common to build-dependencies.
+    + Added transition code to mono-common.postinst for moving
+      /usr/share/dotnet/mono to /usr/lib/mono
+      (thanks to Ingo Saitz aka Salz for helping with this)
+    + Added c-sharp-compiler, resource-file-generator, assembly-linker,
+      strong-name-tool, global-assembly-cache-tool and cil-disassembler
+      alternatives (those are common CLI programs).
+    + Added mono-devel metapackage.
+    + Added mono-common dependecy to all related packages.
+    + Removed a lot of hacks in debian/rules, not required anymore.
+    + Removed old Conflicts/Replaces.
+    + Removed icu28-dev from buil-dependencies (ICU is not recommended by
+      upstream anymore, and does break things).
+    + Added pkg-config to "Recommends" of mono-mcs. (Closes: #294606)
+    + created 07_no_libc_fun.dpatch
+      (Mono 1.1.x tries to use internal libc symbols, which is not required)
+     
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 2 Apr 2005 12:48:09 +0200
+
+mono (1.0.5-2) unstable; urgency=high
+
+  * Mirco 'meebey' Bauer
+    + removed mono-mint package and all packages for s390.
+      The mono-mint (the interpeter) is deprecated, unmaintained upstream
+      and was just a proof-of-concept programm.
+      The mono-jit is no longer supported for s390 by upstream in the stable
+      release and has a lot of bugs on that arch. This prevents Mono to enter
+      "testing", thus removed.
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Tue, 15 Feb 2005 22:58:39 +0200
+
+mono (1.0.5-1) unstable; urgency=high
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + disabled building of .NET 2.0 classlib, because it breaks too much.
+      Upstream said it should not be used, even Novell does not ship it. 
+      This fixes some very strange bugs, all tested against 1.0.5.    
+      (Closes: #286270, #276464, #287279)
+    + cleanups in debian/rules
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 30 Jan 2005 01:07:36 +0200
+
+mono (1.0.4-1) unstable; urgency=high
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + removed automake from build-deps 
+    + JIT seems to be stable now (Closes: #258041)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 05 Dec 2004 16:09:32 +0200
+
+mono (1.0.2-1) unstable; urgency=high
+
+  * The "All or Nothing" release
+  * New upstream release (Closes: #273675)
+  * Mirco 'meebey' Bauer
+    + applied debian/rules patch to fix FTBFS on i386 with amd64 kernel
+      (Closes: #265510 thanks to Kurt Roeckx <Q@ping.be>)
+    + removed all not official supported architectures
+      (Closes: #272846, #259680)
+    + cosmetic cleanups in debian/rules
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Thu, 11 Oct 2004 21:21:02 +0200
+
+mono (1.0.1-1) unstable; urgency=medium
+
+  * New upstream (bugfix) release
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Thu, 12 Aug 2004 13:46:04 +0200
+
+mono (1.0-4) unstable; urgency=medium
+
+  * the "sorry for forgetting the NOT RELEASED YET tags" release
+  * Mono BSP
+  * Mirco 'meebey' Bauer
+    + debian/rules: s390 build should work now
+      (showstopper for sarge, thus medium urgency)
+    + debian/control: fixed typo, tuned Architecture field for mono (should
+      finaly prevent "unallowed" architectures from trying to build mono)
+    + debian/README.Debian: fixed typo
+  * Eduard Bloch
+    + --with-ntpl=no! When compiled with NTPL support, it still breaks on
+      kernel 2.4 though not using the other libs (closes: #256755, #257412)
+    + patched Makefiles to link explicitely with glib and dl, thanks to
+      Russ Allbery <rra@stanford.edu> (closes: #262023)
+    + disabled mono-mint build for i386 and powerpc, upstream wish
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sun, 08 Aug 2004 16:38:32 +0200
+
+mono (1.0-3) unstable; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Eduard Bloch <blade@debian.org>  Wed,  7 Jul 2004 19:03:57 +0200
+
+mono (1.0-2) unstable; urgency=medium
+
+  * Eduard Bloch
+    + Workarounds for FTBFS on architectures that have we already built for in
+      the past
+    + dh_makenetlibs: extremely ugly workaround for collecting library data
+      even when not the whole assembly chain works (we need something more
+      mature than monodis to do this; closes: #258040)
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Wed, 07 Jul 2004 18:53:32 +0200
+
+mono (1.0-1) unstable; urgency=low
+
+  * New upstream release (1.0 final)
+  * Mirco 'meebey' Bauer
+    + debian/rules: cleanup
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Mon, 30 Jun 2004 18:41:27 +0200
+
+mono (0.97-1) unstable; urgency=medium
+
+  * New upstream release (Release Candidate)
+    + basicaly a bugfix release, solves JIT crash problems with kernel 2.4.x
+      (closes: #255485, #256200), thus this urgency
+  * Eduard Bloch
+    + Added libMonoPosixHelper... to libmono... packages (closes: #256697)
+    + monosn is gone, using sn to get the signature strings now
+    + set alternative dependency on mono-assemblies-base-0.96,
+      apparently compatible
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Mon, 28 Jun 2004 01:14:32 +0200
+
+mono (0.96-1) unstable; urgency=low
+
+  * New upstream release
+  * Eduard Bloch
+    + setting virtual ".shlibs" for libmono via provides, currently
+      libmono-0.96
+    + created new dh_makenetlibs and dh_netdeps tools to manage assembly
+      dependencies in the Perl/Python way
+    + Moved Pablo's dh_installxsp script to mono-utils to mono-utils
+    + mono-common.preinst now moves /usr/lib/mono directory (if exists) to
+      /usr/share/dotnet
+    + moved the check for mono-vs.-mint priority to debian/rules
+    + applied the patch (as dpatch) from Jackson Harper,
+      http://bugzilla.ximian.com/showattachment.cgi?attach_id=8206 to fix the
+      monodis segfault while operating on unresolved assembly references
+  * Mirco 'meebey' Bauer
+    + New upstream release updates
+    + enabled preview features (.NET 1.2, generics)
+  * Michael Schiansky
+    + Since beta1 (0.91) dllmaps are handled cleanly (Closes: #241686)
+  * Pablo Fischer
+    + Added autoscript support to dh_installxsp	
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 19 Jun 2004 14:38:57 +0200
+
+mono (0.91-1) unstable; urgency=low
+
+  * New upstream release (Closes: Bug#249419)
+  * JIT is more stable now (Closes: Bug#238420)
+  * FTBFS fixes for sparc in rules/control
+  * added s390 architecture to mono-jit, libmono0 and libmono-dev
+  * documented supported architectures in README.Debian
+
+ -- Mirco 'meebey' Bauer <mail@meebey.net>  Sun, 02 May 2004 19:19:22 +0200
+
+mono (0.31-2) unstable; urgency=low
+
+  * kernel detection overridden to build 2.4 compatible version 
+    (closes: #243928, #243940)
+  * DLL map updates (closes: #241686)
+  * README.Debian updated with latest MonoConventions
+
+ -- Eduard Bloch <blade@debian.org>  Wed,  7 Apr 2004 01:39:55 +0200
+
+mono (0.31-1) unstable; urgency=low
+
+  * New upstream release
+  * Eduard Bloch
+    + added additional entries to the hard-coded DLL map (closes: #236782)
+    + included experimental patch for build failures on HPPA (partial fix 
+      for #240272)
+
+ -- Eduard Bloch <blade@debian.org>  Tue,  6 Apr 2004 09:44:35 +0200
+
+mono (0.30.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Eduard Bloch:
+    + debian/control: limited "any" arch lists to those really supported by the
+      Mono project. libmono0(-dev) to i386 powerpc (closes: #235315)
+    + added a workaround for gnomeui-2 symbolic name (closes: #235946)
+    + deleting the alternatives entries only on removal (closes: #234815)
+
+ -- Eduard Bloch <blade@debian.org>  Sat,  6 Mar 2004 13:15:43 +0100
+
+mono (0.30.1-1) unstable; urgency=low
+
+  * New upstream release
+  * SONAME wokraround for libgstreamer-0.6.so.1
+
+ -- Eduard Bloch <blade@debian.org>  Tue, 24 Feb 2004 18:15:49 +0100
+
+mono (0.29.99.20040114-4) unstable; urgency=low
+
+  * Eduard Bloch:
+    + catch-them-all cli-wrapper rewrite
+    + set mono-common conflict with the virtual package cli-common
+  * Teófilo Ruiz Suárez:
+    + removed libicu26-dev from Build-Depends so mono-jit don't depend on
+    libicu26 (Closes: #231966)
+
+ -- Eduard Bloch <blade@debian.org>  Mon,  9 Feb 2004 00:23:40 +0100
+
+mono (0.29.99.20040114-3) unstable; urgency=low
+
+  * bugfix release, hopefully the last of 0.29* series
+  * Teófilo Ruiz Suárez:
+    + added automake1.7 to Build-Deps
+  * Eduard Bloch:
+    + Included modified icu-config to use libicu26-dev
+    + added libtool to Build-Deps (closes: #231271)
+    + hook to correct SONAMEs in /etc/mono/config file (Closes: #231191)
+    + included a generic binary wrapper to mono-common to be used as
+      PROGRAM to run /usr/bin/PROGRAM.exe with /usr/bin/cli
+
+ -- Eduard Bloch <blade@debian.org>  Thu, 22 Jan 2004 00:57:56 +0100
+
+mono (0.29.99.20040114-2) unstable; urgency=low
+
+  * Finally closing the outstanding ITPs (closes: #132882)
+  * Maintainer mailing list address fixed
+  * libmint* removed (upstream request, considered as dead-end package)
+  * improved description, added pedump to mono-utils, dropped monosn (upstream
+    request)
+
+ -- Eduard Bloch <blade@debian.org>  Sun, 18 Jan 2004 19:15:41 +0100
+
+mono (0.29.99.20040114-1) unstable; urgency=low
+
+  * New maintainer: Debian Mono maintainers <pkg-mono-devel@alioth.debian.org>
+    after the previous maintainers stoped the work on it
+  * Package descriptions written or improved
+  * Library package separation to follow the shared libs conventions
+    (libmono and libmono-profiler-... seem to belong together, though)
+  * libmono-dev depends on libmint-dev since the last contains the headers and
+    is available on all supported arches
+  * Package renaming to avoid confusion (mono in mono-jit, mint in mono-mint)
+  * merged binfmt-detector-cli and mono-common since they were already linked
+    together and another 3kB package makes no much sense
+  * limited the arch list to those officially supported by the Mono Project
+  * Adapted the /usr/share/doc/mono-interpreter (now -mint) fixing hooks
+
+ -- Eduard Bloch <blade@debian.org>  Sun, 18 Jan 2004 19:11:04 +0100
+
+mono (0.26-2) unstable; urgency=low
+
+  * No longer depend on an external libgc
+
+ -- Alp Toker <alp@atoker.com>  Tue, 26 Aug 2003 23:27:11 +0100
+
+mono (0.26-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Fri, 15 Aug 2003 15:41:38 +0100
+
+mono (0.24-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Wed,  7 May 2003 02:53:40 +0100
+
+mono (0.23-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Fri,  7 Mar 2003 20:32:37 +0000
+
+mono (0.22-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Thu,  6 Mar 2003 22:52:19 +0000
+
+mono (0.21-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Thu, 27 Feb 2003 22:55:33 +0000
+
+mono (0.20-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Mon, 24 Feb 2003 01:09:34 +0000
+
+mono (0.19-3) unstable; urgency=low
+
+  * Build libmono as a shared object (needed for mod_mono)
+
+ -- Alp Toker <alp@atoker.com>  Sat, 25 Jan 2003 05:26:44 +0000
+
+mono (0.19-2) unstable; urgency=low
+
+  * Build against the new libgc6c102
+  * Pipe binfmt-misc warnings to /dev/null
+
+ -- Alp Toker <alp@atoker.com>  Tue, 21 Jan 2003 07:17:12 +0000
+
+mono (0.19-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Tue, 21 Jan 2003 00:05:56 +0000
+
+mono (0.18-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Mon, 13 Jan 2003 17:16:34 +0000
+
+mono (0.17-3) unstable; urgency=low
+
+  * Include machine.config and anything else that goes in /etc/mono
+
+ -- Alp Toker <alp@atoker.com>  Tue, 17 Dec 2002 14:23:30 +0000
+
+mono (0.17-2) unstable; urgency=low
+
+  * Disable exuberant debugging in PPC trampoline code
+
+ -- Alp Toker <alp@atoker.com>  Mon, 16 Dec 2002 17:58:56 +0000
+
+mono (0.17-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Alp Toker <alp@atoker.com>  Tue, 10 Dec 2002 14:13:18 +0000
+
+mono (0.16-1) unstable; urgency=low
+
+  * New upstream version. Sorry I havn't been doing any CVS snapshots for
+     a month. I'll try and sort something out.
+  * Include a patch from Michel Danzer <daenzer@debian.org> to fix
+     idiotic build failure on non-i386 arches.
+  * Install /etc/mono/config and the manpage in the mono-common package,
+     and add a replaces for smooth upgrades (mono-config.5 used to be in
+     the mono-jit package).
+  * Switch from setting prefix to DESTDIR so /etc works too.
+  * Added some {}s to monoburg.y to make it parse correctly. Thanks to
+     Zoltan Varga's message on mono-list.
+  * Added data/config to the list of files that need to be cleaned 
+     manually.
+
+ -- Robert McQueen <robot101@debian.org>  Sat, 19 Oct 2002 16:16:08 +0100
+
+mono (0.15-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Robert McQueen <robot101@debian.org>  Sat, 24 Aug 2002 00:36:34 +0100
+
+mono (0.13-3) unstable; urgency=low
+
+  * Pass --disable-shared to configure, and link mono-jit statically.
+  * This turned out to be broken. Thanks to Dick Porter for putting up
+     with me moaning about libtool combinations for a day, and for fixing
+     it with the correct method I absolutely failed to see. Applied his
+     patch for this, should hit CVS soon or I'll back it out.
+  * Ship only a static libmono-dev for people interested in embedding.
+     Shared lib is useless because the API is massively unstable.
+  * Conflict the -dev with the old libmono0 until it is deemed useful
+     again.
+  * Change -a to -s in the binary-arch target so debhelper will only
+     build arch-specific packages if they're available on the build arch.
+  * Added mono-config.5 manpage to mono-jit package, and libmono.la and
+     pkg-config/mono files to libmono-dev package.
+
+ -- Robert McQueen <robot101@debian.org>  Wed, 14 Aug 2002 23:07:40 +0100
+
+mono (0.13-2) unstable; urgency=low
+
+  * Holiday maintainer upload. =)
+  * Switched to pristine upstream source tarball.
+  * Cleaned up debian/rules file, separated binary-arch/binary-indep
+     targets for builds on other arches.
+  * Stole the makefile magic from galeon (I did help write it =) to
+     automatically run configure or autogen.sh depending on whether we're
+     building from CVS or not, and then do the correct clean command
+     later.
+  * At the advice of Ximian folk, don't provide libmono0/libmono-dev for
+     the moment - the API is unstable.
+  * For when it does return... install the .a into libmono-dev and make
+     it arch: any.
+  * Include libmono.so.0 and libmono.so.0.0.0 into the mono-jit package.
+     These will be returned to a seperate package, and headers and static
+     libraries provided, when libmono's API is stable. To ease
+     transition, added a Replaces: header.
+  * Made mono-common arch: all, it contains no binaries currently.
+  * Leave out cil-opcodes.xml unless someone complains.
+  * Install documentation in mono-common, and have packages that depend
+     on it symlink to there instead. Made mono depend directly on
+     mono-common to prevent lintian griping about this. Added code to
+     postinsts of mono, mono-jit and mono-interpreter remove their doc
+     dir and replace it with a symlink on upgrades. Dpkg will not replace
+     a directory with a symlink, even if it's empty.
+  * Added -e to /bin/sh in the maintainer scripts.
+  * Don't ship monostyle.1 and monoburg.1 manpages, the programs are in
+     the mcs package and we don't ship them currently.
+  * Added undocumented symlink for monograph.1.
+  * Added rm to clean target for spare Makefiles left behind.
+
+ -- Robert McQueen <robot101@debian.org>  Sun,  4 Aug 2002 00:57:15 +0100
+
+mono (0.13-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Alp Toker <alp@atoker.com>  Sun, 28 Apr 2002 22:10:10 +0100
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-messaging1.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system-messaging1.0-cil.clideps-override
@@ -0,0 +1 @@
+suggests libmono-winforms1.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.NEWS
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.NEWS
@@ -0,0 +1,108 @@
+mono (2.4-1) unstable; urgency=low
+
+  * Mono 2.4 ships a lot of goodies:
+    + SIMD support in Mono.
+    + No expensive polls in the threading implementation any longer.
+    + Speed-up garbarge collection on multi-core systems.
+    + Optimized XPath (using 15% less memory).
+    + Faster DateTime.TryParse implementation (by not using try/catch).
+    + Support for precompiled ASP.NET pages.
+  * Complete Announcement of Mono 2.4 (vs Mono 2.2):
+    http://www.mono-project.com/Release_Notes_Mono_2.4
+
+  * Mono 2.2 also ships with lovely things:
+    + The tree-based code generation engine in the JIT was replaced with the
+      Linear IL engine, which allows better optimizations.
+    + Generic sharing is now used in all cases (reduces memory usage).
+    + Generic sharing is now supported on ARM.
+    + Support of full Ahead of Time Compilation.
+    + New PerformanceCounters implementation that allows to monitor the runtime
+      internals. Including the GUI tool "mperfmon" to view them.
+    + Interactive shell called "csharp" that allows to execute C#
+      expressions inside a shell. There is also a GUI version available
+      called "gsharp".
+    + Live Inspection. You can attach using the csharp shell to a
+      running process and run code inside to debug things.
+    + The C# compiler will now optimize empty strings ("") away with
+      String.Empty (which reduces memory usage).
+    + The Regular Expressions engine has been rewritten being more efficient.
+      At the same time compiled regex are also supported now.
+    + ASP.NET supports now new routing handlers needed by ASP.NET MVC.
+    + In the WinForms implementation were almost 200 bugs fixed (since Mono 2.0)
+  * Complete Announcement of Mono 2.2 (vs Mono 2.0):
+    http://www.mono-project.com/Release_Notes_Mono_2.2
+ 
+  * Mono 2.0 shipped with:
+    + A console debugger (mdb) part of the mono-debugger package.
+    + WinForms 2.0 API is complete.
+    + WinForms's WebBrowser was implemented using Mozilla's Gecko HTML
+      rendering engine.
+    + WinForms now supports international keyboard input through XIM.
+    + Performance of locking (used by threading) was significally improved.
+    + New debug parameter "--debug=cast" which print outs the types in for
+      InvalidCastException.
+    + The C# compiler supports now expression trees (for LINQ) which completes
+      the C# 3.0 support.
+    + The C# compiler is now dual-licensed under MIT/X11 and GPLv2 (only).
+    + LINQ and LINQ to XML are now complete.
+    + Big Arrays for 64bit architectures are now support (but have to be
+      compiled using the --enable-big-arrays configure switch)
+  * Complete Announcement of Mono 2.0:
+    http://www.mono-project.com/Release_Notes_Mono_2.0
+
+ -- Mirco Bauer <meebey@debian.org>  Fri, 10 Apr 2009 00:58:39 +0200
+
+mono (1.2.2.1-1) unstable; urgency=low
+
+  * Here we go, Mono 1.2 is now official stable and released!
+
+  * Mono 1.2 brings a lot of new features in:
+    - The C# 2.0 compiler is now stable, and the ECMA standard was updated, so
+      it's safe to use C# 2.0 (gmcs) now. _But_ the 2.0 API is not complete, thus
+      there are classes/methods still missing.
+    - Mono is now officially supported on the following architectures:
+      + 32bit: i386, powerpc, arm, s390, sparc.
+      + 64bit: amd64, s390x, ia64.
+      The debian packages are available for: i386, powerpc arm, amd64 and ia64.
+      Packages for s390, s390x, sparc and kfreebsd-i386 are under review, when
+      the ports are prooved to be stable enough, we will include them.
+    - Complete System.Windows.Forms 1.1 API
+      This version is not using wine! SWF runs natively on Linux (X11 driver)
+      using an own implementation (libgdiplus).
+    - File System Watching API now supports inotify.
+
+  * Complete Announcement of Mono 1.2 (vs Mono 1.0):
+    http://www.go-mono.com/archive/1.2/
+    
+  * Announcement of Mono 1.2.1:
+    http://www.go-mono.com/archive/1.2.1/
+ 
+  * Announcement of Mono 1.2.2:
+    http://www.go-mono.com/archive/1.2.2/
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Wed, 6 Nov 2006 23:00:28 +0200
+
+mono (0.96-1) unstable; urgency=low
+
+  * It has been quite a while since the last Mono release in Debian and
+    we feel that it's time to announce few things changed in the
+    meantime:
+
+  - dependencies management and debhelper integration - the new
+    mono-utils package contains scripts to create and manage dependencies
+    between the .NET library packages.  They work in a similar way to the
+    .shlibs system in Debian. For more details, see dh_makenetlibs(1),
+    dh_netdeps(1) and monodoc's rules file as example.
+    Another script available now is dh_installxsp which will install
+    snippets of configuration files for XSP packages (HTML/ASP.NET server
+    and Apache module).
+
+  - the GAC - except of mscorlib.dll, all DLLs are moved into
+    /usr/share/dotnet hierarchy and are now loaded using the GAC (Global
+    Assembly Cache) method. This also makes sane versioning possible,
+    similar to SONAME handling on native shared libraries.
+ 
+  - see README.Debian for further details about changes and the current
+    .NET Debian policy
+
+ -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Sat, 19 Jun 2004 14:39:08 +0200
--- mono-2.4.2.3+dfsg.orig/debian/monodoc-base.dirs
+++ mono-2.4.2.3+dfsg/debian/monodoc-base.dirs
@@ -0,0 +1 @@
+usr/bin/
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.postinst
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+# if we're configuring, /usr/share/doc/mono-jit is a directory,
+# and isn't a symlink, replace it with a symlink to mono-common
+if test "$1" = "configure" && test -d /usr/share/doc/mono-jit && ! test -h /usr/share/doc/mono-jit ; then
+	rmdir /usr/share/doc/mono-jit
+	ln -s mono-common /usr/share/doc/mono-jit
+fi
+
+update-alternatives \
+	--install /usr/bin/cli cli /usr/bin/mono 10 \
+	--slave /usr/share/man/man1/cli.1.gz cli.1.gz /usr/share/man/man1/mono.1.gz
+
+if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then
+	update-binfmts --import cli
+fi
+
+if [ configure = "$1" ] && [ -d /usr/share/dotnet/mono/ ] && [ -L /usr/share/dotnet/mono ]; then
+	# it's a symlink
+	rm /usr/share/dotnet/mono
+fi
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/FirebirdSql.Data.Firebird.dll.config
+++ mono-2.4.2.3+dfsg/debian/FirebirdSql.Data.Firebird.dll.config
@@ -0,0 +1,3 @@
+<configuration>
+	<dllmap dll="libfbclient" target="libfbclient.so.2"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/dh_clifixperms
+++ mono-2.4.2.3+dfsg/debian/dh_clifixperms
@@ -0,0 +1,70 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_clifixperms - fix permissions of files in CLI package build directories
+
+=cut
+
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+=head1 SYNOPSIS
+
+B<dh_clifixperms> [S<I<debhelper options>>] [B<-X>I<item>]
+
+=head1 DESCRIPTION
+
+dh_clifixperms is a debhelper program that is responsible for setting
+the permissions of files and directories for CLI assemblies and
+executables.
+
+dh_clifixperms makes all files that end in *.dll, *.mdb, *.cs,
+*.aspx, and *.config to mode 644 and *.exe to mode 755.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-X>I<item>, B<--exclude> I<item>
+
+Exclude files that contain "item" anywhere in their filename from having
+their permissions changed. You may use this option multiple times to build
+up a list of things to exclude.
+
+=back
+
+=cut
+
+init();
+
+foreach my $package (@{$dh{DOPACKAGES}}) {
+	my $tmp=tmpdir($package);
+
+	my $find_options='';
+	if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
+		$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
+	}
+
+	# Fix the permissions of various CLI-based files
+	for my $ext (qw(dll mdb cs config aspx))
+	{
+	    complex_doit("find $tmp $find_options -name \"*.$ext\" -print0",
+			 "2>/dev/null | xargs -0r chmod 0644");
+	}
+	complex_doit("find $tmp $find_options -name \"*.exe\" -print0",
+		     "2>/dev/null | xargs -0r chmod 0755");
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of cli-common.
+
+=head1 AUTHOR
+
+Dylan R. E. Moonfire <debian@mfgames.com> based on work from Joey Hess
+<joeyh@debian.org>.
+
+=cut
--- mono-2.4.2.3+dfsg.orig/debian/mono-xbuild.install
+++ mono-2.4.2.3+dfsg/debian/mono-xbuild.install
@@ -0,0 +1,9 @@
+debian/tmp/usr/bin/xbuild
+debian/tmp/usr/lib/mono/2.0/xbuild.exe*
+debian/tmp/usr/lib/mono/2.0/xbuild.rsp
+debian/tmp/usr/lib/mono/2.0/Microsoft.Build.xsd
+debian/tmp/usr/lib/mono/2.0/Microsoft.CSharp.targets
+debian/tmp/usr/lib/mono/2.0/Microsoft.Common.tasks  
+debian/tmp/usr/lib/mono/2.0/Microsoft.Common.targets
+debian/tmp/usr/lib/mono/2.0/Microsoft.VisualBasic.targets
+debian/tmp/usr/lib/mono/2.0/MSBuild/
--- mono-2.4.2.3+dfsg.orig/debian/mono-mjs.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-mjs.manpages
@@ -0,0 +1 @@
+debian/man/mjs.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-devel.postinst
+++ mono-2.4.2.3+dfsg/debian/mono-devel.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -e
+
+update-alternatives \
+	--install /usr/bin/cli-csc c-sharp-compiler /usr/bin/mono-csc 10 \
+	--slave /usr/share/man/man1/cli-csc.1.gz cli-csc.1.gz /usr/share/man/man1/csc.1.gz
+
+update-alternatives \
+        --install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \
+        --slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz
+
+update-alternatives \
+        --install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \
+        --slave /usr/share/man/man1/cli-al.1.gz cli-al.1.gz /usr/share/man/man1/al.1.gz
+
+update-alternatives \
+        --install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \
+        --slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/libmono-security2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-security2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.Security/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Mono.Security.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-web2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-web2.0-cil.install
@@ -0,0 +1,20 @@
+debian/tmp/usr/lib/mono/gac/System.Web/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Extensions/1.0.61025.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Extensions/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Extensions.Design/1.0.61025.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Extensions.Design/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Services/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.ComponentModel.DataAnnotations/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Abstractions/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.DynamicData/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Web.Routing/3.5.0.0__*/
+debian/tmp/usr/lib/mono/2.0/System.Web.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.Extensions.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.Extensions.Design.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.Services.dll
+debian/tmp/usr/lib/mono/2.0/System.ComponentModel.DataAnnotations.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.Abstractions.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.DynamicData.dll
+debian/tmp/usr/lib/mono/2.0/System.Web.Routing.dll
+debian/tmp/usr/lib/pkgconfig/system.web.extensions_1.0.pc
+debian/tmp/usr/lib/pkgconfig/system.web.extensions.design_1.0.pc
--- mono-2.4.2.3+dfsg.orig/debian/libmono-microsoft8.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-microsoft8.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/Microsoft.JScript/8.0.*/
+debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/8.0.*/
+debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/8.0.*/
+debian/tmp/usr/lib/mono/2.0/Microsoft.JScript.dll
+debian/tmp/usr/lib/mono/2.0/Microsoft.VisualC.dll
+debian/tmp/usr/lib/mono/2.0/Microsoft.Vsa.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-posix1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-posix1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/1.0/Mono.Posix.dll
+debian/tmp/usr/lib/mono/gac/Mono.Posix/1.0.5000.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/libmono-messaging-rabbitmq2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-messaging-rabbitmq2.0-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/Mono.Messaging.RabbitMQ/2.0.0.0__*/
+/usr/lib/mono/2.0/Mono.Messaging.RabbitMQ.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-gac.dirs
+++ mono-2.4.2.3+dfsg/debian/mono-gac.dirs
@@ -0,0 +1 @@
+usr/share/cli-common/runtimes.d
--- mono-2.4.2.3+dfsg.orig/debian/libmono-npgsql2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-npgsql2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Npgsql/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Npgsql.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono0.install
+++ mono-2.4.2.3+dfsg/debian/libmono0.install
@@ -0,0 +1 @@
+/usr/lib/libmono.so.*
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sharpzip0.6-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sharpzip0.6-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.*/
+debian/tmp/usr/lib/mono/compat-1.0/ICSharpCode.SharpZipLib.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-simd2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-simd2.0-cil.install
@@ -0,0 +1 @@
+/usr/lib/mono/gac/Mono.Simd/2.0.0.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/watch
+++ mono-2.4.2.3+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=2
+opts=dversionmangle=s/\+dfsg// \
+	http://go-mono.com/sources-stable/ .+/mono-([\d\.]+)\.tar\.bz2
--- mono-2.4.2.3+dfsg.orig/debian/libmono-wcf3.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-wcf3.0-cil.install
@@ -0,0 +1,11 @@
+/usr/lib/mono/gac/System.IdentityModel.Selectors/3.0.0.0__*/
+/usr/lib/mono/gac/System.IdentityModel/3.0.0.0__*/
+/usr/lib/mono/gac/System.Runtime.Serialization/3.0.0.0__*/
+/usr/lib/mono/gac/System.ServiceModel.Web/3.0.0.0__*/
+/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__*/
+/usr/lib/mono/2.0/System.IdentityModel.Selectors.dll
+/usr/lib/mono/2.0/System.IdentityModel.dll
+/usr/lib/mono/2.0/System.Runtime.Serialization.dll
+/usr/lib/mono/2.0/System.ServiceModel.Web.dll
+/usr/lib/mono/2.0/System.ServiceModel.dll
+/usr/lib/pkgconfig/wcf.pc
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.prerm
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then
+	update-binfmts --package mono-runtime --remove cli /usr/bin/cli
+fi
+
+if [ "$1" = remove ]; then
+	update-alternatives --remove cli /usr/bin/mono
+fi
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/libmono-bytefx0.7.6.1-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-bytefx0.7.6.1-cil.clideps-override
@@ -0,0 +1 @@
+suggests libmono-winforms1.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/mono-gac.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-gac.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/gacutil.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-data1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-data1.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/1.0/Mono.Data.SybaseClient.dll
+debian/tmp/usr/lib/mono/1.0/Mono.Data.TdsClient.dll
+debian/tmp/usr/lib/mono/1.0/Mono.Data.dll
+debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/Mono.Data/1.0.5000.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/mono-gac.prerm
+++ mono-2.4.2.3+dfsg/debian/mono-gac.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ]; then
+        update-alternatives --remove global-assembly-cache-tool /usr/bin/gacutil
+        
+        # Remove the GAC
+        if [ -x /usr/share/cli-common/gac-remove ]; then
+		/usr/share/cli-common/gac-remove mono
+	fi
+fi
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/System.Data.dll.config
+++ mono-2.4.2.3+dfsg/debian/System.Data.dll.config
@@ -0,0 +1,4 @@
+<configuration>
+	<dllmap dll="gda-2" target="libgda-2.so.3"/>
+	<dllmap dll="gobject-2.0" target="libglib-2.0.so.0"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/libmono-winforms1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-winforms1.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/System.Windows.Forms/1.0.*/
+debian/tmp/usr/lib/mono/gac/System.Drawing.Design/1.0.*/
+debian/tmp/usr/lib/mono/gac/System.Design/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.Windows.Forms.dll
+debian/tmp/usr/lib/mono/1.0/System.Drawing.Design.dll
+debian/tmp/usr/lib/mono/1.0/System.Design.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-cecil-private-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-cecil-private-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/Mono.Cecil/
+/usr/lib/pkgconfig/cecil.pc
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-service.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-service.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/mono-service.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-web1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-web1.0-cil.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/mono/gac/System.Web/1.0.*/
+debian/tmp/usr/lib/mono/gac/System.Web.Services/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.Web.dll
+debian/tmp/usr/lib/mono/1.0/System.Web.Services.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-rabbitmq2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-rabbitmq2.0-cil.install
@@ -0,0 +1,2 @@
+/usr/lib/mono/gac/RabbitMQ.Client/2.0.0.0__*/
+/usr/lib/mono/2.0/RabbitMQ.Client.dll
--- mono-2.4.2.3+dfsg.orig/debian/Mono.Data.Sqlite.dll.config
+++ mono-2.4.2.3+dfsg/debian/Mono.Data.Sqlite.dll.config
@@ -0,0 +1,4 @@
+<configuration>
+	<dllmap dll="sqlite" target="libsqlite.so.0"/>
+	<dllmap dll="sqlite3" target="libsqlite3.so.0"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/libmono-cscompmgd7.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-cscompmgd7.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/cscompmgd/7.0.*/
+debian/tmp/usr/lib/mono/1.0/cscompmgd.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-i18n1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-i18n1.0-cil.install
@@ -0,0 +1,8 @@
+/usr/lib/mono/gac/I18N.CJK/1.0.*/
+/usr/lib/mono/gac/I18N.MidEast/1.0.*/
+/usr/lib/mono/gac/I18N.Other/1.0.*/
+/usr/lib/mono/gac/I18N.Rare/1.0.*/
+/usr/lib/mono/1.0/I18N.CJK.dll
+/usr/lib/mono/1.0/I18N.MidEast.dll
+/usr/lib/mono/1.0/I18N.Other.dll
+/usr/lib/mono/1.0/I18N.Rare.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-data1.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system-data1.0-cil.clideps-override
@@ -0,0 +1,2 @@
+suggests libgda2-3
+suggests libglib2.0-0
--- mono-2.4.2.3+dfsg.orig/debian/mono-utils.postinst
+++ mono-2.4.2.3+dfsg/debian/mono-utils.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+update-alternatives \
+	 --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \
+	 --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/mono-runtime.docs
+++ mono-2.4.2.3+dfsg/debian/mono-runtime.docs
@@ -0,0 +1,4 @@
+README
+AUTHORS
+NEWS
+debian/changelog.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sqlite1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sqlite1.0-cil.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/
+debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Mono.Data.Sqlite.dll
+debian/tmp/usr/lib/mono/1.0/Mono.Data.SqliteClient.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-jay.install
+++ mono-2.4.2.3+dfsg/debian/mono-jay.install
@@ -0,0 +1 @@
+debian/tmp/usr/bin/jay
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sharpzip0.84-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sharpzip0.84-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.84.*/
+debian/tmp/usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-corlib1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-corlib1.0-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/mono/1.0/mscorlib.dll*
--- mono-2.4.2.3+dfsg.orig/debian/System.Windows.Forms.dll.config
+++ mono-2.4.2.3+dfsg/debian/System.Windows.Forms.dll.config
@@ -0,0 +1,11 @@
+<configuration>
+	<dllmap dll="gdiplus" target="libgdiplus.so.0"/>
+	<dllmap dll="X11" target="libX11.so.6"/>
+	<dllmap dll="libX11" target="libX11.so.6"/>
+	<dllmap dll="libXcursor" target="libXcursor.so.1"/>
+	<dllmap dll="libglib-2.0.so" target="libglib-2.0.so.0"/>
+	<dllmap dll="libgobject-2.0.so" target="libgobject-2.0.so.0"/>
+	<dllmap dll="libgdk-x11-2.0.so" target="libgdk-x11-2.0.so.0"/>
+	<dllmap dll="libgtk-x11-2.0.so" target="libgtk-x11-2.0.so.0"/>
+	<dllmap dll="libgdk_pixbuf-2.0.so" target="libgdk_pixbuf-2.0.so.0"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/libmono-cairo2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-cairo2.0-cil.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/gac/Mono.Cairo/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Mono.Cairo.dll
+debian/tmp/usr/lib/pkgconfig/mono-cairo.pc
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-gac.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-gac.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/gacutil2.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-gac.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-gac.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/gacutil1.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-service.install
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-service.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/mono-service2
+debian/tmp/usr/lib/mono/2.0/mono-service.exe*
--- mono-2.4.2.3+dfsg.orig/debian/copyright
+++ mono-2.4.2.3+dfsg/debian/copyright
@@ -0,0 +1,793 @@
+This package was re-debianized and merged with the "mcs" source package by
+Mirco Bauer <meebey@meebey.net>.
+
+This package was debianized by Alp Toker <alp@atoker.com> using the Monodeb
+build system.
+
+It was downloaded from:
+http://www.mono-project.com/Downloads
+
+Upstream Authors:
+Miguel de Icaza (miguel@ximian.com)
+Paolo Molaro (lupus@ximian.com)
+Dietmar Maurer (dietmar@ximian.com)
+
+mcs/mcs/* (C# Compiler)
+Miguel de Icaza (miguel@ximian.com)
+
+mcs/class/* (Class Libraries)
+Patrik Torstensson <patrik.torstensson@labs2.com>
+Gaurav Vaish <gvaish@iitk.ac.in>
+Jeff Stedfast (fejj@ximian.com)
+Joe Shaw (joe@ximian.com)
+Miguel de Icaza (miguel@ximian.com)
+Sean MacIsaac (macisaac@ximian.com)
+Vladimir Vukicevic (vladimir@ximian.com)
+Garrett Rooney (rooneg@electricjellyfish.net)
+Bob Smith (bob@thestuff.net)
+John Barnette (jbarn@httcb.net)
+
+Copyright:
+
+-------------------------------------------------------------------------------
+
+mcs/mcs/*
+
+The C# Compiler is released under the terms of the GNU GPL.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
+
+-------------------------------------------------------------------------------
+
+mcs/tools/monodoc/Lucene.Net/*
+
+Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+On Debian systems, the complete text of Apache License, Version 2.0
+can be found in /usr/share/common-licenses/Apache-2.0 file.
+
+-------------------------------------------------------------------------------
+
+mcs/class/*
+
+The class libraries are released under the terms of the MIT X11
+
+MIT/X11 License
+
+Copyright (c) 2001-2005 Novell
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+The Mono runtime and the Mono C# Compiler are also available under a
+proprietary license for those who can not use the LGPL and the GPL in
+their code.
+
+-------------------------------------------------------------------------------
+
+mcs/class/MicrosoftAjaxLibrary/*
+mcs/class/System.Web.Mvc/*
+
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+Microsoft Permissive License (Ms-PL)
+
+This license governs use of the accompanying software. If you use the software,
+you accept this license. If you do not accept the license, do not use the
+software.
+
+1. Definitions
+
+The terms "reproduce," "reproduction," "derivative works," and "distribution"
+have the same meaning here as under U.S. copyright law.
+
+A "contribution" is the original software, or any additions or changes to the
+software.
+
+A "contributor" is any person that distributes its contribution under this
+license.
+
+ "Licensed patents" are a contributor's patent claims that read directly on its
+ contribution.
+ 
+2. Grant of Rights
+
+(A) Copyright Grant- Subject to the terms of this license, including the license
+conditions and limitations in section 3, each contributor grants you a
+non-exclusive, worldwide, royalty-free copyright license to reproduce its
+contribution, prepare derivative works of its contribution, and distribute its
+ contribution or any derivative works that you create.
+
+(B) Patent Grant- Subject to the terms of this license, including the license
+conditions and limitations in section 3, each contributor grants you a
+non-exclusive, worldwide, royalty-free license under its licensed patents to
+make, have made, use, sell, offer for sale, import, and/or otherwise dispose of
+its contribution in the software or derivative works of the contribution in the
+software.
+ 
+3. Conditions and Limitations
+
+(A) No Trademark License- This license does not grant you rights to use any
+contributors' name, logo, or trademarks.
+
+(B) If you bring a patent claim against any contributor over patents that you
+claim are infringed by the software, your patent license from such contributor
+to the software ends automatically.
+
+(C) If you distribute any portion of the software, you must retain all
+copyright, patent, trademark, and attribution notices that are present in the
+software.
+
+(D) If you distribute any portion of the software in source code form, you may
+do so only under this license by including a complete copy of this license with
+your distribution. If you distribute any portion of the software in compiled or
+object code form, you may only do so under a license that complies with this
+license.
+
+(E) The software is licensed "as-is." You bear the risk of using it. The
+contributors give no express warranties, guarantees or conditions. You may have
+additional consumer rights under your local laws which this license cannot
+change. To the extent permitted under your local laws, the contributors exclude
+the implied warranties of merchantability, fitness for a particular purpose and
+non-infringement.
+
+(F) If you distribute the software or derivative works with programs you
+develop, you agree to indemnify, defend, and hold harmless all contributors from
+any claims, including attorneys' fees, related to the distribution or use of
+your programs.  For clarity, you have no such obligations to a contributor for
+any claims based solely on the unmodified contributions of that contributor.
+
+(G) If you make any additions or changes to the original software, you may only
+distribute them under a new namespace.  In addition, you will clearly identify
+your changes or additions as your own.
+
+-------------------------------------------------------------------------------
+
+mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*
+
+Copyright (c) 2007 James Newton-King
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+-------------------------------------------------------------------------------
+
+mcs/nunit20/*
+
+Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov,
+                        Charlie Poole
+Copyright (C) 2000-2004 Philip A. Craig
+
+This software is provided 'as-is', without any express or implied warranty. In
+no event will the authors be held liable for any damages arising from the use
+of this software.
+
+Permission is granted to anyone to use this software for any purpose, including
+commercial applications, and to alter it and redistribute it freely, subject to
+the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not claim
+   that you wrote the original software. If you use this software in a product,
+   an acknowledgment (see the following) in the product documentation is
+   required.
+
+Portions Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two,
+Alexei A. Vorontsov, Charlie Poole or Copyright (C) 2000-2004 Philip A. Craig
+
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source distribution.
+
+-------------------------------------------------------------------------------
+
+mcs/class/RabbitMQ.Client/*
+
+Copyright (C) 2007, 2008 LShift Ltd.
+Copyright (C) 2007, 2008 Cohesive Financial Technologies LLC.
+Copyright (C) 2007, 2008 Rabbit Technologies Ltd.
+
+This source code is dual-licensed under the Apache License, version
+2.0, and the Mozilla Public License, version 1.1.
+
+The APL v2.0:
+
+   Copyright (C) 2007, 2008 LShift Ltd., Cohesive Financial
+   Technologies LLC., and Rabbit Technologies Ltd.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+On Debian systems, the complete text of the Apache License Version 2.0,
+can be found in the /usr/share/common-licenses/Apache-2.0 file.
+
+The MPL v1.1:
+
+   The contents of this file are subject to the Mozilla Public License
+   Version 1.1 (the "License"); you may not use this file except in   
+   compliance with the License. You may obtain a copy of the License at
+   http://www.rabbitmq.com/mpl.html
+
+   Software distributed under the License is distributed on an "AS IS"
+   basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+   License for the specific language governing rights and limitations
+   under the License.
+
+   The Original Code is The RabbitMQ .NET Client.
+
+   The Initial Developers of the Original Code are LShift Ltd.,
+   Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
+
+   Portions created by LShift Ltd., Cohesive Financial Technologies
+   LLC., and Rabbit Technologies Ltd. are Copyright (C) 2007, 2008 
+   LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit   
+   Technologies Ltd.;
+
+   All Rights Reserved.
+
+   Contributor(s): ______________________________________.
+
+
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ---------------
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A - Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is RabbitMQ.
+
+     The Initial Developers of the Original Code are LShift Ltd.,
+     Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
+
+     Portions created by LShift Ltd., Cohesive Financial
+     Technologies LLC., and Rabbit Technologies Ltd. are Copyright (C) 
+     2007 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit 
+     Technologies Ltd.; 
+
+     All Rights Reserved.
+
+     Contributor(s): ______________________________________.''
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
+-------------------------------------------------------------------------------
+
+docs/AgilityPack.dll
+
+Copyright (C) ???? Simon Mourier <simonm@microsoft.com>
+
+Mono bundles a binary-only copy of the Html Agility Pack library.
+
+Mono used the source of beagle to produce the binary.
+
+Beagle's version claims to be BSD licensed:
+http://svn.gnome.org/viewvc/beagle/trunk/Filters/HtmlAgilityPack/HtmlDocument.cs?revision=16&view=markup&pathrev=16
+
+While the original project says it's CC Share-alike 2.5 licensed:
+http://htmlagilitypack.codeplex.com/license
+
+FIXME:
+Either beagle illegal relicensed Html Agility Pack from CC Share-alike to
+BSD (3 clause) or the author of Html Agility Pack published somewhere a BSD
+version (or maybe even relicensed specially for beagle)
+
+TEMP FIX:
+AgilityPack.dll was removed from the mono source tarball, see debian/rules
+get-orig-source target.
+
+2009-05-19:
+The license on http://htmlagilitypack.codeplex.com/license now says:
+Microsoft Public License (Ms-PL)
+
+-------------------------------------------------------------------------------
+
+debian/detector/*
+
+The source package contains an additional tool called binfmt-detector-cli.
+
+Author:
+Ilya Konstantinov <future@shiny.co.il>
+
+License:
+Distributed on the terms of the GNU General Public License which can
+be found in the file /usr/share/common-licenses/GPL on Debian systems.
--- mono-2.4.2.3+dfsg.orig/debian/icu-test.cs
+++ mono-2.4.2.3+dfsg/debian/icu-test.cs
@@ -0,0 +1,11 @@
+
+public class MainClass
+{
+	public static void Main()
+	{
+		System.Console.WriteLine("This should output (depending in your locales) something like:");
+		System.Console.WriteLine("\"Thursday, 27 May 2004 22:14:01\"");
+		System.Console.WriteLine("Actual Output:");
+		System.Console.WriteLine("\""+System.DateTime.Now.ToString("F")+"\"");
+	}
+}
--- mono-2.4.2.3+dfsg.orig/debian/mono-gmcs.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-gmcs.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/gmcs.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system2.0-cil.install
@@ -0,0 +1,26 @@
+debian/tmp/usr/lib/mono/2.0/CustomMarshalers.dll
+debian/tmp/usr/lib/mono/2.0/System.Configuration.Install.dll
+debian/tmp/usr/lib/mono/2.0/System.Configuration.dll
+debian/tmp/usr/lib/mono/2.0/System.Core.dll
+debian/tmp/usr/lib/mono/2.0/System.Drawing.dll
+debian/tmp/usr/lib/mono/2.0/System.EnterpriseServices.dll
+debian/tmp/usr/lib/mono/2.0/System.Management.dll
+debian/tmp/usr/lib/mono/2.0/System.Security.dll
+debian/tmp/usr/lib/mono/2.0/System.ServiceProcess.dll
+debian/tmp/usr/lib/mono/2.0/System.Transactions.dll
+debian/tmp/usr/lib/mono/2.0/System.Xml.dll
+debian/tmp/usr/lib/mono/2.0/System.Xml.Linq.dll
+debian/tmp/usr/lib/mono/2.0/System.dll
+debian/tmp/usr/lib/mono/gac/CustomMarshalers/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Configuration.Install/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Configuration/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Core/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Drawing/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Management/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Security/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.ServiceProcess/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Transactions/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Xml/2.0.0.0__*/
+debian/tmp/usr/lib/mono/gac/System.Xml.Linq/3.5.0.0__*/
+debian/tmp/usr/lib/mono/gac/System/2.0.0.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/libmono-ldap2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-ldap2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Novell.Directory.Ldap.dll
--- mono-2.4.2.3+dfsg.orig/debian/dh_clideps
+++ mono-2.4.2.3+dfsg/debian/dh_clideps
@@ -0,0 +1,610 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_clideps - calculates CLI (.NET) dependencies
+
+=cut
+
+use strict;
+use Cwd;
+use File::Find;
+use File::Temp;
+use Debian::Debhelper::Dh_Lib;
+
+#eval 'use Debian::Debhelper::Dh_Lib';
+#print "You need to install the debhelper package in order to use this program!" if $@;
+
+=head1 SYNOPSIS
+
+B<dh_clideps> [S<I<debhelper options>>]
+
+=head1 DESCRIPTION
+
+dh_clideps is a debhelper program that is responsible for generating the
+${cli:Depends} substitutions and adding them to substvars files.
+
+The program will look at .dll/.exe and .config files in your package, and
+will use the embedded dependency information to generate a dependency
+string on assembly and shared libs packages, including the setting of
+version ranges (as declared by the shlibs/clilibs files of the used
+packages). The dependency on a certain CLR (Common Language Runtime)
+version will be also added to the final variable.
+
+Note: the dependencies on shared libraries may be not resolved correctly
+if there are no .config files associated with the the .exe/.dll file
+which refers to the particular shared library (by its SONAME).
+
+If you use this program, your package should build-depend on cli-common-dev
+(>= 0.4.0).
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-d>
+
+Attempt to predict and avoid duplicates that may appear if you package
+both, native shared libraries and DLL assemblies in one package.
+The list of possibly duplicating candidates is expected to be in the
+variable shlib:Depends from debian/package.substvars.
+
+=item B<-r>
+
+Don't set a strong versioned dependency on mono-runtime or other CLR packages.
+This option can be used to specify a relaxed dependency on the VM/CLR
+by-hand in the control file, eg. "mono-runtime | cli-runtime".
+
+=item B<-l>directory[:directory:directory:..]
+
+Before mondis is run, MONO_GAC_PREFIX and MONO_PATH are set to the specified directory (or
+directories -- separate with colons). This is useful for multi-binary packages where a library is
+built in one package and another package contains binaries linked against said library. Relative
+paths will be made absolute for the benefit of monodis.
+
+Note that the directory given should be the complete or relative path to a directory that contains
+the library. See example below.
+
+=item B<internal-mono>                             
+
+Uses the mono runtime in . (used for bootstrapping mono packages)  
+
+=head1 EXAMPLES
+
+Suppose that your source package produces libfoo1.0-cil and libbar1.0-cil
+binary packages.
+In your rules file, first run dh_makeclilibs, then dh_clideps:
+  (MONO_GAC_PREFIX example)
+  dh_makeclilibs -V
+  dh_clideps -l debian/libfoo1.0-cil/usr:debian/libbar1.0-cil/usr
+or
+  (MONO_PATH example)
+  dh_clideps -l debian/foo-application/usr/lib/foo-application
+or
+  (MONO_GAC_PREFIX example)
+  dh_clideps -l debian/tmp/usr
+
+=cut
+
+# gar, debhelper 7.1 defines -d for all scripts already :(
+init(options => {
+#  "d" => \$dh{D_FLAG},
+  "r" => \$dh{R_FLAG},
+  "l=s", => \$dh{L_PARAMS},
+  "internal-mono"  => \$dh{INTERNAL_MONO_FLAG},
+});
+
+my $clr;
+my $cli = '/usr/bin/cli';
+my $cli_version = `$cli --version 2>&1`;
+my $cli_parser;
+my $cli_parser_paths;
+my $pwd = `pwd`;
+chomp $pwd;
+
+my $mono_gac_prefix = "";
+my $mono_path = "";
+if ($dh{L_PARAMS}) { 
+  my @mono_paths = ();
+  my @mono_gac_prefixes = ();
+  # Add to existing paths, if set.
+  push(@mono_gac_prefixes, $ENV{'MONO_GAC_PREFIX'}) if exists $ENV{'MONO_GAC_PREFIX'};
+  push(@mono_paths,        $ENV{'MONO_PATH'}) if exists $ENV{'MONO_PATH'};
+  foreach (split(/:/, $dh{L_PARAMS})) {
+    # Force the path absolute.
+    my $full_path;
+    if (m:^/:) {
+      $full_path = $_;
+    } else {
+      $full_path = getcwd()."/$_";
+    }
+    if (-d "$full_path/lib/mono/gac") {
+      # it's a GAC prefix
+      push(@mono_gac_prefixes, $full_path);
+    } else {
+      # it's a Mono PATH
+      push(@mono_paths, $full_path);
+    }
+  }
+  $mono_gac_prefix .= ":" . join(':', @mono_gac_prefixes);
+  $mono_path       .= ":" . join(':', @mono_paths);
+} else {
+  $mono_gac_prefix = $ENV{'MONO_GAC_PREFIX'} if exists $ENV{'MONO_GAC_PREFIX'};
+  $mono_path       = $ENV{'MONO_PATH'} if exists $ENV{'MONO_PATH'};
+}
+
+if (defined($dh{INTERNAL_MONO_FLAG}) ||
+    (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) {
+    $clr = "mono";
+    $cli_parser = "$pwd/debian/tmp/usr/bin/monodis";
+    $cli_parser_paths = "LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$mono_path:$pwd/debian/tmp/usr/lib/mono/1.0:$pwd/debian/tmp/usr/lib/mono/2.0 MONO_GAC_PREFIX=$mono_gac_prefix ";
+    $cli_version = `LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib $pwd/debian/tmp/usr/bin/mono --version 2>&1`;
+    verbose_print("Will use built Mono (debian/tmp/usr/bin/monodis) for CIL parsing.");
+} elsif (-x "/usr/bin/monodis") {
+    $clr = "mono";
+    $cli_parser = "/usr/bin/monodis";
+    $cli_parser_paths = "MONO_PATH=$mono_path MONO_GAC_PREFIX=$mono_gac_prefix ";
+    verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing.");
+} elsif (-x "/usr/bin/ildasm") {
+    $clr = "pnet";
+    $cli_parser = "/usr/share/cli-common/ildasm-monodis";
+    verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing.");
+} else {
+    error("Could not find a CIL disassembler, aborting.");
+}
+
+{
+  local $/="";
+  open(FILE, 'debian/control');
+  my @filedata = <FILE>;
+  close(FILE);
+  if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) {
+      warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!");
+  }
+}
+
+if (!defined $cli_version || $cli_version eq "" ) {
+    warning("Warning! No CLR is installed. (Probably forgot to Build-Depend on cli-virtual-machine.)");
+} else {
+  if ($clr eq "mono") {
+    if ($cli_version =~ /(mint|version)\ ([\d\.]+)/) {
+      $cli_version = "$2";
+    } else {
+      error("Unable to parse Mono version out of \"$cli_version\".");
+    }
+  } elsif ($clr eq "pnet") {
+    if ($cli_version =~ /ILRUN\ ([\d\.]+)/) {
+      $cli_version = "$1";
+    } else {
+      error("Unable to parse Portable.NET version out of \"$cli_version\".");
+    }
+  } else {
+    error("Unable to detect CLR, aborting.");
+  }
+}
+
+
+# Cleaning the paths given on the command line
+foreach (@ARGV) {
+    s#/$##;
+    s#^/##;
+}
+
+my $fh;
+
+verbose_print("Loading clilibs...");
+my %clilibdata;
+open($fh, "cat /var/lib/dpkg/info/*.clilibs debian/*/DEBIAN/clilibs 2> /dev/null |");
+while (<$fh>) {
+    /(\S+)\s+(\S+)\s+(\w.*)\n?/;
+    $clilibdata{"$1/$2"} = $3;
+}
+close($fh);
+
+
+verbose_print("Loading shlibs...");
+my %shlibdata;
+open($fh, "cat /var/lib/dpkg/info/*.shlibs $pwd/debian/shlibs.local $pwd/debian/*/DEBIAN/shlibs 2> /dev/null |");
+while (<$fh>) {
+  /(\S+)\s+(\S+)\s+(\w.*)\n?/;
+  my ($soname, $soversion, $dependency);
+  #chomp;
+  #my($soname, $soversion, $dependency) = split(/\s+/, $_, 3);
+  $soname = $1;
+  $soversion = $2;
+  $dependency = $3;
+  $shlibdata{"$soname.so.$soversion"} = $dependency;
+}
+close($fh);
+
+our $needs_net_1_0;
+our $needs_net_2_0;
+our $needs_net_2_1;
+
+foreach my $package (@{$dh{DOPACKAGES}}) {
+  my $tmp = tmpdir($package);
+  my %refs = ( depends => [],
+               recommends => [],
+               suggests => [] );
+  my $found_exe = 0;
+  $needs_net_1_0 = 0;
+  $needs_net_2_0 = 0;
+  $needs_net_2_1 = 0;
+  
+  # for idempotency
+  delsubstvar($package, "cli:Depends");
+  delsubstvar($package, "cli:Suggests");
+  delsubstvar($package, "cli:Recommends");
+
+  # find binaries
+  find (sub {
+    return unless -f && !-l && /\.(exe|dll)$/;
+    my $file = $_;
+    if (/\.exe$/) {
+      $found_exe = 1;
+    }
+
+    verbose_print("Package: $package Assembly: $file");
+        
+    my %shlibRefs = resolveShlibRefs($package, $file);
+    push(@{$refs{depends}},    @{$shlibRefs{depends}});
+    push(@{$refs{recommends}}, @{$shlibRefs{recommends}});
+    push(@{$refs{suggests}},   @{$shlibRefs{suggests}});
+
+    my %clilibRefs = resolveClilibRefs($package, $tmp, $file);
+    push(@{$refs{depends}},    @{$clilibRefs{depends}});
+    push(@{$refs{recommends}}, @{$clilibRefs{recommends}});
+    push(@{$refs{suggests}},   @{$clilibRefs{suggests}});
+  }, $tmp);
+
+  $refs{depends}    = filterDuplicates($package, $refs{depends});
+  $refs{recommends} = filterDuplicates($package, $refs{recommends});
+  $refs{suggests}   = filterDuplicates($package, $refs{suggests});
+
+  my $vm_ref = "";
+  if (!defined($dh{R_FLAG}) && $found_exe) {
+    if ($clr eq "mono") {
+      if ($needs_net_2_1) {
+        $vm_ref = "mono-runtime (>= 1.2.6), ";
+      } elsif ($needs_net_2_0) {
+        $vm_ref = "mono-runtime (>= 1.1.8.1), ";
+      } elsif ($needs_net_1_0) {
+        $vm_ref = "mono-runtime (>= 1.0), ";
+      } else {
+        $vm_ref = "mono-runtime (>= $cli_version), ";
+      }
+    } elsif ($clr eq "pnet") {
+      $vm_ref = "pnet-interpreter (>= $cli_version), ";
+    }
+  }
+  
+  my $dh_ref = "";
+  if (-f "$tmp/usr/share/cli-common/packages.d/$package.installcligac") {
+    # this package uses late GAC install, thus we need cli-common at package install time
+    if (-f "debian/cligacpolicy" || -f "debian/$package.cligacpolicy") {
+      # if this package uses dh_cligacpolicy then we need 0.5.4 for the policy-remove script in .postrm
+      # and 0.5.6 to get a working .postrm script (tried also to remove on purge)
+      $dh_ref = "cli-common (>= 0.5.6), ";
+    } else {
+      # we still need at least 0.5.1, as older versions silently missed installing policy files
+      $dh_ref = "cli-common (>= 0.5.1), ";
+    }
+  }
+  $vm_ref .= $dh_ref;
+  
+    #$deps .= join(", ", "",
+    #    sort {
+    #        # beautify the sort order, requested by meebey
+    #        my $apkg;
+    #        $a =~ /^\S+/;
+    #        $apkg=$&;
+    #        $b =~ /^\S+/;
+    #        if($apkg eq $&) {
+    #           return -1 if( ($a=~/>=/) && ($b=~/<</));
+    #           return 1 if( ($b=~/>=/) && ($a=~/<</));
+    #        }
+    #        $a cmp $b;
+    #    } (keys %depkgsFiltered)
+    #);
+    
+  @{$refs{depends}}    = sort(@{$refs{depends}});
+  @{$refs{recommends}} = sort(@{$refs{recommends}});
+  @{$refs{suggests}}   = sort(@{$refs{suggests}});
+
+  addsubstvar($package, "cli:Depends",    $vm_ref . join(", ", @{$refs{depends}}));
+  addsubstvar($package, "cli:Recommends", join(", ", @{$refs{recommends}}));
+  addsubstvar($package, "cli:Suggests",   join(", ", @{$refs{suggests}}));
+}
+
+sub filterDuplicates {
+  my $package = shift;
+  my $packages = shift;
+  
+  my %packagesFiltered;
+  for (@{$packages}) {
+    # filter undef, empties, dups and don't depend on ourself package
+    if (!$_) {
+      next;
+    }
+    
+    /^(\S+)/;
+    if ($1 &&
+        $1 ne $package) {
+      $packagesFiltered{$_} = 1;
+    }
+  }
+
+  # now filter the dupes coming from shlibs
+  if (defined($dh{D_FLAG})) {
+    my $fh;
+    if (open($fh, "< $pwd/debian/$package.substvars" )) {
+      while (<$fh>) {
+        if (/^shlibs:Depends=(.*)\n?/) {
+          for (split(/\s*,\s*/, $1)) {
+            delete $packagesFiltered{$_};
+          }
+        }
+      }
+      close($fh);
+    } else {
+      verbose_print("Could not read $pwd/debian/$package.substvars");
+    }
+  }
+  
+  return [ keys %packagesFiltered ];
+}
+
+sub loadDllMap {
+   my $filename = shift;
+   our $dllmapdata = shift;
+   if (!-f $filename) {
+     verbose_print("loadDllMap(): DLL map $filename not found, ignoring...");
+     return;
+   }
+   
+   use XML::DOM;
+   my $parser = new XML::DOM::Parser;
+   my $doc = $parser->parsefile($filename, whitespace => 'strip');
+   my $root = $doc->getDocumentElement();
+   my @mapentries = $root->getElementsByTagName("dllmap");
+   foreach my $mapentry (@mapentries) {
+     my $dll = $mapentry->getAttribute("dll");
+     my $target = $mapentry->getAttribute("target");
+     #verbose_print("DLL map: '$dll' target: '$target'");
+     $dllmapdata->{$dll} = $target;
+   }
+}
+
+sub loadOverrides {
+   my $package = shift;
+   my $overridedata = shift;
+   
+   # load clideps overrides
+   verbose_print("Loading clideps-override for $package...");
+   my $fh;
+   open($fh, "cat $pwd/debian/$package.clideps-override 2> /dev/null |");
+   while (<$fh>) {
+     /(\S+)\s+(\S+)(?:\s+(\(\S+\s+\S+\)))?\n?/;
+     my ($type, $package, $version);
+     $type = $1;    
+     $package = $2; 
+     $version = $3 if defined($3);
+     if ($version) {
+       $overridedata->{$package} = $type." ".$version;
+     } else {
+       $overridedata->{$package} = $type;
+     }
+   }
+   close($fh);
+}
+
+sub resolveOverride {
+  my $package = shift;
+  my $pkgref = shift;
+  my %ret = ( depends => undef,
+              recommends => undef,
+              suggests => undef );
+
+  my $type = "depends";
+  my $newpkgref = $pkgref;
+  $newpkgref =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/;
+  my $pkgname = $1;
+  my $ver = $2;
+  # hack for libc6,
+  # for ia64 and alpha the package name is libc6.1,
+  # for kfreebsd-i386 and kfreebsd-amd64 it is libc0.1
+  if ($pkgname =~ m/^libc[06]/) {
+    $newpkgref = "libc6 $ver | libc6.1 $ver | libc0.1 $ver";
+  }
+ 
+  my %overridedata;
+  loadOverrides($package, \%overridedata);
+  if (defined($overridedata{$pkgname})) {
+    verbose_print("Found clideps-override: $pkgname for: $package");
+
+    my $override = $overridedata{$pkgname};
+    $override =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/;
+    if ($1 eq "suggests" ||
+        $1 eq "recommends") {
+      $type = $1;
+    } elsif ($1 eq "ignores") {
+    } else {
+      warning("Warning: unknown override type: $1 in: '$override' for: $package!");
+    }
+       
+    if (defined($2)) {
+      $newpkgref = "$pkgname $2";
+    } else {
+      $newpkgref = $pkgref;
+    }
+  }
+  verbose_print("resolved pkgref: $pkgref to $type: $newpkgref");
+  $ret{$type} = $newpkgref;
+  
+  return %ret; 
+}
+
+sub resolveClilibRefs {
+  my $package = shift;
+  my $tmp = shift;
+  my $assembly_filename = shift;
+  my %ret = ( depends => [],
+              recommends => [],
+              suggests => [] );
+
+  my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1);
+  my $command = "LANG=C $cli_parser_paths MONO_GAC_PREFIX=\$MONO_GAC_PREFIX:$tmp/usr $cli_parser --assemblyref $assembly_filename 2>&1 > $tmpfile";
+  verbose_print("running CLI parser command: $command");
+  
+  system($command);
+  if ($?) {
+    my $output;
+    {
+      local *F;
+      open(F, $tmpfile);
+      local $/;
+      $output = <F>;
+      close(F);
+    }
+    error("cli_parser call failed: '".$command."' rc: $? output: $output");
+    return;
+  }
+        
+  my ($ver, $name, $key);
+  local *F;
+  open(F, $tmpfile);
+  while (<F>) {
+    $ver  = $1 if /Version=(.*)\n/;
+    $name = $1 if /Could not find assembly ([^,]+),/;
+    $name = $1 if /Name=(.*)\n/;
+    $ver  = "$1.$2" if /Major\/Minor:\s*(\d+),(\d+)/;
+    $ver  .= ".$1.$2" if /Build:\s*(\d+),(\d+)/;
+
+    if (/0x\S+:.([ABCDEF0123456789 ]+)\n/ || /Token:\s*(\w+)/) {
+      $key = $1;
+      $key =~ s/\ //g;
+      $key = $ver . "__" . lc($key);
+      my $compat = "$name/$key";
+      if (!defined($clilibdata{$compat})) {
+        warning("Warning: No Debian dependency data for $name ($key)!");
+      } else {
+        my $pkgref = $clilibdata{$compat};
+        my %overriddenRef = resolveOverride($package, $pkgref);
+        push(@{$ret{depends}},    $overriddenRef{depends});
+        push(@{$ret{recommends}}, $overriddenRef{recommends});
+        push(@{$ret{suggests}},   $overriddenRef{suggests});
+      }
+
+      if ($name eq "mscorlib") {
+        if ($ver eq "1.0.5000.0") {
+          $needs_net_1_0 = 1;
+        } elsif ($ver eq "2.0.3600.0") {
+          $needs_net_2_0 = 1;
+        } elsif ($ver eq "2.0.0.0") {
+          $needs_net_2_0 = 1;
+        } elsif ($ver eq "2.1.0.0") {
+          $needs_net_2_1 = 1;
+        } else {
+          warning("Warning: Unknown mscorlib version: $ver!");
+        }
+      } 
+    }
+  }
+  close(F);
+  
+  return %ret;
+}
+
+sub resolveShlibRefs {
+   my $package = shift;
+   my $assembly_filename = shift;
+   my $config_filename = $assembly_filename.".config";
+   my %ret = ( depends => [],
+               recommends => [],
+               suggests => [] );
+   if (-r $config_filename) {
+     verbose_print("Found DLL map: $config_filename");
+   } else {
+     verbose_print("Found no specific DLL map, but resolving modulerefs anyway");
+   }
+
+   # load dll maps
+   verbose_print("Loading DLL maps for: $assembly_filename...");
+   my %dllmapdata;
+   loadDllMap("/etc/mono/config", \%dllmapdata);
+   loadDllMap("$pwd/debian/tmp/etc/mono/config", \%dllmapdata);
+   loadDllMap($config_filename, \%dllmapdata);
+   
+   # parse modulerefs
+   my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1);
+   my $command = "LANG=C $cli_parser_paths $cli_parser --moduleref $assembly_filename 2>&1 > $tmpfile";
+   
+   system($command);
+   if ($?) {
+     my $output;
+     {
+       local *F;
+       open(F, $tmpfile);
+       local $/;
+       $output = <F>;
+       close(F);
+     }
+     error("cli_parser call failed: '".$command."' rc: $? output: $output");
+     return;
+   }
+   
+   local *F;
+   open(F, $tmpfile);
+   while (<F>) {
+     my $name = $1 if /\d+:\s+(.*)\n/;
+     if (!defined($name)) {
+       next;
+     }
+     my $target = $dllmapdata{$name};
+     
+     if (defined($target)) {
+       $target = basename($target);
+       verbose_print("Resolved moduleref via DLL map: $name to: $target");
+     } elsif (defined($shlibdata{$name})) {
+       verbose_print("Resolved moduleref via direct match in shlibs");
+     } else {
+       warning("Warning: Could not resolve moduleref: $name for: $assembly_filename!");
+       next;
+     }
+ 
+     my $pkgref;
+     if (defined($target) && defined($shlibdata{$target})) {
+       $pkgref = $shlibdata{$target};
+     } elsif (defined($shlibdata{$name})) {
+       $pkgref = $shlibdata{$name};
+     } elsif (defined($target) && defined($shlibdata{$target.".0"})) {
+       # for DLL maps that have an unversioned library as target
+       $pkgref = $shlibdata{$target.".0"};
+     } else {
+       warning("Warning: Missing shlibs entry: $target or $name for: $assembly_filename!");
+       next;
+     }
+
+     my %overriddenRef = resolveOverride($package, $pkgref);
+     push(@{$ret{depends}},    $overriddenRef{depends});
+     push(@{$ret{recommends}}, $overriddenRef{recommends});
+     push(@{$ret{suggests}},   $overriddenRef{suggests});
+   } 
+   close(F);
+   
+   return %ret;
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of cli-common-dev.
+
+=head1 AUTHOR
+
+Mirco Bauer <meebey@meebey.net>, Eduard Bloch <blade@debian.org>,
+partialy based on code from Brendan O'Dea <bod@debian.org> and
+Joey Hess <joeyh@debian.org>.
+
+=cut
--- mono-2.4.2.3+dfsg.orig/debian/monodoc-manual.install
+++ mono-2.4.2.3+dfsg/debian/monodoc-manual.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/monodoc/monodoc.xml
+debian/tmp/usr/lib/monodoc/sources/*.source
+debian/tmp/usr/lib/monodoc/sources/*.tree
+debian/tmp/usr/lib/monodoc/sources/*.zip
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sqlite2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sqlite2.0-cil.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/
+debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Mono.Data.Sqlite.dll
+debian/tmp/usr/lib/mono/2.0/Mono.Data.SqliteClient.dll
--- mono-2.4.2.3+dfsg.orig/debian/preinst.ubuntu
+++ mono-2.4.2.3+dfsg/debian/preinst.ubuntu
@@ -0,0 +1,6 @@
+# revert Ubuntu doc dir symlinking to Debian style
+if [ "$1" = "upgrade" ]
+    then if dpkg --compare-versions $2 lt 2.4 && [ -L /usr/share/doc/#PACKAGENAME# ]
+        then rm -fr /usr/share/doc/#PACKAGENAME#
+    fi
+fi
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-messaging2.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system-messaging2.0-cil.clideps-override
@@ -0,0 +1 @@
+suggests libmono-winforms2.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/rules
+++ mono-2.4.2.3+dfsg/debian/rules
@@ -0,0 +1,506 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export MONO_SHARED_DIR=$(CURDIR)
+
+# Assume Debian behaviour by default.
+DISTRO = $(shell lsb_release -si)
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Vers | cut -d\  -f2)
+UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
+NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION))
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+
+RUN_MONO = LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/2.0 debian/tmp/usr/bin/mono
+DH_INTERNAL_MONO_PARAM = --internal-mono
+ifeq ($(shell dpkg --compare-versions $$(dpkg-query -f '$${Version}' -W debhelper) lt 7.1; echo $$?), 0)
+	DH_INTERNAL_MONO_PARAM = internal-mono
+endif
+
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE  := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+	CONF_FLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+	CONF_FLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
+        CONF_FLAGS += --enable-minimal=aot
+endif
+
+ifeq ($(DEB_BUILD_ARCH), armel)
+	CONF_FLAGS += --with-fpu=NONE
+	# the build-system picks __thread for armel which is not working,
+	# thus we have to explicitly pick pthread
+	CONF_FLAGS += --with-tls=pthread
+endif
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0 -g
+else
+	CFLAGS += -O2 -g
+endif
+
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	MINI_TEST = true
+	MONO_TEST = true
+else
+	MINI_TEST = cd mono/mini && make check
+	MONO_TEST = cd mono/tests && make test
+endif
+
+CONFIGURE =	CFLAGS="$(CFLAGS)" \
+		./configure $(CONF_FLAGS) --prefix=/usr \
+		  --mandir=\$${prefix}/share/man \
+		  --infodir=\$${prefix}/share/info --sysconfdir=/etc \
+		  --with-jit=yes --with-ikvm-native=no --with-preview=yes \
+		  --with-libgdiplus=installed --with-x=yes \
+		  --with-moonlight=no \
+		  --enable-quiet-build=no
+
+# Mono's build system doesn't like -j > 1
+MAKE_FLAGS += -j1
+export MAKEFLAGS=$(MAKE_FLAGS)
+
+#ifeq ($(DEB_BUILD_ARCH), i386)
+#	MAKE_FLAGS += RUNTIME=$(CURDIR)/debian/mono-aot-wrapper
+#endif
+
+# Include dpatch stuff.
+include /usr/share/dpatch/dpatch.make
+
+autoreconf: patch autoreconf-stamp
+autoreconf-stamp:
+	autoreconf -f -i -s
+	touch $@
+
+configure-arch: configure-arch-stamp
+configure-arch-stamp: autoreconf
+	dh_testdir
+	$(CONFIGURE) --disable-mcs-build
+	touch $@
+
+configure-indep: patch configure-indep-stamp
+configure-indep-stamp: autoreconf
+	dh_testdir
+	$(CONFIGURE)
+	touch $@
+
+build: build-arch
+build-all: build-arch build-indep
+
+build-arch: configure-arch build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+	LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false
+	cd mcs/jay && \
+	  $(MAKE)
+	cd debian/detector && \
+	  $(MAKE)
+	#debian/mono-aot-bootstrap
+	touch $@
+
+build-indep: configure-indep build-indep-stamp
+build-indep-stamp:
+	dh_testdir
+	LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false
+	chmod +x debian/dh_makeclilibs \
+	         debian/dh_clideps \
+	         debian/dh_clistrip \
+	         debian/dh_clifixperms \
+	         debian/dh_monoaot
+	touch $@
+
+test: test-arch
+test-arch: test-arch-stamp
+test-arch-stamp: configure-indep
+	# we have to depend on configure-indep here because configure-arch
+	# passes --disable-mcs-build to ./configure which skips generating
+	# mcs/build/config.make which is required when we wan't to build
+	# assemblies here as thats where RUNTIME etc is defined.
+
+	# runtime tests need gmcs, ilasm and mkbundle, so let's build them
+
+	# bootstrap 1.1 needs basic
+	cd mcs && LC_ALL=C $(MAKE) EXTERNAL_MCS=false EXTERNAL_MONO=false PROFILE=basic
+
+	# mcs needs bootstrap 1.1
+	cd mcs && LC_ALL=C $(MAKE) EXTERNAL_MCS=false EXTERNAL_MONO=false NO_DIR_CHECK=1 PROFILE=net_1_1_bootstrap
+
+	# mcs needs mscorlib, System, System.Xml and Mono.CompilerServices.SymbolWriter
+	cd mcs/class/corlib && LC_ALL=C $(MAKE) PROFILE=net_1_1
+	cd mcs/class/System && LC_ALL=C $(MAKE) PROFILE=net_1_1
+	cd mcs/class/System.XML && LC_ALL=C $(MAKE) PROFILE=net_1_1
+	cd mcs/class/Mono.CompilerServices.SymbolWriter && LC_ALL=C $(MAKE) PROFILE=net_1_1
+	# build mcs
+	cd mcs/mcs && LC_ALL=C $(MAKE) PROFILE=net_1_1
+
+	# gmcs needs bootstrap 2.0, 
+	cd mcs && LC_ALL=C $(MAKE) EXTERNAL_MCS=false EXTERNAL_MONO=false NO_DIR_CHECK=1 PROFILE=net_2_0_bootstrap
+	# build gmcs
+	cd mcs/mcs && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# PEAPI need mscorlib, System, System.Xml and Mono.CompilerServices.SymbolWriter
+	cd mcs/class/corlib && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	cd mcs/class/System && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	cd mcs/class/System.XML && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	cd mcs/class/Mono.CompilerServices.SymbolWriter && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# ilasm needs PEAPI and Mono.Security
+	cd mcs/class/PEAPI && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	cd mcs/class/Mono.Security && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	# build ilasm
+	cd mcs/ilasm && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# mkbundle needs Mono.Posix and ICSharpCode.SharpZipLib
+	cd mcs/class/Mono.Posix && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	cd mcs/class/ICSharpCode.SharpZipLib && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	# build mkbundle
+	cd mcs/tools/mkbundle && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# some tests need System.Core
+	cd mcs/class/System.Core && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# mono/mini tests need Mono.Simd
+	cd mcs/class/Mono.Simd && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# show time baby: run all tests
+	-$(MINI_TEST)
+	-$(MONO_TEST)
+
+	# clean up
+	cd mono/mini && $(MAKE) clean
+	cd mono/tests && $(MAKE) clean
+	# funny bug-459094.cs creates too long directory names which
+	# pbuilder is unable to remove, eh
+	rm -rf mono/tests/abcde12345abcde12345abcde12345abcde12345/
+	# delete the assemblies we built here, to make sure they get cleanly
+	# rebuild in the build-indep target
+	rm -rf \
+		mcs/class/lib/basic \
+		mcs/class/lib/net_1_1 \
+		mcs/class/lib/net_1_1_bootstrap \
+		mcs/class/lib/net_2_0 \
+		mcs/class/lib/net_2_0_bootstrap
+
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched:
+	echo "distro is $(DISTRO)"
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# distclean misses stuff
+	find -name "*.mdb" -delete
+	# AOT stuff we created using mono-aot-wrapper/mono-aot-bootstrap
+	find mcs/class/lib -name "*.so" -delete
+	-cd debian/detector && $(MAKE) clean
+	rm -f debian/MonoGetAssemblyName.exe \
+	      debian/mono-api-diff.exe
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+
+	rm -f mcs/class/lib/default/mono-api-info.exe               \
+	      mcs/class/lib/net_2_0/mono-api-info.exe               \
+	      mcs/class/Managed.Windows.Forms/resources/*.resources \
+	      mcs/class/Mono.Data.Sqlite/resources/SR.resources     \
+	      mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resources \
+	      mcs/class/System.Web/resources/TranslationResources.resources
+
+	# clean stuff handled by autoreconf
+	rm -rf configure config.sub config.guess ltmain.sh aclocal.m4 autom4te.cache/
+	find . -name "Makefile.in" -delete
+
+	rm -f autoreconf-stamp
+	rm -f configure-*-stamp
+	rm -f build-*-stamp
+	rm -f install-*-stamp
+
+	dh_clean
+
+install: install-all
+install-all: install-arch install-indep
+
+install-arch: install-arch-stamp
+install-arch-stamp:
+	dh_testdir
+	dh_testroot
+	#dh_clean -k -s
+	dh_installdirs -s
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	cd mcs/jay && \
+	  $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp prefix=/usr INSTALL=../../install-sh
+	touch install-arch-stamp
+
+install-indep: install-indep-stamp
+install-indep-stamp:
+	dh_testdir
+	dh_testroot
+	#dh_clean -k -i
+	dh_installdirs -i
+	cd mcs && \
+	  $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_1_1 && \
+	  $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_2_0 && \
+	  $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_3_5
+
+	# upstream forgot to remove this one
+	rm -f debian/tmp/usr/bin/mbas
+	# don't want docs of bundled libgc
+	rm -rf debian/tmp/usr/share/libgc-mono
+	# Mono.WebBrowser.dll is linked with CLI 2.0, thus the symlink in 1.0/ doesn't make sense
+	rm -f debian/tmp/usr/lib/mono/1.0/Mono.WebBrowser.dll
+	# Mono.Security.Win32.dll is only useful on windows, as it wrap the win api
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/1.0.5000.0__*/ \
+	       $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/2.0.0.0__*/
+	rm -f $(CURDIR)/debian/tmp/usr/lib/mono/1.0/Mono.Security.Win32.dll \
+	      $(CURDIR)/debian/tmp/usr/lib/mono/2.0/Mono.Security.Win32.dll
+	# bug in Mono 2.4: <kangaroo> if you meant on 2.4 that was a bug
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.5.0__*/
+	# CLI 1.0 is only kept for compat, don't ship new 1.0 libs
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Messaging/1.0.5000.0__*/
+
+	# copy missing 2.0 manpages
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/al.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/al2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/gmcs.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/smcs.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/monop.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/monop2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/resgen.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/resgen2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/genxs.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/genxs2.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/xsd.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/xsd2.1
+	# copy missing 1.0 manpages
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/al.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/al1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/genxs.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/genxs1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/monop.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/monop1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/resgen.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/resgen1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl1.1
+	cp $(CURDIR)/debian/tmp/usr/share/man/man1/xsd.1 \
+	   $(CURDIR)/debian/tmp/usr/share/man/man1/xsd1.1
+	# copy missing default scripts
+	cp $(CURDIR)/debian/tmp/usr/bin/xsd \
+	   $(CURDIR)/debian/tmp/usr/bin/xsd1
+	# gacutil should be 2.0 by default (like all other development tools)
+	mv $(CURDIR)/debian/tmp/usr/bin/gacutil \
+	   $(CURDIR)/debian/tmp/usr/bin/gacutil1
+	cp $(CURDIR)/debian/tmp/usr/bin/gacutil2 \
+	   $(CURDIR)/debian/tmp/usr/bin/gacutil
+
+	touch install-indep-stamp
+
+binary: binary-arch binary-indep
+
+binary-indep: build-arch install-arch build-indep install-indep
+	dh_testdir
+	dh_testroot
+
+	# Build the late-GAC tool,
+	# using the built Mono runtime from debian/tmp
+	# (thus the install-arch target dependency!)
+	$(RUN_MONO) mcs/class/lib/net_2_0/gmcs.exe \
+	  -target:exe \
+	  -out:debian/MonoGetAssemblyName.exe \
+	  debian/MonoGetAssemblyName.cs
+
+	# Build mono-api-diff
+	$(RUN_MONO) mcs/class/lib/net_2_0/gmcs.exe \
+	  -target:exe \
+	  -out:debian/mono-api-diff.exe \
+	  debian/mono-api-diff.cs
+
+	# that exclude list are programs for arch-dep packages
+	dh_install -i -Xbin/monodis -Xbin/monograph -Xbin/mono-find-provides -Xbin/mono-find-requires -Xbin/pedump -Xbin/jay
+
+	# Late GAC
+	install -D -m 755 debian/mono.runtime-script debian/mono-gac/usr/share/cli-common/runtimes.d/mono
+
+	install -m 644 debian/System.Data.dll.config debian/libmono-system-data1.0-cil/usr/lib/mono/gac/System.Data/1.0.*/
+	install -m 644 debian/System.Data.dll.config debian/libmono-system-data2.0-cil/usr/lib/mono/gac/System.Data/2.0.*/
+	install -m 644 debian/System.Drawing.dll.config debian/libmono-system1.0-cil/usr/lib/mono/gac/System.Drawing/1.0.*/
+	install -m 644 debian/System.Drawing.dll.config debian/libmono-system2.0-cil/usr/lib/mono/gac/System.Drawing/2.0.*/
+	install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms1.0-cil/usr/lib/mono/gac/System.Windows.Forms/1.0.*/
+	install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms2.0-cil/usr/lib/mono/gac/System.Windows.Forms/2.0.*/
+	install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo1.0-cil/usr/lib/mono/gac/Mono.Cairo/1.0.*/
+	install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo2.0-cil/usr/lib/mono/gac/Mono.Cairo/2.0.*/
+	install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/
+	install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/
+	install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/
+	install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/
+	install -m 644 debian/FirebirdSql.Data.Firebird.dll.config debian/libmono-firebirdsql1.7-cil/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/
+	
+	dh_link -i
+	dh_installchangelogs -i -X ChangeLog
+	dh_installdocs -i
+	dh_installman -i
+	debian/dh_clistrip -i --dbg-package=mono-dbg
+	dh_compress -i
+	
+	# Hack workaround to allow Ubuntu to run its own preinst (e.g. to kill symlinked docdirs)
+	if [ "$(DISTRO)" = "Ubuntu" ]; then \
+	  for p in $$(dh_listpackages -i); do \
+	    sed "s/#PACKAGENAME#/$$p/g" $(CURDIR)/debian/preinst.ubuntu >> debian/$$p.preinst.debhelper; \
+	  done; \
+	fi
+
+	dh_fixperms -i
+	debian/dh_clifixperms -i
+	dh_installdeb -i
+	#DH_VERBOSE=1 DH_AUTOSCRIPTDIR=$(CURDIR)/debian debian/dh_monoaot -i
+	debian/dh_makeclilibs -i -m 1.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono1.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono2.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-cairo1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-cairo2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-corlib1.0-cil -m 1.2.2.1 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-corlib2.0-cil -m 1.2.2.1 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-data1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-data2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-data-tds1.0-cil -m 2.4.2 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-data-tds2.0-cil -m 2.4.2 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-ldap1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-ldap2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-microsoft-build2.0-cil -m 2.4.2 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-oracle2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-peapi1.0-cil -m 2.4.2 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-peapi2.0-cil -m 2.4.2 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-posix1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-posix2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-relaxng1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-relaxng2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system-data1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system-data2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system-ldap2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system-runtime2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-system-web2.0-cil -m 1.9.1 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-security1.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-security2.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-sqlite1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-sqlite2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-web1.0-cil -m 1.9 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-web2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-webbrowser0.5-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-winforms1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_makeclilibs -p libmono-winforms2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM)
+	# preview APIs get tighter clilibs
+	debian/dh_makeclilibs -p libmono-system2.1-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_clideps -i -l debian/tmp $(DH_INTERNAL_MONO_PARAM)
+	#DH_VERBOSE=1 debian/dh_clideps -i -l debian/tmp $(DH_INTERNAL_MONO_PARAM)
+	# mono-1.0/2.0-gac needs special runtime dep, to prevent circular dep (mono-runtime <-> mono-1.0/2.0-gac)
+	debian/dh_clideps -p mono-1.0-gac -r $(DH_INTERNAL_MONO_PARAM)
+	debian/dh_clideps -p mono-2.0-gac -r $(DH_INTERNAL_MONO_PARAM)
+	dh_gencontrol -i -- -Vmono:upversion=$(UPVERSION) -Vmono:next-upversion=$(NEXT_UPVERSION)
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build-arch install-arch test-arch-stamp
+	dh_testdir
+	dh_testroot
+	
+	cd debian/detector && \
+	  install -D -m 755 binfmt-detector-cli $(CURDIR)/debian/mono-runtime/usr/lib/cli/binfmt-detector-cli
+	install -D -m 644 -o root -g root debian/cli.binfmt \
+	  debian/mono-runtime/usr/share/binfmts/cli
+
+	dh_install -s
+	dh_link -s
+	dh_installchangelogs -s -X ChangeLog
+	dh_installchangelogs -pmono-runtime
+	dh_installchangelogs -pmono-jay $(CURDIR)/mcs/jay/ChangeLog
+	dh_installdocs -s
+	dh_installman -s
+	dh_installexamples -s
+	dh_installexamples -pmono-jay $(CURDIR)/mcs/jay/skeleton.cs
+	dh_strip -pmono-runtime --dbg-package=mono-runtime-dbg
+	dh_strip -plibmono0 --dbg-package=libmono0-dbg
+	dh_strip -s
+	dh_compress -s -Xskeleton.cs
+
+	# Hack workaround to allow Ubuntu to run its own preinst (e.g. to kill symlinked docdirs)
+	if [ "$(DISTRO)" = "Ubuntu" ]; then \
+	  for p in $$(dh_listpackages -a); do \
+	    sed "s/#PACKAGENAME#/$$p/g" $(CURDIR)/debian/preinst.ubuntu >> debian/$$p.preinst.debhelper; \
+	  done; \
+	fi
+
+	dh_fixperms -s
+	dh_makeshlibs -plibmono0 -V 'libmono0 (>= $(UPVERSION))'
+	dh_installdeb -s
+	dh_shlibdeps -s -Xlibmono-profiler-cov -ldebian/libmono0/usr/lib
+	dh_gencontrol -s
+	dh_md5sums -s
+	dh_builddeb -s
+
+get-orig-source: TARBALL_DIR = $(DEB_SOURCE_NAME)-$(UPVERSION)
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(UPVERSION) \
+		--download-version $(UPVERSION) \
+		--destdir . \
+		--force-download \
+		--rename \
+		--repack
+	if [ -d $(TARBALL_DIR) ]; then \
+		echo "$(TARBALL_DIR) is in the way, bailing out!"; \
+		exit 1; \
+	fi
+	if [ -d $(TARBALL_DIR)+dfsg ]; then \
+		echo "$(TARBALL_DIR)+dfsg is in the way, bailing out!"; \
+		exit 1; \
+	fi
+	tar -xzf $(DEB_SOURCE_NAME)_$(UPVERSION).orig.tar.gz
+	rm $(DEB_SOURCE_NAME)_$(UPVERSION).orig.tar.gz
+	find $(TARBALL_DIR) -name "*.dll" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" -print -delete
+	find $(TARBALL_DIR) -name "*.exe" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" -print -delete
+	mv $(TARBALL_DIR) $(TARBALL_DIR)+dfsg
+	tar -czf $(DEB_SOURCE_NAME)_$(UPVERSION)+dfsg.orig.tar.gz $(TARBALL_DIR)+dfsg
+	rm -r $(TARBALL_DIR)+dfsg
+
+.PHONY: autoreconf \
+        configure-arch configure-indep \
+        clean clean-patched \
+        build build-all build-arch build-indep \
+        test test-arch \
+        install install-all install-arch install-indep \
+        binary binary-arch binary-indep \
+        patch unpatch \
+        get-orig-source
+
+.NOTPARALLEL:
--- mono-2.4.2.3+dfsg.orig/debian/prj2make-sharp.install
+++ mono-2.4.2.3+dfsg/debian/prj2make-sharp.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/prj2make
+debian/tmp/usr/lib/mono/1.0/prj2make.exe*
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-devel.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-devel.manpages
@@ -0,0 +1,11 @@
+debian/tmp/usr/share/man/man1/al2.1
+debian/tmp/usr/share/man/man1/genxs2.1
+debian/tmp/usr/share/man/man1/httpcfg.1
+debian/tmp/usr/share/man/man1/ilasm2.1
+debian/tmp/usr/share/man/man1/mconfig.1
+debian/tmp/usr/share/man/man1/mkbundle2.1
+debian/tmp/usr/share/man/man1/monop2.1
+debian/tmp/usr/share/man/man1/resgen2.1
+debian/tmp/usr/share/man/man1/sgen.1
+debian/tmp/usr/share/man/man1/wsdl2.1
+debian/tmp/usr/share/man/man1/xsd2.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-profiler.install
+++ mono-2.4.2.3+dfsg/debian/libmono-profiler.install
@@ -0,0 +1 @@
+/usr/lib/libmono-profiler-*.so.*
--- mono-2.4.2.3+dfsg.orig/debian/mono-devel.prerm
+++ mono-2.4.2.3+dfsg/debian/mono-devel.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ]; then
+        update-alternatives --remove c-sharp-compiler		/usr/bin/mono-csc
+        update-alternatives --remove resource-file-generator	/usr/bin/resgen
+        update-alternatives --remove assembly-linker		/usr/bin/al
+        update-alternatives --remove strong-name-tool		/usr/bin/sn
+fi
+
+#DEBHELPER#
--- mono-2.4.2.3+dfsg.orig/debian/mono-2.0-service.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-2.0-service.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/mono-service2.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-utils.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-utils.manpages
@@ -0,0 +1,5 @@
+debian/man/pedump.1
+debian/man/monograph.1
+debian/man/mono-find-provides.1
+debian/man/mono-find-requires.1
+debian/tmp/usr/share/man/man1/monodis.1
--- mono-2.4.2.3+dfsg.orig/debian/mono-api-check
+++ mono-2.4.2.3+dfsg/debian/mono-api-check
@@ -0,0 +1,198 @@
+#!/bin/bash
+
+NAME=$(basename $0)
+MONO_API_INFO1="/usr/lib/mono/1.0/mono-api-info.exe"
+MONO_API_INFO2="/usr/lib/mono/2.0/mono-api-info.exe"
+MONO_API_DIFF="/usr/lib/mono/2.0/mono-api-diff.exe"
+
+RUNTIME_VERSION=2
+if [ "$1" = "-2" ]; then
+	if [ ! -x $MONO_API_INFO2 ]; then
+		echo "Error: $MONO_API_INFO2 does not exist, you need to install the mono-devel package"
+		exit 1
+	fi
+	MONO_API_INFO=$MONO_API_INFO2
+	RUNTIME_VERSION=2
+	shift
+else
+	MONO_API_INFO=$MONO_API_INFO1
+fi
+
+KEEP=0
+if [ "$1" = "-k" ]; then
+	KEEP=1
+	shift
+fi
+
+if [ $# -lt 2 ]; then
+	echo "usage: $NAME [-2] [-k] old.dll|deb|changes new.dll|deb|changes"
+	exit 1
+fi
+
+if [ ! -r $1 ]; then
+	echo "Error: $1 does not exist or is not readable"
+	exit 1
+fi
+
+if [ ! -r $2 ]; then
+	echo "Error: $2 does not exist or is not readable"
+	exit 1
+fi
+
+if ! [ "$1" = "${1%.deb}" ]; then
+	DEB_TMP_DIR1=/tmp/$NAME-$$-$RANDOM
+	DEB_TMP_DIR2=/tmp/$NAME-$$-$RANDOM
+
+	mkdir $DEB_TMP_DIR1
+	if [ $? != 0 ]; then
+		echo "Error: could not create: $DEB_TMP_DIR1"
+		exit 1
+	fi
+
+	mkdir $DEB_TMP_DIR2
+	if [ $? != 0 ]; then
+		echo "Error: could not create: $DEB_TMP_DIR2"
+		exit 1
+	fi
+
+	dpkg -x $1 $DEB_TMP_DIR1
+	if [ $? != 0 ]; then
+		echo "Error: could extract: $1"
+		exit 1
+	fi
+
+	dpkg -x $2 $DEB_TMP_DIR2
+	if [ $? != 0 ]; then
+		echo "Error: could extract: $2"
+		exit 1
+	fi
+
+	DLLS=$(find $DEB_TMP_DIR1 -type f -name "*.dll")
+	for DLL1 in $DLLS; do
+		FILE=${DLL1#$DEB_TMP_DIR1/}
+		DLL2=$DEB_TMP_DIR2/$FILE
+		#echo $DLL1
+		#echo $DLL2
+
+		if [ $RUNTIME_VERSION = 2 ]; then
+			RUNTIME_VERSION_PARAM="-2"
+		fi
+		if [ $KEEP = 1 ]; then
+			KEEP_PARAM="-k"
+		fi
+		echo -e "Library:\t\t/$FILE"
+		$0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DLL1 $DLL2
+		echo
+	done
+
+	rm -rf $DEB_TMP_DIR1
+	rm -rf $DEB_TMP_DIR2
+	
+	exit 0
+fi
+
+if ! [ "$1" = "${1%.changes}" ]; then
+	DEB_DIR1=$(dirname $1)
+	DEB_DIR2=$(dirname $2)
+	DEBS=$(grep ".deb$" $2 | cut -d ' ' -f 6)
+	for DEB in $DEBS; do
+		PKG_VERSION2=$(dpkg -I $DEB_DIR2/$DEB | grep Version: | cut -d ':' -f 2 | sed -e 's/^ *//')
+		break
+	done
+
+	DEBS=$(grep ".deb$" $1 | cut -d ' ' -f 6)
+	for DEB1 in $DEBS; do
+		PKG_NAME=$(dpkg -I $DEB_DIR1/$DEB1  | grep Package: | cut -d ':' -f 2 | sed -e 's/^ *//')
+		PKG_ARCH=$(dpkg -I $DEB_DIR1/$DEB1  | grep Architecture: | cut -d ':' -f 2 | sed -e 's/^ *//')
+		DEB2=$DEB_DIR2/${PKG_NAME}_${PKG_VERSION2}_${PKG_ARCH}.deb
+
+		if [ $RUNTIME_VERSION = 2 ]; then
+			RUNTIME_VERSION_PARAM="-2"
+		fi
+		if [ $KEEP = 1 ]; then
+			KEEP_PARAM="-k"
+		fi
+		echo -e "Package:\t\t$PKG_NAME"
+		echo    "------------------------------------------------------"
+		$0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DEB1 $DEB2
+		echo
+	done
+
+	exit 0
+fi
+
+ASM_NAME=$(basename $1)
+API_OLD=$(tempfile --suffix=_$ASM_NAME.api-old)
+API_NEW=$(tempfile --suffix=_$ASM_NAME.api-new)
+API_DIFF=$(tempfile --suffix=_$ASM_NAME.api-diff)
+
+/usr/bin/cli ${MONO_API_INFO} "$1" > ${API_OLD} 2> /dev/null
+if [ $? != 0 ]; then
+	echo "Error: ${MONO_API_INFO} on $1 failed!"
+	exit 1
+fi
+/usr/bin/cli ${MONO_API_INFO} "$2" > ${API_NEW} 2> /dev/null
+if [ $? != 0 ]; then
+	echo "Error: ${MONO_API_INFO} on $2 failed!"
+	exit 1
+fi
+/usr/bin/cli ${MONO_API_DIFF} ${API_OLD} ${API_NEW} > ${API_DIFF} 2> /dev/null
+if [ $? != 0 ]; then
+	echo "Error: ${MONO_API_DIFF} failed!"
+	exit 1
+fi
+
+version_changed=0
+grep -q 'Assembly version not equal: ' ${API_DIFF}
+if [ $? = 0 ]; then
+	version_changed=1
+fi
+
+name=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^name | cut -d\= -f2 | sed 's;\";;g')
+missing_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^missing_total | cut -d\= -f2 | sed 's;\";;g')
+extra_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^extra_total | cut -d\= -f2 | sed 's;\";;g')
+
+if [ -z $missing_total ]; then
+	missing_total=0
+fi
+if [ -z $extra_total ]; then
+	extra_total=0
+fi
+
+echo "CLI API Check"
+echo -e "Assembly Name:\t\t$name"
+echo -e "Missing Interfaces:\t$missing_total"
+echo -e "Additional Interfaces:\t$extra_total"
+
+if [ $missing_total ]
+then
+	if [ $missing_total -gt 0 ]
+	then
+		echo 
+		echo "The two assemblies you compared are NOT API compatible!"
+		echo "You must use a new package name!"
+	fi
+fi
+
+if [ $extra_total ]
+then
+	if [ $extra_total -gt 0 ]
+	then
+		echo
+		echo "The new assembly has additional interfaces. You must raise"
+		echo "the minimal version in clilibs!"
+	fi
+fi
+
+if [ $version_changed = 1 ]; then
+	echo
+	echo "The assembly versions do NOT MATCH!"
+	echo "If they are API compatible you MUST generate and install a GAC policy file!"
+fi
+
+rm -f ${API_OLD} ${API_NEW}
+if [ $KEEP = 1 ]; then
+	echo "API diff file: ${API_DIFF}"
+else
+	rm -f ${API_OLD} ${API_NEW}
+fi
--- mono-2.4.2.3+dfsg.orig/debian/mono-1.0-service.install
+++ mono-2.4.2.3+dfsg/debian/mono-1.0-service.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/mono-service
+debian/tmp/usr/lib/mono/1.0/mono-service.exe*
--- mono-2.4.2.3+dfsg.orig/debian/shlibs.local
+++ mono-2.4.2.3+dfsg/debian/shlibs.local
@@ -0,0 +1,14 @@
+libMonoPosixHelper 0 mono-runtime (>= 2.4)
+libMonoSupportW 0 mono-runtime (>= 2.4)
+libgdiplus 0 libgdiplus (>= 2.4)
+libgluezilla 0 libgluezilla (>= 2.4)
+libcairo 2 libcairo2 (>= 1.6.4-6.1)
+libfbclient 2 libfbclient2 (>= 2.0.4)
+libsqlite 0 libsqlite0 (>= 2.8.17)
+libsqlite3 0 libsqlite3-0 (>= 3.5.9)
+libasound 2 libasound2 (>> 1.0.16)
+libgamin-1 0 libgamin0
+libcups 2 libcups2 (>= 1.3.8)
+librsvg-2 2 librsvg2-2 (>= 2.18.1)
+libgtk-x11-2.0 0 libgtk2.0-0 (>= 2.12.0)
+libgnomeui-2 0 libgnomeui-0 (>= 2.17.1)
--- mono-2.4.2.3+dfsg.orig/debian/mono-csharp-shell.install
+++ mono-2.4.2.3+dfsg/debian/mono-csharp-shell.install
@@ -0,0 +1,4 @@
+/usr/bin/csharp
+/usr/lib/mono/2.0/csharp.exe*
+/usr/lib/mono/2.0/Mono.CSharp.dll
+/usr/lib/mono/gac/Mono.CSharp/
--- mono-2.4.2.3+dfsg.orig/debian/prerm-monoaot
+++ mono-2.4.2.3+dfsg/debian/prerm-monoaot
@@ -0,0 +1 @@
+rm -f #FILE#
--- mono-2.4.2.3+dfsg.orig/debian/libmono-ldap1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-ldap1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/1.0.*/
+debian/tmp/usr/lib/mono/1.0/Novell.Directory.Ldap.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-data1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-data1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.Data/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.Data.dll
--- mono-2.4.2.3+dfsg.orig/debian/mono-utils.install
+++ mono-2.4.2.3+dfsg/debian/mono-utils.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/bin/pedump
+debian/tmp/usr/bin/monodis		/usr/bin/
+debian/tmp/usr/bin/monograph
+debian/tmp/usr/bin/mono-find-provides
+debian/tmp/usr/bin/mono-find-requires
--- mono-2.4.2.3+dfsg.orig/debian/libmono-nunit2.4-cil.links
+++ mono-2.4.2.3+dfsg/debian/libmono-nunit2.4-cil.links
@@ -0,0 +1 @@
+usr/lib/pkgconfig/nunit.pc usr/lib/pkgconfig/mono-nunit.pc
--- mono-2.4.2.3+dfsg.orig/debian/libmono0.shlibs.in
+++ mono-2.4.2.3+dfsg/debian/libmono0.shlibs.in
@@ -0,0 +1 @@
+libmono 0 libmono0 (= _VERSION_)
--- mono-2.4.2.3+dfsg.orig/debian/mono.runtime-script
+++ mono-2.4.2.3+dfsg/debian/mono.runtime-script
@@ -0,0 +1,147 @@
+#!/usr/bin/perl
+
+#
+# Setup
+#
+
+# Directives
+use strict;
+use warnings;
+
+# Modules
+use File::Basename;
+
+# Figure out the mode
+my $mode = shift @ARGV;
+
+if (!defined $mode)
+{
+    print STDERR "E: You must supply a mode\n";
+    print STDERR "E: Use: install, remove, or name\n";
+    exit 1;
+}
+
+# Name is simply
+if ($mode eq "name")
+{
+    print "Mono\n";
+    exit 0;
+}
+
+# This program gets the name of a file (ending in .installcligac) and
+# a list of assemblies to install, as full paths. The ones given are
+# the only ones that passed the white/blacklisting.
+
+# Get the base file
+my $basename = shift @ARGV;
+my $cligac = "/usr/share/cli-common/packages.d/$basename.installcligac";
+
+if (! -f $cligac)
+{
+    print STDERR "E: File does not exist: $cligac\n";
+    exit 1;
+}
+
+# Get the base directory
+my $basedir = "/usr/share/cli-common/packages.d/";
+
+# Removing is also simple
+if ($mode eq "remove")
+{
+    # Get the uninstall file
+    my $uninstall = "$basedir/$basename.mono";
+
+    if (-f $uninstall)
+    {
+	# Go through the file
+	open UNINSTALL, "<$uninstall" or
+	    die "E: Cannot open uninstall file ($!)";
+
+	while (<UNINSTALL>)
+	{
+		my $assembly = $_;
+		chomp($assembly);
+		my $cmd = "/usr/bin/gacutil -u $assembly > /dev/null";
+		my $res = system($cmd);
+		if ($res > 0) {
+			print STDERR "W: removing assembly: $assembly failed!\n";
+		}
+	}
+
+	close UNINSTALL;
+
+	# Unlike the file
+	unlink($uninstall);
+    }
+
+    # We are good
+    exit 0;
+}
+
+# The only thing left should be "install"
+if ($mode ne "install")
+{
+    print STDERR "E: Unknown mode: $mode\n";
+    print STDERR "E: Use: install, remove or name\n";
+    exit 1;
+}
+
+
+# Open up our uninstall file
+open UNINSTALL, ">$basedir/$basename.mono"
+    or die "E: Cannot open uninstall: $basedir/$basename.mono";
+
+# Go through the file
+open CLIGAC, "<$cligac" or die "E: Cannot open: $cligac ($!)";
+
+while (@ARGV)
+{
+    # Get the assembly name
+    my $dll = shift @ARGV;
+    
+    # Make sure it is there
+    if (! -f $dll)
+    {
+	print STDERR "E: Assembly does not exist: $dll\n";
+	exit 1;
+    }
+    
+    # Figure out the mono's precise name
+    my $fullname = get_full_name($dll);
+    
+    # Write out the uninstall file
+    print UNINSTALL "$fullname\n";
+    
+    # Install the file. We use the "../../../.." to make it a
+    # relative path to this program (since gacutil doesn't like
+    # absolute paths). There isn't a problem of doing too many
+    # since we typically run from the root context.
+    my $cmd = "(cd `dirname $dll` && "
+    	. "/usr/bin/gacutil -i `basename $dll`"
+	   . " > /dev/null)";
+    system($cmd) == 0 or die "E: installing Assembly $dll failed\n";
+}
+
+close CLIGAC;
+close UNINSTALL;
+
+# Finish up successfully
+exit 0;
+
+# Get the name of the assembly in a manner suitable for uninstall
+# using gacutil.
+sub get_full_name
+{
+    # Get the name
+    my $dll = shift;
+
+    # Open a pipe to monop
+    my $cmd = "LANG=C /usr/bin/mono /usr/share/mono/MonoGetAssemblyName.exe $dll";
+    open PIPE, "$cmd |" or die "E: Cannot open pipe to assembly builder $dll";
+
+    # This generate a single line that produces the desired results
+    $_ = <PIPE>;
+    chomp;
+	 # assembly1, Version=1.0.0.0, Culture=en, PublicKeyToken=0123456789abcdef
+    return $_;
+}
--- mono-2.4.2.3+dfsg.orig/debian/mono-devel.links
+++ mono-2.4.2.3+dfsg/debian/mono-devel.links
@@ -0,0 +1,2 @@
+usr/bin/gmcs usr/bin/csc
+usr/bin/gmcs usr/bin/mono-csc
--- mono-2.4.2.3+dfsg.orig/debian/dh_clistrip
+++ mono-2.4.2.3+dfsg/debian/dh_clistrip
@@ -0,0 +1,105 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_clistrip - strips CLI debug symbols from package build directories
+
+=cut
+
+use strict;
+use File::Find;
+use Debian::Debhelper::Dh_Lib;
+
+=head1 SYNOPSIS
+
+B<dh_clistrip> [S<I<debhelper options>>] [B<-X>I<item>] [--dbg-package=package]
+
+=head1 DESCRIPTION
+
+dh_clistrip is a debhelper program that removes debug symbols from
+CLI libraries and applications.
+
+dh_clistrip deletes all *.exe.mdb and *.dll.mdb files.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-X>I<item>, B<--exclude=>I<item>
+
+Exclude files that contain "item" anywhere in their filename from being
+deleted. You may use this option multiple times to build up a list of things
+to exclude.
+
+=item B<--dbg-package=>I<package>
+
+Moves the debug symbols to the specified package.
+
+=back
+
+=cut
+
+init();
+
+my $pwd = `pwd`;
+chomp $pwd;
+
+# This variable can be used to turn off stripping (see Policy).
+if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) {
+	exit;
+}
+        
+foreach my $package (@{$dh{DOPACKAGES}}) {
+	my $tmp = tmpdir($package);
+
+	my $debug_pkg = '';
+	if (defined($dh{DEBUGPACKAGES})) {
+		$debug_pkg = @{$dh{DEBUGPACKAGES}}[0];
+		verbose_print("debug_pkg: $debug_pkg");
+	}
+	
+	if ($package eq $debug_pkg) {
+		# skip debug package
+		next;
+	}
+	
+	# find debug symbols
+	find (sub {
+		foreach my $exclude (@{$dh{EXCLUDE}}) {  
+			return if /$exclude/;
+		}
+		return unless -f && /\.(exe|dll)\.mdb$/;
+        	
+		my $file = $_;
+		my $dir = $File::Find::dir;
+		
+		if ($debug_pkg ne '') {
+			my $debug_dir = $dir;
+			verbose_print("dir: $dir");
+			$debug_dir =~ s!$tmp!!;
+			verbose_print("debug_dir: $debug_dir");
+			$debug_dir = $pwd . "/debian/$debug_pkg/" . $debug_dir;
+			verbose_print("debug_dir: $debug_dir");
+			if (! -d $debug_dir) {
+				doit("install", "-d", $debug_dir);
+			}
+			verbose_print("moving $file to $debug_dir");
+			doit("mv", $file, $debug_dir);
+		} else {
+			verbose_print("deleting $file");
+			doit("rm", $file);
+		}
+	}, $tmp);
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of cli-common.
+
+=head1 AUTHOR
+
+Mirco Bauer <meebey@meebey.net>
+
+=cut
--- mono-2.4.2.3+dfsg.orig/debian/mono-xbuild.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-xbuild.manpages
@@ -0,0 +1 @@
+debian/man/xbuild.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-peapi2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-peapi2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/PEAPI/2.0.*/
+debian/tmp/usr/lib/mono/2.0/PEAPI.dll
--- mono-2.4.2.3+dfsg.orig/debian/dh_makeclilibs
+++ mono-2.4.2.3+dfsg/debian/dh_makeclilibs
@@ -0,0 +1,305 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_makeclilibs - automatically create clilibs file
+
+=cut
+
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+=head1 SYNOPSIS
+
+B<dh_makeclilibs> [S<I<debhelper options>>] [B<-r>] [B<-V>I<[dependancies]>] [B<-m>I<minversion>] [B<-l>I<nextincompatible>] [B<-X>I<item>]
+
+=head1 DESCRIPTION
+
+dh_makeclilibs is a debhelper program that automatically scans for
+versioned CIL (.NET) assemblies, and generates a clilibs file for the
+libraries it finds.
+
+By default, dh_makeclilibs scans the .dll files in the package
+directories and writes the discovered compatibility data (major/minor,
+build, token) to "clilibs" files in the appropriate packages.
+ 
+However, if a file like debian/package.clilibs is found, this one will
+be installed and no scanning is performed.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-V>, B<-V>I<dependancies>
+
+=item B<--version-info>, B<--version-info=>I<dependancies>
+
+By default, the clilibs file generated by this program does not make packages
+depend on any particular version of the package containing the assembly.
+It may be necessary for you to add some version dependency
+information to the clilibs file. If -V is specified with no dependency
+information, the current version of the package is plugged into a
+dependency that looks like "packagename (>= packageversion)". If -V is
+specified with parameters, the parameters can be used to specify the exact
+dependency information needed (be sure to include the package name).
+
+Beware of using -V without any parameters; this is a conservative setting
+that always ensures that other packages' shared library dependencies are at
+least as tight as they need to be, so that if the maintainer screws up then
+they won't break. The flip side is that packages might end up with
+dependencies that are too tight and so find it harder to be upgraded.
+
+=item B<-m>I<minversion>
+
+Like -V, but specifies only the version string, the package name comes
+from the package that is actually processed. This option is more
+flexible if you try to set a range of valid versions for different
+assembly packages coming from one source package.
+
+=item B<-l>I<nextincompatible>
+
+Specifies the (expected) version of this package when the compatibility
+to the current assemblies will break.
+
+=item B<-r>
+
+An experimental option to automaticaly guess the next incompatible
+upstream version and insert them (like working with -l and -m options,
+see above). Do not expect the guessed values to be always correct -
+normally, the usualy assumed version string has the form
+generation.major.minor where versions with changes in "minor" are
+compatible and "major" versions break with compatibility.
+
+=item B<-X>I<item>, B<--exclude=>I<item>
+
+Exclude files that contain "item" anywhere in their filename or directory 
+from being treated as shared libraries.
+
+=item B<--internal-mono>
+
+Uses the Mono runtime in . (used for bootstrapping Mono packages)
+
+=back
+
+=head1 EXAMPLES
+
+ dh_makeclilibs
+
+Assuming this is a package named libfoobar0.9x-cil, generates a clilibs file that
+looks something like:
+ libfoobar  1.0.2345.0_23a12f34  libfoobar0.9x-cil
+
+ dh_makeclilibs -V
+
+Assuming the current version of the package is 0.93-3, generates a clilibs
+file that looks something like:
+ libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.93-3)
+
+ dh_makeclilibs -V 'libfoobar0.9x-cil (>= 0.92)'
+
+Generates a clilibs file that looks something like:
+  libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.92)
+
+Assuming that your package creates libfoobar-cil and liblafasel-cil,
+which are compatible to 0.92 versions but the upstream is going to break
+compatibility in the next version, 0.94:
+
+ dh_makeclilibs -m 0.92 -l 0.94
+
+Generates clilibs file that looks something like:
+
+  libfoobar 1.0.2345.0_23a12f34 libfoobar-cil (>= 0.92), libfoobar-cil (<< 0.94)
+
+and
+
+  liblafasel 1.0.2345.0_23a12f34 liblafasel-cil (>= 0.92), liblafasel-cil (<< 0.94)
+
+=cut
+
+# gar, debhelper 7.1 defines -V for all scripts already :(
+init(options => {
+#  "V", => \$dh{V_FLAG},
+  "r" => \$dh{R_FLAG},
+  "m=s" => \$dh{M_PARAMS},
+  "l=s" => \$dh{L_PARAMS},
+  "internal-mono"  => \$dh{INTERNAL_MONO_FLAG},
+});
+
+my $clr;
+my $cli = '/usr/bin/cli';
+my $cli_version = `$cli --version 2>&1`;
+my $cli_parser;
+my $sn = 'sn';
+
+if (defined($dh{INTERNAL_MONO_FLAG}) ||
+    (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) {
+    $clr = "mono";
+    my $mono_path = "LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/1.0:debian/tmp/usr/lib/mono/2.0";
+    $cli_parser = "$mono_path debian/tmp/usr/bin/monodis";
+    $sn = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/1.0/sn.exe";
+    verbose_print("Will use build Mono (debian/tmp/usr/bin/monodis) for CIL parsing.");
+} elsif (-x "/usr/bin/monodis") {
+    $clr = "mono";
+    $cli_parser = "/usr/bin/monodis";
+    verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing.");
+} elsif (-x "/usr/bin/ildasm") {
+    $clr = "pnet";
+    $cli_parser = "/usr/share/cli-common/ildasm-monodis";
+    verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing.");
+} else {
+    error("Could not find a CIL disassembler, aborting.");
+}
+
+{
+  local $/="";
+  open(FILE, 'debian/control');
+  my @filedata = <FILE>;
+  close FILE;
+  if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) {
+      warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!");
+  }
+}
+
+my $fh;
+my %shlibdata;
+
+foreach my $package (@{$dh{DOPACKAGES}}) {
+    next if is_udeb($package);
+
+    my $tmp = tmpdir($package);
+
+    my %seen;
+    my $need_ldconfig = 0;
+
+    doit("rm", "-f", "$tmp/DEBIAN/clilibs");
+    if (-e "debian/$package.clilibs" ) {
+        complex_doit("cat debian/$package.clilibs > $tmp/DEBIAN/clilibs");
+    } else {
+        # So, we look for files or links to existing files with names that
+        # match "*.so*". Matching *.so.* is not good enough because of
+        # broken crap like db3. And we only look at real files not
+        # symlinks, so we don't accidentually add clilibs data to -dev
+        # packages. This may have a few false positives, which is ok,
+        # because only if we can get a library name and a major number from
+        # objdump is anything actually added.
+        my $exclude = '';
+        if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
+            $exclude = "! \\( $dh{EXCLUDE_FIND} \\) ";
+        }
+        open(FIND, "find $tmp -type f \\( -name '*.dll' \\) $exclude |");
+        
+        dll:
+        while (<FIND>) {
+            chomp;
+            my ($library, $ver, $libfile);
+            $libfile = $_;
+            my $sig = `$sn -T $_ 2> /dev/null`;
+            $sig =~ s/.*key token: (\w+).*/$1/is;
+            if ($sig=~/\s/) {
+               warning "$libfile has no valid signature, ignoring";
+               next dll;
+            }
+            my $dis = `$cli_parser --assembly $libfile 2>&1`;
+            if ($dis =~ m/Name:\s+(\S+)/) {
+               $library = $1;
+               $dis =~ m/Version:\s+(\S+)/;
+               $ver = $1;
+            } else {
+               # completely broken code, we need a mature app not
+               # depending on assembly loading
+               # verbose_print("trouble parsing monodis output, components not installed? Fallback to parsing the pure monodis output.");
+               # $dis = `monodis $libfile 2>&1`;
+               # $dis =~ /^module (\S+)/is;
+               # $library = $1;
+               # $library =~ s/'|"//;
+               warning("$cli_parser could not open $libfile, maybe some components not installed yet. Using filename to guess the assembly name :(");
+               $libfile=~ m,/(\d+\.\d+.\d+.\d+)__(\w+)/([^/]+)\.dll$,is;
+               next dll if (!($1 && $2 && $3));
+               $ver=$1;
+               $sig=$2;
+               $library=$3;
+            }
+
+            if (!-d "$tmp/DEBIAN") {
+                doit("install", "-d", "$tmp/DEBIAN");
+            }
+            my $deps = $package;
+
+            # Call isnative becuase it sets $dh{VERSION}
+            # as a side effect.
+            isnative($package);
+            my $version = $dh{VERSION};
+
+            # Old compatibility levels include the
+            # debian revision, while new do not.
+            if (!compat(3)) {
+                # Remove debian version, if any.
+                $version =~ s/-[^-]+$//;
+            }
+
+            if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') {
+                $version = $dh{M_PARAMS};
+            }
+            if ($dh{V_FLAG_SET}) {
+                if ($dh{V_FLAG} ne '' ) {
+                    $deps = $dh{V_FLAG};
+                } else {
+                    $deps = "$package (>= $version)";
+                }
+            }
+            if (defined($dh{R_FLAG})) {
+                $version =~ s/-[^-]+$//;
+                my @uvers = split ( /\./, $version );
+                $uvers[1]++;
+                $deps = "$package (>= $version), $package (<< ".join(".", @uvers).")";
+            }
+            if (defined($dh{M_PARAMS})) {
+                $deps = "$package (>= ".$dh{M_PARAMS}.")";
+            }
+            if (defined($dh{L_PARAMS})) {
+                $deps .= ", $package (<< ".$dh{L_PARAMS}.")";
+            }
+            if (defined($library) &&
+                defined($ver) &&
+                defined($deps) &&
+                $library ne '' &&
+                $ver ne '' &&
+                $deps ne '') {
+                # Prevent duplicate lines from entering the file.
+                my $line = "$library $ver" . "__$sig $deps";
+
+                # extra dependencies are to be resolved by dh_clideps,
+                # don't forward the dependency libs to the apps where it
+                # does not belong to
+#                if ( my $extra = extraDeps ($libfile) )   { $line .= ", $extra";  }
+                if (!$seen{$line}) {
+                    $seen{$line} = 1;
+                    complex_doit("echo '$line' >> $tmp/DEBIAN/clilibs");
+                }
+            }
+        }
+    }
+    close FIND;
+
+    if (-e "$tmp/DEBIAN/clilibs") {
+        doit("chmod", 644,   "$tmp/DEBIAN/clilibs");
+        doit("chown", "0:0", "$tmp/DEBIAN/clilibs");
+    }
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of cli-common-dev.
+
+=head1 KNOWN BUGS
+
+Will possibly not work correctly with DH_COMPAT levels 1 and 2.
+
+=head1 AUTHOR
+
+Mirco Bauer <meebey@meebey.net>, Eduard Bloch <blade@debian.org>,
+inspired by dh_makeshlibs by Joey Hess <joeyh@debian.org>
+
+=cut
--- mono-2.4.2.3+dfsg.orig/debian/libmono-winforms2.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-winforms2.0-cil.clideps-override
@@ -0,0 +1,4 @@
+suggests libgtk2.0-0
+suggests libgnomeui-0
+suggests librsvg2-2
+suggests libglib2.0-0
--- mono-2.4.2.3+dfsg.orig/debian/System.Drawing.dll.config
+++ mono-2.4.2.3+dfsg/debian/System.Drawing.dll.config
@@ -0,0 +1,5 @@
+<configuration>
+	<dllmap dll="gdiplus.dll" target="libgdiplus.so.0"/>
+	<dllmap dll="libcups" target="libcups.so.2"/>
+	<dllmap dll="libX11" target="libX11.so.6"/>
+</configuration>
--- mono-2.4.2.3+dfsg.orig/debian/libmono-sharpzip2.84-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-sharpzip2.84-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.84.*/
+debian/tmp/usr/lib/mono/2.0/ICSharpCode.SharpZipLib.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-data-tds2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-data-tds2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/2.0.*/
+debian/tmp/usr/lib/mono/2.0/Mono.Data.Tds.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-oracle1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-oracle1.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/1.0.*/
+debian/tmp/usr/lib/mono/1.0/System.Data.OracleClient.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system1.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system1.0-cil.install
@@ -0,0 +1,18 @@
+debian/tmp/usr/lib/mono/1.0/CustomMarshalers.dll
+debian/tmp/usr/lib/mono/1.0/System.Configuration.Install.dll
+debian/tmp/usr/lib/mono/1.0/System.Drawing.dll
+debian/tmp/usr/lib/mono/1.0/System.EnterpriseServices.dll
+debian/tmp/usr/lib/mono/1.0/System.Management.dll
+debian/tmp/usr/lib/mono/1.0/System.Security.dll
+debian/tmp/usr/lib/mono/1.0/System.ServiceProcess.dll
+debian/tmp/usr/lib/mono/1.0/System.Xml.dll
+debian/tmp/usr/lib/mono/1.0/System.dll
+debian/tmp/usr/lib/mono/gac/CustomMarshalers/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.Configuration.Install/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.Drawing/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.Management/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.Security/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.ServiceProcess/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System.Xml/1.0.5000.0__*/
+debian/tmp/usr/lib/mono/gac/System/1.0.5000.0__*/
--- mono-2.4.2.3+dfsg.orig/debian/mono-jay.manpages
+++ mono-2.4.2.3+dfsg/debian/mono-jay.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/jay.1
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-messaging2.0-cil.install
+++ mono-2.4.2.3+dfsg/debian/libmono-system-messaging2.0-cil.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/mono/gac/System.Messaging/2.0.*/
+debian/tmp/usr/lib/mono/2.0/System.Messaging.dll
--- mono-2.4.2.3+dfsg.orig/debian/libmono-system-web2.0-cil.clideps-override
+++ mono-2.4.2.3+dfsg/debian/libmono-system-web2.0-cil.clideps-override
@@ -0,0 +1 @@
+suggests libmono-winforms2.0-cil
--- mono-2.4.2.3+dfsg.orig/debian/autogen.sh
+++ mono-2.4.2.3+dfsg/debian/autogen.sh
@@ -0,0 +1,142 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+# Ripped off from GNOME macros version
+
+DIE=0
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+if [ -n "$MONO_PATH" ]; then
+	# from -> /mono/lib:/another/mono/lib
+	# to -> /mono /another/mono
+	for i in `echo ${MONO_PATH} | tr ":" " "`; do
+		i=`dirname ${i}`
+		if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
+			ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
+		fi
+		if [ -n "{i}" -a -d "${i}/bin" ]; then
+			PATH="${i}/bin:$PATH"
+		fi
+	done
+	export PATH
+fi
+
+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
+  echo
+  echo "**Error**: You must have \`autoconf' installed to compile Mono."
+  echo "Download the appropriate package for your distribution,"
+  echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
+  DIE=1
+}
+
+if [ -z "$LIBTOOL" ]; then
+  LIBTOOL=`which glibtool 2>/dev/null` 
+  if [ ! -x "$LIBTOOL" ]; then
+    LIBTOOL=`which libtool`
+  fi
+fi
+
+(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
+  ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
+    echo
+    echo "**Error**: You must have \`libtool' installed to compile Mono."
+    echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
+    echo "(or a newer version if it is available)"
+    DIE=1
+  }
+}
+
+grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
+  grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
+  (gettext --version) < /dev/null > /dev/null 2>&1 || {
+    echo
+    echo "**Error**: You must have \`gettext' installed to compile Mono."
+    echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
+    echo "(or a newer version if it is available)"
+    DIE=1
+  }
+}
+
+(automake --version) < /dev/null > /dev/null 2>&1 || {
+  echo
+  echo "**Error**: You must have \`automake' installed to compile Mono."
+  echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
+  echo "(or a newer version if it is available)"
+  DIE=1
+  NO_AUTOMAKE=yes
+}
+
+
+# if no automake, don't bother testing for aclocal
+test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
+  echo
+  echo "**Error**: Missing \`aclocal'.  The version of \`automake'"
+  echo "installed doesn't appear recent enough."
+  echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
+  echo "(or a newer version if it is available)"
+  DIE=1
+}
+
+if test "$DIE" -eq 1; then
+  exit 1
+fi
+
+if test -z "$*"; then
+  echo "**Warning**: I am going to run \`configure' with no arguments."
+  echo "If you wish to pass any to it, please specify them on the"
+  echo \`$0\'" command line."
+  echo
+fi
+
+case $CC in
+xlc )
+  am_opt=--include-deps;;
+esac
+
+
+if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
+  if test -z "$NO_LIBTOOLIZE" ; then 
+    echo "Running libtoolize..."
+    ${LIBTOOL}ize --force --copy
+  fi
+fi
+
+echo "Running aclocal $ACLOCAL_FLAGS ..."
+aclocal $ACLOCAL_FLAGS || {
+  echo
+  echo "**Error**: aclocal failed. This may mean that you have not"
+  echo "installed all of the packages you need, or you may need to"
+  echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
+  echo "for the prefix where you installed the packages whose"
+  echo "macros were not found"
+  exit 1
+}
+
+if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
+  echo "Running autoheader..."
+  autoheader || { echo "**Error**: autoheader failed."; exit 1; }
+fi
+
+echo "Running automake --gnu $am_opt ..."
+automake --add-missing --gnu $am_opt ||
+  { echo "**Error**: automake failed."; exit 1; }
+echo "Running autoconf ..."
+autoconf || { echo "**Error**: autoconf failed."; exit 1; }
+
+if test -d $srcdir/libgc; then
+  echo Running libgc/autogen.sh ...
+  (cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@")
+  echo Done running libgc/autogen.sh ...
+fi
+
+
+conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+
+if test x$NOCONFIGURE = x; then
+  echo Running $srcdir/configure $conf_flags "$@" ...
+  $srcdir/configure $conf_flags "$@" \
+  && echo Now type \`make\' to compile $PKG_NAME || exit 1
+else
+  echo Skipping configure process.
+fi
--- mono-2.4.2.3+dfsg.orig/debian/detector/README
+++ mono-2.4.2.3+dfsg/debian/detector/README
@@ -0,0 +1,45 @@
+binfmt-pe
+
+	This utility determines the Microsoft PE executable file's
+	type (Native, .NET CLR) and runs it using the appropriate
+	runtime (WINE, CLI). It also detects and refuses to run
+	MS-DOS (non-PE) executables.
+	
+	It is inteded to be used in a Linux binfmt configuration,
+	since binfmt itself is incapable of reliably distinguishing
+	between various PE file types (since they have no different
+	"magic string") and runtimes refuse to run files which
+	they don't support (CLR runtimes refuse to run
+	Native images and vice versa).
+	
+Technical information
+
+	The file's type is determined from certain characteristics
+	in the PE / COFF file header. It should be noted that the
+	techniques used might not be standard and are not throughtly
+	tested to work, so false detections might occur.
+	
+	In short:
+	- An MS-DOS executable is assumed if the PE offset in the MS-DOS
+	  header is NULL or points to an offset beyond the file's length
+	- A CLR file is assumed if the PE header's directory entry
+	  for "CLI header" is not NULL and points to a valid offset in
+	  the executable file.
+	- A native executable file is assumed otherwise.
+	
+	The runtime names are hardcoded into the utilit (that is -
+	not configurable) and are exec'ed from the utility --
+	"wine" is used for native images, "cli" is used for CLR images.
+
+Credits
+
+	This utility is based on the PE / COFF header structures from
+	Ximian's Mono .NET runtime project ( http://www.go-mono.com/ ).
+
+Author
+
+	Ilya Konstantinov <future@shiny.co.il>
+	
+Licenses
+
+	This utility is covered by the GPL license.
--- mono-2.4.2.3+dfsg.orig/debian/detector/binfmt-detector-cli.c
+++ mono-2.4.2.3+dfsg/debian/detector/binfmt-detector-cli.c
@@ -0,0 +1,99 @@
+/*
+ *  This program 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 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 Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ *  binfmt PE executable helper, by Ilya Konstantinov <future@shiny.co.il>
+ *  Based on PE headers structures courtesy of Mono .NET runtime project
+ *  (http://www.go-mono.com).
+ */
+ 
+#include <errno.h>
+#include <string.h>
+#include <stdio.h>
+#include <locale.h>
+#include <stdlib.h>
+#include <libintl.h>
+#include <stdint.h>
+
+#include "cil-coff.h"
+
+//Change this to one MSDOS, MSDOS, NATIVE or CLR
+#define DETECT CLR
+
+#define _(String) gettext(String)
+
+/* Globals */
+enum execTypeEnum {
+	UNKNOWN,
+	MSDOS,
+	NATIVE,
+	CLR
+} execType = UNKNOWN;
+
+int main(int argc, char **argv)
+{
+	const char *filename;
+	FILE *image;
+	size_t read;
+	
+	if (argc < 2) exit(EXIT_FAILURE);
+	
+	filename = argv[1];
+	image = fopen(filename, "r");
+	if (image == NULL) exit(EXIT_FAILURE);
+	
+	/* Parse the MSDOS header */
+	
+	{
+		MSDOSHeader msdos_header;
+		uint32_t pe_offset;
+		read = fread(&msdos_header, sizeof(msdos_header), 1, image);
+		if (read < 1) exit(EXIT_FAILURE);
+		pe_offset = msdos_header.pe_offset[0]
+			  | msdos_header.pe_offset[1] << 8
+			  | msdos_header.pe_offset[2] << 16
+			  | msdos_header.pe_offset[3] << 24;
+		if ((pe_offset == 0) ||
+		    (fseek(image, pe_offset, SEEK_SET) != 0))
+			execType = MSDOS;
+	}
+	
+	/* Parse the PE header */
+
+	if (execType == UNKNOWN)
+	{
+		DotNetHeader dotnet_header;
+		uint16_t pe_magic;
+		uint32_t rva;
+		read = fread(&dotnet_header, sizeof(dotnet_header), 1, image);
+		if (read < 1) exit(EXIT_FAILURE);
+		pe_magic = dotnet_header.pe.pe_magic[0]
+			 | dotnet_header.pe.pe_magic[1] << 8;
+		if (dotnet_header.pesig[0] != 'P' || dotnet_header.pesig[1] != 'E' || pe_magic != 0x10B) exit(EXIT_FAILURE);
+		rva = dotnet_header.datadir.pe_cli_header.rva[0]
+		    | dotnet_header.datadir.pe_cli_header.rva[1] << 8
+		    | dotnet_header.datadir.pe_cli_header.rva[2] << 16
+		    | dotnet_header.datadir.pe_cli_header.rva[1] << 24;
+		if ((dotnet_header.datadir.pe_cli_header.size != 0) &&
+			(rva != 0) &&
+			(fseek(image, rva, SEEK_SET) == 0))
+			execType = CLR;
+		else
+			execType = NATIVE;
+	}
+	fclose(image);
+
+	/* Return a value indicating success or failure */
+	if (execType == DETECT) exit(EXIT_SUCCESS); else exit(EXIT_FAILURE);
+}
--- mono-2.4.2.3+dfsg.orig/debian/detector/Makefile
+++ mono-2.4.2.3+dfsg/debian/detector/Makefile
@@ -0,0 +1,6 @@
+binfmt-detector-cli: binfmt-detector-cli.c cil-coff.h
+	$(CC) binfmt-detector-cli.c -o binfmt-detector-cli
+	strip binfmt-detector-cli
+
+clean:
+	rm -f binfmt-detector-cli
--- mono-2.4.2.3+dfsg.orig/debian/detector/cil-coff.h
+++ mono-2.4.2.3+dfsg/debian/detector/cil-coff.h
@@ -0,0 +1,190 @@
+
+#ifndef __MONO_CIL_COFF_H__
+#define __MONO_CIL_COFF_H__
+
+#include <stdint.h>
+
+/*
+ * 25.2.1: Method header type values
+ */
+#define METHOD_HEADER_FORMAT_MASK   7
+#define METHOD_HEADER_TINY_FORMAT   2
+#define METHOD_HEADER_TINY_FORMAT1  6
+#define METHOD_HEADER_FAT_FORMAT    3
+
+/*
+ * 25.2.3.1: Flags for method headers
+ */
+#define METHOD_HEADER_INIT_LOCALS   0x10
+#define METHOD_HEADER_MORE_SECTS    0x08
+
+/*
+ * For section data (25.3)
+ */
+#define METHOD_HEADER_SECTION_RESERVED    0
+#define METHOD_HEADER_SECTION_EHTABLE     1
+#define METHOD_HEADER_SECTION_OPTIL_TABLE 2
+#define METHOD_HEADER_SECTION_FAT_FORMAT  0x40
+#define METHOD_HEADER_SECTION_MORE_SECTS  0x80
+
+/* 128 bytes */
+typedef struct {
+	char    msdos_sig [2];
+	uint16_t nlast_page;
+	uint16_t npages;
+	char    msdos_header [54];
+	unsigned char pe_offset[4];
+	char    msdos_header2 [64];
+} MSDOSHeader;
+
+/* 20 bytes */
+typedef struct {
+	uint16_t  coff_machine;
+	uint16_t  coff_sections;
+	uint32_t  coff_time;
+	uint32_t  coff_symptr;
+	uint32_t  coff_symcount;
+	uint16_t  coff_opt_header_size;
+	uint16_t  coff_attributes;
+} COFFHeader;
+
+#define COFF_ATTRIBUTE_EXECUTABLE_IMAGE 0x0002
+#define COFF_ATTRIBUTE_LIBRARY_IMAGE    0x2000
+
+/* 28 bytes */
+typedef struct {
+	unsigned char pe_magic[2];
+	unsigned char  pe_major;
+	unsigned char  pe_minor;
+	uint32_t pe_code_size;
+	uint32_t pe_data_size;
+	uint32_t pe_uninit_data_size;
+	uint32_t pe_rva_entry_point;
+	uint32_t pe_rva_code_base;
+	uint32_t pe_rva_data_base;
+} PEHeader;
+
+/* 68 bytes */
+typedef struct {
+	uint32_t pe_image_base;		/* must be 0x400000 */
+	uint32_t pe_section_align;       /* must be 8192 */
+	uint32_t pe_file_alignment;      /* must be 512 or 4096 */
+	uint16_t pe_os_major;            /* must be 4 */
+	uint16_t pe_os_minor;            /* must be 0 */
+	uint16_t pe_user_major;
+	uint16_t pe_user_minor;
+	uint16_t pe_subsys_major;
+	uint16_t pe_subsys_minor;
+	uint32_t pe_reserved_1;
+	uint32_t pe_image_size;
+	uint32_t pe_header_size;
+	uint32_t pe_checksum;
+	uint16_t pe_subsys_required;
+	uint16_t pe_dll_flags;
+	uint32_t pe_stack_reserve;
+	uint32_t pe_stack_commit;
+	uint32_t pe_heap_reserve;
+	uint32_t pe_heap_commit;
+	uint32_t pe_loader_flags;
+	uint32_t pe_data_dir_count;
+} PEHeaderNT;
+
+typedef struct {
+	unsigned char rva[4];
+	uint32_t size;
+} PEDirEntry;
+
+/* 128 bytes */
+typedef struct {
+	PEDirEntry pe_export_table;
+	PEDirEntry pe_import_table;
+	PEDirEntry pe_resource_table;
+	PEDirEntry pe_exception_table;
+	PEDirEntry pe_certificate_table;
+	PEDirEntry pe_reloc_table;
+	PEDirEntry pe_debug;
+	PEDirEntry pe_copyright;
+	PEDirEntry pe_global_ptr;
+	PEDirEntry pe_tls_table;
+	PEDirEntry pe_load_config_table;
+	PEDirEntry pe_bound_import;
+	PEDirEntry pe_iat;
+	PEDirEntry pe_delay_import_desc;
+	PEDirEntry pe_cli_header;
+	PEDirEntry pe_reserved;
+} PEDatadir;
+
+/* 248 bytes */
+typedef struct {
+	char            pesig [4];
+	COFFHeader  coff;
+	PEHeader    pe;
+	PEHeaderNT  nt;
+	PEDatadir   datadir;
+} DotNetHeader;
+
+typedef struct {
+	char    st_name [8];
+	uint32_t st_virtual_size;
+	uint32_t st_virtual_address;
+	uint32_t st_raw_data_size;
+	uint32_t st_raw_data_ptr;
+	uint32_t st_reloc_ptr;
+	uint32_t st_lineno_ptr;
+	uint16_t st_reloc_count;
+	uint16_t st_line_count;
+
+#define SECT_FLAGS_HAS_CODE               0x20
+#define SECT_FLAGS_HAS_INITIALIZED_DATA   0x40
+#define SECT_FLAGS_HAS_UNINITIALIZED_DATA 0x80
+#define SECT_FLAGS_MEM_DISCARDABLE        0x02000000
+#define SECT_FLAGS_MEM_NOT_CACHED         0x04000000
+#define SECT_FLAGS_MEM_NOT_PAGED          0x08000000
+#define SECT_FLAGS_MEM_SHARED             0x10000000
+#define SECT_FLAGS_MEM_EXECUTE            0x20000000
+#define SECT_FLAGS_MEM_READ               0x40000000
+#define SECT_FLAGS_MEM_WRITE              0x80000000
+	uint32_t st_flags;
+
+} SectionTable;
+
+typedef struct {
+	uint32_t        ch_size;
+	uint16_t        ch_runtime_major;
+	uint16_t        ch_runtime_minor;
+	PEDirEntry ch_metadata;
+
+#define CLI_FLAGS_ILONLY         0x01
+#define CLI_FLAGS_32BITREQUIRED  0x02
+#define CLI_FLAGS_TRACKDEBUGDATA 0x00010000
+	uint32_t        ch_flags;
+
+	uint32_t        ch_entry_point;
+	PEDirEntry ch_resources;
+	PEDirEntry ch_strong_name;
+	PEDirEntry ch_code_manager_table;
+	PEDirEntry ch_vtable_fixups;
+	PEDirEntry ch_export_address_table_jumps;
+
+	/* The following are zero in the current docs */
+	PEDirEntry ch_eeinfo_table;
+	PEDirEntry ch_helper_table;
+	PEDirEntry ch_dynamic_info;
+	PEDirEntry ch_delay_load_info;
+	PEDirEntry ch_module_image;
+	PEDirEntry ch_external_fixups;
+	PEDirEntry ch_ridmap;
+	PEDirEntry ch_debug_map;
+	PEDirEntry ch_ip_map;
+} CLIHeader;
+
+/* This is not an on-disk structure */
+typedef struct {
+	DotNetHeader  cli_header;
+	int               cli_section_count;
+	SectionTable  *cli_section_tables;
+	void            **cli_sections;
+	CLIHeader     cli_cli_header;
+} CLIImageInfo;
+
+#endif /* __MONO_CIL_COFF_H__ */
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_mono-api-info_build.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_mono-api-info_build.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_mono-api-info_build.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/corcompare/Makefile mono-2.4+dfsg/mcs/tools/corcompare/Makefile
+--- mono-2.4+dfsg~/mcs/tools/corcompare/Makefile	2009-02-14 00:36:21.000000000 +0100
++++ mono-2.4+dfsg/mcs/tools/corcompare/Makefile	2009-05-21 03:22:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ 
+ ALL_PROGRAMS = mono-api-info.exe
+ 
+-CECIL = ../../class/lib/net_1_1/Mono.Cecil.dll
++CECIL = Mono.Cecil.dll
+ 
+ COMMON_SOURCES = \
+ 	AssemblyResolver.cs	\
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_metadata_dup.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_metadata_dup.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_metadata_dup.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad git~/mono/metadata/Makefile.am git/mono/metadata/Makefile.am
+--- git~/mono/metadata/Makefile.am	2009-07-15 20:49:47.000000000 +0200
++++ git/mono/metadata/Makefile.am	2009-09-07 21:43:48.000000000 +0200
+@@ -171,7 +171,6 @@
+ 	object.h	\
+ 	exception.h	\
+ 	profiler.h	\
+-	appdomain.h	\
+ 	mono-config.h	\
+ 	debug-helpers.h	\
+ 	mempool.h
--- mono-2.4.2.3+dfsg.orig/debian/patches/firebird-fbclient.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/firebird-fbclient.dpatch
@@ -0,0 +1,15 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+@DPATCH@
+
+--- mono/mcs/class/FirebirdSql.Data.Firebird/Makefile.old	2007-02-26 23:06:40.510241854 +0100
++++ mono/mcs/class/FirebirdSql.Data.Firebird/Makefile	2007-02-26 23:07:08.607843047 +0100
+@@ -8,7 +8,7 @@
+ LIB_DEFINE_FLAGS = 
+ 
+ ifeq ($(PLATFORM), linux)
+-LIB_DEFINE_FLAGS = /d:LINUX
++LIB_DEFINE_FLAGS = /d:LINUX /d:FBCLIENT
+ endif
+ 
+ LIB_MCS_FLAGS = \
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_CreateDelegate_ArgumentException.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_CreateDelegate_ArgumentException.dpatch
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_CreateDelegate_ArgumentException.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch taken from upstream SVN revision 130175
+## DP: 2009-03-25  Jb Evain  <jbevain@novell.com>
+## DP: * Delegate.cs (CreateDelegate): fix checks to deal with
+## DP:   valuetypes -> obj conversions for arguments, and avoid
+## DP:   issues with such unallowed conversion for return types.
+
+@DPATCH@
+diff -urNad git~/mcs/class/corlib/System/Delegate.cs git/mcs/class/corlib/System/Delegate.cs
+--- git~/mcs/class/corlib/System/Delegate.cs	2009-07-15 20:52:46.000000000 +0200
++++ git/mcs/class/corlib/System/Delegate.cs	2009-09-07 21:55:10.000000000 +0200
+@@ -133,7 +133,7 @@
+ 
+ 			// Delegate contravariance
+ 			if (!match) {
+-				if (!delArgType.IsValueType && (delArgType != typeof (ValueType)) && (argType.IsAssignableFrom (delArgType)))
++				if (!argType.IsValueType && argType.IsAssignableFrom (delArgType))
+ 					match = true;
+ 			}
+ 
+@@ -147,7 +147,7 @@
+ #if NET_2_0
+ 			if (!returnMatch) {
+ 				// Delegate covariance
+-				if (!delReturnType.IsValueType && (delReturnType != typeof (ValueType)) && (delReturnType.IsAssignableFrom (returnType)))
++				if (!returnType.IsValueType && delReturnType.IsAssignableFrom (returnType))
+ 					returnMatch = true;
+ 			}
+ #endif
--- mono-2.4.2.3+dfsg.orig/debian/patches/build_permview_as_2.0.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/build_permview_as_2.0.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_permview_as_2.0.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/security/Makefile mono-2.4+dfsg/mcs/tools/security/Makefile
+--- mono-2.4+dfsg~/mcs/tools/security/Makefile	2009-02-14 00:36:30.000000000 +0100
++++ mono-2.4+dfsg/mcs/tools/security/Makefile	2009-05-21 01:31:11.000000000 +0200
+@@ -6,8 +6,8 @@
+ LOCAL_MCS_FLAGS = /lib:$(topdir)/class/lib/$(PROFILE) -r:Mono.Security.dll
+ 
+ SECURITY_PROGRAMS = secutil.exe cert2spc.exe sn.exe makecert.exe chktrust.exe \
+-	signcode.exe setreg.exe certmgr.exe caspol.exe permview.exe mozroots.exe
+-SECURITY_PROGRAMS_2_0 = httpcfg.exe
++	signcode.exe setreg.exe certmgr.exe caspol.exe mozroots.exe
++SECURITY_PROGRAMS_2_0 = httpcfg.exe permview.exe
+ 
+ HELPER_SOURCES = AssemblyInfo.cs $(topdir)/build/common/Consts.cs
+ SN_SOURCES = sn.cs StrongNameManager.cs $(HELPER_SOURCES)
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_csharplib_build.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_csharplib_build.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_csharplib_build.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/csharplib/Makefile mono-2.4+dfsg/mcs/tools/csharplib/Makefile
+--- mono-2.4+dfsg~/mcs/tools/csharplib/Makefile	2009-02-14 00:36:12.000000000 +0100
++++ mono-2.4+dfsg/mcs/tools/csharplib/Makefile	2009-05-21 04:26:27.000000000 +0200
+@@ -2,7 +2,7 @@
+ SUBDIRS = 
+ include ../../build/rules.make
+ 
+-LINKER = $(topdir)/class/lib/net_1_1/monolinker.exe
++LINKER = $(topdir)/class/lib/net_2_0/monolinker.exe
+ 
+ LOCAL_MCS_FLAGS = -d:GMCS_SOURCE -d:NET_1_1 -d:NET_2_0 -r:System -r:System.Xml
+ 
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_mdoc_build.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_mdoc_build.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_mdoc_build.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/mdoc/Makefile mono-2.4+dfsg/mcs/tools/mdoc/Makefile
+--- mono-2.4+dfsg~/mcs/tools/mdoc/Makefile	2009-02-14 00:36:16.000000000 +0100
++++ mono-2.4+dfsg/mcs/tools/mdoc/Makefile	2009-05-21 04:06:40.000000000 +0200
+@@ -11,7 +11,7 @@
+ 	/resource:Resources/overview.xsl,overview.xsl                               \
+ 	/resource:Resources/stylesheet.xsl,stylesheet.xsl                           \
+ 	/r:$(topdir)/class/lib/net_1_1/monodoc.dll                                  \
+-	/r:$(topdir)/class/lib/net_1_1/Mono.Cecil.dll
++	/r:Mono.Cecil.dll
+ 
+ MONODOC_RESOURCES = \
+ 	../monodoc/Resources/mdoc-html-utils.xsl    \
--- mono-2.4.2.3+dfsg.orig/debian/patches/build_genxs_2.0.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/build_genxs_2.0.dpatch
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_genxs_2.0.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/Makefile mono-2.4+dfsg/mcs/tools/Makefile
+--- mono-2.4+dfsg~/mcs/tools/Makefile	2009-05-21 13:52:09.000000000 +0200
++++ mono-2.4+dfsg/mcs/tools/Makefile	2009-05-21 13:52:35.000000000 +0200
+@@ -35,6 +35,7 @@
+ 	csharp		\
+ 	mono-xsd	\
+ 	wsdl		\
++	genxs		\
+ 	compiler-tester	\
+ 	monop		\
+ 	xbuild		\
+diff -urNad mono-2.4+dfsg~/mcs/tools/genxs/Makefile mono-2.4+dfsg/mcs/tools/genxs/Makefile
+--- mono-2.4+dfsg~/mcs/tools/genxs/Makefile	2009-05-21 13:52:08.000000000 +0200
++++ mono-2.4+dfsg/mcs/tools/genxs/Makefile	2009-05-21 13:52:35.000000000 +0200
+@@ -5,4 +5,6 @@
+ LOCAL_MCS_FLAGS = -r:System.Xml.dll
+ PROGRAM = $(topdir)/class/lib/$(PROFILE)/genxs.exe
+ 
++CLEAN_FILES = *.exe *.mdb
++
+ include ../../build/executable.make
+diff -urNad mono-2.4+dfsg~/scripts/Makefile.am mono-2.4+dfsg/scripts/Makefile.am
+--- mono-2.4+dfsg~/scripts/Makefile.am	2009-02-14 00:32:38.000000000 +0100
++++ mono-2.4+dfsg/scripts/Makefile.am	2009-05-21 13:54:16.000000000 +0200
+@@ -83,6 +83,7 @@
+ 
+ scripts_2_0 = \
+ 	al2$(SCRIPT_SUFFIX)			\
++	genxs2$(SCRIPT_SUFFIX)			\
+ 	csharp$(SCRIPT_SUFFIX)			\
+ 	gacutil2$(SCRIPT_SUFFIX)		\
+ 	gmcs$(SCRIPT_SUFFIX)			\
--- mono-2.4.2.3+dfsg.orig/debian/patches/armel_fix_configure_fpu_check.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/armel_fix_configure_fpu_check.dpatch
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## armel_fix_configure_fpu_check.dpatch by Riku Voipio <riku.voipio@iki.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.0.1~/configure.in mono-2.0.1/configure.in
+--- mono-2.0.1~/configure.in	2008-10-20 19:29:46.000000000 +0200
++++ mono-2.0.1/configure.in	2008-11-23 16:08:54.000000000 +0100
+@@ -2059,15 +2059,24 @@
+ 	])
+ fi
+ 
+-if test ${TARGET} = ARM && test x$cross_compiling = xno && test x$enable_mcs_build != xno; then
++AC_ARG_WITH(fpu, [ --with-fpu=FPA,VFP,NONE    Select fpu to use on arm],[fpu=$withval])
++
++if test ${TARGET} = ARM; then
+ 	dnl ******************************************
+ 	dnl *** Check to see what FPU is available ***
+ 	dnl ******************************************
+ 	AC_MSG_CHECKING(which FPU to use)
+ 
+-	AC_TRY_COMPILE([], [
+-		__asm__ ("ldfd f0, [r0]");
+-		], fpu=FPA, fpu=NONE)
++	if test "x$fpu" = "x"; then
++
++		AC_TRY_COMPILE([], [
++			__asm__ ("ldfd f0, [r0]");
++		], fpu=FPA, [
++				AC_TRY_COMPILE([], [
++					__asm__ ("fldd d0, [r0]");
++				], fpu=VFP, fpu=NONE)
++		])
++	fi
+ 
+ 	AC_MSG_RESULT($fpu)
+ 	CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
--- mono-2.4.2.3+dfsg.orig/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_tuner_as_2.0.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/Makefile mono-2.4+dfsg/mcs/tools/Makefile
+--- mono-2.4+dfsg~/mcs/tools/Makefile	2009-05-21 14:56:19.000000000 +0200
++++ mono-2.4+dfsg/mcs/tools/Makefile	2009-05-21 14:57:08.000000000 +0200
+@@ -14,9 +14,6 @@
+ 	browsercaps-updater	\
+ 	monop		\
+ 	gacutil		\
+-	linker		\
+-	tuner		\
+-	cil-strip	\
+ 	resgen		\
+ 	macpack		\
+ 	mkbundle	\
+@@ -53,6 +50,9 @@
+ 	nunitreport	\
+ 	sqlsharp	\
+ 	gacutil		\
++	linker		\
++	tuner		\
++	cil-strip	\
+ 	csharplib
+ 
+ net_2_1_dirs := \
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_implicit_pointer_conversions.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_implicit_pointer_conversions.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_implicit_pointer_conversions.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-1.2.6~/mono/metadata/security.c mono-1.2.6/mono/metadata/security.c
+--- mono-1.2.6~/mono/metadata/security.c	2007-11-08 23:07:19.000000000 +0100
++++ mono-1.2.6/mono/metadata/security.c	2007-12-24 15:54:02.000000000 +0100
+@@ -12,6 +12,7 @@
+ #endif
+ 
+ #include <mono/metadata/appdomain.h>
++#include <mono/metadata/assembly.h>
+ #include <mono/metadata/image.h>
+ #include <mono/metadata/exception.h>
+ #include <mono/metadata/object-internals.h>
--- mono-2.4.2.3+dfsg.orig/debian/patches/kfreebsd_support.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/kfreebsd_support.dpatch
@@ -0,0 +1,204 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 
+##
+## All lines beginning with ## DP:' are a description of the patch.
+## DP: kfreebsd support - mainly backport of gc 6.8
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/configure.in mono-2.4+dfsg/configure.in
+--- mono-2.4+dfsg~/configure.in	2009-04-11 03:00:41.000000000 +0200
++++ mono-2.4+dfsg/configure.in	2009-04-11 03:02:23.000000000 +0200
+@@ -98,6 +98,16 @@
+ 		libgc_threads=pthreads
+ 		with_sigaltstack=no
+ 		;;
++	*-*-kfreebsd*-gnu)
++		platform_win32=no
++		CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread"
++		libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread"
++		libmono_ldflags="-lpthread -pthread"
++		libdl="-ldl"
++		libgc_threads=pthreads
++		need_link_unlink=yes
++		with_sigaltstack=no
++		;;
+ 	*-*-*freebsd*)
+ 		platform_win32=no
+ 		if test "x$PTHREAD_CFLAGS" = "x"; then
+@@ -2011,6 +2021,11 @@
+ 	LIBC="libc.so.12"
+ 	INTL="libintl.so.0"
+ 	;;
++     *-*-kfreebsd*-gnu)
++	LIBC="libc.so.0.1"
++	INTL="libc.so.0.1"
++	X11="libX11.so.6"
++	;;
+     *-*-*freebsd*)
+     	LIBC="libc.so"
+ 	INTL="libintl.so"
+diff -urNad mono-2.4+dfsg~/libgc/configure.in mono-2.4+dfsg/libgc/configure.in
+--- mono-2.4+dfsg~/libgc/configure.in	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/libgc/configure.in	2009-04-11 03:00:52.000000000 +0200
+@@ -112,6 +112,17 @@
+ 	AC_DEFINE(THREAD_LOCAL_ALLOC)
+ 	THREADDLLIBS="-lpthread -lrt"
+ 	;;
++     *-*-kfreebsd*-gnu)
++	AC_DEFINE(GC_FREEBSD_THREADS)
++	INCLUDES="$INCLUDES -pthread"
++	THREADDLLIBS=-pthread
++	AC_DEFINE(_REENTRANT)
++	if test "${enable_parallel_mark}" = yes; then
++		AC_DEFINE(PARALLEL_MARK)
++	fi
++	AC_DEFINE(THREAD_LOCAL_ALLOC)
++	AC_DEFINE(USE_COMPILER_TLS)
++	;;
+       *-*-freebsd*)
+ 	AC_DEFINE(GC_FREEBSD_THREADS)
+ 	if test "x$PTHREAD_CFLAGS" != "x"; then
+diff -urNad mono-2.4+dfsg~/libgc/dyn_load.c mono-2.4+dfsg/libgc/dyn_load.c
+--- mono-2.4+dfsg~/libgc/dyn_load.c	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/libgc/dyn_load.c	2009-04-11 03:00:52.000000000 +0200
+@@ -26,7 +26,7 @@
+  * None of this is safe with dlclose and incremental collection.
+  * But then not much of anything is safe in the presence of dlclose.
+  */
+-#if defined(__linux__) && !defined(_GNU_SOURCE)
++#if (defined(__linux__) || defined(__GLIBC__)) && !defined(_GNU_SOURCE)
+     /* Can't test LINUX, since this must be define before other includes */
+ #   define _GNU_SOURCE
+ #endif
+@@ -386,7 +386,7 @@
+ /* For glibc 2.2.4+.  Unfortunately, it doesn't work for older	*/
+ /* versions.  Thanks to Jakub Jelinek for most of the code.	*/
+ 
+-# if defined(LINUX) /* Are others OK here, too? */ \
++# if (defined(LINUX) || defined (__GLIBC__)) /* Are others OK here, too? */ \
+      && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
+          || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) 
+ 
+diff -urNad mono-2.4+dfsg~/libgc/include/gc.h mono-2.4+dfsg/libgc/include/gc.h
+--- mono-2.4+dfsg~/libgc/include/gc.h	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/libgc/include/gc.h	2009-04-11 03:00:52.000000000 +0200
+@@ -488,7 +488,7 @@
+ #   define GC_RETURN_ADDR (GC_word)__return_address
+ #endif
+ 
+-#ifdef __linux__
++#if defined(__linux__) || defined(__GLIBC__)
+ # include <features.h>
+ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
+      && !defined(__ia64__)
+diff -urNad mono-2.4+dfsg~/libgc/include/private/gcconfig.h mono-2.4+dfsg/libgc/include/private/gcconfig.h
+--- mono-2.4+dfsg~/libgc/include/private/gcconfig.h	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/libgc/include/private/gcconfig.h	2009-04-11 03:00:52.000000000 +0200
+@@ -55,7 +55,7 @@
+ # endif
+ 
+ /* And one for FreeBSD: */
+-# if defined(__FreeBSD__) && !defined(FREEBSD)
++# if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(FREEBSD)
+ #    define FREEBSD
+ # endif
+ 
+@@ -1291,8 +1291,15 @@
+ #	ifndef GC_FREEBSD_THREADS
+ #	    define MPROTECT_VDB
+ #	endif
+-#      define SIG_SUSPEND SIGTSTP
+-#      define SIG_THR_RESTART SIGCONT
++#       ifdef __GLIBC__
++#           define SIG_SUSPEND          (32+6)
++#           define SIG_THR_RESTART      (32+5)
++            extern int _end[];
++#           define DATAEND (_end)
++#       else
++#           define SIG_SUSPEND SIGTSTP
++#           define SIG_THR_RESTART SIGCONT
++#       endif
+ #	define FREEBSD_STACKBOTTOM
+ #	ifdef __ELF__
+ #	    define DYNAMIC_LOADING
+@@ -2032,6 +2039,28 @@
+ 	extern char * GC_FreeBSDGetDataStart();
+ #	define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext)
+ #   endif
++#   ifdef FREEBSD
++#	define OS_TYPE "FREEBSD"
++#	ifndef GC_FREEBSD_THREADS
++#	    define MPROTECT_VDB
++#	endif
++#	ifdef __GLIBC__
++#	    define SIG_SUSPEND		(32+6)
++#	    define SIG_THR_RESTART	(32+5)
++	    extern int _end[];
++#	    define DATAEND (_end)
++#	else
++#	    define SIG_SUSPEND SIGUSR1
++#	    define SIG_THR_RESTART SIGUSR2
++#	endif
++#	define FREEBSD_STACKBOTTOM
++#	ifdef __ELF__
++#	    define DYNAMIC_LOADING
++#	endif
++	extern char etext[];
++	extern char * GC_FreeBSDGetDataStart();
++#	define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext)
++#   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
+ #	ifdef __ELF__
+@@ -2103,7 +2132,7 @@
+ #   define SUNOS5SIGS
+ # endif
+ 
+-# if defined(FREEBSD) && (__FreeBSD__ >= 4)
++# if defined(FREEBSD) && ((__FreeBSD__ >= 4) || (__FreeBSD_kernel__ >= 4))
+ #   define SUNOS5SIGS
+ # endif
+ 
+@@ -2166,7 +2195,7 @@
+ #   define CACHE_LINE_SIZE 32	/* Wild guess	*/
+ # endif
+ 
+-# ifdef LINUX
++# if defined(LINUX) || defined(__GLIBC__)
+ #   define REGISTER_LIBRARIES_EARLY
+     /* We sometimes use dl_iterate_phdr, which may acquire an internal	*/
+     /* lock.  This isn't safe after the world has stopped.  So we must	*/
+@@ -2247,7 +2276,7 @@
+ #if defined(SPARC)
+ # define CAN_SAVE_CALL_ARGS
+ #endif
+-#if (defined(I386) || defined(X86_64)) && defined(LINUX)
++#if (defined(I386) || defined(X86_64)) && (defined(LINUX) || defined(__GLIBC__))
+ 	    /* SAVE_CALL_CHAIN is supported if the code is compiled to save	*/
+ 	    /* frame pointers by default, i.e. no -fomit-frame-pointer flag.	*/
+ # define CAN_SAVE_CALL_ARGS
+diff -urNad mono-2.4+dfsg~/mono/mini/exceptions-amd64.c mono-2.4+dfsg/mono/mini/exceptions-amd64.c
+--- mono-2.4+dfsg~/mono/mini/exceptions-amd64.c	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/mono/mini/exceptions-amd64.c	2009-04-11 03:00:52.000000000 +0200
+@@ -740,7 +740,7 @@
+ static inline guint64*
+ gregs_from_ucontext (ucontext_t *ctx)
+ {
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+     guint64 *gregs = (guint64 *) &ctx->uc_mcontext;
+ #else
+     guint64 *gregs = (guint64 *) &ctx->uc_mcontext.gregs;
+diff -urNad mono-2.4+dfsg~/mono/mini/mini-amd64.h mono-2.4+dfsg/mono/mini/mini-amd64.h
+--- mono-2.4+dfsg~/mono/mini/mini-amd64.h	2009-04-11 03:00:20.000000000 +0200
++++ mono-2.4+dfsg/mono/mini/mini-amd64.h	2009-04-11 03:00:52.000000000 +0200
+@@ -245,8 +245,7 @@
+ 
+ #define MONO_ARCH_NOMAP32BIT
+ 
+-#elif defined (__FreeBSD__)
+-
++#elif defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
+ #define REG_RAX 7
+ #define REG_RCX 4
+ #define REG_RDX 3
--- mono-2.4.2.3+dfsg.orig/debian/patches/build_cecil_as_2.0.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/build_cecil_as_2.0.dpatch
@@ -0,0 +1,43 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_cecil_as_2.0.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/class/Makefile mono-2.4+dfsg/mcs/class/Makefile
+--- mono-2.4+dfsg~/mcs/class/Makefile	2009-05-20 00:07:08.000000000 +0200
++++ mono-2.4+dfsg/mcs/class/Makefile	2009-05-20 00:12:20.000000000 +0200
+@@ -93,9 +93,7 @@
+ 	OpenSystem.C
+ 
+ net_1_1_dirs :=		\
+-	FirebirdSql.Data.Firebird	\
+-	Mono.Cecil			\
+-	Mono.Cecil.Mdb		\
++	FirebirdSql.Data.Firebird
+ 
+ net_2_0_dirs := \
+ 	Microsoft.Build.Framework	\
+@@ -121,7 +119,9 @@
+ 	System.ServiceModel.Web		\
+ 	Mono.Management			\
+ 	Mono.Options 			\
+-	Mono.Simd
++	Mono.Simd			\
++	Mono.Cecil			\
++	Mono.Cecil.Mdb
+ 
+ net_2_1_dirs := \
+ 	corlib			\
+diff -urNad mono-2.4+dfsg~/mcs/class/Mono.Cecil/Makefile mono-2.4+dfsg/mcs/class/Mono.Cecil/Makefile
+--- mono-2.4+dfsg~/mcs/class/Mono.Cecil/Makefile	2009-02-14 00:51:37.000000000 +0100
++++ mono-2.4+dfsg/mcs/class/Mono.Cecil/Makefile	2009-05-20 00:11:27.000000000 +0200
+@@ -9,7 +9,7 @@
+ 
+ NO_TEST = yes
+ 
+-ifneq (net_1_1, $(PROFILE))
++ifneq (net_2_0, $(PROFILE))
+ NO_INSTALL = yes
+ endif
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix-mono.pc.in.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix-mono.pc.in.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-mono.pc.in.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-1.2.6~/data/mono.pc.in mono-1.2.6/data/mono.pc.in
+--- mono-1.2.6~/data/mono.pc.in	2007-11-08 23:07:46.000000000 +0100
++++ mono-1.2.6/data/mono.pc.in	2007-12-16 15:50:02.000000000 +0100
+@@ -1,5 +1,5 @@
+-prefix=${pcfiledir}/../..
+-exec_prefix=${pcfiledir}/../..
++prefix=@prefix@
++exec_prefix=${prefix}
+ libdir=${prefix}/@reloc_libdir@
+ includedir=${prefix}/include/mono-@API_VER@
+ sysconfdir=@sysconfdir@
--- mono-2.4.2.3+dfsg.orig/debian/patches/disable_bug-80307_test.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/disable_bug-80307_test.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disable_bug-80307_test.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad git~/mono/tests/Makefile.am git/mono/tests/Makefile.am
+--- git~/mono/tests/Makefile.am	2009-05-25 19:46:23.000000000 +0200
++++ git/mono/tests/Makefile.am	2009-06-14 02:42:33.000000000 +0200
+@@ -330,7 +330,6 @@
+ 	modules.cs	\
+ 	bug-81673.cs	\
+ 	bug-81691.cs	\
+-	bug-80307.cs	\
+ 	bug-415577.cs	\
+ 	filter-stack.cs	\
+ 	vararg2.cs	\
--- mono-2.4.2.3+dfsg.orig/debian/patches/build_firebirdsql_as_2.0.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/build_firebirdsql_as_2.0.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_firebirdsql_as_2.0.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/class/Makefile mono-2.4+dfsg/mcs/class/Makefile
+--- mono-2.4+dfsg~/mcs/class/Makefile	2009-05-20 00:18:11.000000000 +0200
++++ mono-2.4+dfsg/mcs/class/Makefile	2009-05-20 00:20:55.000000000 +0200
+@@ -90,8 +90,7 @@
+ 	CustomMarshalers		\
+ 	OpenSystem.C
+ 
+-net_1_1_dirs :=		\
+-	FirebirdSql.Data.Firebird
++net_1_1_dirs :=
+ 
+ net_2_0_dirs := \
+ 	Microsoft.Build.Framework	\
+@@ -119,7 +118,8 @@
+ 	Mono.Options 			\
+ 	Mono.Simd			\
+ 	Mono.Cecil			\
+-	Mono.Cecil.Mdb
++	Mono.Cecil.Mdb			\
++	FirebirdSql.Data.Firebird
+ 
+ net_2_1_dirs := \
+ 	corlib			\
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_NetworkInterface_endless_loop.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_NetworkInterface_endless_loop.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_NetworkInterface_endless_loop.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs mono-2.4+dfsg/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs
+--- mono-2.4+dfsg~/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs	2009-04-11 02:30:06.000000000 +0200
++++ mono-2.4+dfsg/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs	2009-04-11 02:37:01.000000000 +0200
+@@ -183,6 +183,7 @@
+ 							if (((int)sockaddrll.sll_halen) > sockaddrll.sll_addr.Length){
+ 								Console.Error.WriteLine ("Got a bad hardware address length for an AF_PACKET {0} {1}",
+ 											 sockaddrll.sll_halen, sockaddrll.sll_addr.Length);
++								next = addr.ifa_next;
+ 								continue;
+ 							}
+ 							
--- mono-2.4.2.3+dfsg.orig/debian/patches/00list
+++ mono-2.4.2.3+dfsg/debian/patches/00list
@@ -0,0 +1,24 @@
+debian_version
+armel_fix_configure_fpu_check
+kfreebsd_support
+console-no-utf8-bom
+firebird-fbclient
+fix-mono.pc.in
+fix-mono-cairo.pc.in
+fix_BigInteger_overflow_CVE-2007-5197
+fix_implicit_pointer_conversions
+fix_array_compare
+fix_NetworkInterface_endless_loop
+fix_mono-api-info_build
+fix_csharplib_build
+fix_mdoc_build
+fix_tuner_build
+fix_metadata_dup
+fix_CreateDelegate_ArgumentException
+disable_building_convert.exe
+disable_bug-80307_test
+build_cecil_as_2.0
+build_firebirdsql_as_2.0
+build_linker_tuner_cil-strip_as_2.0
+build_permview_as_2.0
+build_genxs_2.0
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix-mono-cairo.pc.in.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix-mono-cairo.pc.in.dpatch
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-mono-cairo.pc.in.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/data/mono-cairo.pc.in mono-2.4+dfsg/data/mono-cairo.pc.in
+--- mono-2.4+dfsg~/data/mono-cairo.pc.in	2009-05-13 01:15:53.000000000 +0200
++++ mono-2.4+dfsg/data/mono-cairo.pc.in	2009-05-13 01:20:26.000000000 +0200
+@@ -1,9 +1,9 @@
+-prefix=${pcfiledir}/../..
+-exec_prefix=${pcfiledir}/../..
++prefix=@prefix@
++exec_prefix=${prefix}
+ libdir=${prefix}/@reloc_libdir@
+ includedir=${prefix}/include
+ 
+ Name: Mono.Cairo
+ Description: Cairo bindings for Mono
+ Version: @VERSION@
+-Libs: -r:${prefix}/lib/mono/1.0/Mono.Cairo.dll
++Libs: -r:${prefix}/lib/mono/2.0/Mono.Cairo.dll
--- mono-2.4.2.3+dfsg.orig/debian/patches/disable_building_convert.exe.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/disable_building_convert.exe.dpatch
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disable_building_convert.exe.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/Makefile.am mono-2.4+dfsg/Makefile.am
+--- mono-2.4+dfsg~/Makefile.am	2009-02-14 00:34:54.000000000 +0100
++++ mono-2.4+dfsg/Makefile.am	2009-04-11 04:18:32.000000000 +0200
+@@ -1,7 +1,7 @@
+ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I .
+ 
+-SUBDIRS = po $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support data runtime scripts man samples web msvc docs
++SUBDIRS = po $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support data runtime scripts man samples web msvc
+ 
+ # Keep in sync with SUBDIRS
+ ## 'tools' is not normally built
+diff -urNad mono-2.4+dfsg~/docs/Makefile.am mono-2.4+dfsg/docs/Makefile.am
+--- mono-2.4+dfsg~/docs/Makefile.am	2009-02-14 00:32:42.000000000 +0100
++++ mono-2.4+dfsg/docs/Makefile.am	2009-04-11 04:15:52.000000000 +0200
+@@ -97,14 +97,10 @@
+ mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
+ 	cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
+ 
+-$(srcdir)/deploy/.stamp: convert.exe Makefile.am
++$(srcdir)/deploy/.stamp: Makefile.am
+ 	$(mkdir_p) $(srcdir)/html
+ 	runtimedir=`cd ../runtime && pwd`; export runtimedir; \
+ 	cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
+ 	touch $@
+ 
+ extract: $(srcdir)/deploy/.stamp
+-
+-convert.exe: convert.cs AgilityPack.dll
+-	cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe
+-
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_tuner_build.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_tuner_build.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_tuner_build.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mcs/tools/tuner/Makefile mono-2.4+dfsg/mcs/tools/tuner/Makefile
+--- mono-2.4+dfsg~/mcs/tools/tuner/Makefile	2009-02-14 00:36:21.000000000 +0100
++++ mono-2.4+dfsg/mcs/tools/tuner/Makefile	2009-05-21 04:28:34.000000000 +0200
+@@ -2,7 +2,7 @@
+ SUBDIRS =
+ include ../../build/rules.make
+ 
+-LINKER = $(topdir)/class/lib/net_1_1/monolinker.exe
++LINKER = $(topdir)/class/lib/net_2_0/monolinker.exe
+ 
+ LOCAL_MCS_FLAGS = -r:System.Xml.dll -r:$(LINKER) -r:Mono.Cecil.dll
+ 
--- mono-2.4.2.3+dfsg.orig/debian/patches/console-no-utf8-bom.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/console-no-utf8-bom.dpatch
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+@DPATCH@
+
+--- trunk/mcs/class/corlib/System/Console.cs.old	2006-08-29 18:21:12.473936000 +0200
++++ trunk/mcs/class/corlib/System/Console.cs	2006-08-29 18:23:46.607568750 +0200
+@@ -97,8 +97,7 @@
+ 				int code_page = 0;
+ 				Encoding.InternalCodePage (ref code_page);
+ 
+-				if (code_page != -1 && ((code_page & 0x0fffffff) == 3 // UTF8Encoding.UTF8_CODE_PAGE
+-					|| ((code_page & 0x10000000) != 0)))
++				if (code_page == UTF8Encoding.UTF8_CODE_PAGE || ((code_page & 0x10000000) != 0))
+ 					inputEncoding = outputEncoding = Encoding.UTF8Unmarked;
+ 				else
+ 					inputEncoding = outputEncoding = Encoding.Default;
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_array_compare.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_array_compare.dpatch
@@ -0,0 +1,136 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_array_compare.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad git~/mcs/mcs/statement.cs git/mcs/mcs/statement.cs
+--- git~/mcs/mcs/statement.cs	2009-07-29 20:30:47.000000000 +0200
++++ git/mcs/mcs/statement.cs	2009-07-30 19:34:34.000000000 +0200
+@@ -4886,6 +4886,7 @@
+ 		}
+ 	}
+ 
++	// FIXME: Why is it almost exact copy of Using ??
+ 	public class UsingTemporary : ExceptionStatement {
+ 		TemporaryVariable local_copy;
+ 		public Statement Statement;
+@@ -5010,7 +5011,6 @@
+ 		Expression var;
+ 		Expression init;
+ 
+-		Expression converted_var;
+ 		ExpressionStatement assign;
+ 
+ 		public Using (Expression var, Expression init, Statement stmt, Location l)
+@@ -5021,31 +5021,6 @@
+ 			loc = l;
+ 		}
+ 
+-		bool ResolveVariable (EmitContext ec)
+-		{
+-			ExpressionStatement a = new SimpleAssign (var, init, loc);
+-			a = a.ResolveStatement (ec);
+-			if (a == null)
+-				return false;
+-
+-			assign = a;
+-
+-			if (TypeManager.ImplementsInterface (a.Type, TypeManager.idisposable_type)) {
+-				converted_var = var;
+-				return true;
+-			}
+-
+-			Expression e = Convert.ImplicitConversionStandard (ec, a, TypeManager.idisposable_type, var.Location);
+-			if (e == null) {
+-				Error_IsNotConvertibleToIDisposable (var);
+-				return false;
+-			}
+-
+-			converted_var = e;
+-
+-			return true;
+-		}
+-
+ 		static public void Error_IsNotConvertibleToIDisposable (Expression expr)
+ 		{
+ 			Report.SymbolRelatedToPreviousError (expr.Type);
+@@ -5066,42 +5041,18 @@
+ 		protected override void EmitFinallyBody (EmitContext ec)
+ 		{
+ 			ILGenerator ig = ec.ig;
++			Label skip = ig.DefineLabel ();
+ 
+-			if (!var.Type.IsValueType) {
+-				Label skip = ig.DefineLabel ();
++			bool emit_null_check = TypeManager.IsReferenceType (var.Type);
++			if (emit_null_check) {
+ 				var.Emit (ec);
+ 				ig.Emit (OpCodes.Brfalse, skip);
+-				converted_var.Emit (ec);
+-				ig.Emit (OpCodes.Callvirt, TypeManager.void_dispose_void);
+-				ig.MarkLabel (skip);
+-			} else {
+-				Expression ml = Expression.MemberLookup(ec.ContainerType, TypeManager.idisposable_type, var.Type, "Dispose", Mono.CSharp.Location.Null);
+-
+-				if (!(ml is MethodGroupExpr)) {
+-					var.Emit (ec);
+-					ig.Emit (OpCodes.Box, var.Type);
+-					ig.Emit (OpCodes.Callvirt, TypeManager.void_dispose_void);
+-				} else {
+-					MethodInfo mi = null;
+-
+-					foreach (MethodInfo mk in ((MethodGroupExpr) ml).Methods) {
+-						if (TypeManager.GetParameterData (mk).Count == 0) {
+-							mi = mk;
+-							break;
+-						}
+-					}
+-
+-					if (mi == null) {
+-						Report.Error(-100, Mono.CSharp.Location.Null, "Internal error: No Dispose method which takes 0 parameters.");
+-						return;
+-					}
++			}
+ 
+-					IMemoryLocation mloc = (IMemoryLocation) var;
++			Invocation.EmitCall (ec, false, var, TypeManager.void_dispose_void, null, loc);
+ 
+-					mloc.AddressOf (ec, AddressOp.Load);
+-					ig.Emit (OpCodes.Call, mi);
+-				}
+-			}
++			if (emit_null_check)
++				ig.MarkLabel (skip);
+ 		}
+ 
+ 		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
+@@ -5132,6 +5083,27 @@
+ 			return ok;
+ 		}
+ 
++		bool ResolveVariable (EmitContext ec)
++		{
++			assign = new SimpleAssign (var, init, loc);
++			assign = assign.ResolveStatement (ec);
++			if (assign == null)
++				return false;
++
++			if (assign.Type == TypeManager.idisposable_type ||
++				TypeManager.ImplementsInterface (assign.Type, TypeManager.idisposable_type)) {
++				return true;
++			}
++
++			Expression e = Convert.ImplicitConversionStandard (ec, assign, TypeManager.idisposable_type, var.Location);
++			if (e == null) {
++				Error_IsNotConvertibleToIDisposable (var);
++				return false;
++			}
++
++			throw new NotImplementedException ("covariance?");
++		}
++
+ 		protected override void CloneTo (CloneContext clonectx, Statement t)
+ 		{
+ 			Using target = (Using) t;
--- mono-2.4.2.3+dfsg.orig/debian/patches/debian_version.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/debian_version.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## debian_version.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-2.4+dfsg~/mono/mini/Makefile.am mono-2.4+dfsg/mono/mini/Makefile.am
+--- mono-2.4+dfsg~/mono/mini/Makefile.am	2009-04-18 00:54:50.000000000 +0200
++++ mono-2.4+dfsg/mono/mini/Makefile.am	2009-04-18 01:03:46.000000000 +0200
+@@ -83,7 +83,7 @@
+ # We build this after libmono was built so it contains the date when the final
+ # link was done
+ buildver.h: libmono-static.la
+-	@echo "const char *build_date = \"`date`\";" > buildver.h
++	@echo "const char *build_date;" > buildver.h
+ 
+ main.$(OBJEXT): buildver.h
+ 
+@@ -534,7 +534,7 @@
+ 			echo "#define FULL_VERSION \"$$branch r$$version\""; \
+ 		); \
+ 	else \
+-		echo "#define FULL_VERSION \"tarball\""; \
++		echo "#define FULL_VERSION \"Debian $$(dpkg-parsechangelog -l$(top_srcdir)/debian/changelog | grep ^Vers | cut -d\  -f2)\""; \
+ 	fi > version.h
+ 
+ # Utility target for patching libtool to speed up linking
--- mono-2.4.2.3+dfsg.orig/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch
+++ mono-2.4.2.3+dfsg/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_BigInteger_overflow_CVE-2007-5197.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs
+--- mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs	2006-04-14 19:51:24.000000000 +0200
++++ mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs	2007-10-28 22:42:47.000000000 +0100
+@@ -1574,7 +1574,7 @@
+ 						uint j = 1;
+ 
+ 						// Multiply and add
+-						for (; j < m.length; j++) {
++						for (; j < m.length && j < A.length; j++) {
+ 							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
+ 							*(aDP++) = (uint)c;
+ 							c >>= 32;
+diff -urNad mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs
+--- mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs	2006-04-14 19:50:35.000000000 +0200
++++ mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs	2007-10-28 22:42:15.000000000 +0100
+@@ -1574,7 +1574,7 @@
+ 						uint j = 1;
+ 
+ 						// Multiply and add
+-						for (; j < m.length; j++) {
++						for (; j < m.length && j < A.length; j++) {
+ 							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
+ 							*(aDP++) = (uint)c;
+ 							c >>= 32;
--- mono-2.4.2.3+dfsg.orig/debian/man/xbuild.1
+++ mono-2.4.2.3+dfsg/debian/man/xbuild.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/cli-wrapper.1
+++ mono-2.4.2.3+dfsg/debian/man/cli-wrapper.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/pedump.1
+++ mono-2.4.2.3+dfsg/debian/man/pedump.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/monograph.1
+++ mono-2.4.2.3+dfsg/debian/man/monograph.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/caspol.1
+++ mono-2.4.2.3+dfsg/debian/man/caspol.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/mjs.1
+++ mono-2.4.2.3+dfsg/debian/man/mjs.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/mono-find-requires.1
+++ mono-2.4.2.3+dfsg/debian/man/mono-find-requires.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
--- mono-2.4.2.3+dfsg.orig/debian/man/mono-find-provides.1
+++ mono-2.4.2.3+dfsg/debian/man/mono-find-provides.1
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com/docs/
