[Pkg-mono-svn-commits] rev 3887 - in mono/trunk/debian: . patches

Mirco Bauer meebey at alioth.debian.org
Tue Jan 20 21:32:35 UTC 2009


Author: meebey
Date: 2009-01-20 21:32:35 +0000 (Tue, 20 Jan 2009)
New Revision: 3887

Added:
   mono/trunk/debian/patches/fix_TcpClient_IPv6_r122598.dpatch
Modified:
   mono/trunk/debian/changelog
   mono/trunk/debian/control
   mono/trunk/debian/patches/00list
Log:
    + Added many stronged 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)
 
   [ David Paleino ]
   * debian/patches/fix_TcpClient_IPv6_r122598.dpatch:
     + Fix bug in TcpClient() implementation preventing IPv6 connections
       from working



Modified: mono/trunk/debian/changelog
===================================================================
--- mono/trunk/debian/changelog	2009-01-20 12:11:07 UTC (rev 3886)
+++ mono/trunk/debian/changelog	2009-01-20 21:32:35 UTC (rev 3887)
@@ -1,4 +1,4 @@
-mono (2.0.1-2) UNRELEASED; urgency=low
+mono (2.0.1-2) experimental; urgency=low
 
   [ Jo Shields ]
   * debian/patches/fix_wsdl2_duplicate_keys_r117243.dpatch:
@@ -22,9 +22,18 @@
   * 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 stronged 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)
 
- -- Mirco Bauer <meebey at debian.org>  Thu, 18 Dec 2008 16:01:51 +0100
+   [ David Paleino ]
+   * debian/patches/fix_TcpClient_IPv6_r122598.dpatch:
+     + Fix bug in TcpClient() implementation preventing IPv6 connections
+       from working
 
+ -- Mirco Bauer <meebey at debian.org>  Tue, 20 Jan 2009 21:53:21 +0100
+
 mono (2.0.1-1) experimental; urgency=low
 
   [ Mirco Bauer ]

Modified: mono/trunk/debian/control
===================================================================
--- mono/trunk/debian/control	2009-01-20 12:11:07 UTC (rev 3886)
+++ mono/trunk/debian/control	2009-01-20 21:32:35 UTC (rev 3887)
@@ -1293,9 +1293,25 @@
 Replaces: mono-1.0-devel (<< 2.0),
           mono-mcs (<< 2.0),
           mono-gmcs (<< 2.0)
-Depends: ${cli:Depends},
+Depends: mono-runtime (>= 2.0),
+         libc6 (>= 2.7-1) | libc6.1 (>= 2.7-1) | libc0.1 (>= 2.7-1),
+         libglib2.0-0 (>= 2.16.0),
+         libmono-corlib1.0-cil (>= 2.0),
+         libmono-corlib2.0-cil (>= 2.0),
+         libmono-system1.0-cil (>= 2.0),
+         libmono-data-tds1.0-cil (>= 2.0),
+         libmono-data-tds2.0-cil (>= 2.0),
+         libmono-getoptions1.0-cil (>= 1.0),
+         libmono-relaxng1.0-cil (>= 1.9),
+         libmono-security1.0-cil (>= 2.0),
+         libmono-system-data1.0-cil (>= 1.2.6),
+         libmono-system-web1.0-cil (>= 2.0),
+         libmono-system-web2.0-cil (>= 2.0),
+         libmono-system-runtime1.0-cil (>= 2.0),
+         libmono1.0-cil (>= 2.0),
          mono-2.0-devel (= ${source:Version}),
-         mono-gac (= ${source:Version})
+         mono-gac (= ${source:Version}),
+         ${cli:Depends}
 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.

Modified: mono/trunk/debian/patches/00list
===================================================================
--- mono/trunk/debian/patches/00list	2009-01-20 12:11:07 UTC (rev 3886)
+++ mono/trunk/debian/patches/00list	2009-01-20 21:32:35 UTC (rev 3887)
@@ -9,6 +9,7 @@
 fix_implicit_pointer_conversions
 fix_wsdl2_duplicate_keys_r117243
 fix_NetworkInterface_exception_r120282
+fix_TcpClient_IPv6_r122598
 armel-glibc-2.8
 build_genxs_2.0
 99_autoreconf

Added: mono/trunk/debian/patches/fix_TcpClient_IPv6_r122598.dpatch
===================================================================
--- mono/trunk/debian/patches/fix_TcpClient_IPv6_r122598.dpatch	                        (rev 0)
+++ mono/trunk/debian/patches/fix_TcpClient_IPv6_r122598.dpatch	2009-01-20 21:32:35 UTC (rev 3887)
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_TcpClient_IPv6_r122598.dpatch by David Paleino <d.paleino at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch backported from Mono trunk/ r122598
+## DP: Fixes IPv6 in TcpClient()
+
+ at DPATCH@
+diff -urNad mono-2.0.1~/mcs/class/System/System.Net.Sockets/TcpClient.cs mono-2.0.1/mcs/class/System/System.Net.Sockets/TcpClient.cs
+--- mono-2.0.1~/mcs/class/System/System.Net.Sockets/TcpClient.cs	2008-09-02 17:45:39.000000000 +0200
++++ mono-2.0.1/mcs/class/System/System.Net.Sockets/TcpClient.cs	2009-01-07 09:17:49.000000000 +0100
+@@ -84,7 +84,10 @@
+ 			}
+ 			
+ 			Init (family);
+-			client.Bind (new IPEndPoint (IPAddress.Any, 0));
++			IPAddress any = IPAddress.Any;
++			if (family == AddressFamily.InterNetworkV6)
++				any = IPAddress.IPv6Any;
++			client.Bind (new IPEndPoint (any, 0));
+ 		}
+ #endif
+ 		




More information about the Pkg-mono-svn-commits mailing list