summaryrefslogtreecommitdiff
path: root/dev-dotnet
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/dotnet-runtime-bin/Manifest24
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.25.ebuild60
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.36.ebuild66
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.5.ebuild60
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.11.ebuild66
-rw-r--r--dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-9.0.0.ebuild66
-rw-r--r--dev-dotnet/dotnet-runtime-bin/metadata.xml3
7 files changed, 216 insertions, 129 deletions
diff --git a/dev-dotnet/dotnet-runtime-bin/Manifest b/dev-dotnet/dotnet-runtime-bin/Manifest
index 1b6e27a..8148053 100644
--- a/dev-dotnet/dotnet-runtime-bin/Manifest
+++ b/dev-dotnet/dotnet-runtime-bin/Manifest
@@ -1,6 +1,18 @@
-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-6.0.36-linux-arm.tar.gz 28668069 BLAKE2B 38779311abe9eabf941d0e692575266170f380dfdae1a19a5aead83da71a38bb3a010037b041c834ec40fd35df0596f3a93268933849740c4963bbb8a658f3e7 SHA512 f3f9199a97db81d3e3ed249e0e9b8f17afb785e8b9ebad00016576382d3d0f2029a31eaf760be2509fde796a42efeb727b156488a42f48cc08013f87479cacfd
+DIST dotnet-runtime-6.0.36-linux-arm64.tar.gz 28419386 BLAKE2B b42909acefc8a7dd2328e628877c5903fba654930b24efd31984ddce14b36694fb5d60982dcd72a0486d42ad0b413fd2ee0f3debfdcde3c09dc82b5f43a6bb72 SHA512 aa9a35f181204199ac6c44863c4773f8967b25adce218e23ce2822b40b26c38edc1e4e2ff323dabb81ae049bc187f14d209ef1365e68970fd6c32af21f0a1d44
+DIST dotnet-runtime-6.0.36-linux-musl-arm.tar.gz 28682171 BLAKE2B 9d7e42a723b6b5d5b66a7977223fa772aa08c215e571166287e6694101d96365a937a4e28b64297f99b34c8c3fa121790e5da825dd03a2b8969f327fdb5327e2 SHA512 3dd539816405ec2d818f611a7cb98fe4069960e8ac4664ccca04ff8b2e0679387b0a3f2cc5045bef95657626ac1045bedc4e502da304ee54678afbbe83dcc3b3
+DIST dotnet-runtime-6.0.36-linux-musl-arm64.tar.gz 28445012 BLAKE2B 9baebfd86b7eee765b18cff5600df9459ea1c71d3d12defa9a13bb56926d2f309150cbde2abe7b49347de49433f3c7cfb92056f1b48a3f0dc463284844c87035 SHA512 0830715511ab602242487c5fae0dc7a5b75e0c9d7705e624181ec13cc4726a06d7935df952aeddda0dc2c46db95ab14af9d8229a2302b1e6d2fd7e892b42267b
+DIST dotnet-runtime-6.0.36-linux-musl-x64.tar.gz 30274917 BLAKE2B f91058ea230a8bf30aa1238f050d60fa20c197ad5a454c268c92a45149c1cc4ca0fa11a5769281fd6352107835406ca31dfe9e5ba6d247d6a4cc38205f448aa0 SHA512 56c2161c52901706fd769d2c9168cff5959576bd1a72d89f7c27858f467f59970624ea9a0559368462bc178e7c9ef7d86d0fda08c7dbdb72dd3e9084280823eb
+DIST dotnet-runtime-6.0.36-linux-x64.tar.gz 30710677 BLAKE2B 0ce592fa15dcb7fab1b4f6a56ce75319c704a4a7f20dbf8459f2217bfb8addae300f04c3fe62315167868e123f124c662c47f704b22b053a2866992bbf7735fe SHA512 afb6018fcabec468ccd7ae2f1131d8c9de7f4de7645b8f0c223efbbdbfdc515fb0642a399ebfe372c02044416c4cae463c9c802cd156b9da4181efff0e33ee94
+DIST dotnet-runtime-8.0.11-linux-arm.tar.gz 29507762 BLAKE2B fe596a37f5ff52e93c458ad4086b227660b091f7c28c6fc955529496a82875cc64f4ee70239e52735c4ccdceed8dbf54007d40edc6df22acabe82e4a39aca799 SHA512 279b93bf6b5c5c2f45427b620c56bff0e22ec8f3fb9a4f3749e7a6a0d0d0ee8163851b5bd081c6814b758068df7ba1b9401c844ba5905b27a830020846ef6406
+DIST dotnet-runtime-8.0.11-linux-arm64.tar.gz 29865496 BLAKE2B 9f083e8dc662fd33f4404c57114ddd15315c0d2f6e8a6927fe2850e615c82d8c7e3858079613b2ec18fd98c6317bf78499e3460239f84ae5155309e6c15fe937 SHA512 f27d66dcdd249a6a2f87241b460238960240d163ffc081d8e7b42bd62702079f1a6784e3503dbd4ea8f9e816d82142fc829c759cbf9a1682b0340f0cebe16db5
+DIST dotnet-runtime-8.0.11-linux-musl-arm.tar.gz 29525229 BLAKE2B 1cf7d9c412ef07ea1ab30e9f0511ca52a343115f364bc2dae1a13f3c1fc6f59ac134a1a8926dd564e4d3e1da4a2402552cf23e134fa303255b4f8b7ba2313c31 SHA512 e29ec7c4c123debfb1c20aa49eccdbcb6c493a0bca8d480c113d0e413b2b546ed01767b1056dda4b0f58029c147f513c3af95669d29cb2babdbda4d358b2d0fd
+DIST dotnet-runtime-8.0.11-linux-musl-arm64.tar.gz 29888696 BLAKE2B 7255f7948d8eec355b92445d8c8967a9efcb09cbf17cbacba1ab6bd2fb3810d45a0832acf4f9142206cc59624abf68fe83f02b263008f28f45385ee3a42d9284 SHA512 6a94ce888eb060f63a0ec9554985198c48c5c5612577db7c10204b58b2ef36ef96a597067d75574abdca61a87472914b5df3312be74773ac32fa7043d60370d8
+DIST dotnet-runtime-8.0.11-linux-musl-x64.tar.gz 31308143 BLAKE2B 72ef859e230be60a46a275b303fbcd11a6e8d3a46af482bcee82e5e7508c86385ce5670c73e447e438de1e180b0df1c5a17726cf34d397149af530d3b5565bc9 SHA512 ff00d19ced7ea204caccc6c11c484e5a1ecdb9ffa9ac9a6b8ed2f7f7c9089aad098e5b41d2ebe5c24cbbc0956df64032b62ed7277fac3d3b64b742c50209be61
+DIST dotnet-runtime-8.0.11-linux-x64.tar.gz 31277651 BLAKE2B a9f47f68b896461e8be209c5ca03e2cb17ee001a319dedce2a4cf18efedc633132afa905916344d4dd409f132b89dfe46c2673e5b5590c71bbc04bc4b9597361 SHA512 71ea528900c6fc7b54e951622296421d2a96191870c47e937117b84b28f91bf407d02046ddfecfe4ac37dc6182c65d1940927c33e45fa3d6f0179f81692490d6
+DIST dotnet-runtime-9.0.0-linux-arm.tar.gz 31224167 BLAKE2B 89713e8365b6307baa2849b437064f93536a6db58cad4c20fbfd116a70f83664ac07da05cd889acb188721d984484b661cd76b0bd2a1336538ec81235c638bcb SHA512 fab552df6d884090aba1f658c8812b5369e9bea17e6a1f905145cde512772b57db5d5cf586c6c2b7f2e56a8cb83c206f0cf7594bcf42d32844b8103538bd883f
+DIST dotnet-runtime-9.0.0-linux-arm64.tar.gz 31797263 BLAKE2B e406e8de36edc2f2102b6dd4e0ee6d3a17e1376a5d94079fb53238f09f3d99e33a79f68706d80e6eb18c44326236a54319f503d16a23782606037487d5f1c4e0 SHA512 4f9c2dd544af0b8540c16352b9f01f75f828b8e4e084057a300a4dec652fb3d6532906cdd4246399cc13f16b571b17575812ec2f9c297e27bbed678baf4b2fde
+DIST dotnet-runtime-9.0.0-linux-musl-arm.tar.gz 31214926 BLAKE2B 54e0b161d9a30a2c51c2f2a78e195689ff74b3e63e3f4a3b21804996c08ed10d1f05427a460caa7ad925948bd5cb755008efecabce242cb7e5669834f9983be8 SHA512 97dc1ddcac177d73b517d651326ec484eac52501c506c8c837c3f9ceaf476ddf929ccece9b6dc2c0a4e7d378576fd73930a8835814690631a560642527335b33
+DIST dotnet-runtime-9.0.0-linux-musl-arm64.tar.gz 31820840 BLAKE2B 906a367cbf4505e567ed49e0268c2a46043d8dc36583675e976f65af458d23dd7e84c2d4a5b031bf3876b01aa8327b370ad8389ed1b339ab26ce913dd77cf8a8 SHA512 33523364d9310b75d9819a4866b120c03b9ef7946bd3646b15930e37ff1e211de294c8a94b4ad6c1c0f7d291cb70601a4188e396d4252f5767a36a6dbe68502a
+DIST dotnet-runtime-9.0.0-linux-musl-x64.tar.gz 33527934 BLAKE2B 37a46215147cbe82a64dfec490cab26018bd325d08c8b440aef314acc2fac6f6030a646de542abe47e38e1dc3134c618dedffe58d149d2518cfcad7dbc91c0c4 SHA512 9c33d73a898fa9b4e84ae1844468b69086979f7c2c8ea6b32db0fea62a4014513cea0619025f9edb23e67ab4ae4e2f2725d1d9bb892858bba7dfe8ed17aee799
+DIST dotnet-runtime-9.0.0-linux-x64.tar.gz 33497524 BLAKE2B eb64e433cebc129f39c4d657855a4b09ca98b8f0d3dd81684042cb1bf140f4e8a14773ae26bd5a56375b32df160a6d62ab16eba312c63c2bbfb62279d80172c6 SHA512 5176bd68637646cd36fce7a88f83effe1065fb075e6d4a46b8be3c33d5a8394740577f0ed4f8b4fb13fa69fe83b229eb55ab7f45caac90849bf0392a670ed5af
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.25.ebuild
deleted file mode 100644
index 12d4b2a..0000000
--- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.25.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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() {
- local x
- x=$(find . -name "$1" -print -delete) && [ -n "$x" ]
-}
-
-src_compile() {
- use kerberos || delete System.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
- dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
-
- if use dotnet-symlink; then
- dosym "../../${dest}/dotnet" "/usr/bin/dotnet"
- dosym "../../${dest}/dotnet" "/usr/bin/dotnet-${SLOT}"
-
- # set an env-variable for 3rd party tools
- echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die
- doenvd "${T}/90${PN}-${SLOT}"
- fi
-}
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.36.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.36.ebuild
new file mode 100644
index 0000000..b3e3224
--- /dev/null
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.36.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/"
+
+gen_src_uri() {
+ echo "$1? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-${2:-$1}.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-musl-${2:-$1}.tar.gz )
+ )"
+}
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE="lttng"
+
+SRC_URI="
+ $(gen_src_uri amd64 x64)
+ $(gen_src_uri arm)
+ $(gen_src_uri arm64)
+"
+
+RDEPEND="
+ sys-libs/zlib:0/1
+ !dev-dotnet/dotnet-sdk-bin:${SLOT}
+ lttng? ( =dev-util/lttng-ust-2.12* )
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+
+S=${WORKDIR}
+
+QA_PREBUILT="*"
+RESTRICT+=" splitdebug"
+
+delete() {
+ test -n "$(find . -name "$1" -print -delete)"
+}
+
+src_compile() {
+ use lttng || delete libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SLOT}"
+ dodir "${dest%/*}"
+
+ mv "${S}" "${ED}/${dest}" || die
+ mkdir "${S}" || die
+ fperms 0755 "/${dest}"
+
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}
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.5.ebuild
deleted file mode 100644
index fb09294..0000000
--- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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() {
- local x
- x=$(find . -name "$1" -print -delete) && [ -n "$x" ]
-}
-
-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
-}
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.11.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.11.ebuild
new file mode 100644
index 0000000..b3e3224
--- /dev/null
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/"
+
+gen_src_uri() {
+ echo "$1? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-${2:-$1}.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-musl-${2:-$1}.tar.gz )
+ )"
+}
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE="lttng"
+
+SRC_URI="
+ $(gen_src_uri amd64 x64)
+ $(gen_src_uri arm)
+ $(gen_src_uri arm64)
+"
+
+RDEPEND="
+ sys-libs/zlib:0/1
+ !dev-dotnet/dotnet-sdk-bin:${SLOT}
+ lttng? ( =dev-util/lttng-ust-2.12* )
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+
+S=${WORKDIR}
+
+QA_PREBUILT="*"
+RESTRICT+=" splitdebug"
+
+delete() {
+ test -n "$(find . -name "$1" -print -delete)"
+}
+
+src_compile() {
+ use lttng || delete libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SLOT}"
+ dodir "${dest%/*}"
+
+ mv "${S}" "${ED}/${dest}" || die
+ mkdir "${S}" || die
+ fperms 0755 "/${dest}"
+
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-9.0.0.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-9.0.0.ebuild
new file mode 100644
index 0000000..b3e3224
--- /dev/null
+++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-9.0.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/"
+
+gen_src_uri() {
+ echo "$1? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-${2:-$1}.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-musl-${2:-$1}.tar.gz )
+ )"
+}
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE="lttng"
+
+SRC_URI="
+ $(gen_src_uri amd64 x64)
+ $(gen_src_uri arm)
+ $(gen_src_uri arm64)
+"
+
+RDEPEND="
+ sys-libs/zlib:0/1
+ !dev-dotnet/dotnet-sdk-bin:${SLOT}
+ lttng? ( =dev-util/lttng-ust-2.12* )
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+
+S=${WORKDIR}
+
+QA_PREBUILT="*"
+RESTRICT+=" splitdebug"
+
+delete() {
+ test -n "$(find . -name "$1" -print -delete)"
+}
+
+src_compile() {
+ use lttng || delete libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SLOT}"
+ dodir "${dest%/*}"
+
+ mv "${S}" "${ED}/${dest}" || die
+ mkdir "${S}" || die
+ fperms 0755 "/${dest}"
+
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}
diff --git a/dev-dotnet/dotnet-runtime-bin/metadata.xml b/dev-dotnet/dotnet-runtime-bin/metadata.xml
index 5eeaef8..196723c 100644
--- a/dev-dotnet/dotnet-runtime-bin/metadata.xml
+++ b/dev-dotnet/dotnet-runtime-bin/metadata.xml
@@ -9,9 +9,6 @@
<doc>https://docs.microsoft.com/en-us/dotnet/</doc>
</upstream>
<use>
- <flag name="dotnet-symlink">
- Install a dotnet symlink that points to dotnet-bin.
- </flag>
<flag name="lttng">
Install support libraries for LTTng with .NET.
</flag>