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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Jul 21 10:12:48 2012 UTC (7 years, 8 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump.

(Portage version: 2.1.11.9/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-7.0.4335.0/CommonAssemblyInfo.cs.in
7 ===================================================================
8 --- ikvm.orig/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:29:25.080047165 +0000
9 +++ ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:30:58.092593303 +0000
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("../../debian/mono.snk")]
17 #endif
18 Index: ikvm/ikvm-7.0.4335.0/ikvm.build
19 ===================================================================
20 --- ikvm.orig/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:29:57.152235493 +0000
21 +++ ikvm/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:30:48.348536094 +0000
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:../../debian/mono.snk" />
29 + <property name="ilasm_signoption" value="/key:../../debian/mono.snk" />
30 <call target="managed" />
31 </target>
32 <target name="managed" depends="clean-managed CommonAssemblyInfo">
33 Index: ikvm/ikvm-7.0.4335.0/runtime/runtime.build
34 ===================================================================
35 --- ikvm.orig/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:20.084722420 +0000
36 +++ ikvm/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:47.120881144 +0000
37 @@ -19,8 +19,8 @@
38
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:../../../debian/mono.snk" />
44 + <property name="ilasm_signoption" value="/key:../../../debian/mono.snk" />
45 <call target="full" />
46 </target>
47
48 Index: ikvm/ikvm-7.0.4335.0/tools/pubkey.cs
49 ===================================================================
50 --- ikvm.orig/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:30.479726527 +0000
51 +++ ikvm/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:58.927893592 +0000
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("../../debian/mono.snk")]
59 #endif
60
61 class PublicKey

  ViewVC Help
Powered by ViewVC 1.1.20