Skip to content

Commit

Permalink
hopefully corrected all uri.https problems
Browse files Browse the repository at this point in the history
  • Loading branch information
hoehnp committed Oct 12, 2020
1 parent 0096135 commit 04b14eb
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 0 deletions.
46 changes: 46 additions & 0 deletions dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
46 changes: 46 additions & 0 deletions dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
46 changes: 46 additions & 0 deletions dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
51 changes: 51 additions & 0 deletions dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.302.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
46 changes: 46 additions & 0 deletions dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.105.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
46 changes: 46 additions & 0 deletions dev-dotnet/fake/fake-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
31 changes: 31 additions & 0 deletions dev-lang/fsharp/fsharp-10.2.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 04b14eb

Please sign in to comment.