From 552e7282232777e70e8dc20a647e5a6f0ec748b6 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 1 Oct 2024 15:13:53 -0400 Subject: dev-dotnet/dotnet-runtime-bin: upgrade --- dev-dotnet/dotnet-runtime-bin/Manifest | 15 ++--- .../dotnet-runtime-bin-3.1.32.ebuild | 59 -------------------- .../dotnet-runtime-bin-6.0.21.ebuild | 37 ++++++------ .../dotnet-runtime-bin-7.0.10.ebuild | 65 ---------------------- .../dotnet-runtime-bin-8.0.7.ebuild | 54 ++++++++++++++++++ 5 files changed, 78 insertions(+), 152 deletions(-) delete mode 100644 dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild delete mode 100644 dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild create mode 100644 dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.7.ebuild diff --git a/dev-dotnet/dotnet-runtime-bin/Manifest b/dev-dotnet/dotnet-runtime-bin/Manifest index 78805a8..9bf2ff1 100644 --- a/dev-dotnet/dotnet-runtime-bin/Manifest +++ b/dev-dotnet/dotnet-runtime-bin/Manifest @@ -1,15 +1,12 @@ -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.21-linux-arm.tar.gz 28658107 BLAKE2B 48d44a8116c631c8d9c14d81825cf9800631de8cc63c86451f47a3e18aad180ae5f1c5ba5c13cf47737074e003307bd2707a819603545667fcf098fa03fdb9f8 SHA512 a265c05ff50bee5e6d2b46f6117bab812e5348f56914945d09694627a2ea6f309fbd9f5a2656ff90c566fa0208a6119bb87a3fcf26417d64de5549d650c262b6 DIST dotnet-runtime-6.0.21-linux-arm64.tar.gz 28407878 BLAKE2B 6be0a9643af7c6257b2acef367a231dd7cefde1f8b3589022983e81e0776d6471be481e32783c35ca8cf30c1b8138cb802bd7b88247daef1b729ad589d0cd021 SHA512 f34e1319ded1e1115ceb63eab16a4ac7096e36e3236f8117f61ec9f0e19dd50adb473e1213a1018abfaedc4da57519b85058e7b14187a33e0b91e79af4dabf63 DIST dotnet-runtime-6.0.21-linux-musl-arm.tar.gz 28680123 BLAKE2B df3c551354009897cbe84236c35e096ff8840d2e881940563407ddeecdf8a0d65fc9e9bde26e1efb8473cfc4d3add761139e7e07cb2fbc3a50abf78f487b173c SHA512 e021f7a2290358ffa130cfb356831ebb06cf6582dccec85a8b1e6004c100972dfb60854e0a2d7f31d09a579ebfa125d4c44e7a150a89e9040f08c06f963624f5 DIST dotnet-runtime-6.0.21-linux-musl-arm64.tar.gz 28430445 BLAKE2B 437b297e3eacf9c25c71882164fa9dc2f5cc3b17f800132da8b347be16df36956119796e17884934e6c3732948d147ad5341119a430dc21c73e09abfcb1c657f SHA512 827bd3b6117ed674ae290b2b80598551b91e67766533895fbd375b121e813f9d7927797fc91aafe3bf2cac927173703c7dbb4fd18dcc6a2648bf1f973dc86fec DIST dotnet-runtime-6.0.21-linux-musl-x64.tar.gz 30254930 BLAKE2B 120466ea08604c4c1727b8be3c58a4e7e6042f5fa0a5524e34b93b55955ec6f99657fbc100ae120aa53e8dd5f315c09c8918ecabd34f3c69c874530dc9dc8411 SHA512 f5205bd0703a8c6db5dc4157849a734103bf2495ae10b15dce38cc03f12195b1a615367bc1f87a2ec4a05472753cd99858b8be2b74adfb93c3b558ebe1f045a1 DIST dotnet-runtime-6.0.21-linux-x64.tar.gz 30707364 BLAKE2B f2492c46341ffbce60d69c0f24effd857d1895f9a92aa4b5d065f4f849edb7317905fbbebe7ae2ca29774c8938803986f9072ebbfbe8d403fa018f19015276ca SHA512 9b1573f7a42d6c918447b226fda4173b7db891a7290b51ce36cf1c1583f05643a3dda8a13780b5996caa2af36719a910377e71149f538a6fa30c624b8926e0cd -DIST dotnet-runtime-7.0.10-linux-arm.tar.gz 29657370 BLAKE2B 7c0550f8bb0e8b61d977f58f8d5d3ac015ef1accfcb1277daea49e5f5b4996f6e90b91ae6f71ac1666e8dc6c796316325d66997118fa6e4577136447312d99bd SHA512 15538acaa6799c37d1caf493bd5d94e567c70e6e17dd0b538f4a7ad795d060960181fa8a82c553466cb0ee58b21f4021246395f2b4a27a6dc6d6fe0dfbf53c74 -DIST dotnet-runtime-7.0.10-linux-arm64.tar.gz 29770350 BLAKE2B 9c6f160d608c5afad2e730975348c578f269017b4804bfd7a4dc57109c5e4dc47a9bd0e863a3f620762fdcce7b83c3ec90e1950d4ffdb2f4272cfdd4a6582337 SHA512 e90b68b272d5db7cf8665bf052fb0300d50a69818d70675442dc891654d140f7f84527b849860589bf152de1d00aa55dc15ee32f5678d46ea0069210fd002b03 -DIST dotnet-runtime-7.0.10-linux-musl-arm.tar.gz 29674697 BLAKE2B 8ecf0dd1cdeb757f764cf25684fc854c2740dace757b537443ac007aea6b50063ee72361615948f5e95e34e538fc374e084e9254536a259829954474ea6838dc SHA512 c2280801d61774ac7243d6507aca9134d6757b49513523bca8f31b0f068793c66b4eed6a352607e63e73d5cc6fff26ac05157ec5d25160ac2269c1ecef6bdad1 -DIST dotnet-runtime-7.0.10-linux-musl-arm64.tar.gz 29768438 BLAKE2B af0fff73973b94b487318019639e56ed261345a2e08a3ec3d25fe9d23179e0b5a6d906afbb8be96382a31c84ba4e5cf2fcf7a91af2e3592d5d73874e15672ddd SHA512 660033371ee3a5ae06d64c366a1e1811c19da22eb8e23d67b5fd1c16dda2e52c9650d8c1c9bab6c289a76f89cc61ae97490c01de2f4e908de9e9b82777e97ef0 -DIST dotnet-runtime-7.0.10-linux-musl-x64.tar.gz 31050507 BLAKE2B d6b884269f84c7219cf4a1b842bc0307df61e96bd6a67109caa5edabe3b072db149cf311ad9a135e7c6920cb3fb49fc0cf4044f79616cc665f58e4b91b3a4de8 SHA512 9d494a4748298c494609112d695439c114a42480f58d5b4cadd78a889ecb1b00ff10898cd7c3455589ac367d5a877bdc03621f74901355f063139778ae044c8b -DIST dotnet-runtime-7.0.10-linux-x64.tar.gz 31493010 BLAKE2B 871559081bfe172dee03796513904c97fae80ee9144c1899479e2f3429229306a1dd988862d52705f11b67ac46111d0fa5dc000b97c2232e438abdff4331522a SHA512 f15b6bf0ef0ce48901880bd89a5fa4b3ae6f6614ab416b23451567844448f2510cf5beeeef6c2ac33400ea013cda7b6d2a4477e7aa0f36461b94741161424c3e +DIST dotnet-runtime-8.0.7-linux-arm.tar.gz 29491503 BLAKE2B 9f60c04dcbe28c15e4856ea9d5b1df9f32c8c4769c3e2391aea6e710ac117099f53cab9b0a71d171bc61b2ebd11e6fd44e41e4d62188b26b321c2bc5218035ba SHA512 ccfe95a95be3c64d568c6f79df391daf73304fa2c2aedf4616cd9981efe11cac698c157d8375da3afda691b78124cc6672fde7353b0fea4d45da15e003040a2a +DIST dotnet-runtime-8.0.7-linux-arm64.tar.gz 29855959 BLAKE2B 7e7495dd59fc57fc8a55a9620082b6e92692480ef076731e0d129c7901fe543443959db44312ded5086b91c6f9a182ff79b8daaee8c9468f1a71384e9a261023 SHA512 99e6959a1156d5abc8f0c73b3d493fc1e10a42d48a573226ebcfbdf96bb6fb1c8701db5b3582a4303ce26a4f784e74eb402cb6e5e4bcdbb5dfab8fea221cfe02 +DIST dotnet-runtime-8.0.7-linux-musl-arm.tar.gz 29517082 BLAKE2B 46c1a435aeb33d056e570df2468ddcf604eb0d7a07af0503b4a917824cf66978c5b3a9f026a10064b6b6de6f98ee868a65c65a2062430da95f27ebdeaba60841 SHA512 03aecb348a99d0afc9b90006e14a0c75ed69f7ef6cb8689fac171edf0f88aaa928a395ce433a390cee1ca4255560511c89d8d827a575b21876e2e7f94d5bceef +DIST dotnet-runtime-8.0.7-linux-musl-arm64.tar.gz 29882320 BLAKE2B b1304054755a0da71b00860e01c522d13a44921fe4d0277844de5c08a099285a79c80caf499220be0da2f7041215cd48d0971a038e304cbe56e83876fe8ea60b SHA512 249246082498d3f6b5a3a0347527ac5a98ecd0fde235d6bb48bb18e4bb031eda6833526035279e99e97fbb5dc58fba132c9bed5f33442c47e571a91f648fa863 +DIST dotnet-runtime-8.0.7-linux-musl-x64.tar.gz 31289934 BLAKE2B 683035ed2ef435d481e78039da06981a1b5c47c67cafe9fe0b41203b403c4ffd044370fc31555a382465ba6c9922462ccac1367019f587b99bd8eaa005a518d9 SHA512 31386a3af6cbeea3e1b0e2f109d10222c5ad41057540fd5c626959ec7d2a542b859c9699cb86a1ac812eb7fed139dcab0c53ecb8adf678fe0ad04c62cf6c1f8d +DIST dotnet-runtime-8.0.7-linux-x64.tar.gz 31272597 BLAKE2B f277185b3a4ec00f805a0c516f3e327c6f0cde0857218d50e34ea02bc206a9cf0a89118391d60ffcb1fc5b7dfe04e2939c72ad63e98048a2867d60aa18a61aa7 SHA512 88e9ac34ad5ac76eec5499f2eb8d1aa35076518c842854ec1053953d34969c7bf1c5b2dbce245dbace3a18c3b8a4c79d2ef2d2ff105ce9d17cbbdbe813d8b16f diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild deleted file mode 100644 index fd5ec0d..0000000 --- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-3.1.32.ebuild +++ /dev/null @@ -1,59 +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 - !dev-dotnet/dotnet-runtime[dotnet-symlink(+)] - ) -" - -S=${WORKDIR} - -delete() { - test -n "$(find . -name "$1" -print -delete)" -} - -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 - - 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-6.0.21.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.21.ebuild index 3d47925..4518487 100644 --- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.21.ebuild +++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-6.0.21.ebuild @@ -1,7 +1,7 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" HOMEPAGE="https://dotnet.microsoft.com/" @@ -21,19 +21,16 @@ SRC_URI=" " SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64" -IUSE="dotnet-symlink kerberos lttng" +IUSE="kerberos lttng" +KEYWORDS="-* ~amd64 ~arm ~arm64" 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 - !dev-dotnet/dotnet-runtime[dotnet-symlink(+)] - ) + !dev-dotnet/dotnet-sdk-bin:${SLOT} +" +IDEPEND=" + app-eselect/eselect-dotnet " S=${WORKDIR} @@ -51,15 +48,17 @@ src_install() { local dest="opt/${PN}-${SLOT}" dodir "${dest%/*}" - { mv "${S}" "${ED}/${dest}" && mkdir "${S}" && fperms 0755 "/${dest}"; } || die + mv "${S}" "${ED}/${dest}" || die + mkdir "${S}" || die + fperms 0755 "/${dest}" + + 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}" - dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}" +pkg_postinst() { + eselect dotnet update ifunset +} - # set an env-variable for 3rd party tools - echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die - doenvd "${T}/90${PN}-${SLOT}" - fi +pkg_postrm() { + eselect dotnet update ifunset } diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild deleted file mode 100644 index 3d47925..0000000 --- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild +++ /dev/null @@ -1,65 +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" - -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 ) - )" -} - -SRC_URI=" - $(gen_src_uri amd64 x64) - $(gen_src_uri arm) - $(gen_src_uri arm64) -" - -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64" -IUSE="dotnet-symlink kerberos lttng" -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 - !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 -} diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.7.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.7.ebuild new file mode 100644 index 0000000..b049c94 --- /dev/null +++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-8.0.7.ebuild @@ -0,0 +1,54 @@ +# 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/" +LICENSE="MIT" + +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 ) + )" +} + +SRC_URI=" + $(gen_src_uri amd64 x64) + $(gen_src_uri arm) + $(gen_src_uri arm64) +" + +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* ~amd64 ~arm ~arm64" +QA_PREBUILT="*" +RESTRICT+=" splitdebug" +RDEPEND=" + sys-libs/zlib:0/1 + !dev-dotnet/dotnet-sdk-bin:${SLOT} +" +IDEPEND=" + app-eselect/eselect-dotnet +" + +S=${WORKDIR} + +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 +} -- cgit v1.2.3-70-g09d2