From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B2F9158020 for ; Tue, 13 Dec 2022 20:36:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A6A2E0886; Tue, 13 Dec 2022 20:36:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FD72E0886 for ; Tue, 13 Dec 2022 20:36:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23EA6340B37 for ; Tue, 13 Dec 2022 20:36:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B5C7780 for ; Tue, 13 Dec 2022 20:36:34 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1670963790.bbe81c73225fed47bc0f36d5ff4f4fe7e688e6c9.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/pwsh-bin/Manifest app-shells/pwsh-bin/pwsh-bin-7.3.1.ebuild X-VCS-Directories: app-shells/pwsh-bin/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: bbe81c73225fed47bc0f36d5ff4f4fe7e688e6c9 X-VCS-Branch: master Date: Tue, 13 Dec 2022 20:36:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a5a0731-2321-4850-903c-e68d366deeb0 X-Archives-Hash: ec0091cd5689711d2d340e52070fefd7 commit: bbe81c73225fed47bc0f36d5ff4f4fe7e688e6c9 Author: Maciej Barć gentoo org> AuthorDate: Tue Dec 13 20:32:01 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Dec 13 20:36:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe81c73 app-shells/pwsh-bin: bump to 7.3.1 Signed-off-by: Maciej Barć gentoo.org> app-shells/pwsh-bin/Manifest | 3 ++ app-shells/pwsh-bin/pwsh-bin-7.3.1.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 24d7e8e13d11..33207517c8d0 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -4,3 +4,6 @@ DIST powershell-7.2.7-linux-x64.tar.gz 69431855 BLAKE2B 0a4fe34368abb5572cf86cc2 DIST powershell-7.3.0-linux-arm32.tar.gz 69194812 BLAKE2B e7862a69a75e78cca34738de3547102a7307550e36c562e48035695ee8e231489d0538f3da83faf0e4b9d76f369a061e3d7ddae7a85bf0833bd576902d800e78 SHA512 bdd5bac4d40c12877a3c721244974a2d56335437cb148e9ee3193e9df5969d709273897146f72ac0455567511bb21133f49fd85b733c0e26d9c15d6f9a8e1dc4 DIST powershell-7.3.0-linux-arm64.tar.gz 68106561 BLAKE2B ff29f702e9fcf8d25cd44033851c120c8668aa083cbbdd2620526fac16ace2455d53456986813174d1da6a273cb6bf6936a7284cac614dbdf9af5252a56303c3 SHA512 7de1bd364289c3722f0956d83a9478ed9e7adfe572342b39afd838a0fce949ac9bc6420b1a8edcdbf390584ef5fee28caa55ea2d17d11b7da2cb7fbbf63ee792 DIST powershell-7.3.0-linux-x64.tar.gz 71703612 BLAKE2B 0f741bded009758e0aa52104c9825b3f72f6806595dbc614b823a33f42b6727b4a5f5c785b93d79132252dc88dbc6a72b17e0cf64d3d17090346c773cbb844d4 SHA512 3610643fe842c2414a53277e3b3c102203ed9978f0f489175fea230a15e416a8f929e36e69a3d62cd242d8e01568c68906daf82816dff220bb1dc0aec164782c +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 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.1.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.1.ebuild new file mode 100644 index 000000000000..80d334fc9d07 --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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 +}