/[gentoo-x86]/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch
Gentoo

Contents of /dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Sep 10 10:33:47 2011 UTC (8 years, 5 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump, remove old.

(Portage version: 2.1.10.14/cvs/Linux x86_64)

1 Author: Jo Shields
2 Description: This patch ensures that rather than trying to use the Mono Crypto
3 Description: Service Provider to retrieve a signing key (CSP is not safe to
4 Description: run with fakeroot), we simply hard-code the path to a bundled key
5 Description: file
6 Index: ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in
7 ===================================================================
8 --- ikvm.orig/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:24:45.000000000 +0100
9 +++ ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:28:22.000000000 +0100
10 @@ -33,5 +33,6 @@
11
12 #if SIGNCODE
13 #pragma warning disable 1699
14 - [assembly: AssemblyKeyName("ikvm-key")]
15 + [assembly: AssemblyDelaySign(false)]
16 + [assembly: AssemblyKeyFile("../mono.snk")]
17 #endif
18 Index: ikvm/ikvm-0.46.0.1/ikvm.build
19 ===================================================================
20 --- ikvm.orig/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:24:45.000000000 +0100
21 +++ ikvm/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:33:07.000000000 +0100
22 @@ -6,8 +6,8 @@
23 </target>
24 <target name="signed">
25 <property name="signed" value="SIGNCODE" />
26 - <property name="signoption" value="-key:ikvm-key" />
27 - <property name="ilasm_signoption" value="/key:@ikvm-key" />
28 + <property name="signoption" value="-keyfile:../mono.snk" />
29 + <property name="ilasm_signoption" value="/key:../mono.snk" />
30 <call target="managed" />
31 </target>
32 <target name="managed" depends="clean-managed CommonAssemblyInfo">
33 Index: ikvm/ikvm-0.46.0.1/runtime/runtime.build
34 ===================================================================
35 --- ikvm.orig/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:24:45.000000000 +0100
36 +++ ikvm/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:32:53.000000000 +0100
37 @@ -7,8 +7,8 @@
38 </target>
39 <target name="signed">
40 <property name="signed" value="SIGNCODE" />
41 - <property name="signoption" value="-key:ikvm-key" />
42 - <property name="ilasm_signoption" value="/key:@ikvm-key" />
43 + <property name="signoption" value="-keyfile:../../mono.snk" />
44 + <property name="ilasm_signoption" value="/key:../../mono.snk" />
45 <call target="IKVM.Runtime" />
46 </target>
47
48 Index: ikvm/ikvm-0.46.0.1/tools/pubkey.cs
49 ===================================================================
50 --- ikvm.orig/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:24:45.000000000 +0100
51 +++ ikvm/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:28:22.000000000 +0100
52 @@ -29,7 +29,8 @@
53
54 #if SIGNCODE
55 #pragma warning disable 1699
56 - [assembly: AssemblyKeyName("ikvm-key")]
57 + [assembly: AssemblyDelaySign(false)]
58 + [assembly: AssemblyKeyFile("../mono.snk")]
59 #endif
60
61 class PublicKey

  ViewVC Help
Powered by ViewVC 1.1.20