summaryrefslogtreecommitdiff
path: root/app-shells/pwsh-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-24 03:46:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-24 03:46:27 +0000
commit58177544118b9a8393d7501ee5e0e35cd32f2ad4 (patch)
tree050a5a81c15bb828e5b6fb18d1386aa35673c416 /app-shells/pwsh-bin
parent0530006d7f63d6c158b4ff5ea0c3f7ef3bae9cc4 (diff)
gentoo auto-resync : 24:02:2023 - 03:46:27
Diffstat (limited to 'app-shells/pwsh-bin')
-rw-r--r--app-shells/pwsh-bin/Manifest6
-rw-r--r--app-shells/pwsh-bin/metadata.xml6
-rw-r--r--app-shells/pwsh-bin/pwsh-bin-7.3.3.ebuild51
3 files changed, 59 insertions, 4 deletions
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
index 1cfa702cfc3b..64f775ed6984 100644
--- a/app-shells/pwsh-bin/Manifest
+++ b/app-shells/pwsh-bin/Manifest
@@ -4,6 +4,10 @@ DIST powershell-7.3.1-linux-x64.tar.gz 71616643 BLAKE2B 16ecc1211f796f92d5cf64ac
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
+DIST powershell-7.3.3-linux-arm32.tar.gz 69047872 BLAKE2B 864ff7619290cb509f46e635afd74043c488922a7fe26585a4221b6d9f9780a10c2abb221d8db1c93ca86119956f7bfa0aedcb64fa2bea37a87fa604692d30bd SHA512 99b2eb2b6d420c84be24491b04b3f2aa2602b473187d55cf55e5fd826cbd34d6da5fa04ea28a026fe6eb852d88d2106ddab8ac24e29d539893daf91cc8a96eb6
+DIST powershell-7.3.3-linux-arm64.tar.gz 67958251 BLAKE2B 86ad243deeabb7173ba61ea51e7b66b2201301c210a56dad5b72d2e389f1430b6a361c7cc895edcd8028034cefab61d8c00d2a90a2c6bf02ffd2b77ce19515de SHA512 62ef16ac9d376af91d47b51d18bedd932ea7886c19b84d16657e9080f6b07e215057cf1588ad7816760b73395545e2f436d40b8a323d3c1b608ce056bb6c6ee0
+DIST powershell-7.3.3-linux-x64.tar.gz 71548865 BLAKE2B ab09580a57371fcbe1638b14d86531a74953c8d8093f2c88f2d13f0611459660ca41d05a92f2333f6086c9ed94fa5c865a066a4e17d195f034de77c75fd7e80b SHA512 e53ebe4eb3dc2e4fcd63b997a819828a8234c37334aafff158af98bcaaef743bfe64c00247224c35ddc04a3d227c8cf859a3f1f261f3cf4f9f57257008f59b86
EBUILD pwsh-bin-7.3.1.ebuild 1240 BLAKE2B e4f47efbdcb57fd8506401b458b1823beabb2788672d300b7caa12ca6be6e59f5c0fec4775239a8ec549fb9f1bc7dc5fc12c35c03192c7f41e4266c434defd1e SHA512 f953dfe495db0d0067ad6261963836758670edd52afbf0dce65a6018525bb9ad96beeb2d390957ea51fdef38daac4b5860c2be652a6458abb17d1924b2110266
EBUILD pwsh-bin-7.3.2.ebuild 1241 BLAKE2B ae06b08edc55cd0748a3a6094266e3364b2fe023c7255b2aa263ff13a47e93d88ba52c6861b25b26647418685b59ba362e02c0a9176102b45729428874ffcfa7 SHA512 d48c87e006e2107b3c44f4dc1bae0e3ff9509e70dfcb6674bc30c62479ea7d6c7794ef649b8764b6f1ee11d6a5d110efab37cc8018757a6d300a2df69565e199
-MISC metadata.xml 1070 BLAKE2B 9616cf914367f675def22b3f559bdb84698bf0e3f21dada073a67fba4ad1788c31d329b3948056faaccb79b4f64dea71c87c4718de5323b77fe3609420e06516 SHA512 5de9a4144315f5d48df09163cf6f58ecf068ec60444db72ac08ed8dd87eaf4dfa6d864b87f505c04ad2df727a19a4710cbabf06a2afa1ebd828c29dc291608f0
+EBUILD pwsh-bin-7.3.3.ebuild 1241 BLAKE2B ae06b08edc55cd0748a3a6094266e3364b2fe023c7255b2aa263ff13a47e93d88ba52c6861b25b26647418685b59ba362e02c0a9176102b45729428874ffcfa7 SHA512 d48c87e006e2107b3c44f4dc1bae0e3ff9509e70dfcb6674bc30c62479ea7d6c7794ef649b8764b6f1ee11d6a5d110efab37cc8018757a6d300a2df69565e199
+MISC metadata.xml 1082 BLAKE2B 3e1c57488ad6b31f13445a9480cc9bd8ece18c74862f4ca351ca8f51e9988826bfedb7f7db454736e7ec4d87b8a88b1d03ddfd8220ceda489f804b0fd3f4772a SHA512 d3dae7c30399deef091ed6f7a80e6de1af9b96cd31a3170d4774bd961460b279d94b516af057c4045dfc8346d7e1dd97238c1652e2f5ba7e0039f6fb9b2203c8
diff --git a/app-shells/pwsh-bin/metadata.xml b/app-shells/pwsh-bin/metadata.xml
index afa9728401cc..91d3a1445aeb 100644
--- a/app-shells/pwsh-bin/metadata.xml
+++ b/app-shells/pwsh-bin/metadata.xml
@@ -2,9 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>xgqt@gentoo.org</email>
- <name>Maciej Barć</name>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
</maintainer>
<longdescription>
PowerShell Core is a cross-platform automation and configuration
diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.3.ebuild
new file mode 100644
index 000000000000..c0d59b29fa41
--- /dev/null
+++ b/app-shells/pwsh-bin/pwsh-bin-7.3.3.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
+}