From 04b14eb8b389189061f7cd2028da96e74e059685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Mon, 12 Oct 2020 22:22:57 +0200 Subject: [PATCH] hopefully corrected all uri.https problems --- .../dotnetcore-sdk-bin-2.1.102.ebuild | 46 +++++++++++++++++ .../dotnetcore-sdk-bin-2.1.105.ebuild | 46 +++++++++++++++++ .../dotnetcore-sdk-bin-2.1.3.ebuild | 46 +++++++++++++++++ .../dotnetcore-sdk-bin-2.1.302.ebuild | 51 +++++++++++++++++++ .../dotnetcore-sdk-bin-2.2.105.ebuild | 46 +++++++++++++++++ dev-dotnet/fake/fake-9999.ebuild | 46 +++++++++++++++++ dev-lang/fsharp/fsharp-10.2.1.ebuild | 31 +++++++++++ 7 files changed, 312 insertions(+) create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.3.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.302.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.105.ebuild create mode 100644 dev-dotnet/fake/fake-9999.ebuild create mode 100644 dev-lang/fsharp/fsharp-10.2.1.ebuild diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild new file mode 100644 index 00000000..53fbe13c --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION=".NET Core SDK - binary precompiled for glibc" +HOMEPAGE="https://www.microsoft.com/net/core" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://download.microsoft.com/download/1/2/E/12E2BC14-7A9F-4497-A351-02B7C2DDD599/dotnet-sdk-${PV}-linux-x64.tar.gz -> dotnet-sdk-${PV}-linux-x64.tar.gz ) +" + +SLOT="0" +KEYWORDS="~amd64" + +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time +# dotnetcore-sdk is the source based build + +RDEPEND=" + >=sys-apps/lsb-release-1.4 + >=sys-devel/llvm-4.0 + >=dev-util/lldb-4.0 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + >=dev-libs/openssl-1.0.2h-r2 + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1 + !dev-dotnet/dotnetcore-sdk + !dev-dotnet/dotnetcore-runtime-bin + !dev-dotnet/dotnetcore-aspnet-bin" + +S=${WORKDIR} + +src_install() { + local dest="opt/dotnet_core" + dodir "${dest}" + + local ddest="${D}${dest}" + cp -a "${S}"/* "${ddest}/" || die + dosym "/${dest}/dotnet" "/usr/bin/dotnet" +} diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild new file mode 100644 index 00000000..2f75f7fe --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION=".NET Core SDK - binary precompiled for glibc" +HOMEPAGE="https://www.microsoft.com/net/core" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://download.microsoft.com/download/2/E/C/2EC018A0-A0FC-40A2-849D-AA692F68349E/dotnet-sdk-${PV}-linux-x64.tar.gz -> dotnet-sdk-${PV}-linux-x64.tar.gz ) +" + +SLOT="0" +KEYWORDS="~amd64" + +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time +# dotnetcore-sdk is the source based build + +RDEPEND=" + >=sys-apps/lsb-release-1.4 + >=sys-devel/llvm-4.0 + >=dev-util/lldb-4.0 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + >=dev-libs/openssl-1.0.2h-r2 + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1 + !dev-dotnet/dotnetcore-sdk + !dev-dotnet/dotnetcore-runtime-bin + !dev-dotnet/dotnetcore-aspnet-bin" + +S=${WORKDIR} + +src_install() { + local dest="opt/dotnet_core" + dodir "${dest}" + + local ddest="${D}${dest}" + cp -a "${S}"/* "${ddest}/" || die + dosym "/${dest}/dotnet" "/usr/bin/dotnet" +} diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.3.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.3.ebuild new file mode 100644 index 00000000..2f0a9f90 --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION=".NET Core SDK - binary precompiled for glibc" +HOMEPAGE="https://www.microsoft.com/net/core" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://download.microsoft.com/download/2/9/3/293BC432-348C-4D1C-B628-5AC8AB7FA162/dotnet-sdk-${PV}-linux-x64.tar.gz -> dotnet-sdk-${PV}-linux-x64.tar.gz ) +" + +SLOT="0" +KEYWORDS="~amd64" + +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time +# dotnetcore-sdk is the source based build + +RDEPEND=" + >=sys-apps/lsb-release-1.4 + >=sys-devel/llvm-4.0 + >=dev-util/lldb-4.0 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + >=dev-libs/openssl-1.0.2h-r2 + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1 + !dev-dotnet/dotnetcore-sdk + !dev-dotnet/dotnetcore-runtime-bin + !dev-dotnet/dotnetcore-aspnet-bin" + +S=${WORKDIR} + +src_install() { + local dest="opt/dotnet_core" + dodir "${dest}" + + local ddest="${D}${dest}" + cp -a "${S}"/* "${ddest}/" || die + dosym "/${dest}/dotnet" "/usr/bin/dotnet" +} diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.302.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.302.ebuild new file mode 100644 index 00000000..3891e166 --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.302.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION=".NET Core SDK - binary precompiled for glibc and musl" +HOMEPAGE="https://www.microsoft.com/net/core" +LICENSE="MIT" + +_base_src_uri="https://download.microsoft.com/download/4/0/9/40920432-3302-47a8-b13c-bbc4848ad114" + +SRC_URI=" + amd64? ( elibc_glibc? ( $_base_src_uri/dotnet-sdk-${PV}-linux-x64.tar.gz -> dotnet-sdk-${PV}-linux-x64.tar.gz ) ) + amd64? ( elibc_musl? ( $_base_src_uri/dotnet-sdk-${PV}-linux-musl-x64.tar.gz -> dotnet-sdk-${PV}-linux-musl-x64.tar.gz ) ) +" + +SLOT="0" +KEYWORDS="~amd64" + +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time +# dotnetcore-sdk is the source based build + +RDEPEND=" + >=sys-apps/lsb-release-1.4 + >=sys-devel/llvm-4.0 + >=dev-util/lldb-4.0 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + >=dev-libs/openssl-1.0.2h-r2 + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1 + elibc_musl? ( >=dev-libs/libintl-0.19.8.1 ) + !dev-dotnet/dotnetcore-sdk + !dev-dotnet/dotnetcore-runtime-bin + !dev-dotnet/dotnetcore-aspnet-bin +" + +S=${WORKDIR} + +src_install() { + local dest="opt/dotnet_core" + dodir "${dest}" + + local ddest="${D}${dest}" + cp -a "${S}"/* "${ddest}/" || die + dosym "/${dest}/dotnet" "/usr/bin/dotnet" +} diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.105.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.105.ebuild new file mode 100644 index 00000000..17083811 --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.105.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION=".NET Core SDK - binary precompiled for glibc" +HOMEPAGE="https://www.microsoft.com/net/core" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://download.visualstudio.microsoft.com/download/pr/7d8f3f4c-9a90-42c5-956f-45f673384d3f/14d686d853a964025f5c54db237ff6ef/dotnet-sdk-${PV}-linux-x64.tar.gz -> dotnet-sdk-${PV}-linux-x64.tar.gz ) +" + +SLOT="0" +KEYWORDS="~amd64" + +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time +# dotnetcore-sdk is the source based build + +RDEPEND=" + >=sys-apps/lsb-release-1.4 + >=sys-devel/llvm-4.0 + >=dev-util/lldb-4.0 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + >=dev-libs/openssl-1.0.2h-r2 + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1 + !dev-dotnet/dotnetcore-sdk + !dev-dotnet/dotnetcore-runtime-bin + !dev-dotnet/dotnetcore-aspnet-bin" + +S=${WORKDIR} + +src_install() { + local dest="opt/dotnet_core" + dodir "${dest}" + + local ddest="${D}${dest}" + cp -a "${S}"/* "${ddest}/" || die + dosym "/${dest}/dotnet" "/usr/bin/dotnet" +} diff --git a/dev-dotnet/fake/fake-9999.ebuild b/dev-dotnet/fake/fake-9999.ebuild new file mode 100644 index 00000000..cd6bdcb0 --- /dev/null +++ b/dev-dotnet/fake/fake-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +USE_DOTNET="net40" + +inherit git-2 eutils dotnet + +DESCRIPTION="FAKE - F# Make" +HOMEPAGE="https://github.com/fsharp/FAKE" +SRC_URI="" + +LICENSE="MS-PL" +SLOT="0" +KEYWORDS="" +IUSE="" + +EGIT_REPO_URI="git://github.com/fsharp/FAKE.git" +EGIT_MASTER="develop" + +DEPEND="dev-lang/mono +dev-lang/fsharp" +RDEPEND="${DEPEND}" + +src_prepare() { + addpredict /etc/mono/registry/last-btime #nowarn +} + +src_compile() { + ln -s tools/FAKE/tools/Newtonsoft.Json.dll "${S}"/Newtonsoft.Json.dll || die + ln -s tools/FAKE/tools/NuGet.Core.dll "${S}"/NuGet.Core.dll || die + ln -s tools/FAKE/tools/Fake.SQL.dll "${S}"/Fake.SQL.dll || die + ./build.sh || die "build.sh failed" +} + +src_install() { + elog "Installing libraries" + insinto /usr/lib/mono/FAKE/"${FRAMEWORK}"/ + doins build/FAKE.exe + doins build/FakeLib.dll + doins build/UnionArgParser.dll + nonfatal doins tools/FAKE/tools/Newtonsoft.Json.dll + nonfatal doins tools/FAKE/tools/Fake.SQL.dll + nonfatal doins tools/FAKE/tools/NuGet.Core.dll + make_wrapper fake "mono /usr/lib/mono/FAKE/${FRAMEWORK}/FAKE.exe" +} diff --git a/dev-lang/fsharp/fsharp-10.2.1.ebuild b/dev-lang/fsharp/fsharp-10.2.1.ebuild new file mode 100644 index 00000000..584aa640 --- /dev/null +++ b/dev-lang/fsharp/fsharp-10.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit mono-env + +DESCRIPTION="The F# Compiler" +HOMEPAGE="https://github.com/fsharp/fsharp" +SRC_URI="https://github.com/fsharp/fsharp/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +#Broken: Microsoft.FSharp.Targets(129,9): error MSB4127: The "CreateFSharpManifestResourceName" task could not be instantiated from the assembly "/var/tmp/portage/dev-lang/fsharp-10.2.1/work/fsharp-10.2.1/packages/FSharp.Compiler.Tools.4.1.27/tools/FSharp.Build.dll". Please verify the task assembly has been built using the same version of the Microsoft.Build.Framework assembly as the one installed on your computer and that your host application is not missing a binding redirect for Microsoft.Build.Framework. Specified cast is not valid. [/var/tmp/portage/dev-lang/fsharp-10.2.1/work/fsharp-10.2.1/src/fsharp/FSharp.Core/FSharp.Core.fsproj] +#KEYWORDS="~x86 ~amd64" +IUSE="" + +MAKEOPTS+=" -j1" #nowarn +DEPEND=">=dev-lang/mono-5 + dev-util/msbuild" +RDEPEND="${DEPEND}" + +# try to sync certificates +# deprecated way: mozroots --import --sync --machine +pkg_setup() { + #this is horrible, I know + addwrite "/usr/share/.mono/keypairs" + addwrite "/etc/ssl/certs/ca-certificates.crt" + addwrite "/etc/mono/registry" + cert-sync /etc/ssl/certs/ca-certificates.crt +}