From a0ce545d52f231499bf9f3644493113d8af58ec9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 9 May 2024 00:01:03 +0100 Subject: gentoo auto-resync : 09:05:2024 - 00:01:03 --- app-shells/pwsh-bin/Manifest | 4 ++ app-shells/pwsh-bin/pwsh-bin-7.4.2.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 app-shells/pwsh-bin/pwsh-bin-7.4.2.ebuild (limited to 'app-shells/pwsh-bin') diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 280a8a394414..febd42bb7670 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -1,5 +1,9 @@ DIST powershell-7.4.1-linux-arm32.tar.gz 69199014 BLAKE2B f17f0ec3f87b39afd90a88dd7a21c3b8bcfec60aef6a6546f3019db76140a3f80732396ba148a72be6f49ea87d43fb5f4aa9c2f699d68783065c159a61b36653 SHA512 57a1e79ca1eed6793991d0de995dd5c439a95ddc59f8aafee24ed4cc72e6f4ef219e9ed3cde0e21e104c17012f385c2a2d039510258b327ecb4e1a0182852866 DIST powershell-7.4.1-linux-arm64.tar.gz 68192983 BLAKE2B f020f7b68591ce3347967239755c4afae7f681af0fa17c34a1d36d1c524f0c52ddbc53d46d21f8e0a4c18cba734b2596d2b60379cfa7926ef6260b59d4c40d37 SHA512 c42e9a4280da0a342c9d8bbe3a9def35a88cc5e464f6dace96862b8fde416463b9746a676032c096acc952d96ccf9dd15bb4c1604a1085cffeb4e4992b5c947a DIST powershell-7.4.1-linux-x64.tar.gz 70945165 BLAKE2B b9f66205bf7ded6682c3fe8639058b6b2a6cbc6cf12b9432970787e88edf3e58564b1a7713decad6c042d60d7a16ffe41726dbd6fda3ae0268f77eab46a42f44 SHA512 3193c28935e474421aabe1f2b1df185fc6f49ed8dc148b60fca9314af48950f0d80aa7872f14830a2c5297ca9c160cf9cfc6b364c94ba72d51da37b9ca590da4 +DIST powershell-7.4.2-linux-arm32.tar.gz 69243670 BLAKE2B fc9fed5cbe102758e13e7a2c74be8304460ce5e8bae3cac46e1f4aec570ded150c28d0e9e847ba89413effcc0d8ed9bd352240ad616a4104e89b580be69821a3 SHA512 662b1625cc340ef616d7d68d31ec6845be0e69d99f9b608b0e8ea4a3427ff43ecbe5991d9a8bf65643082d3800342bb273e44850ad830f8f37db3c58e2d4fc1d +DIST powershell-7.4.2-linux-arm64.tar.gz 68233646 BLAKE2B 5bf91f9f5ea32eeaf1075acb88830e97f4368c5f88d83fcdf7de02c1474f1f306a55a36ba7d9ec862a3c59c51c5ff56976b4309b9c26a66a06e50d8f2291e6b2 SHA512 b6eddc877c4fee9bb81cde8203e92504e5d33c3fe804d74fb2bb617825e359e42f30ec7b345b46cce8204b73084ea83986f45c4aaaa15771ea5eeb42a285d5fd +DIST powershell-7.4.2-linux-x64.tar.gz 70975224 BLAKE2B 5500161a8ad290c92e4a0cc4c3acc466514fdf42dabc826d0a8995f9867d26272f612b357225e6f412e20d6cf0ba9b8c3c42bef6af46b65d77d0db3b6e932f32 SHA512 148524245a11ce471ea58c83f4048ee4a4fef4add1071ea66c876ff041bee71322a80d9db8ad70665f168846c6074c96e327b481fb4190cf9f8652788fc32036 EBUILD pwsh-bin-7.4.1.ebuild 1585 BLAKE2B 371f214eb1a86f7b86bd6ad72279705b119ca71c2891b8082af458545d1f5eea58b3120ab5936ee013af7b25a554f75cb576bc9ec763b686ca5926fc7194be17 SHA512 e8180ff5f3f7a2d45691c6a389f50c115786f38fa6c510fabca4a05fae476896c59b1ea723982533a31de0a0de21197eb454528ca5dd030c7140b377d4b42ddd +EBUILD pwsh-bin-7.4.2.ebuild 1590 BLAKE2B e204eac6bb6b0190ea159d54a2dbd1d76518ffdd89e879c9ec15f9b091c0b7cce386e2c8a9d8afaeb7f8dacc1ac9ba0fee504ea94abc9d92496267a59ee4ff0e SHA512 2b4134e07e8e21220be6407f811126b50ee836f7def413d85879eac8398c27afadbef109cc326ea37104e8854e1e252324081534241951c7920760766cae253a MISC metadata.xml 980 BLAKE2B 645e3ca15511e0e88193911119ac54ada054ecc0ccd355bccd3c758f9d854fc4ec34af3aee4dc73edbedc8b983a71688bf2753ff3251b2f317138afb07792dc4 SHA512 e68ea742c9139352d2aa31853aaded6e26952a63971b7ce4473ab2931579b26807c127163b783f3cb602a0ddc59257034440eb337b874b3a2e8e6447a6d63b93 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.4.2.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.4.2.ebuild new file mode 100644 index 000000000000..e09b2d5daf99 --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.4.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit wrapper + +DESCRIPTION="Cross-platform automation and configuration tool (binary package)" +HOMEPAGE="https://microsoft.com/powershell/ + https://github.com/PowerShell/PowerShell/" + +BASE_URI="https://github.com/PowerShell/PowerShell/releases/download/" +SRC_URI=" + amd64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-x64.tar.gz ) + arm64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm64.tar.gz ) + arm? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm32.tar.gz ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64" +REQUIRED_USE="elibc_glibc" + +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-libs/icu + 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 + ) +" +IDEPEND=" + app-eselect/eselect-pwsh +" + +QA_PREBUILT="*" + +src_install() { + local -a broken_symlinks + broken_symlinks=( libcrypto.so.1.0.0 libssl.so.1.0.0 ) + + local symlink + for symlink in "${broken_symlinks[@]}" ; do + if [[ -L "${symlink}" ]] ; then + rm "${symlink}" || die "failed to remove ${symlink}" + fi + done + + local dest="opt/${PN}-${SLOT}" + local dest_root="/${dest}" + + insinto "${dest_root}" + doins -r . + + fperms 0755 "${dest_root}/pwsh" + + local gentoo_path='PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"' + make_wrapper "${PN}-${SLOT}" "env ${gentoo_path} ${dest_root}/pwsh" +} + +pkg_postinst() { + eselect pwsh update ifunset +} + +pkg_postrm() { + eselect pwsh update ifunset +} -- cgit v1.2.3