--- mono-debugger-2.6.3.orig/debian/control +++ mono-debugger-2.6.3/debian/control @@ -0,0 +1,34 @@ +Source: mono-debugger +Section: devel +Priority: optional +Maintainer: Debian Mono Group +Uploaders: Mirco Bauer +Build-Depends: debhelper (>= 5), + dpatch, + cli-common-dev (>= 0.4.4), + mono-devel (>= 2.6.3), + nunit-console, + libnunit-cil-dev, + autoconf, + automake, + autotools-dev, + libtool, + libmono-dev (>= 2.0), + libglib2.0-dev, + libreadline-dev +Standards-Version: 3.8.4 +Homepage: http://www.mono-project.com/Debugger +Vcs-Svn: svn://svn.debian.org/pkg-mono/mono-debugger/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-mono/mono-debugger/trunk/ + +Package: mono-debugger +Architecture: i386 amd64 +Enhances: mono-runtime, mono-devel +Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} +Description: Debugger 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 .NET CLR including compiler and runtime, which can + produce and execute CIL bytecode (assemblies), and a .NET class library. + . + This package allows debugging CLI applications that run on Mono. --- mono-debugger-2.6.3.orig/debian/README.Debian +++ mono-debugger-2.6.3/debian/README.Debian @@ -0,0 +1,8 @@ +mono-debugger for Debian +------------------------ + +This package allows debugging CLI applications that run on Mono, it requires NTPL +with a 2.6 kernel though. +You need to install the libc6-i686 or libc6-amd64 package to get NTPL support. + + -- Mirco Bauer Sat, 05 May 2007 21:52:42 +0200 --- mono-debugger-2.6.3.orig/debian/compat +++ mono-debugger-2.6.3/debian/compat @@ -0,0 +1 @@ +5 --- mono-debugger-2.6.3.orig/debian/rules +++ mono-debugger-2.6.3/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 +export MONO_SHARED_DIR=$(CURDIR) +MAKEFILE = $(firstword $(MAKEFILE_LIST)) +DEBIAN_DIR = $(dir $(MAKEFILE)) +SOURCE_DIR = $(DEBIAN_DIR)/.. + +DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2) +DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) +VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//') + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + + libtoolize + aclocal + autoconf + automake --add-missing --copy + + ./configure --prefix=/usr MCS=/usr/bin/mono-csc + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -fr autom4te.cache + [ ! -f Makefile ] || $(MAKE) distclean + find . -name "Makefile.in" | xargs rm -fr + dh_clean config.sub config.guess aclocal.m4 + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/mono-debugger + cp $(CURDIR)/debian/mdb.exe.config $(CURDIR)/debian/mono-debugger/usr/lib/mono/2.0/ + rm $(CURDIR)/debian/mono-debugger/usr/lib/*.so + rm $(CURDIR)/debian/mono-debugger/usr/lib/*.la + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_clifixperms + dh_makeshlibs -V + dh_makeclilibs -r + dh_installdeb + dh_shlibdeps + dh_clideps -d + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +get-orig-source: + uscan \ + --package $(DEB_SOURCE_NAME) \ + --watchfile $(DEBIAN_DIR)/watch \ + --upstream-version $(VERSION) \ + --download-version $(VERSION) \ + --destdir . \ + --force-download \ + --rename + bzcat ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \ + gzip -9fn -c - > ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz + rm ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 + +.PHONY: build clean binary-indep binary-arch binary install configure --- mono-debugger-2.6.3.orig/debian/postinst +++ mono-debugger-2.6.3/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + ldconfig +fi + +#DEBHELPER# --- mono-debugger-2.6.3.orig/debian/mdb.exe.config +++ mono-debugger-2.6.3/debian/mdb.exe.config @@ -0,0 +1,4 @@ + + + + --- mono-debugger-2.6.3.orig/debian/watch +++ mono-debugger-2.6.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.novell.com/pub/mono/sources/mono-debugger/ mono-debugger-([\d\.]+)\.tar\.bz2 --- mono-debugger-2.6.3.orig/debian/changelog +++ mono-debugger-2.6.3/debian/changelog @@ -0,0 +1,224 @@ +mono-debugger (2.6.3-2.2~dhx1) lucid; urgency=low + + * Upload to badgerports/lucid. + + -- Jo Shields Wed, 16 Mar 2011 20:56:40 +0000 + +mono-debugger (2.6.3-2.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches + - (CVE-*): refresh. Fix CVE-2010-3369 insecure library loading + in more simple manner. See #601199. + + -- Jari Aalto Wed, 03 Nov 2010 16:56:42 +0200 + +mono-debugger (2.6.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches + - (CVE-*): New patch. Fix CVE-2010-3369 insecure library loading + (grave, security; Closes: #598299). + + -- Jari Aalto Mon, 18 Oct 2010 13:01:07 +0300 + +mono-debugger (2.6.3-2) unstable; urgency=low + + * Upload to Debian Unstable + + -- Jo Shields Fri, 10 Sep 2010 15:55:27 +0100 + +mono-debugger (2.6.3-1) experimental; urgency=low + + * New upstream release + * debian/rules: + + Stop using ../tarballs in get-orig-source rule + * debian/patches/use_real_nunit.dpatch: + + Refreshed + * debian/control: + + Bump build-dependency to 2.6.3 to ensure we don't try building + against 2.4.x (which won't work properly) + + -- Jo Shields Sun, 06 Jun 2010 22:58:05 +0100 + +mono-debugger (2.4.3-2) unstable; urgency=low + + [ Mirco Bauer ] + * debian/rules + debian/shlibs: + + Dropped handcrafted shlibs, replace with versioned shlibs created with + dh_makeshlibs. + + [ Jo Shields ] + * debian/control: + + No-change bump to Standards 3.8.4 + + Use NUnit's -dev package to prevent FTBFS + + -- Mirco Bauer Fri, 25 Dec 2009 13:44:04 +0100 + +mono-debugger (2.4.3-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Build-depend on mono-devel 2.4.3, remove individual library + dependencies which are no longer required + * debian/rules: + + Use mono-csc as compiler, not csc (Closes: #562282) + * debian/patches/use_real_nunit.dpatch: + + Refresh + * debian/shlibs: + + Provide a shlibs file, to prevent Lintian-based explosions + + -- Jo Shields Thu, 24 Dec 2009 11:39:50 +0000 + +mono-debugger (2.4.2-2) unstable; urgency=low + + * debian/control: + + Replaced libreadline5-dev build-dep with libreadline-dev. + + Bumped Standards-Version to 3.8.3 (no changes needed) + + -- Mirco Bauer Sun, 20 Sep 2009 23:13:39 +0200 + +mono-debugger (2.4.2-1) unstable; urgency=low + + [ Jo Shields ] + * New upstream release + * debian/control: + + Switch from libmono1.0-cil to libmono-cecil-private-cil, as + that's where cecil lives now + + No-change bump to Standards 3.8.2 + * debian/rules: + + Enhance get-orig-source rule to produce consistent md5sums + * debian/patches/use_real_nunit.dpatch: + + Updated + + [ Mirco Bauer ] + * debian/watch: + + Updated + + -- Jo Shields Tue, 30 Jun 2009 15:15:13 +0100 + +mono-debugger (2.4-2) unstable; urgency=low + + * Rebuild against Mono 2.4 + + -- Mirco Bauer Wed, 27 May 2009 21:56:55 +0200 + +mono-debugger (2.4-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Bump standards to version 3.8.1 (no changes needed) + * debian/patches/use_real_nunit.dpatch: + + Updated + * debian/rules, + debian/patches/99_autoreconf.dpatch, + debian/control: + + Switch from using autoreconf patch to generating fresh data at build + time - add required build dependencies accordingly + * debian/rules: + + No more .a files to delete + + -- Jo Shields Tue, 28 Apr 2009 23:08:21 +0100 + +mono-debugger (2.0-2) unstable; urgency=low + + * Upload to unstable. + + -- Mirco Bauer Wed, 25 Feb 2009 23:26:48 +0100 + +mono-debugger (2.0-1) experimental; urgency=low + + * New upstream release. + + This version doesn't contain any pre-compiled binaries in the source + tarball and thus doesn't need to be DFSGed anymore. + * debian/patches/fix_dllmap.dpatch + + Updated + * debian/patches/use_real_nunit.dpatch + debian/patches/99_autoreconf.dpatch: + + Updated + * debian/patches/fix_build_with_libc_r98147_r98369.dpatch: + + Removed, already applied upstream. + * debian/patches/link_system_libs.dpatch: + + Removed, not needed anymore as upstream links against cecil now. + * debian/rules: + + Removed GACUTIL hack in configure call, already fixed upstream. + + Fixed configure-stamp target dependency, else it re-configures each + time. + + Added get-orig-source target (as part of the group policy). + * debian/control: + + Added Enhances field. + + Bumped Standards-Version to 3.8.0 (no changes needed). + + Bumped Mono build-deps to >= 2.0 and replaced mono-* with mono-devel + as part of the Mono 2.0 transition. + + Updated CLI 1.0 build-deps to 2.0. + + Removed libmono-cecil0.5-cil from build-deps as we use cecil of + libmono1.0-cil now. + + Added libnunit2.4-cil to build-deps. + * debian/watch: + + Updated + + -- Mirco Bauer Wed, 26 Nov 2008 23:01:21 +0100 + +mono-debugger (0.60+dfsg-4) unstable; urgency=medium + + * debian/patches/fix_build_with_libc_r98147_r98369.dpatch: + + Using sys/user.h instead of asm/user.h, fixes FTBFS. (Closes: #479901) + (patch taken from upstream's SVN repo, revision 98147 and 98369) + + -- Mirco Bauer Sun, 01 Jun 2008 15:22:24 +0200 + +mono-debugger (0.60+dfsg-3) unstable; urgency=low + + * debian/control: + + Limited architecture list (from any) to i386 and amd64, as the debugger + uses CPU registers so it needs to be ported to other archs first. + + Updated Standards-Version to 3.7.3, no changes needed. + * debian/rules: + + Enhanced "make clean" error handling, makes lintian happy. + * debian/postinst: + + Added #DEBHELPER# token, makes lintian happy. + + -- Mirco Bauer Tue, 25 Dec 2007 16:31:30 +0100 + +mono-debugger (0.60+dfsg-2) unstable; urgency=low + + * debian/control: + + Added libmono1.0-cil and libmono-system-runtime1.0-cil to build + dependencies, fixes FTBFS. (Closes: #457561) + + -- Mirco Bauer Sun, 23 Dec 2007 21:36:42 +0100 + +mono-debugger (0.60+dfsg-1) unstable; urgency=low + + * DFSG version of mono-debugger 0.60 + + Deleted pre-compiled binary build/Mono.Debugger.Cecil.dll from tarball. + * New upstream release + * debian/control: + + Updated mono-* and libmono* build-deps to >= 1.2.5 + + Added libmono-cecil0.5-cil to build-deps. + + Added Homepage, Vcs-Svn and Vcs-Browser fields. + * debian/patches/link_system_libs: + + Link against libmono-cecil0.5-cil instead of the bundled (but deleted) + version. + * debian/watch: + + Updated + + -- Mirco Bauer Sun, 23 Dec 2007 01:21:43 +0100 + +mono-debugger (0.50-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + New upstream release + + debian/rules: + - Don't run ./autogen.sh, as we use a release tarball. + + debian/control: + - Updated libmono-dev build dependency to >= 1.2.4 + + -- Mirco Bauer Mon, 28 May 2007 16:24:54 +0200 + +mono-debugger (0.31+svn.r75891-1) unstable; urgency=low + + * Initial Release. (Closes: #241763) + + -- Mirco Bauer Wed, 18 Apr 2007 19:53:05 +0200 --- mono-debugger-2.6.3.orig/debian/docs +++ mono-debugger-2.6.3/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- mono-debugger-2.6.3.orig/debian/copyright +++ mono-debugger-2.6.3/debian/copyright @@ -0,0 +1,103 @@ +This package was debianized by Mirco Bauer on +Sun, 17 Apr 2005 16:01:19 +0200. + +It was downloaded from: +http://go-mono.com/sources-stable/ +http://anonsvn.mono-project.com/viewcvs/trunk/debugger/ + +Upstream Authors: +Martin Baulig +Miguel de Icaza +Chris Toshok + +License: + Copyright (c) 2004, 2005 Novell, Inc. + + 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. + + +frontend/libedit: + + Copyright (c) 1992, 1993 + The Regents of the University of California. All rights reserved. + + This code is derived from software contributed to Berkeley by + Christos Zoulas of Cornell University. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS `AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +frontend/jay: + + Copyright (c) 1989 The Regents of the University of California. + All rights reserved. + + This code is derived from software contributed to Berkeley by + Robert Paul Corbett. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS `AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. --- mono-debugger-2.6.3.orig/debian/patches/use_real_nunit.dpatch +++ mono-debugger-2.6.3/debian/patches/use_real_nunit.dpatch @@ -0,0 +1,89 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## use_real_nunit.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff --git a/build/Makefile.am b/build/Makefile.am +index 3454bff..0edea29 100644 +--- a/build/Makefile.am ++++ b/build/Makefile.am +@@ -99,9 +99,7 @@ TEST_FRAMEWORK_DEPS = \ + -r:./Mono.Debugger.dll \ + -r:./Mono.Debugger.Frontend.dll \ + -r:System.Runtime.Remoting \ +- -r:nunit.framework \ +- -r:nunit.core \ +- -r:nunit.core.interfaces ++ -pkg:nunit + + TEST_SRCLIST = \ + $(top_srcdir)/test/testsuite/*.cs \ +@@ -137,9 +135,7 @@ TEST_DEPS = \ + -r:./Mono.Debugger.dll \ + -r:./Mono.Debugger.Frontend.dll \ + -r:./Mono.Debugger.Test.Framework.dll \ +- -r:nunit.framework \ +- -r:nunit.core \ +- -r:nunit.core.interfaces ++ -pkg:nunit + + DEBUGGER_TEST_SERVER_SRCLIST = \ + $(top_srcdir)/test/framework/DebuggerTestServer.cs +@@ -147,10 +143,7 @@ DEBUGGER_TEST_SERVER_SRCLIST = \ + DEBUGGER_TEST_SERVER_DEPS = \ + -r:Mono.Debugger.Test.Framework.dll \ + -r:System.Runtime.Remoting \ +- -r:nunit.framework \ +- -r:nunit.core \ +- -r:nunit.core.interfaces \ +- -r:nunit.util ++ -pkg:nunit + + if MARTIN_PRIVATE + MCS_FLAGS += -define:MARTIN_PRIVATE +@@ -222,7 +215,7 @@ mdb-symbolreader: mdb-symbolreader.in Makefile + < $(srcdir)/mdb-symbolreader.in > mdb-symbolreader.tmp \ + && mv mdb-symbolreader.tmp mdb-symbolreader + +-NUNIT_CONSOLE_EXE = $(NUNIT_PREFIX)/lib/mono/2.0/nunit-console.exe ++NUNIT_CONSOLE_EXE = $(NUNIT_PREFIX)/lib/nunit/nunit-console.exe + + runtests: runtests.in Makefile ulimit-check + builddir=$(top_builddir) ; the_builddir=`cd $$builddir && pwd` ; \ +diff --git a/configure.in b/configure.in +index 5518bec..e0d882a 100644 +--- a/configure.in ++++ b/configure.in +@@ -192,9 +192,9 @@ if test "x$MONODIS" = "x" ; then + AC_MSG_ERROR([Can't find "monodis" in your PATH]) + fi + +-AC_PATH_PROG(NUNIT_CONSOLE, nunit-console2) ++AC_PATH_PROG(NUNIT_CONSOLE, nunit-console) + if test "x$NUNIT_CONSOLE" = "x" ; then +- AC_MSG_ERROR([Can't find "nunit-console2" in your PATH]) ++ AC_MSG_ERROR([Can't find "nunit-console" in your PATH]) + fi + + target_mono_prefix="$prefix" +@@ -220,13 +220,13 @@ else + TARGET_MONODIS="$MONODIS" + + ## Check NUnit +- if pkg-config --modversion mono-nunit>/dev/null; then +- AC_MSG_RESULT("Found mono-nunit.pc") ++ if pkg-config --modversion nunit>/dev/null; then ++ AC_MSG_RESULT("Found nunit.pc") + else +- AC_MSG_ERROR([Cannot find mono-nunit (mono-unit.pc for packageconfig)]) ++ AC_MSG_ERROR([Cannot find nunit (nunit.pc for packageconfig)]) + fi +- NUNIT_PREFIX=`pkg-config --variable=prefix mono-nunit` +- NUNIT_VERSION=`pkg-config --modversion mono-nunit` ++ NUNIT_PREFIX=`pkg-config --variable=prefix nunit` ++ NUNIT_VERSION=`pkg-config --modversion nunit` + + fi + NUNIT_PREFIX=`cd $NUNIT_PREFIX && pwd` --- mono-debugger-2.6.3.orig/debian/patches/00list +++ mono-debugger-2.6.3/debian/patches/00list @@ -0,0 +1,3 @@ +use_real_nunit +fix_dllmap +cve-2010-3369--bug598299 --- mono-debugger-2.6.3.orig/debian/patches/fix_dllmap.dpatch +++ mono-debugger-2.6.3/debian/patches/fix_dllmap.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_dllmap.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-debugger-2.0~/build/Mono.Debugger.dll.config.in mono-debugger-2.0/build/Mono.Debugger.dll.config.in +--- mono-debugger-2.0~/build/Mono.Debugger.dll.config.in 2008-07-31 21:08:36.000000000 +0200 ++++ mono-debugger-2.0/build/Mono.Debugger.dll.config.in 2008-11-16 23:16:45.000000000 +0100 +@@ -1,3 +1,4 @@ + + ++ + --- mono-debugger-2.6.3.orig/debian/patches/fix_build_with_libc_r98147_r98369.dpatch +++ mono-debugger-2.6.3/debian/patches/fix_build_with_libc_r98147_r98369.dpatch @@ -0,0 +1,58 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_build_with_libc_r98147.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-debugger-0.60+dfsg~/backend/server/i386-arch.h mono-debugger-0.60+dfsg/backend/server/i386-arch.h +--- mono-debugger-0.60+dfsg~/backend/server/i386-arch.h 2008-06-01 15:16:40.000000000 +0200 ++++ mono-debugger-0.60+dfsg/backend/server/i386-arch.h 2008-06-01 15:17:40.000000000 +0200 +@@ -7,10 +7,10 @@ + + #if defined(__i386__) + +-#include ++#include + + #define INFERIOR_REGS_TYPE struct user_regs_struct +-#define INFERIOR_FPREGS_TYPE struct user_i387_struct ++#define INFERIOR_FPREGS_TYPE struct user_fpregs_struct + + #define INFERIOR_REG_EIP(r) r.eip + #define INFERIOR_REG_ESP(r) r.esp +@@ -23,12 +23,12 @@ + #define INFERIOR_REG_EDI(r) r.edi + #define INFERIOR_REG_EFLAGS(r) r.eflags + #define INFERIOR_REG_ESP(r) r.esp +-#define INFERIOR_REG_FS(r) r.fs +-#define INFERIOR_REG_ES(r) r.es +-#define INFERIOR_REG_DS(r) r.ds +-#define INFERIOR_REG_CS(r) r.cs +-#define INFERIOR_REG_SS(r) r.ss +-#define INFERIOR_REG_GS(r) r.gs ++#define INFERIOR_REG_FS(r) r.xfs ++#define INFERIOR_REG_ES(r) r.xes ++#define INFERIOR_REG_DS(r) r.xds ++#define INFERIOR_REG_CS(r) r.xcs ++#define INFERIOR_REG_SS(r) r.xss ++#define INFERIOR_REG_GS(r) r.xgs + + G_END_DECLS + +diff -urNad mono-debugger-0.60+dfsg~/backend/server/x86_64-arch.h mono-debugger-0.60+dfsg/backend/server/x86_64-arch.h +--- mono-debugger-0.60+dfsg~/backend/server/x86_64-arch.h 2008-06-01 15:16:40.000000000 +0200 ++++ mono-debugger-0.60+dfsg/backend/server/x86_64-arch.h 2008-06-01 15:17:25.000000000 +0200 +@@ -7,10 +7,10 @@ + + #if defined(__x86_64__) + +-#include ++#include + + #define INFERIOR_REGS_TYPE struct user_regs_struct +-#define INFERIOR_FPREGS_TYPE struct user_i387_struct ++#define INFERIOR_FPREGS_TYPE struct user_fpregs_struct + + #define INFERIOR_REG_R15(r) r.r15 + #define INFERIOR_REG_R14(r) r.r14 --- mono-debugger-2.6.3.orig/debian/patches/link_system_libs.dpatch +++ mono-debugger-2.6.3/debian/patches/link_system_libs.dpatch @@ -0,0 +1,110 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## link_system_libs.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-debugger-0.60+dfsg~/build/Makefile.am mono-debugger-0.60+dfsg/build/Makefile.am +--- mono-debugger-0.60+dfsg~/build/Makefile.am 2007-12-23 01:56:41.000000000 +0100 ++++ mono-debugger-0.60+dfsg/build/Makefile.am 2007-12-23 01:57:01.000000000 +0100 +@@ -12,7 +12,6 @@ + Mono.Debugger.Frontend.dll \ + Mono.Debugger.Test.dll + +-EXTRA_DATA = Mono.Debugger.Cecil.dll + + LANGUAGE_SPECIFIC_FILES = \ + $(top_builddir)/frontend/CSharpExpressionParser.cs \ +@@ -61,7 +60,7 @@ + -r:Mono.GetOptions \ + -r:Mono.CompilerServices.SymbolWriter \ + -r:System.Runtime.Serialization.Formatters.Soap \ +- -r:$(srcdir)/Mono.Debugger.Cecil.dll \ ++ $$(pkg-config --libs mono-cecil) \ + -r:./Mono.Debugger.dll + + MDB_DEPS = \ +@@ -77,7 +76,7 @@ + -r:./Mono.Debugger.Frontend.dll \ + $$(pkg-config --libs nunit) + +-Mono.Debugger.Backend.dll: Makefile $(srcdir)/Mono.Debugger.Cecil.dll $(BACKEND_SRCLIST) Mono.Debugger.dll ++Mono.Debugger.Backend.dll: Makefile $(BACKEND_SRCLIST) Mono.Debugger.dll + $(MCS) -target:library -out:Mono.Debugger.Backend.dll $(MCS_FLAGS) -keyfile:$(top_srcdir)/build/mono.snk -resource:$(top_srcdir)/classes/DebuggerConfiguration.xsd,DebuggerConfiguration $(BACKEND_DEPS) $(BACKEND_SRCLIST) + + Mono.Debugger.dll: Makefile $(INTERFACE_SRCLIST) +@@ -114,21 +113,18 @@ + + EXTRA_DIST = \ + mdb.in mono.snk AssemblyInfo.cs.in Mono.Debugger.dll.config.in \ +- Mono.Debugger.Cecil.dll + + mdb: mdb.in Makefile + sed -e 's^\@onedir\@^$(onedir)^g' < $(srcdir)/mdb.in > mdb.tmp \ + && mv mdb.tmp mdb + + install-data-local: +- $(GACUTIL) /i $(srcdir)/Mono.Debugger.Cecil.dll /f $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /i Mono.Debugger.Backend.dll /f $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /i Mono.Debugger.dll /f $(GACUTIL_FLAGS) || exit 1; + + uninstall-local: + $(GACUTIL) /u Mono.Debugger $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /u Mono.Debugger.Backend $(GACUTIL_FLAGS) || exit 1; +- $(GACUTIL) /u Mono.Debugger.Cecil $(GACUTIL_FLAGS) || exit 1; + + NUNIT_CONSOLE_FLAGS = + +diff -urNad mono-debugger-0.60+dfsg~/build/Makefile.in mono-debugger-0.60+dfsg/build/Makefile.in +--- mono-debugger-0.60+dfsg~/build/Makefile.in 2007-12-23 01:56:41.000000000 +0100 ++++ mono-debugger-0.60+dfsg/build/Makefile.in 2007-12-23 01:57:12.000000000 +0100 +@@ -201,7 +201,6 @@ + Mono.Debugger.Frontend.dll \ + Mono.Debugger.Test.dll + +-EXTRA_DATA = Mono.Debugger.Cecil.dll + LANGUAGE_SPECIFIC_FILES = \ + $(top_builddir)/frontend/CSharpExpressionParser.cs \ + $(top_srcdir)/frontend/CSharpTokenizer.cs +@@ -249,7 +248,7 @@ + -r:Mono.GetOptions \ + -r:Mono.CompilerServices.SymbolWriter \ + -r:System.Runtime.Serialization.Formatters.Soap \ +- -r:$(srcdir)/Mono.Debugger.Cecil.dll \ ++ $$(pkg-config --libs mono-cecil) \ + -r:./Mono.Debugger.dll + + MDB_DEPS = \ +@@ -273,7 +272,6 @@ + + EXTRA_DIST = \ + mdb.in mono.snk AssemblyInfo.cs.in Mono.Debugger.dll.config.in \ +- Mono.Debugger.Cecil.dll + + NUNIT_CONSOLE_FLAGS = + all: all-am +@@ -493,7 +491,7 @@ + uninstall-binSCRIPTS uninstall-local uninstall-oneSCRIPTS + + +-Mono.Debugger.Backend.dll: Makefile $(srcdir)/Mono.Debugger.Cecil.dll $(BACKEND_SRCLIST) Mono.Debugger.dll ++Mono.Debugger.Backend.dll: Makefile $(BACKEND_SRCLIST) Mono.Debugger.dll + $(MCS) -target:library -out:Mono.Debugger.Backend.dll $(MCS_FLAGS) -keyfile:$(top_srcdir)/build/mono.snk -resource:$(top_srcdir)/classes/DebuggerConfiguration.xsd,DebuggerConfiguration $(BACKEND_DEPS) $(BACKEND_SRCLIST) + + Mono.Debugger.dll: Makefile $(INTERFACE_SRCLIST) +@@ -526,14 +524,12 @@ + && mv mdb.tmp mdb + + install-data-local: +- $(GACUTIL) /i $(srcdir)/Mono.Debugger.Cecil.dll /f $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /i Mono.Debugger.Backend.dll /f $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /i Mono.Debugger.dll /f $(GACUTIL_FLAGS) || exit 1; + + uninstall-local: + $(GACUTIL) /u Mono.Debugger $(GACUTIL_FLAGS) || exit 1; + $(GACUTIL) /u Mono.Debugger.Backend $(GACUTIL_FLAGS) || exit 1; +- $(GACUTIL) /u Mono.Debugger.Cecil $(GACUTIL_FLAGS) || exit 1; + + check-local: Mono.Debugger.Test.dll $(TEST_CASE_SRCLIST) + LD_LIBRARY_PATH="$(top_builddir)/backend/server/.libs:$$LD_LIBRARY_PATH" $(NUNIT_CONSOLE) $(NUNIT_CONSOLE_FLAGS) /output:TestResult.log /exclude:NotWorking /xml:TestResult.xml Mono.Debugger.Test.dll || ok=false; \ --- mono-debugger-2.6.3.orig/debian/patches/fix_Makefile.am.dpatch +++ mono-debugger-2.6.3/debian/patches/fix_Makefile.am.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_Makefile.am.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-debugger-0.12+svn.r59605~/build/Makefile.am mono-debugger-0.12+svn.r59605/build/Makefile.am +--- mono-debugger-0.12+svn.r59605~/build/Makefile.am 2006-04-18 20:02:56.000000000 +0200 ++++ mono-debugger-0.12+svn.r59605/build/Makefile.am 2006-04-18 20:06:41.000000000 +0200 +@@ -8,7 +8,7 @@ + + noinst_SCRIPTS = Mono.Debugger.dll Mono.Debugger.Frontend.dll Mono.Debugger.Test.dll + +-EXTRA_DATA = Mono.Debugger.Cecil.dll ++#EXTRA_DATA = Mono.Debugger.Cecil.dll + + LANGUAGE_SPECIFIC_FILES = \ + $(top_builddir)/frontend/CSharpExpressionParser.cs \ --- mono-debugger-2.6.3.orig/debian/patches/cve-2010-3369--bug598299.dpatch +++ mono-debugger-2.6.3/debian/patches/cve-2010-3369--bug598299.dpatch @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## /tmp/CVE-2010-3369--bug598299-simple.patch.dpatch by jaalto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: +## DP: Author: Jari Aalto +## DP: +## DP: +## DP: +## DP: +## DP: Signed-off-by: Jari Aalto + +@DPATCH@ + +diff --git a/build/mdb-symbolreader.in b/build/mdb-symbolreader.in +old mode 100644 +new mode 100755 +index 7138bd0..441452d +--- a/build/mdb-symbolreader.in ++++ b/build/mdb-symbolreader.in +@@ -1,3 +1,6 @@ + #!/bin/sh +-export LD_LIBRARY_PATH="@libdir@:${LD_LIBRARY_PATH}" +-exec @mono@ --debug @twodir@/mdb-symbolreader.exe $* ++ ++LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ++export LD_LIBRARY_PATH ++ ++exec @mono@ --debug @twodir@/mdb-symbolreader.exe "$@" +diff --git a/build/mdb.in b/build/mdb.in +old mode 100644 +new mode 100755 +index 12da6c3..893e182 +--- a/build/mdb.in ++++ b/build/mdb.in +@@ -1,3 +1,6 @@ + #!/bin/sh +-export LD_LIBRARY_PATH="@libdir@:${LD_LIBRARY_PATH}" +-exec @mono@ --debug @twodir@/mdb.exe $* ++ ++LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ++export LD_LIBRARY_PATH ++ ++exec @mono@ --debug @twodir@/mdb.exe "$@" --- mono-debugger-2.6.3.orig/debian/patches/lower_required_mono_version.dpatch +++ mono-debugger-2.6.3/debian/patches/lower_required_mono_version.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## lower_required_mono_version.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-debugger-0.12+svn.r59605~/configure.in mono-debugger-0.12+svn.r59605/configure.in +--- mono-debugger-0.12+svn.r59605~/configure.in 2006-04-18 20:02:56.000000000 +0200 ++++ mono-debugger-0.12+svn.r59605/configure.in 2006-04-18 20:08:42.000000000 +0200 +@@ -136,7 +136,7 @@ + + ## Versions of dependencies + GLIB_REQUIRED_VERSION=2.0.0 +-MONO_REQUIRED_VERSION=1.1.15 ++MONO_REQUIRED_VERSION=1.1.13.6 + + + PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)