diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-11-20 16:35:24 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-11-20 16:38:11 -0800 |
commit | 72bdb91fd35680a2e80e185f0eb4465c7d55781c (patch) | |
tree | fa55bf0895e871a553fd3b5ee31c0cff4d50208e /app-shells | |
parent | sys-fs/cryptsetup: drop external tokens patch (diff) | |
download | gentoo-72bdb91fd35680a2e80e185f0eb4465c7d55781c.tar.gz gentoo-72bdb91fd35680a2e80e185f0eb4465c7d55781c.tar.bz2 gentoo-72bdb91fd35680a2e80e185f0eb4465c7d55781c.zip |
app-shells/pwsh-bin: Bump to version 7.2.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/pwsh-bin/Manifest | 3 | ||||
-rw-r--r-- | app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 37fdbf37a6bb..c1a96ef4ce3a 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -1,3 +1,6 @@ DIST powershell-7.1.4-linux-arm32.tar.gz 64878390 BLAKE2B 5fd82e562b5db20f7d0b5335969eca6a0821bc7ee23aca6d60a0ef9f7fbf4888d515f8a1fabd5b5fdf8de6418abcfbad481bec5b3dd4635f072007ebc6ecb634 SHA512 cd48f644f483dcc8594aba1220912f731345cfe0316ef21ec1663d16fc36e95d2c6891a742bade31f3450e3cedbe689f7804ae8f90737ae23d04a39adb6c4171 DIST powershell-7.1.4-linux-arm64.tar.gz 63726773 BLAKE2B f59c75a8dfd9d12f7c41c3035524a4c9991923dfc04e8eb61f8440de1d110932c769f84806fb2b33a9179817d57179e1c70de7b3199c78023d75f22fbaad5a83 SHA512 7eca9d5c6cfe57b0920a49d4f22499f509c1125a5a91876f17bcadd1a6e049bf3bc9d0abf0bb460823d06b67c8c065abf100c8f989353c7f28f993c07b44005f DIST powershell-7.1.4-linux-x64.tar.gz 68255681 BLAKE2B 7a57298cdea29e430b67cad965d16f533fab67aaf7009db8cd68683f5e987dab48f12c779c87a0a1538a1ecf7ed2be25011578b7491a092d86f7d386ec8ac6a4 SHA512 b15098a1ab1fc357f0351fc2146e6be3f060ef90dd38ced2e3379b24a0bcb4f28a7c4c655509e62824c56ce905162a7c81bd0a853c5320bd8139a3a4178b97a1 +DIST powershell-7.2.0-linux-arm32.tar.gz 66486780 BLAKE2B ffc23554feca1e26da15e5c672a3eb9bc25befdbfe64f812cd80fd6820c94b94a8719170878e7852d6b48a7538295fa231b24f4f51013c0288c84a5990a0af1f SHA512 2d618c4600128011575e00e20437bf9a417b6fd60cfdb8450b218d17d1a0bed3f3e35bbd6a050ca1eb8d03a22995712cc739d73bcb03e22a494ffac1934c18eb +DIST powershell-7.2.0-linux-arm64.tar.gz 65020702 BLAKE2B bfb7fc46efe62252290cef124030bdcb24511c219c797e344bc4deb452b2051ef5b0d23977547efcba755eb11c6282b9fe9121cc6451e04cc640228e499bd08d SHA512 dcf534471b5ef909ec989496224bedd4b4a0c38ff8a7d7d81e9b01be68c9b1141ff76b2de3dd9f36b51277165c3cfa5a2c80b2a23c6204dc5d1a09dae40c8761 +DIST powershell-7.2.0-linux-x64.tar.gz 69653102 BLAKE2B 5a85f49f675047c86928fb733d12462351a25c079876c4d0a37ddc36f5a4ecf91fb3009b625f156f291099c51e189638e10bed51763e8fd458b70160f5ce8d61 SHA512 f07a038ef8e7c4894f78139c08739a605ce0deb79d2f0e9d5abb8be5fda31a1636804c99c0dceedd5798e08e353263c338b98b7477eb40ebfb875545b0cbf3fb diff --git a/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild new file mode 100644 index 000000000000..b3bb0706496a --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="PowerShell - binary precompiled for glibc" +HOMEPAGE="https://powershell.org/" +LICENSE="MIT" +QA_PREBUILT="*" +SRC_URI=" + amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz ) + arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz ) + arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-util/lttng-ust:0 + || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0/0 ) + sys-libs/pam:0/0 + sys-libs/zlib:0/1 + pwsh-symlink? ( !app-shells/pwsh ) +" +IUSE="+pwsh-symlink" +REQUIRED_USE="elibc_glibc" + +S=${WORKDIR} + +src_install() { + local dest=opt/pwsh broken_symlinks=(libcrypto.so.1.0.0 libssl.so.1.0.0) symlink + dodir "${dest}" + + 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" +} |