diff --git a/dev-lang/powershell-bin/Manifest b/dev-lang/powershell-bin/Manifest index 736b43814..2d5fa347e 100644 --- a/dev-lang/powershell-bin/Manifest +++ b/dev-lang/powershell-bin/Manifest @@ -1,2 +1,3 @@ DIST powershell-6.2.0-1.rhel.7.x86_64.rpm 57456764 BLAKE2B 08ceb70857eac402565e374fbc5270e6f8c63b8314b61bfb41dd8c29f6a196509229b46cd9f193df0102bb685c2b6ed7c6c7d12a788b83bf770da47abf1d4880 SHA512 5224556f259c95e23932f7dff90371eabfe6e5420383d59435f56f953a222dd641452ce29675d68e3631faef43c060dd0318e0a602e1701a07dd821f5137dd3d DIST powershell-6.2.1-1.rhel.7.x86_64.rpm 57399197 BLAKE2B 0a87f6ef424c0ac6a07a69f78546b9bf824806aa2e970c133c3ab82a145e0cfd52503adda220e0d05c3f47f9a26e1562a0c0e6372e1e693a41751d2bc9a895f4 SHA512 660a422b0b94d3fabba46805920bb609dae5e61676e0fc92eff20f3cddf6dfd53a524c0ecc5d09a77408448558266fefc5bb791e6e2689b603d38e43d996c10b +DIST powershell-6.2.2-1.rhel.7.x86_64.rpm 57399906 BLAKE2B 7f4ffcc6ceb0820df3e38b352047fac9fb7bf33e65ee8f3b79e8c2558a23f97834707dcd6e832d73f8d2d8cb0f174bd080347dacbe8c526160d43a261259e15b SHA512 62745b83f9d4d2ad12bc1290364a141f9c4314df1842773bf817020a80d0bee10d172152f77e5b931097b41293f52e71699e7bceff1879b1bdaa23f02809be39 diff --git a/dev-lang/powershell-bin/powershell-bin-6.2.2.ebuild b/dev-lang/powershell-bin/powershell-bin-6.2.2.ebuild new file mode 100644 index 000000000..98585c41c --- /dev/null +++ b/dev-lang/powershell-bin/powershell-bin-6.2.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm + +DESCRIPTION="A cross-platform automation and configuration tool/framework" +HOMEPAGE="https://github.com/Powershell/Powershell" +SRC_URI=" + amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-1.rhel.7.x86_64.rpm ) +" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + dev-libs/icu + sys-libs/libunwind + || ( =dev-libs/openssl-1.0* dev-libs/openssl:1.0.0 )" + +QA_PREBUILT="/opt/microsoft/*" + +S="${WORKDIR}" + +src_prepare() { + #fix symlinks + rm opt/microsoft/powershell/6/{libcrypto.so.1.0.0,libssl.so.1.0.0} + default +} + +src_install() { + # Using doins -r would strip executable bits from all binaries + cp -pPR "${S}"/{opt,usr/bin} "${D}"/ || die "Failed to copy files" + dosym "${EPREFIX}/usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/microsoft/powershell/6/libcrypto.so.1.0.0 + dosym "${EPREFIX}/usr/$(get_libdir)/libssl.so.1.0.0" /opt/microsoft/powershell/6/libssl.so.1.0.0 +}