summaryrefslogtreecommitdiff
path: root/dev-dotnet
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/dotnet-runtime-bin/Manifest15
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild (renamed from dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.25.ebuild)3
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.12.ebuild (renamed from dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.5.ebuild)3
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.1.ebuild59
4 files changed, 70 insertions, 10 deletions
diff --git a/dev-dotnet/dotnet-runtime-bin/Manifest b/dev-dotnet/dotnet-runtime-bin/Manifest
index 1b6e27a..146e455 100644
--- a/dev-dotnet/dotnet-runtime-bin/Manifest
+++ b/dev-dotnet/dotnet-runtime-bin/Manifest
@@ -1,6 +1,9 @@
-DIST dotnet-runtime-3.1.25-linux-arm.tar.gz 31848614 BLAKE2B 2cdd2667f619dc6b8e9c9c0fcaa7011840e077988fa679aaf937ac1e5a9ca6cd0ef3505239a4850e8d893208eb7af3258df910403df7af3494494f945f73a12e SHA512 a0950ef427e07e4de7111411fb12389fda15193a84f22ca04c8a43e16bfe451ba34338def07dcfd3cf530cda0b14b4e69dac83e38da753e8cc708d6090c62dfe
-DIST dotnet-runtime-3.1.25-linux-arm64.tar.gz 30295532 BLAKE2B 5228e50adac1b2f52d130756d0c69b0294c62dd8f8d3618bb3049dae62fa3c8a528d70d0b1febde6d4a7774f0fd975d47ec1c70c7967122c2797c1a34d083e50 SHA512 894efe2c65702b6b99812fdea82672ec8534fa3cee66185266ff06c7fc7d6e9bb5ab12c1a9aee7a9f8f0873fe1eef402a22f34da1860d1f9ec068574380cba10
-DIST dotnet-runtime-3.1.25-linux-x64.tar.gz 30459553 BLAKE2B 2843ad2690bcc7d584dadaefe3fbe58136769fc4e7aee2ce8230ed487e4df3910da1353645d5db06ea12edf657559972a699f9ac638fd7a75bc83fa500dfb2b2 SHA512 e5155a0d26837b53bfc9275bfcd69eb7400bd8b2004be69e339f62ce36b6333f1f2da8d391bb98e4cb3630a20b68a0a0f4e6f8d1558a4cb0a53da796a71c214c
-DIST dotnet-runtime-6.0.5-linux-arm.tar.gz 28627995 BLAKE2B 95f835311a2cd4969c66dfe5085986369ca73266b5fbd456d2c735bd0a436c5c6e04ac70f861ac5ad87f54c6f4e1a8508c2fa794fb04c9537eeda337b08afd33 SHA512 5180bc076629afa91096ed500ce966d1d62e7b1b6248a6a33d6e758a3bca8fdff382d90793d847f049a330f4a0964dd29b18ac8cbd374492f19d74056a608252
-DIST dotnet-runtime-6.0.5-linux-arm64.tar.gz 28386959 BLAKE2B 03783c433506a098bdd56a8ab4945c6e10d8abb62024e78721799bbdf87cdce5c3ddff9196dcb18ce52b3092639d9fe1e991aee6290fad4be70ac054cdc43fff SHA512 bed49b74ad60d2701ddd638c61c215ad48f5c6eb88df140545d29901df60c6667474ca9d3bed6583dba605282ec64989ff2b431f098f0afc6ed155af59f7126d
-DIST dotnet-runtime-6.0.5-linux-x64.tar.gz 30681960 BLAKE2B aa4f1b34860d23e0c3d8eb92aa688cd9a23047031122aec046915cb663cef5ee3a6d7e9036a54b9225bb6722968e54e4d48b95ab6de4e9ecf98c6b8ea03587df SHA512 c228f0ba0ecc4ccda708e97529b248dd6d70f7f747ead6453623be77e8e1529b54db52f5df1b5e00b5b7f92b73389560832f80607fc07e50879d55ce905afcf7
+DIST dotnet-runtime-3.1.32-linux-arm.tar.gz 31846724 BLAKE2B c3515a186492cebe9fc5d094c5d983fe7cc9eb6747d3ef2600fcf5fa628c1e17fc1a05c32cb5679a819702c92250e53bfe29c8e6932cfd1abdd392231363d042 SHA512 eaa5e439e9a70ca72a1de731e4b2b7b97e59c8d60bc694e0a08c8da6246aaecc3498dc14729c83140039a285a8cda8fcd334bdc81e507d97c2f92b9dffcf0140
+DIST dotnet-runtime-3.1.32-linux-arm64.tar.gz 30300088 BLAKE2B c6ff1d6e3b451712df38ebe8694bc9a3b9b3ebc5125b73c274f823c25bc755083b49134e3d10ff4a3a75516cb2f6c72ce1162bd2135749506e6fa56e906d4f08 SHA512 ff311df0db488f3b5cc03c7f6724f8442de7e60fa0a503ec8f536361ce7a357ad26d09d2499d68c50ebdfa751a5520bba4aaa77a38b191c892d5a018561ce422
+DIST dotnet-runtime-3.1.32-linux-x64.tar.gz 30466403 BLAKE2B 0e79d0bc3319529f6ebf00b6b7bb0010b7f62cee89aabab22758e3f9935926415a00351169dc96fb9286c244ca59b55215c8da8e318e6750c7eddb7defe0d5c6 SHA512 a1de9bbc3d2e3a4f5f52b7742c678b182a58a724d36232997511e390027044d60144a7e010a29d6ee016ec91f2911daef28ac5712a827fff8bdde73314b7e002
+DIST dotnet-runtime-6.0.12-linux-arm.tar.gz 28624442 BLAKE2B 7b0c0f8f0a15e870cd087d2989ceffc9a39f16155d8256b4a7a5d748da37f80bccceaac0f9ddd5771589c5fe9ce2547e39b184e728cae535b5f1c6a73e169705 SHA512 c3bf5d831ed36a42f8b775923eb7f039fc2bd36d87f13228ef2005dad74744c8f49f1359bcd34bba244eed64d365eb40d35e76bd3dd41faa47428c1c652ebef4
+DIST dotnet-runtime-6.0.12-linux-arm64.tar.gz 28387811 BLAKE2B f792d474aafa21058e63eebc4d5268f13bd863f46e39c4fceaa2a63475c7320bc3ed4fd2545d9ac334fbf8b919094792d14b1186200ab49a95badddd2f4b020b SHA512 4fc1b7ca6429abcf586a2d106b2b7e345d024c174a303a607c21f7a00071362ca9f7f85e2c583db18caa597a0404af379a740c0fd180045051ab081d571a9a25
+DIST dotnet-runtime-6.0.12-linux-x64.tar.gz 30688050 BLAKE2B 3d9e061de584f73054e5de9ffc36fec640b5264dea95dc07fea3ee24457989a3742c88f2dcf19ea89d23f784e5d0b5c32b09b6d0570b9e5e97fe0fd7363f2a1f SHA512 74fc12712a1ab29f864592c21252db9710bebc965f502d0eb2ae5473da1d9bd3381195859cc452e3beec0ac91094e1c034c6a51c0378dada65fb2581efb73f13
+DIST dotnet-runtime-7.0.1-linux-arm.tar.gz 29655058 BLAKE2B 4af51ca6c22084d6e59948370e88a9adf538fc3aa259ef0cc460af940e28a4cbf8b284cb2ec548e571be5c9d2bf1c4a6ab2fa744680e2e1ac9f08f305b3b9664 SHA512 2ff35a40fe8809743eacea8d38c15aaffa54f17aaaaa07914c437e912c7253ae7d143fb8a968ed98238af8cb6d14f36b5b062a6a4297c16bae75b46f3b040e26
+DIST dotnet-runtime-7.0.1-linux-arm64.tar.gz 29764670 BLAKE2B 424e5d505d1a2795b3f2794bc4db9522b3f89d243e5a59b3e15688a6f40a9651561bd783a15a0293e4469f8095b3e8c900bf7f5db4870dac6c25ae332b69b950 SHA512 53e9b03326c2fdb8d2366a97f3cfbeca4f0f497b82cf665d5d4543f5d0fa8a177c53e8f48597f79072e962e3c7ef6baaca96143c2f775be52071e8ebbae88f34
+DIST dotnet-runtime-7.0.1-linux-x64.tar.gz 31479781 BLAKE2B 050b7826799d05a59b436fda9144f2ca629f033b77e9c46454fbd855c986176ef81dce25ed0abd6158575f80533e24c83d4d5494c7ac3634d81e6c48128b73a2 SHA512 db79b221f6bfa4d56fe0e2b7c237612bd74a81deb18f038ab7226b9e06eaea6e90909f1493f0ab4cf7778b6544b8aaa1295ece1c4a9f1fe39ca44bbfaced46c7
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.25.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild
index 12d4b2a..701889a 100644
--- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.25.ebuild
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild
@@ -33,8 +33,7 @@ RDEPEND="
S=${WORKDIR}
delete() {
- local x
- x=$(find . -name "$1" -print -delete) && [ -n "$x" ]
+ test -n "$(find . -name "$1" -print -delete)"
}
src_compile() {
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.5.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.12.ebuild
index fb09294..c12d54c 100644
--- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.5.ebuild
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.12.ebuild
@@ -33,8 +33,7 @@ RDEPEND="
S=${WORKDIR}
delete() {
- local x
- x=$(find . -name "$1" -print -delete) && [ -n "$x" ]
+ test -n "$(find . -name "$1" -print -delete)"
}
src_compile() {
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.1.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.1.ebuild
new file mode 100644
index 0000000..c12d54c
--- /dev/null
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/"
+LICENSE="MIT"
+
+SRC_URI="
+amd64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-x64.tar.gz )
+arm? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm.tar.gz )
+arm64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm64.tar.gz )
+"
+
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="+dotnet-symlink kerberos lttng"
+REQUIRED_USE="elibc_glibc"
+QA_PREBUILT="*"
+RESTRICT="splitdebug"
+RDEPEND="
+ kerberos? ( app-crypt/mit-krb5:0/0 )
+ lttng? ( dev-util/lttng-ust:0 )
+ sys-libs/zlib:0/1
+ dotnet-symlink? (
+ !dev-dotnet/dotnet-sdk[dotnet-symlink(+)]
+ !dev-dotnet/dotnet-sdk-bin[dotnet-symlink(+)]
+ !dev-dotnet/dotnet-runtime[dotnet-symlink(+)]
+ )
+"
+
+S=${WORKDIR}
+
+delete() {
+ test -n "$(find . -name "$1" -print -delete)"
+}
+
+src_compile() {
+ use kerberos || delete libSystem.Net.Security.Native.so || die
+ use lttng || delete libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SLOT}"
+ dodir "${dest%/*}"
+
+ { mv "${S}" "${ED}/${dest}" && mkdir "${S}" && fperms 0755 "/${dest}"; } || die
+
+ if use dotnet-symlink; then
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet"
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-${SLOT}"
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
+
+ # set an env-variable for 3rd party tools
+ echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die
+ doenvd "${T}/90${PN}-${SLOT}"
+ fi
+}