diff options
author | Carl Smedstad | 2023-04-15 22:58:07 +0200 |
---|---|---|
committer | Carl Smedstad | 2023-04-15 23:22:09 +0200 |
commit | befc92e7aa06744fb6885df6080f178363846b74 (patch) | |
tree | 7653199542e45dbe9b9fb47bf489f84b30a94995 /PKGBUILD | |
parent | a0efa12053e262f667b05350f215f291513a30f6 (diff) | |
download | aur-befc92e7aa06744fb6885df6080f178363846b74.tar.gz |
Publish version 7.3.4-3
I did a namcap scan of the package and given the warnings I fixed the
following:
* Remove dependencies that are explicitly satisfied via the
dotnet-runtime dependency.
* Add back openssl-1.1 dependency. This is needed by libmi.so which
still seems to be used. See:
https://github.com/PowerShell/PowerShell/issues/17193
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -7,13 +7,13 @@ pkgname=powershell _binaryname=pwsh pkgver=7.3.4 _pkgnum=${pkgver:0:1} -pkgrel=2 +pkgrel=3 pkgdesc='A cross-platform automation and configuration tool/framework (latest release)' arch=('x86_64') url='https://github.com/PowerShell/PowerShell' license=('MIT') -makedepends=('cmake' 'dotnet-sdk>=7.0.0') -depends=('krb5' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl' 'icu' 'dotnet-runtime') +makedepends=('cmake' 'dotnet-sdk' 'patchelf') +depends=('lttng-ust' 'dotnet-runtime' 'openssl-1.1') _googletest_commit_hash=4e4df226fc197c0dda6e37f5c8c3845ca1e73a49 _powershell_native_version=7.3.2 @@ -84,6 +84,10 @@ build() { ## Build powershell core dotnet publish --no-self-contained --configuration Linux "src/powershell-unix/" --output bin --runtime "linux-x64" + + file=src/powershell-unix/bin/Linux/net7.0/linux-x64/libmi.so + patchelf --replace-needed libcrypto.so.1.0.0 libcrypto.so.1.1 "$file" + patchelf --replace-needed libssl.so.1.0.0 libssl.so.1.1 "$file" } check() { |