summaryrefslogtreecommitdiff
path: root/app-shells/pwsh-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-shells/pwsh-bin
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'app-shells/pwsh-bin')
-rw-r--r--app-shells/pwsh-bin/Manifest4
-rw-r--r--app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild43
2 files changed, 47 insertions, 0 deletions
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
index 42e30f36f6e4..baacf8802599 100644
--- a/app-shells/pwsh-bin/Manifest
+++ b/app-shells/pwsh-bin/Manifest
@@ -1,5 +1,9 @@
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
EBUILD pwsh-bin-7.1.4.ebuild 1287 BLAKE2B bdb3b0a23c1a221c63bee62aadf77d9693c1150deb72cb22b57667757722c6d9fa23983fda501b337b8a481bccce5560254e04ad12a5b2d6757b585fa9ce3a6e SHA512 e710923e2d519e16fa5a54426f1c5ecba30f1cd66049392908b64a254ff5c951656c648b1b22aaec91ac7bbab96d0b0308862cd8bf476f0fbd70b2b722d82ae5
+EBUILD pwsh-bin-7.2.0.ebuild 1287 BLAKE2B bdb3b0a23c1a221c63bee62aadf77d9693c1150deb72cb22b57667757722c6d9fa23983fda501b337b8a481bccce5560254e04ad12a5b2d6757b585fa9ce3a6e SHA512 e710923e2d519e16fa5a54426f1c5ecba30f1cd66049392908b64a254ff5c951656c648b1b22aaec91ac7bbab96d0b0308862cd8bf476f0fbd70b2b722d82ae5
MISC metadata.xml 626 BLAKE2B c3e343aaa8fe2ec1f7ec144a3166e5ac491e8621fc92a7d05d02016b122de7e94008ef5c9001c87b94fd6e1ca3ae9111dffdc5529413c6e40c0648c112eb8c52 SHA512 be17be51024269bda318601aa1a852a2b14309c975523bd6f4a928aa4f0a37309fb19de58cab1ee92f90fca0dd2b65e739b8c38215c0bbaec02014d0f8a69c3e
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"
+}