diff options
Diffstat (limited to 'dev-lang/mono')
-rw-r--r-- | dev-lang/mono/Manifest | 20 | ||||
-rw-r--r-- | dev-lang/mono/files/mono-2.10.2-threads-access.patch | 40 | ||||
-rw-r--r-- | dev-lang/mono/files/mono-2.10.9-CVE-2012-3382.patch | 13 | ||||
-rw-r--r-- | dev-lang/mono/files/mono-2.10.9-CVE-2012-3543.patch | 196 | ||||
-rw-r--r-- | dev-lang/mono/files/mono-2.10.9-CVE-2012-3543_2.patch | 34 | ||||
-rw-r--r-- | dev-lang/mono/mono-2.10.9-r2.ebuild | 265 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.4.1.0.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.6.1.5-r1.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.6.1.5.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.8.0.425.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.8.0.495.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-4.8.0.524.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-5.4.1.6.ebuild | 6 |
13 files changed, 27 insertions, 581 deletions
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 415f4fba6d93..67d4e2c13be9 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -1,24 +1,18 @@ -AUX mono-2.10.2-threads-access.patch 1156 BLAKE2B 4ab08f57fc4feeb8882890199166d2ce620e7bad7a666f6061cc74fce3d316ec3dc770af2b2339de21bac6062f78d58ec3cf3a23323e10c8f260fae8980a1ace SHA512 13977ecea07c5624c69f4a49d6b5ad008dd9c0f098acecb3b7952690a09365a461cdedfebc2198931598d250ddcd3e644e811ba404fd2105b3520d611b2e66a8 -AUX mono-2.10.9-CVE-2012-3382.patch 564 BLAKE2B 0d9b2615ba78ee8ac1c8ed9961e7ca83da581f742f106c1ff932cfa6300de8b524281622acdd62ae6a4a92c4e9f4fd492d5ec5f9c56675e6def7c8302040e5f0 SHA512 044293dcea8c31046e6d771a3e15863fad152bc52dd1eb2cd010d581e5b695c42b09e6582eccc6d5b3e800263bacf61e70f731b1bf6145249ec682d830b855db -AUX mono-2.10.9-CVE-2012-3543.patch 6960 BLAKE2B eb3e9796ccdec10c8d3751990ac9de4b8e50d97a565834afb27c5ec472e6e963aa91c5786260ca444316ccd1887b017d7150276a7b8bae169b192d2ef54b5534 SHA512 853c8c998f205e8862d4cbcb4979aeb557a8a2722b5586a1ba5975a9ef6c92ea280421a38dc4f75c9ecb0bb12dbd6fb0b416a18b1a42f5ab852722e60ffad730 -AUX mono-2.10.9-CVE-2012-3543_2.patch 1569 BLAKE2B ea9b9bcb01870d1708c92f8ea84405b035d47ffe67a70485ec5112567568d4e9f6c5e39e7fe9472c4391b45143115ed2dde8987d42db8bd089b17b67e8ed5cf7 SHA512 e574e8224d00c7636198c1c374163efca724b2b1058378080687b6d8d7f83d72d27b8db510af03eac9ac185a09eeed0467d59e2d1ca40f7cfa255b43c2a5a45a AUX mono-4.4.1.0-x86_32.patch 839 BLAKE2B bd0fc2ff2bc16cb0aa260e94f2f0a304348bf80e34ac9f3b7b4350661fa5f0f4095f26647d1ff88bce1c3d33b5a6a4f2803639c57ed4f42988ce46edff5ecd2d SHA512 af72d2f89d34e05e94cb02b6bb5a9238b6bb0d9056e520c863271d1dad9d999d1bf2478bfd8766fbb40714f4a2641e1844bddf3997fe6cb779ab6d97ea800867 AUX mono-4.8.0.371-makedev.patch 900 BLAKE2B 9e79240ce38a06c375674123d8182f9b9db646f85b2140b1420ac465b19639b910674a1d6e5ce0cb1e9e74d099d338cf3395e95015de4bdf1c4a0dd1ccf63f68 SHA512 afdcb69c2de195bcc6d0a47cc5bad6b6679de6d1c8f0577f8a2f5716610f131e71a327540ba7e23353f35dfe7c552f16b98c9e88c3ecf91f2225a68a6d034971 AUX mono-4.8.0.371-x86_32.patch 1033 BLAKE2B cfcd8163180de91aec85841ce6c129faba242aa54db0d99b45195b8474e83ce96da4c5111fbb28cf0cb23d2a9a4be6a3856a18ef8bfda35fd7365f87c88509ae SHA512 f12ffda9eddb8fbd51844a6cc7bd3d4d147a97ddde9e4a4435051da88eb72603303ba7d21124747ab23033eacb70ae75ee8e96bc5887d898cc21ac1904c36aab AUX mono-5.0.1.1-x86_32.patch 751 BLAKE2B 1a19219c5667715a9afb7dc74ba9714893eea684a0c48945bcb70bdd83e34138a77ca029bcc8341b58af93617b4eab3251885affb3d129e8bf072a0279b8d29b SHA512 8c3d3a65f9d9a9a51c4a01dfd14e32e01bcc7cb98bd4f6a196a2a166968521ff859ccb1efd689c612c8bab5d6a384b148039de5033235a2c0552bc455dd636b7 -DIST mono-2.10.9.tar.bz2 34038017 BLAKE2B 5d9ef975353c7e6f66fd66a17b9c5dd67d40fcc590d979c257986b4fa57f949588e4a05ec7d0d64f896b0594e96d804e1773a730c1fc7a09eed9ab267090971f SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 DIST mono-4.4.1.0.tar.bz2 85897587 BLAKE2B 79651189e696aa7352704e1ac659302423b1212c88337da8d522aad8e8a49855b74c43020f506b3455ce1a99566e96ae464fecced584b14470d0c8dfe605c5b6 SHA512 d9b6c57c2d9327ea551083b81a2e6cc222ded9a04862056b0dfded1c5df56efbfc4960097df034595012231fe50d172174ab7b3e3f2d8c4c6953ab2106b1cb6a DIST mono-4.6.1.5.tar.bz2 83174665 BLAKE2B ce4586af882c6592d1615156d009e496b8405dcf3a2b59e53bb58d1949c33d68645506378eab272a6ef340194582333c515b38f635e961edc64767078905a2df SHA512 1d0c1ec2930ecea3faf1be572bc045300ef4a90d3fe7519f2a9c797be79298c61528d83baa5a24a57143a35be80f78297196556c33cd0f345d9907a973fe625a DIST mono-4.8.0.425.tar.bz2 87955541 BLAKE2B dd3c7d26d9818c0512ddbbea6c0980ce5411904c93d5aff8aef581016268594ea1a887dc51332afc225db25d735ef3ef379a5f7b72acd95892e9efe399fb9df9 SHA512 7bab64adbebc277d3fc10301fa6af6cd64ea0836e2d74dfdd9b59684d9402689f9a4e397f3d36f519c7a892c14dcf8f8867d40a5119891874dfd10f9bbce2ac4 DIST mono-4.8.0.495.tar.bz2 87540431 BLAKE2B c067054c27e61fbd46cae962876afdf65fa4660db41482a7931436009d986ffd25cd9120f9d61f1db5e16b95423fb6cb81abf6be8eada408a9ed2e812f112e6d SHA512 0052b7b04ae25e7cb5970d742369b74c83a10c6c82da591e8d26ad9e13e8b2590a1cde27ca99e43aebc622c7a2a590b9e6c7ce519ac4185b0b6cf7134527cc9d DIST mono-4.8.0.524.tar.bz2 87392723 BLAKE2B ac17c3da6d6c08c4cb72c4fa300ded92625bd8c14c1e45ea9539efa42c8d085759f7bb298fe5df57bd41f18abf83f293d26a9e6272944933fcff0a3c16a7e4f3 SHA512 eb77b768a4a26e6a2a872f4845769cdc83f01af3377ecd6d932437d2a1b54bfd1ce727563906146195a54997b4b624fb75449a6f0bcfe818cbc4e6544841bf2b DIST mono-5.4.1.6.tar.bz2 204934321 BLAKE2B 7aa3450a9bc4033f8084c4271b215af636e0df72d6349c97e0acd110d91e276d22b735d19bac2fb1e995ec34fa9e041831358a01d5c098b9c5e8b567d98350fe SHA512 d3618e9f127bc95b15feba5bf73317574872208770d83b8b545a9888df81a629e6fb14160db8a38526ffeb005f682e8dd9b8ced84bdb0cbb36dc9e7b28c240a4 -EBUILD mono-2.10.9-r2.ebuild 7372 BLAKE2B d4abcc9e0227ca18716686dc58791b2ded6e8bd8d9d87d615d693308404d0fea558c50013b9569c15dfab125e1b30b28ed762fbe643dd68a2f910929be91aa00 SHA512 e4b9f11f99343cefb489b818e777a0d948687513ffeca34083cb96af1cb83d08f2ee12af61f8e53eebbea24490c561f64dbae66d139ed67645ed13370dcc0f26 -EBUILD mono-4.4.1.0.ebuild 3404 BLAKE2B f6a613190f7609f45300b6cc7a2affafa5ac5da5569f31b41f1b6e2e4a3e54ab9983671c49558d1e202eeb993e9e48d585c1127ce053a6e701996fab5389fadb SHA512 341352b48b970666a9eafb27dba34f1bdb1a994a0c2b9f8231e1c948b75505b4fd5e775199c0476d174d245273106e4205b25b40e97be322eadc3c4bc9f1fe3b -EBUILD mono-4.6.1.5-r1.ebuild 3506 BLAKE2B a69d7954689ac665cd54f7283e6bf0e4a254d79f28d025a76c20929a5a948bc906bee87d1dc8c8313caea8c736f327bdfcbaa99adb5e08b9c341cb26d38a3f20 SHA512 453e1c30b2eb4edd3d7c3aa2e769cb31efff63f75ffde986b95ce14c7bffea7c005af16d8b4d9559c58a20ef200c2a4d2989fe5c65718a30b200f844af26688e -EBUILD mono-4.6.1.5.ebuild 3366 BLAKE2B 61dcd126d3aff2b990c56361eb92905f3e389da5ec9cbe9645c4c29c60dad86263443d05b5b01f832d0e339ab6b3842ea495a4f8babe705de8641f78ee8d9d68 SHA512 7b40fd4fb50a705a521d8d4738da1c656dde3eb8f6593bd26c27491a65cb59fcd6034b3e8202c23ffc6b82369c790d91d337c3d5a4cb1b2a4bea9a8135f3b91f -EBUILD mono-4.8.0.425.ebuild 3039 BLAKE2B b16e7de8dade445b3836e426ea6e1a1beb7286a5acca35e474982d74ce0479edc24a577e826e92a93a845bbc82548095660ea55250cc2e51ad4f81cad5d9521b SHA512 73c27f8263657fd2075a938756c79372eb1044a645a4b651cc4e469e8131e5108c2c46ea8ccc17c8d662121f2fcac75fe3c1ebc6fdfa273278c615b0ede4379c -EBUILD mono-4.8.0.495.ebuild 3039 BLAKE2B b16e7de8dade445b3836e426ea6e1a1beb7286a5acca35e474982d74ce0479edc24a577e826e92a93a845bbc82548095660ea55250cc2e51ad4f81cad5d9521b SHA512 73c27f8263657fd2075a938756c79372eb1044a645a4b651cc4e469e8131e5108c2c46ea8ccc17c8d662121f2fcac75fe3c1ebc6fdfa273278c615b0ede4379c -EBUILD mono-4.8.0.524.ebuild 3046 BLAKE2B 9175b1a7bd0711f40e1589ad7d5b21aaec4917346c3ef37ad092830a699d4e464fd4d81acc2bf50a07e49a52f61cc91e83b4ad13edb1dd66449854f36c10b5df SHA512 057f1b024ff6a9747a5bf00a9e1ec6ff9acb81fbbeb46ddca2158cfaf98283c9a89ca99fb5e62fff2d7027591148947bdf7881e4dcde154a9307339d65f6020b -EBUILD mono-5.4.1.6.ebuild 3001 BLAKE2B a12cab9bb96a5b26b8e8cf445f1142d3fd5aa09e12e9d840fd06fb8b96cde916acf72c038d0cfa687f5618e6ac4c8145b039cc4387dfae0150ba4d51830bb53e SHA512 18a1e30a234a3ecb4ea90601813bca83427d1bf70a66a0ce235f2ec5e603af7ae5fad90f3478487839eed9fe324735959212769cf724f2a692b83d8760adccc3 +EBUILD mono-4.4.1.0.ebuild 3406 BLAKE2B 6334bc3b10bc262f5bdfe829c09114f7a7e87e71d0121accbe3c7d91e7f149314d77348d97c36698b946b405bcb6c19f2e6935af9d87d5a5f9d98d39419e51f5 SHA512 53f6ba3cc9dc8f214d26ed810bb7d7f1a0fb28d5b2669d2173136c042c3b352567d41665fb7ca1a9932da36d8b5de42bc2684de8a96c5bd26764dfebe3866408 +EBUILD mono-4.6.1.5-r1.ebuild 3508 BLAKE2B 2b9153cfd3291437706f4367f4da74a0fb30c690c433dafca5e54041381758eb65c89f8fb04997406ea9ce4d5eb036d1d28ea338b61b55c4a5c52df87653c990 SHA512 4f8168bc8dd8711d79f01dcab60a9d31b47e64be827cec6dff7fff82664907cb8b9d3db49fd4674bd801a2db4758196ad9cbe48342f3115793686bad697496dd +EBUILD mono-4.6.1.5.ebuild 3368 BLAKE2B 984b0d5b3a3d39985d678c19a39725348b951f839931b9a44d052c0a7a8914d0fb9591566b23c3771519609b9f00ef23afe8e3a12c10121c554e8c33c0e74730 SHA512 4973ebf7687cdab53a1f328cfee337e65aabf504be90f1a46904234860fa5aac3d08ac9babe1191ac8ec09414d3a44ee125da9a98538f4c9748707b9cb9c6746 +EBUILD mono-4.8.0.425.ebuild 3041 BLAKE2B 52c00bced75df44a2dbb4cc31c615d01ae5fc8a9e2b682dabdc47b020a3fa2cf5f1e1174acc6517ce1ce59288d60765cbf6251673965402a1e7fa33a8f435441 SHA512 75d31bf34a8f47e32fc33f6607690796b42b32c8bb366496bc2d62b4a443350e502e8bd82dbed8f7713f19121e2548a5593c1c18362e9b01bff4818b7065f278 +EBUILD mono-4.8.0.495.ebuild 3041 BLAKE2B 52c00bced75df44a2dbb4cc31c615d01ae5fc8a9e2b682dabdc47b020a3fa2cf5f1e1174acc6517ce1ce59288d60765cbf6251673965402a1e7fa33a8f435441 SHA512 75d31bf34a8f47e32fc33f6607690796b42b32c8bb366496bc2d62b4a443350e502e8bd82dbed8f7713f19121e2548a5593c1c18362e9b01bff4818b7065f278 +EBUILD mono-4.8.0.524.ebuild 3048 BLAKE2B 3d6e6004ede7b94222e216dc651ea91c83066128cec7133fd3e63314efae26187274721f8b69c6472e7bfb6ac18799fa42b92ca262d5b7bcb0c61a69cd34d62f SHA512 9f63c6b78d262b254aa88699cf1f205d095fada8fde62acf60938f8f54981dfa79a3b059d3e09f6c342661f2bc111b180dd201f86c38e5499ba1bd786266a331 +EBUILD mono-5.4.1.6.ebuild 3003 BLAKE2B 238418ebb5fb534ffee4e954bb59d600367082456228e5afdcb5d70f00046b500408365910b0a19550b2e6f9696c90b503e280bf2fb60460f8ab6235a7c761c3 SHA512 3cd3f037d8691ecdd5e1eb92d88ef69e228ff8a3a4c9bbe0922a4f21e7afecfb6849cb979e135542ee26b0e8ad7a9d7a4720342e8a25f1aa0664aa387f494e08 MISC metadata.xml 507 BLAKE2B 91655de22fc1ff309c36ecef9d77aa8cada0b8f13ae30677665de837e99b7b43622a1dc0c677b0f5455c06b8e8a295c3c4f39753f66e749163a4f002ee481016 SHA512 e072a1abbf66276b0d139c3e918593010312c2059a0c6feba7b324689cdf90efe28bef0286ad9888125acfdd1fed2dee3e05e79a0aeb7f9ec1809bd128cf8a20 diff --git a/dev-lang/mono/files/mono-2.10.2-threads-access.patch b/dev-lang/mono/files/mono-2.10.2-threads-access.patch deleted file mode 100644 index d677b0113e2d..000000000000 --- a/dev-lang/mono/files/mono-2.10.2-threads-access.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 722f9890f09aadfc37ae479e7d946d5fc5ef7b91 Mon Sep 17 00:00:00 2001 -From: Sebastien Pouliot <sebastien@ximian.com> -Date: Wed, 6 Apr 2011 13:24:31 -0400 -Subject: [PATCH] Fix access to freed members of a dead thread - -* threads.c: Fix access to freed members of a dead thread. Found -and fixed by Rodrigo Kumpera <rkumpera@novell.com> -Ref: CVE-2011-0992 ---- - mono/metadata/threads.c | 11 ++++++++--- - 1 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/mono/metadata/threads.c b/mono/metadata/threads.c -index 3fe4e93..a7a721d 100644 ---- a/mono/metadata/threads.c -+++ b/mono/metadata/threads.c -@@ -1036,12 +1036,17 @@ void ves_icall_System_Threading_InternalThread_Thread_free_internal (MonoInterna - CloseHandle (thread); - - if (this->synch_cs) { -- DeleteCriticalSection (this->synch_cs); -- g_free (this->synch_cs); -+ CRITICAL_SECTION *synch_cs = this->synch_cs; - this->synch_cs = NULL; -+ DeleteCriticalSection (synch_cs); -+ g_free (synch_cs); - } - -- g_free (this->name); -+ if (this->name) { -+ void *name = this->name; -+ this->name = NULL; -+ g_free (name); -+ } - } - - static void mono_thread_start (MonoThread *thread) --- -1.7.5.4 - diff --git a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3382.patch b/dev-lang/mono/files/mono-2.10.9-CVE-2012-3382.patch deleted file mode 100644 index 434adf283d99..000000000000 --- a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3382.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs b/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs -index af5ddf4..7e87d48 100644 ---- a/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs -+++ b/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs -@@ -42,7 +42,7 @@ public void ProcessRequest (HttpContext context) - - throw new HttpException (403, - "This type of page is not served.", -- req != null ? req.Path : null, -+ req != null ? HttpUtility.HtmlEncode (req.Path) : null, - description); - } - diff --git a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543.patch b/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543.patch deleted file mode 100644 index 307e10fb3ee6..000000000000 --- a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543.patch +++ /dev/null @@ -1,196 +0,0 @@ -From 04245de5c480db5dff5983467f7a8606f1321ed6 Mon Sep 17 00:00:00 2001 -From: Marek Habersack <grendel@twistedcode.net> -Date: Tue, 24 Jul 2012 18:49:34 -0400 -Subject: [PATCH] Fix for Novell bug #739119 - ---- - .../System.Web.Util/SecureHashCodeProvider.cs | 131 ++++++++++++++++++++ - mcs/class/System.Web/System.Web.dll.sources | 1 + - mcs/class/System.Web/System.Web/WebROCollection.cs | 5 +- - 3 files changed, 136 insertions(+), 1 deletion(-) - create mode 100644 mcs/class/System.Web/System.Web.Util/SecureHashCodeProvider.cs - -diff --git a/mcs/class/System.Web/System.Web.Util/SecureHashCodeProvider.cs b/mcs/class/System.Web/System.Web.Util/SecureHashCodeProvider.cs -new file mode 100644 -index 0000000..165022c ---- /dev/null -+++ b/mcs/class/System.Web/System.Web.Util/SecureHashCodeProvider.cs -@@ -0,0 +1,131 @@ -+// -+// System.Collections.SecureHashCodeProvider.cs -+// -+// Authors: -+// Sergey Chaban (serge@wildwestsoftware.com) -+// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -+// Sebastien Pouliot <sebastien@ximian.com> -+// -+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) -+// Copyright 2012 Xamarin, Inc (http://xamarin.com) -+// -+// 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. -+// -+using System; -+using System.Collections; -+using System.Globalization; -+ -+namespace System.Web.Util -+{ -+ class SecureHashCodeProvider : IHashCodeProvider -+ { -+ static readonly SecureHashCodeProvider singletonInvariant = new SecureHashCodeProvider (CultureInfo.InvariantCulture); -+ static SecureHashCodeProvider singleton; -+ static readonly object sync = new object (); -+ static readonly int seed; -+ -+ TextInfo m_text; // must match MS name for serialization -+ -+ public static SecureHashCodeProvider Default { -+ get { -+ lock (sync) { -+ if (singleton == null) { -+ singleton = new SecureHashCodeProvider (); -+ } else if (singleton.m_text == null) { -+ if (!AreEqual (CultureInfo.CurrentCulture, CultureInfo.InvariantCulture)) -+ singleton = new SecureHashCodeProvider (); -+ } else if (!AreEqual (singleton.m_text, CultureInfo.CurrentCulture)) { -+ singleton = new SecureHashCodeProvider (); -+ } -+ return singleton; -+ } -+ } -+ } -+ -+ public static SecureHashCodeProvider DefaultInvariant { -+ get { return singletonInvariant; } -+ } -+ -+ static SecureHashCodeProvider () -+ { -+ // It should be enough to fend off the attack described in -+ // https://bugzilla.novell.com/show_bug.cgi?id=739119 -+ // In order to predict value of the seed, the attacker would have to know the exact time when -+ // the server process started and since it's a remote attack, this is next to impossible. -+ // Using milliseconds instead of ticks here would make it easier for the attackers since there -+ // would only be as many as 1000 possible values -+ seed = (int)DateTime.UtcNow.Ticks; -+ } -+ -+ // Public instance constructor -+ public SecureHashCodeProvider () -+ { -+ CultureInfo culture = CultureInfo.CurrentCulture; -+ if (!AreEqual (culture, CultureInfo.InvariantCulture)) -+ m_text = CultureInfo.CurrentCulture.TextInfo; -+ } -+ -+ public SecureHashCodeProvider (CultureInfo culture) -+ { -+ if (culture == null) -+ throw new ArgumentNullException ("culture"); -+ if (!AreEqual (culture, CultureInfo.InvariantCulture)) -+ m_text = culture.TextInfo; -+ } -+ -+ static bool AreEqual (CultureInfo a, CultureInfo b) -+ { -+ return a.LCID == b.LCID; -+ } -+ -+ static bool AreEqual (TextInfo info, CultureInfo culture) -+ { -+ return info.LCID == culture.LCID; -+ } -+ -+ public int GetHashCode (object obj) -+ { -+ if (obj == null) -+ throw new ArgumentNullException ("obj"); -+ -+ string str = obj as string; -+ -+ if (str == null) -+ return obj.GetHashCode (); -+ -+ int h = seed; -+ char c; -+ -+ if ((m_text != null) && !AreEqual (m_text, CultureInfo.InvariantCulture)) { -+ str = m_text.ToLower (str); -+ for (int i = 0; i < str.Length; i++) { -+ c = str [i]; -+ h = h * 31 + c; -+ } -+ } else { -+ for (int i = 0; i < str.Length; i++) { -+ c = Char.ToLower (str [i], CultureInfo.InvariantCulture); -+ h = h * 31 + c; -+ } -+ } -+ return h; -+ } -+ } -+} -diff --git a/mcs/class/System.Web/System.Web.dll.sources b/mcs/class/System.Web/System.Web.dll.sources -index ca7745a..aa41fca 100644 ---- a/mcs/class/System.Web/System.Web.dll.sources -+++ b/mcs/class/System.Web/System.Web.dll.sources -@@ -1174,6 +1174,7 @@ System.Web.Util/IWebPropertyAccessor.cs - System.Web.Util/MachineKeySectionUtils.cs - System.Web.Util/RuntimeHelpers.cs - System.Web.Util/SearchPattern.cs -+System.Web.Util/SecureHashCodeProvider.cs - System.Web.Util/SerializationHelper.cs - System.Web.Util/StrUtils.cs - System.Web.Util/TimeUtil.cs -diff --git a/mcs/class/System.Web/System.Web/WebROCollection.cs b/mcs/class/System.Web/System.Web/WebROCollection.cs -index ddb2e30..e1b98df 100644 ---- a/mcs/class/System.Web/System.Web/WebROCollection.cs -+++ b/mcs/class/System.Web/System.Web/WebROCollection.cs -@@ -5,6 +5,7 @@ - // Gonzalo Paniagua Javier (gonzalo@novell.com) - // - // (c) 2005-2009 Novell, Inc. (http://www.novell.com) -+// Copyright 2012 Xamarin, Inc (http://xamarin.com) - // - // - // Permission is hereby granted, free of charge, to any person obtaining -@@ -26,8 +27,10 @@ - // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - // -+using System.Collections; - using System.Collections.Specialized; - using System.Text; -+using System.Web.Util; - - namespace System.Web - { -@@ -36,7 +39,7 @@ class WebROCollection : NameValueCollection - bool got_id; - int id; - -- public WebROCollection () : base (StringComparer.OrdinalIgnoreCase) { } -+ public WebROCollection () : base (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant) { } - public bool GotID { - get { return got_id; } - } --- -1.7.10 - diff --git a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543_2.patch b/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543_2.patch deleted file mode 100644 index 6ab3e077b689..000000000000 --- a/dev-lang/mono/files/mono-2.10.9-CVE-2012-3543_2.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 049bb49f1c5b650166de2a266bc1879c5def0190 Mon Sep 17 00:00:00 2001 -From: Marek Habersack <grendel@twistedcode.net> -Date: Wed, 25 Jul 2012 08:42:09 -0400 -Subject: [PATCH] Update to fix for Novell bug #739119 - ---- - mcs/class/System.Web/System.Web.UI/Page.cs | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/mcs/class/System.Web/System.Web.UI/Page.cs b/mcs/class/System.Web/System.Web.UI/Page.cs -index 989af7e..b2316a4 100644 ---- a/mcs/class/System.Web/System.Web.UI/Page.cs -+++ b/mcs/class/System.Web/System.Web.UI/Page.cs -@@ -1175,7 +1175,7 @@ internal void OnFormPostRender (HtmlTextWriter writer, string formUniqueID) - - void ProcessPostData (NameValueCollection data, bool second) - { -- NameValueCollection requestValues = _requestValueCollection == null ? new NameValueCollection () : _requestValueCollection; -+ NameValueCollection requestValues = _requestValueCollection == null ? new NameValueCollection (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant) : _requestValueCollection; - - if (data != null && data.Count > 0) { - var used = new Dictionary <string, string> (StringComparer.Ordinal); -@@ -1210,7 +1210,7 @@ void ProcessPostData (NameValueCollection data, bool second) - - } else if (!second) { - if (secondPostData == null) -- secondPostData = new NameValueCollection (); -+ secondPostData = new NameValueCollection (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant); - secondPostData.Add (id, data [id]); - } - } --- -1.7.10 - diff --git a/dev-lang/mono/mono-2.10.9-r2.ebuild b/dev-lang/mono/mono-2.10.9-r2.ebuild deleted file mode 100644 index f9dbcaeb5f44..000000000000 --- a/dev-lang/mono/mono-2.10.9-r2.ebuild +++ /dev/null @@ -1,265 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" - -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86" - -IUSE="minimal pax_kernel xen" - -#Bash requirement is for += operator -COMMONDEPEND="!dev-util/monodoc - !minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* ) - ia64? ( sys-libs/libunwind )" -RDEPEND="${COMMONDEPEND} - || ( www-client/links www-client/lynx )" - -DEPEND="${COMMONDEPEND} - sys-devel/bc - virtual/yacc - >=app-shells/bash-3.2 - pax_kernel? ( sys-apps/elfix )" - -MAKEOPTS="${MAKEOPTS} -j1" - -RESTRICT="test" - -pkg_setup() { - if use kernel_linux - then - get_version - if linux_config_exists - then - if linux_chkconfig_present SYSVIPC - then - einfo "CONFIG_SYSVIPC is set, looking good." - else - eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - eerror "See https://bugs.gentoo.org/261869 for more info." - eerror "Please set CONFIG_SYSVIPC in your kernel .config if build fails." - fi - else - ewarn "Was unable to determine your kernel .config" - ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - ewarn "See https://bugs.gentoo.org/261869 for more info." - fi - fi - PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch" - "${FILESDIR}/${PN}-2.10.9-CVE-2012-3382.patch" - "${FILESDIR}/${PN}-2.10.9-CVE-2012-3543.patch" - "${FILESDIR}/${PN}-2.10.9-CVE-2012-3543_2.patch" ) -} - -src_prepare() { - go-mono_src_prepare - - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it doesn't - # get killed in the build process when MPROTECT is enabled. #286280 - # RANDMMAP kills the build process to #347365 - # use paxmark.sh to get PT/XT logic #532244 - if use pax_kernel ; then - ewarn "We are disabling MPROTECT on the mono binary." - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" - fi -} - -src_configure() { - # mono's build system is finiky, strip the flags - strip-flags - - # Remove this at your own peril. Mono will barf in unexpected ways. - append-flags -fno-strict-aliasing - - # NOTE: We need the static libs for now so mono-debugger works. - # See https://bugs.gentoo.org/show_bug.cgi?id=256264 for details - # - # --without-moonlight since www-plugins/moonlight is not the only one - # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3 - # - # --with-profile4 needs to be always enabled since it's used by default - # and, otherwise, problems like bug #340641 appear. - # - # sgen fails on ppc, bug #359515 - - local myconf="" - use ppc && myconf="${myconf} --with-sgen=no" - go-mono_src_configure \ - --enable-static \ - --disable-quiet-build \ - --without-moonlight \ - --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \ - $(use_with xen xen_opt) \ - --without-ikvm-native \ - --with-jit \ - --disable-dtrace \ - --with-profile4 \ - ${myconf} -} - -src_test() { - echo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - export MONO_REGISTRY_PATH="${T}/registry" - export XDG_DATA_HOME="${T}/data" - export MONO_SHARED_DIR="${T}/shared" - export XDG_CONFIG_HOME="${T}/config" - export HOME="${T}/home" - - emake -j1 check -} - -src_install() { - go-mono_src_install - - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora - # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html - # for reference. - rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so - rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so -} - -#THINK!!!! Before touching postrm and postinst -#Reference phase order: -#pkg_preinst -#pkg_prerm -#pkg_postrm -#pkg_postinst - -pkg_preinst() { - local symlink - local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit" - local pv_atom - if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]] - then - for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4 - do - if has_version "=dev-lang/mono-${pv_atom}" - then - einfo "If you just received a file collision warning message," - einfo "be advised that this is a known problem, which will now be fixed:" - ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing" - for symlink in \ - "${ROOT}/${NUNIT_DIR}" \ - "${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \ - "${ROOT}/usr/bin/nunit-console" \ - "${ROOT}/usr/bin/nunit-console2" - do - if [[ -L "${symlink}" ]] - then - rm -f "${symlink}" &> /dev/null - fi - done - eend 0 - break - fi - done - fi -} - -#pkg_postinst() { -# elog "PLEASE TAKE NOTE!" -# elog "" -# elog "Some of the namespaces supported by Mono require extra packages to be installed." -# elog "Below is a list of namespaces and the corresponding package you must install:" -# elog "" -# elog ">=x11-libs/cairo-1.6.4" -# elog " Mono.Cairo" -# elog "Also read:" -# elog "http://www.mono-project.com/Mono.Cairo" -# elog "" -# elog ">=dev-db/firebird-2.0.4.13130.1" -# elog " FirebirdSql.Data.Firebird" -# elog "Also read:" -# elog "http://www.mono-project.com/Firebird_Interbase" -# elog "" -# elog "dev-db/sqlite:3" -# elog " Mono.Data.Sqlite" -# elog "Also read:" -# elog "http://www.mono-project.com/SQLite" -# elog "" -# elog ">=dev-db/oracle-instantclient-basic-10.2" -# elog " System.Data.OracleClient" -# elog "Also read:" -# elog "http://www.mono-project.com/Oracle" -# elog "" -# elog "Mono also has support for packages that are not included in portage:" -# elog "" -# elog "No ebuild available:" -# elog " IBM.Data.DB2" -# elog "Also read: http://www.mono-project.com/IBM_DB2" -# elog "" -# elog "No ebuild needed:" -# elog " Mono.Data.SybaseClient" -# elog "Also read: http://www.mono-project.com/Sybase" -#} - -# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR! -# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2 -# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE. - -# mono -# The code we use is LGPL, but contributions must be made under the MIT/X11 -# license, so Novell can serve its paying customers. Exception is mono/man. -# LICENSE="LGPL-2.1" - - # mono/man - # LICENSE="MIT" - -# mcs/mcs -# mcs/gmcs -# LICENSE="GPL-2 MIT" - -# tests -# LICENSE="MIT" - -# mcs/class -# Except the listed exceptions: -# LICENSE="MIT" - - # mcs/class/ByteFX.Data - # mcs/class/Npgsql - # LICENSE="LGPL-2.1" - - # mcs/class/FirebirdSql.Data.Firebird - # LICENSE="IDPL" - - # mcs/class/ICSharpCode.SharpZipLib - # LICENSE="GPL-2-with-linking-exception" - - # mcs/class/MicrosoftAjaxLibrary - # LICENSE="Ms-Pl" - - # mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs - # mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs - # mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs - # mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs - # LICENSE="|| ( NPL-1.1 GPL-2 )" - -# mcs/jay -# LICENSE="BSD-4" - -# mcs/tools -# Except the listed exceptions: -# LICENSE="MIT" - - # mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs - # LICENSE="GPL-2" - - # mcs/tools/sqlsharp/SqlSharpCli.cs - # LICENSE="GPL-2" - - # mcs/tools/csharp/repl.cs - # LICENSE="|| ( MIT GPL-2 )" - - # mcs/tools/mono-win32-setup.nsi - # LICENSE="GPL-2" - -# samples -# LICENSE="MIT" diff --git a/dev-lang/mono/mono-4.4.1.0.ebuild b/dev-lang/mono/mono-4.4.1.0.ebuild index 397235e7db59..991c9a258bd7 100644 --- a/dev-lang/mono/mono-4.4.1.0.ebuild +++ b/dev-lang/mono/mono-4.4.1.0.ebuild @@ -6,8 +6,8 @@ EAPI=6 inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-4.6.1.5-r1.ebuild b/dev-lang/mono/mono-4.6.1.5-r1.ebuild index d6fef0101972..2e8cbf88e414 100644 --- a/dev-lang/mono/mono-4.6.1.5-r1.ebuild +++ b/dev-lang/mono/mono-4.6.1.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-4.6.1.5.ebuild b/dev-lang/mono/mono-4.6.1.5.ebuild index d43556908284..13383e871923 100644 --- a/dev-lang/mono/mono-4.6.1.5.ebuild +++ b/dev-lang/mono/mono-4.6.1.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-4.8.0.425.ebuild b/dev-lang/mono/mono-4.8.0.425.ebuild index 712f239c13c0..20c09cc21a96 100644 --- a/dev-lang/mono/mono-4.8.0.425.ebuild +++ b/dev-lang/mono/mono-4.8.0.425.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-4.8.0.495.ebuild b/dev-lang/mono/mono-4.8.0.495.ebuild index 712f239c13c0..20c09cc21a96 100644 --- a/dev-lang/mono/mono-4.8.0.495.ebuild +++ b/dev-lang/mono/mono-4.8.0.495.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-4.8.0.524.ebuild b/dev-lang/mono/mono-4.8.0.524.ebuild index ea9bd74a3b43..ecba992080c8 100644 --- a/dev-lang/mono/mono-4.8.0.524.ebuild +++ b/dev-lang/mono/mono-4.8.0.524.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" diff --git a/dev-lang/mono/mono-5.4.1.6.ebuild b/dev-lang/mono/mono-5.4.1.6.ebuild index f25dd8d91380..923e3d2af3e3 100644 --- a/dev-lang/mono/mono-5.4.1.6.ebuild +++ b/dev-lang/mono/mono-5.4.1.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ EAPI=6 inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.mono-project.com/Main_Page" -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" +HOMEPAGE="https://www.mono-project.com/Main_Page" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.bz2" LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" SLOT="0" |