From 7ec3d6771886e7b475af040630927f502ced949a Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 24 Jan 2023 20:44:29 +0100 Subject: app-shells/pwsh-bin: bump to 7.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-shells/pwsh-bin/Manifest | 3 ++ app-shells/pwsh-bin/pwsh-bin-7.3.2.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 app-shells/pwsh-bin/pwsh-bin-7.3.2.ebuild (limited to 'app-shells/pwsh-bin') diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 33207517c8d0..d093af8bf3cd 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -7,3 +7,6 @@ DIST powershell-7.3.0-linux-x64.tar.gz 71703612 BLAKE2B 0f741bded009758e0aa52104 DIST powershell-7.3.1-linux-arm32.tar.gz 69113434 BLAKE2B 12f1124543eddc64b9d7bc51d14cb994ca24eb64332ef9b10e65eeaff5d61d72e0d307e6fe86771b809fa3e5e7f2ba3526b5b9fcfc397e829f1fe5ffb172674e SHA512 796b14da987260deb20bd01bab9e197776218c5c6cb4f7de78529b234239842ee5dd4ea8fded5e0d00795fe8cd226856cda606a3995095e352ed48f2e6310f77 DIST powershell-7.3.1-linux-arm64.tar.gz 68034071 BLAKE2B 626218a9936713be19795dec46f7fb9c0b90b7cdc1821497a1438cca27d4e4e3ee56504c40ac1c2d70a4c58a5dc29ce6189724fa3126a3fc737002ccb191e9fb SHA512 3fca8b04dbac991f4419a64de4372aad9aa490a4750894b1ae0052f55e229be8406ed227db047381c5cfbaae78c406f272c4a30737468cb8cfde4fb51782895a DIST powershell-7.3.1-linux-x64.tar.gz 71616643 BLAKE2B 16ecc1211f796f92d5cf64ac0dea08da353ff4dad8d6fff5ba22d5347fd74b056c25e7682356c23af1ee1bc9b660bf0df7133848e2b9db280cf7ee7796532d28 SHA512 69c7756252b6958faf8b9c962301ea83eaeddf2c05de6d249e20529b2a5cfe09bcb76b5ac60d47ec3260cdd3ab6981d5d5115fc5379512ff2c2f78c3451cec61 +DIST powershell-7.3.2-linux-arm32.tar.gz 69012331 BLAKE2B d905870e2ba8679057ebc057152d400607be089503b0acec76125644ddd01aa18da0da5f52444fa4cd160df93b1f61ba35e16593cc4d1695346fcf87737b219b SHA512 4ac407ebbf0b38ae7d17011390f759a7998343707fa3b412e1fbd710486fbaa04167941491f781b11c91df2abef0ae3fcc07be5300c1d35d4a62f073810ad1b4 +DIST powershell-7.3.2-linux-arm64.tar.gz 67914800 BLAKE2B 594893f484f5c7831538d402ea2bdd3114f5e3625db527ba92df0eabfc5c24e6f9af1502518cb5b6a3b163302482c9c08be692f44e9a1e343218d815f588e0e2 SHA512 b7f134311747c0f66dac37cce813015cb0ce6ff3d35732effb4d8150b2357fa559e13c69cfe33445acbfc1c73a4e02268fb0307fd1d9319449895579420a6842 +DIST powershell-7.3.2-linux-x64.tar.gz 71500527 BLAKE2B 10e6715f3e96de17b8d1bacc34cdd9711490738323a756ec462960731debf556cb1ed2212647c8ff312c2c7d93a4670c2be5f292117d7eb3f164f30511b11e49 SHA512 c42cd23c0a1fd416d9f1c7b639428af70ef71339cd70629ee459cb5cec940a2376317fef3e251f8dca5fa11ac872a319b96d7472b9d359e102c79d8c47a6ffc9 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.2.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.2.ebuild new file mode 100644 index 000000000000..c0d59b29fa41 --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="PowerShell - binary precompiled for glibc" +HOMEPAGE="https://microsoft.com/powershell" +BASE_URI="https://github.com/PowerShell/PowerShell/releases/download" +SRC_URI=" + amd64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-x64.tar.gz ) + arm? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm32.tar.gz ) + arm64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm64.tar.gz ) +" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="+pwsh-symlink" +REQUIRED_USE="elibc_glibc" + +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-util/lttng-ust:0/2.12 + sys-libs/pam:0/0 + sys-libs/zlib:0/1 + || ( + dev-libs/openssl-compat:1.0.0 + =dev-libs/openssl-1.0*:0/0 + ) + pwsh-symlink? ( !app-shells/pwsh ) +" + +QA_PREBUILT="*" + +src_install() { + local dest=opt/pwsh + dodir ${dest} + + local broken_symlinks=( libcrypto.so.1.0.0 libssl.so.1.0.0 ) + local symlink + for symlink in "${broken_symlinks[@]}" ; do + [[ -L ${symlink} ]] && { rm "${symlink}" || die ; } + done + + mv "${S}/"* "${ED}"/${dest}/ || die + fperms 0755 /${dest}/pwsh + + dosym ../../${dest}/pwsh /usr/bin/pwsh-bin + use pwsh-symlink && dosym ../../${dest}/pwsh /usr/bin/pwsh +} -- cgit v1.2.3-65-gdbad