powershell-bin: 6.2.4 bump

This commit is contained in:
blshkv 2020-01-28 11:10:13 +08:00
parent 2a3189d3ee
commit ad2f0e0623
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 41 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST powershell-6.2.3-1.rhel.7.x86_64.rpm 57013496 BLAKE2B c3fd9aa246590305d54beb1ab704f7f7f4258a4b64bdee8a159c31e4f1ebcd5ed83b0bde0ca94b7a5cc3f7e7490b0fe85467c099ca71e8b9cddd65146a02986c SHA512 c17e7e22a7893d90dfcca91b461020e02c90aadffda939e08a203f9cb9eb4079fddf1b02ae0fa2d1a3024a1c3b9d2259f3eed58c5fe16ae2356835b9dd2eb3fb
DIST powershell-6.2.4-1.rhel.7.x86_64.rpm 57019819 BLAKE2B 1baa51915f7daabd87dd0f970b240116ed810123a3cb7cd056d8f87754f32e2e8006f3c190055f532f21381044b37c91ec8d74a763cb2c5d0ec15bab2290c576 SHA512 a079df4b7bf98e1ed3a02357ba5562faa2f358093ac25ecbdc649661bb2fc04eef1f9082be67951bb4d269f68dd68fdf54f4cf4e3258e7197004b498f63edfa2

View file

@ -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-compat: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
}