diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-04-14 20:03:49 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-04-14 21:23:47 +0100 |
commit | d1bf109cd28544fa925a0eeb0235d61bca9e610f (patch) | |
tree | b457ec08b3f71ac0f3b9c6e4b994c327c5fdafae /dev-dotnet | |
parent | dev-java/jcharts: Remove dead package that requires Java 6 (diff) | |
download | gentoo-d1bf109cd28544fa925a0eeb0235d61bca9e610f.tar.gz gentoo-d1bf109cd28544fa925a0eeb0235d61bca9e610f.tar.bz2 gentoo-d1bf109cd28544fa925a0eeb0235d61bca9e610f.zip |
dev-dotnet/ikvm: Remove unmaintained and probably vulnerable package
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/ikvm/Manifest | 5 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch | 61 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch | 11 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch | 61 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/mono.snk.uu | 20 | ||||
-rw-r--r-- | dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild | 99 | ||||
-rw-r--r-- | dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild | 103 | ||||
-rw-r--r-- | dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild | 102 | ||||
-rw-r--r-- | dev-dotnet/ikvm/metadata.xml | 8 |
9 files changed, 0 insertions, 470 deletions
diff --git a/dev-dotnet/ikvm/Manifest b/dev-dotnet/ikvm/Manifest deleted file mode 100644 index 4bb75460bb09..000000000000 --- a/dev-dotnet/ikvm/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST ikvmsrc-0.46.0.1.zip 1870376 SHA256 901e8b990cf6d0fc9f8a18179e040cdba8a2fa00ac5658eded5c9ea4665f6423 SHA512 83c0dbaf0ea229fb8046d0f6016bfe1990c88639fd5d162afea3330441ec627edcb93de903e5fa3d73062c917574441bac832c2d61144626e70b3324dfdbf9f4 WHIRLPOOL ee837a2d9c038ec2fdfec93ed2cd0ec162bf4e081b8a0f0fe8b9bab62eada13f72cf8a8c5a8c83600b415d89dd5b0a539056e169ea79d8eb885298ddf91e3533 -DIST ikvmsrc-0.46.0.2.zip 1873662 SHA256 25afda0b29a2562ffb8f0a457204bde1008c8d255abaf45c3a09b13f7eba5f06 SHA512 79976ef9f90a691a607740d4efd338ed8ee86061298ebf3a5b3c660bed779e54bb7fe80548fc1eed78ce35fbdcccb460b656960a2c464377fcfcb98c2c6ed12b WHIRLPOOL 5c7f6c800c5b4670fb9e9a45161059233edf06b0440e7428217b03f400f29a46a0b0fd253bbc5d608ab5be7d0edac78b98efe6dbf219b72e960d5d51731b6a26 -DIST ikvmsrc-7.1.4532.2.zip 2102200 SHA256 3f22b9171b56a7600f28c42828898772bcd37c996d15b219c1b9ba08aa4c12e0 SHA512 889e23ce9cdc9abff98c54e5e02b9798ab908c37ecb6b8b0733d7b6e8e813c939ab91daa6ae57a0abd4fa90365c395231de5c9596fd77bdf1b15505c6b46abb1 WHIRLPOOL 5cf5e210b21b2697a489b0d6d40321d9f4cf89e92b2d280fa6686583836821d3bb613ce9af1bbde772fda5a0373dac20f7a09f4852d5c59ecef2bd65bce82235 -DIST openjdk-7u4-stripped.zip 55617337 SHA256 d85b89b452ecdb46309ec39b28e283813660bb8b8399d4c222d3ff1a83b971f9 SHA512 3f4d32994c9a078b68ae6da13770c249561240a01840f88094e139b0297b25e37a2acd3ef74fa14a830be5aa43c693b3ecf1c745dbc7051c4b2e1816c397e9a1 WHIRLPOOL b7690de8c31acb4b3a62fdd132bcf33b2264559e64a116d75fed3a3edeb570345ade582377d2d824d2ab5831a0865b5b1c51f7a514285935696be3cef5079b1b -DIST openjdk6-b22-stripped.zip 51279392 SHA256 32af924f320118b242c1bce4828abbe4c11120dd144c012ce2f5d88b75d2f568 SHA512 e0cd896c80e3b10aaa1b1128ea63b062c7de0539188d66f2ae081d420c6f467b1aa8fdbc5fe4cb366c89ed2880560b287e9af5e8312d36903a46f23d1bbbe791 WHIRLPOOL 7d86ea0693e371273ea160ba20daafe7b8d9453687a3e21f81ef239f4186cafcc367950a1117a14da21b212831baebfab9a03f87166f7cd6a598811cc73e3a10 diff --git a/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch b/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch deleted file mode 100644 index cd45f6bf0da3..000000000000 --- a/dev-dotnet/ikvm/files/ikvm-0.46.0.1-key.patch +++ /dev/null @@ -1,61 +0,0 @@ -Author: Jo Shields -Description: This patch ensures that rather than trying to use the Mono Crypto -Description: Service Provider to retrieve a signing key (CSP is not safe to -Description: run with fakeroot), we simply hard-code the path to a bundled key -Description: file -Index: ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in -=================================================================== ---- ikvm.orig/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:24:45.000000000 +0100 -+++ ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:28:22.000000000 +0100 -@@ -33,5 +33,6 @@ -
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../mono.snk")]
- #endif
-Index: ikvm/ikvm-0.46.0.1/ikvm.build -=================================================================== ---- ikvm.orig/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:24:45.000000000 +0100 -+++ ikvm/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:33:07.000000000 +0100 -@@ -6,8 +6,8 @@ - </target>
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../mono.snk" />
- <call target="managed" />
- </target>
- <target name="managed" depends="clean-managed CommonAssemblyInfo">
-Index: ikvm/ikvm-0.46.0.1/runtime/runtime.build -=================================================================== ---- ikvm.orig/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:24:45.000000000 +0100 -+++ ikvm/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:32:53.000000000 +0100 -@@ -7,8 +7,8 @@ - </target>
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../../mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../../mono.snk" />
- <call target="IKVM.Runtime" />
- </target>
-
-Index: ikvm/ikvm-0.46.0.1/tools/pubkey.cs -=================================================================== ---- ikvm.orig/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:24:45.000000000 +0100 -+++ ikvm/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:28:22.000000000 +0100 -@@ -29,7 +29,8 @@ -
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../mono.snk")]
- #endif
-
- class PublicKey
diff --git a/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch b/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch deleted file mode 100644 index 2ed0308af74d..000000000000 --- a/dev-dotnet/ikvm/files/ikvm-0.46.0.2-unmappable-character.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- openjdk/sun/print/Win32PrintService.java.orig 2012-02-26 17:56:16.751000012 +0100 -+++ openjdk/sun/print/Win32PrintService.java 2012-02-26 17:56:37.182000012 +0100 -@@ -119,7 +119,7 @@ - Chromaticity.class
- };
-
-- // conversion from 1/100 Inch (.NET) to µm (Java)
-+ // conversion from 1/100 Inch (.NET) to m (Java)
- private static final int INCH100_TO_MYM = 254;
- private static final int MATCH_DIFF = 500; // 0.5 mm
-
diff --git a/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch b/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch deleted file mode 100644 index 34ce79da5bb6..000000000000 --- a/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch +++ /dev/null @@ -1,61 +0,0 @@ -Author: Jo Shields -Description: This patch ensures that rather than trying to use the Mono Crypto -Description: Service Provider to retrieve a signing key (CSP is not safe to -Description: run with fakeroot), we simply hard-code the path to a bundled key -Description: file -Index: ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in -=================================================================== ---- ikvm.orig/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:29:25.080047165 +0000 -+++ ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:30:58.092593303 +0000 -@@ -33,5 +33,6 @@ -
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
- #endif
-Index: ikvm/ikvm-7.0.4335.0/ikvm.build -=================================================================== ---- ikvm.orig/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:29:57.152235493 +0000 -+++ ikvm/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:30:48.348536094 +0000 -@@ -6,8 +6,8 @@ - </target>
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../../debian/mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../../debian/mono.snk" />
- <call target="managed" />
- </target>
- <target name="managed" depends="clean-managed CommonAssemblyInfo">
-Index: ikvm/ikvm-7.0.4335.0/runtime/runtime.build -=================================================================== ---- ikvm.orig/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:20.084722420 +0000 -+++ ikvm/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:47.120881144 +0000 -@@ -19,8 +19,8 @@ -
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../../../debian/mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../../../debian/mono.snk" />
- <call target="full" />
- </target>
-
-Index: ikvm/ikvm-7.0.4335.0/tools/pubkey.cs -=================================================================== ---- ikvm.orig/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:30.479726527 +0000 -+++ ikvm/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:58.927893592 +0000 -@@ -29,7 +29,8 @@ -
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
- #endif
-
- class PublicKey
diff --git a/dev-dotnet/ikvm/files/mono.snk.uu b/dev-dotnet/ikvm/files/mono.snk.uu deleted file mode 100644 index ae4f04a38f5d..000000000000 --- a/dev-dotnet/ikvm/files/mono.snk.uu +++ /dev/null @@ -1,20 +0,0 @@ - -++ ikvm-0.40.0.1+dfsg/debian/mono.snk.uu - -begin 644 mono.snk -M!P(````D``!24T$R``0```$``0!Y%9EWTM`ZCFOJ>BYTZ-&OS)/HA1ETE2NT -M@*$LD31'300&)$?#?@YHP(!3;\\\/[XO^<EYSIF$=>4&Z,Z"W5L/-0W!#I._ -M+N[/ATLD=PQ0@=OJ=$?]VOHG>R+>1];_ZD26=*3Y_,^$T5!I").`*$V]TU]& -MS?\2H;UXY.\`9=`6WTW&V[S-/V")DAN)G[17F@RI:B)C5#D%RJ56:#^3AH,C -M]@&$<!=,R%8*<F"H`S/!I(,;/V3OE6!0!Z`&H,SN[/;=^?:,:CB8!<'N2$.% -M7H%/2X3=?@$W-)2"1)`'WV\2@53=A6JBUHW;N?U!-S]<EJ/Y6HW9F4=Z::0K -MC=$/H4GG7;O3OP\,QS/*+(.1##JVL!^\0:S9KUORVJ*OY?23U1C</20JL+MN -MY*-:I&QG!TAKRN5Z7%,_D!Y@^\S6+41[9`GU8FWBY@M+$ZS&#K(\<<GX`1GJ -MQT-7=!]>W>!$Z8GJN;LFRG+&@,&'^&J!2YL4]D*X*;XW'`$9-D,ZEH"`T-L\ -MPU"47K=X!%N$=E*!_.5#/%'9DL*<%>?&(60?[(CZ_.8[1Y0B%U'\GL:UQF`P -M\@6'"3BB@G]:IBH-9]TTGER_$0GG'@?>3)<Z'^>B^*J&Y5W-W,A=.\\4*>\+ -M*L(^3D9>^G_9U9<N]IZ?;39PJI<OLPD/L8E-C/%(BQS6L2^W1E])]Z#[M2YD -MR\0O7F0E1BOXBHJE$K'XC#U1H="B6>7:7^IZ$+.NG,][`/4*::QS_SFM!W[` -+"5R_0#E/%?%_J<\` -` -end diff --git a/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild b/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild deleted file mode 100644 index 45ff8d3a98e3..000000000000 --- a/dev-dotnet/ikvm/ikvm-0.46.0.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils mono multilib java-pkg-2 - -DESCRIPTION="Java VM for .NET" -HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" -SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip - http://www.frijters.net/${PN}src-${PV}.zip" -LICENSE="ZLIB GPL-2-with-linking-exception" - -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=">=dev-lang/mono-2 - dev-libs/glib" -DEPEND="${RDEPEND} - !dev-dotnet/ikvm-bin - >=dev-dotnet/nant-0.85 - >=virtual/jdk-1.6 - app-arch/unzip - virtual/pkgconfig - app-arch/sharutils" - -src_prepare() { - # We cannot rely on Mono Crypto Service Provider as it doesn't work inside - # sandbox, we simply hard-code the path to a bundled key like Debian does. - epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch - uudecode < "${FILESDIR}"/mono.snk.uu || die - - # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying - # on ikvm-bin one - sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ - ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die - - sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ - native/native.build || die - - mkdir -p "${T}"/home/test -} - -src_configure() { - : -} - -src_compile() { - XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" -} - -generate_pkgconfig() { - ebegin "Generating .pc file" - local dll LSTRING="Libs:" - dodir "/usr/$(get_libdir)/pkgconfig" - cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - prefix=/usr - exec_prefix=\${prefix} - libdir=\${prefix}/$(get_libdir) - Name: IKVM.NET - Description: An implementation of Java for Mono and the Microsoft .NET Framework. - Version: ${PV} - EOF - for dll in "${S}"/bin/IKVM.*.dll - do - LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" - done - printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null - eend $? -} - -src_install() { - local dll dllbase exe - insinto /usr/$(get_libdir)/${PN} - doins bin/*.exe - - dodir /bin - for exe in bin/*.exe - do - exebase=${exe##*/} - ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" - make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" - eend $? || die "Failed generating wrapper for ${exebase}" - done - - generate_pkgconfig || die "generating .pc failed" - - for dll in bin/IKVM.*.dll - do - dllbase=${dll##*/} - ebegin "Installing and registering ${dllbase}" - gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ - -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null - eend $? || die "Failed installing ${dllbase}" - done -} diff --git a/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild b/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild deleted file mode 100644 index ba88ae68ba59..000000000000 --- a/dev-dotnet/ikvm/ikvm-0.46.0.2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils mono multilib java-pkg-2 - -DESCRIPTION="Java VM for .NET" -HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" -SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip - http://www.frijters.net/${PN}src-${PV}.zip" -LICENSE="ZLIB GPL-2-with-linking-exception" - -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=">=dev-lang/mono-2 - dev-libs/glib" -DEPEND="${RDEPEND} - !dev-dotnet/ikvm-bin - >=dev-dotnet/nant-0.85 - virtual/jdk:1.6 - app-arch/unzip - virtual/pkgconfig - app-arch/sharutils" - -src_prepare() { - # Fix unmappable character for encoding ASCII, bug #399729 - epatch "${FILESDIR}"/${PN}-0.46.0.2-unmappable-character.patch - - # We cannot rely on Mono Crypto Service Provider as it doesn't work inside - # sandbox, we simply hard-code the path to a bundled key like Debian does. - epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch - uudecode < "${FILESDIR}"/mono.snk.uu || die - - # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying - # on ikvm-bin one - sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ - ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die - - sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ - native/native.build || die - - mkdir -p "${T}"/home/test - java-pkg-2_src_prepare -} - -src_configure() { - : -} - -src_compile() { - XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" -} - -generate_pkgconfig() { - ebegin "Generating .pc file" - local dll LSTRING="Libs:" - dodir "/usr/$(get_libdir)/pkgconfig" - cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - prefix=/usr - exec_prefix=\${prefix} - libdir=\${prefix}/$(get_libdir) - Name: IKVM.NET - Description: An implementation of Java for Mono and the Microsoft .NET Framework. - Version: ${PV} - EOF - for dll in "${S}"/bin/IKVM.*.dll - do - LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" - done - printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null - eend $? -} - -src_install() { - local dll dllbase exe - insinto /usr/$(get_libdir)/${PN} - doins bin/*.exe - - dodir /bin - for exe in bin/*.exe - do - exebase=${exe##*/} - ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" - make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" - eend $? || die "Failed generating wrapper for ${exebase}" - done - - generate_pkgconfig || die "generating .pc failed" - - for dll in bin/IKVM.*.dll - do - dllbase=${dll##*/} - ebegin "Installing and registering ${dllbase}" - gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ - -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null - eend $? || die "Failed installing ${dllbase}" - done -} diff --git a/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild b/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild deleted file mode 100644 index 094dd1fc78fb..000000000000 --- a/dev-dotnet/ikvm/ikvm-7.1.4532.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils mono multilib java-pkg-2 - -DESCRIPTION="Java VM for .NET" -HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/" -SRC_URI="http://www.frijters.net/openjdk-7u4-stripped.zip - http://www.frijters.net/${PN}src-${PV}.zip" -LICENSE="ZLIB GPL-2-with-linking-exception" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-lang/mono-2 - dev-libs/glib" -DEPEND="${RDEPEND} - !dev-dotnet/ikvm-bin - >=dev-dotnet/nant-0.85 - virtual/jdk:1.7 - app-arch/unzip - virtual/pkgconfig - app-arch/sharutils" - -src_prepare() { - # We cannot rely on Mono Crypto Service Provider as it doesn't work inside - # sandbox, we simply hard-code the path to a bundled key like Debian does. - epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch - mkdir -p ../debian/ || die - uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die - - # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying - # on ikvm-bin one - sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \ - ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die - - sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \ - native/native.build || die - - mkdir -p "${T}"/home/test - - java-pkg-2_src_prepare -} - -src_configure() { - : -} - -src_compile() { - XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed" -} - -generate_pkgconfig() { - ebegin "Generating .pc file" - local dll LSTRING="Libs:" - dodir "/usr/$(get_libdir)/pkgconfig" - cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - prefix=/usr - exec_prefix=\${prefix} - libdir=\${prefix}/$(get_libdir) - Name: IKVM.NET - Description: An implementation of Java for Mono and the Microsoft .NET Framework. - Version: ${PV} - EOF - for dll in "${S}"/bin/IKVM.*.dll - do - LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}" - done - printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" - PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null - eend $? -} - -src_install() { - local dll dllbase exe - insinto /usr/$(get_libdir)/${PN} - doins bin/*.exe - - dodir /bin - for exe in bin/*.exe - do - exebase=${exe##*/} - ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}" - make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}" - eend $? || die "Failed generating wrapper for ${exebase}" - done - - generate_pkgconfig || die "generating .pc failed" - - for dll in bin/IKVM.*.dll - do - dllbase=${dll##*/} - ebegin "Installing and registering ${dllbase}" - gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \ - -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null - eend $? || die "Failed installing ${dllbase}" - done -} diff --git a/dev-dotnet/ikvm/metadata.xml b/dev-dotnet/ikvm/metadata.xml deleted file mode 100644 index 1e9986c4a0cb..000000000000 --- a/dev-dotnet/ikvm/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dotnet@gentoo.org</email> - <name>Gentoo Dotnet Project</name> - </maintainer> -</pkgmetadata> |