Package Details: powershell-bin 7.4.2-1

Git Clone URL: https://aur.archlinux.org/powershell-bin.git (read-only, click to copy)
Package Base: powershell-bin
Description: A cross-platform automation and configuration tool/framework (binary package)
Upstream URL: https://github.com/Powershell/Powershell
Licenses: MIT
Conflicts: powershell
Provides: powershell
Submitter: thamerla
Maintainer: kylesferrazza (carsme)
Last Packager: carsme
Votes: 62
Popularity: 1.55
First Submitted: 2017-05-07 11:30 (UTC)
Last Updated: 2024-04-15 10:57 (UTC)

Required by (7)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

carsme commented on 2022-05-27 12:25 (UTC)

@leonardder I've published a new pkgver that should work for both aarch64 and armv7h. Can you ensure it works for you?

One downside to this is that we lose the manpages. In my mind this is a fair trade, if anyone disagrees, let me know.

leonardder commented on 2022-05-27 05:48 (UTC)

Could you please consider using the .tar.gz sources for this package and add support for the aarch64 architecture in the process?

eNV25 commented on 2022-02-24 03:06 (UTC)

Should depend on lttng-ust2.12 instead of lttng-ust?

carsme commented on 2022-01-05 01:23 (UTC)

@jakebailey I did some testing and it seems to work fine without openssl-1,0 as far as I can tell. No problems running:

Invoke-RestMethod -SslProtocol Tls12 https://google.com

I'll push a new pkgrel with the dependency removed and we'll see if any issues surfaces when people upgrade.

jakebailey commented on 2021-12-27 02:28 (UTC)

I posted this on the other powershell package, but I'll ask here as this is affected too: Does this package need openssl-1.0? dotnet has been able to use 1.1 (what's in the Arch repos) for a while now, and switching the PKGBUILD (so I don't have openssl-1.0 installed) still produces a usable pwsh. IIRC dotnet programs are smart enough to pick up the newest available one, but maybe I'm not testing this enough to tell if it breaks.

fsociety3765 commented on 2021-11-30 09:32 (UTC)

Hi, Is this package going to be updated? Is it still being maintained?

carsme commented on 2021-11-28 11:35 (UTC)

Hey, this has been out-of-date for a while. Would you like help with the maintenance?

ShroudedNight commented on 2021-03-03 21:53 (UTC) (edited on 2021-03-03 21:57 (UTC) by ShroudedNight)

In re curl, I'm not sure where the previous poster found the dependency, the obvious sources don't seem to rely on it:

$ find pkg -name '*.so*' | xargs -L1 ldd 2>/dev/null | awk -e '{print $3}' | sort -u | xargs -L1 pacman -Qo
error: No package owns /home/user/pkg-build/powershell-bin/pkg/powershell-bin/opt/microsoft/powershell/7/libmi.so
error: No package owns /home/user/pkg-build/powershell-bin/pkg/powershell-bin/opt/microsoft/powershell/7/libmscordaccore.so
/usr/lib/libaudit.so.1 is owned by audit 3.0-1
/usr/lib/libcap-ng.so.0 is owned by libcap-ng 0.8.2-1
/usr/lib/libcom_err.so.2 is owned by e2fsprogs 1.46.1-1
/usr/lib/libcrypto.so.1.0.0 is owned by openssl-1.0 1.0.2.u-1
/usr/lib/libc.so.6 is owned by glibc 2.33-4
/usr/lib/libdl.so.2 is owned by glibc 2.33-4
/usr/lib/libgcc_s.so.1 is owned by gcc-libs 10.2.0-6
/usr/lib/libgssapi_krb5.so.2 is owned by krb5 1.18.3-1
/usr/lib/libk5crypto.so.3 is owned by krb5 1.18.3-1
/usr/lib/libkeyutils.so.1 is owned by keyutils 1.6.3-1
/usr/lib/libkrb5.so.3 is owned by krb5 1.18.3-1
/usr/lib/libkrb5support.so.0 is owned by krb5 1.18.3-1
/usr/lib/liblttng-ust.so.0 is owned by lttng-ust 2.12.0-3
/usr/lib/liblttng-ust-tracepoint.so.0 is owned by lttng-ust 2.12.0-3
/usr/lib/libm.so.6 is owned by glibc 2.33-4
/usr/lib/libnuma.so.1 is owned by numactl 2.0.14-1
/usr/lib/libpam.so.0 is owned by pam 1.5.1-1
/usr/lib/libpthread.so.0 is owned by glibc 2.33-4
/usr/lib/libresolv.so.2 is owned by glibc 2.33-4
/usr/lib/librt.so.1 is owned by glibc 2.33-4
/usr/lib/libssl.so.1.0.0 is owned by openssl-1.0 1.0.2.u-1
/usr/lib/libstdc++.so.6 is owned by gcc-libs 10.2.0-6
/usr/lib/liburcu-bp.so.6 is owned by liburcu 0.12.2-1
/usr/lib/liburcu-cds.so.6 is owned by liburcu 0.12.2-1
/usr/lib/liburcu-common.so.6 is owned by liburcu 0.12.2-1
/usr/lib/libz.so.1 is owned by zlib 1:1.2.11-4
$ find pkg -executable -type f | xargs ldd | awk -e '{print $3}' | sort -u | xargs -L1 pacman -Qo
/usr/lib/ld-linux-x86-64.so.2 is owned by glibc 2.33-4
/usr/lib/libc.so.6 is owned by glibc 2.33-4
/usr/lib/libdl.so.2 is owned by glibc 2.33-4
/usr/lib/libgcc_s.so.1 is owned by gcc-libs 10.2.0-6
/usr/lib/libm.so.6 is owned by glibc 2.33-4
/usr/lib/libpthread.so.0 is owned by glibc 2.33-4
/usr/lib/libstdc++.so.6 is owned by gcc-libs 10.2.0-6

kgizdov commented on 2020-10-23 12:47 (UTC) (edited on 2020-10-23 12:52 (UTC) by kgizdov)

package seems to depend on curl and the LICENSE is not placed in correct dir. There are also two broken symlinks, which can be all fixed by:

diff --git a/PKGBUILD b/PKGBUILD
index 009f8f2..1cdd872 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,11 +4,12 @@
 pkgname=powershell-bin
 _pkgver=7.0.3
 pkgver=${_pkgver/-/.}
-pkgrel=1
+pkgrel=2
 pkgdesc='A cross-platform automation and configuration tool/framework (binary package)'
 arch=('x86_64')
+license=('MIT')
 url='https://github.com/Powershell/Powershell'
-depends=('krb5' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl-1.0' 'icu')
+depends=('krb5' 'curl' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl-1.0' 'icu')
 provides=('powershell')
 conflicts=('powershell')
 options=(staticlibs !strip)
@@ -26,5 +27,12 @@ package() {
   cp -r usr/local/share usr
   rm -rf usr/local

+  # fix symlinks
+  ln -sf /usr/lib/libcrypto.so.1.0.0 opt/microsoft/powershell/7/libcrypto.so.1.0.0
+  ln -sf /usr/lib/libssl.so.1.0.0 opt/microsoft/powershell/7/libssl.so.1.0.0
+
+  install -d "usr/share/licenses/${pkgname}"
+  ln -s /opt/microsoft/powershell/7/LICENSE.txt "usr/share/licenses/${pkgname}/LICENSE"
+
   chmod 755 "opt/microsoft/powershell/${_pkgver:0:1}/pwsh"
 }

ohkeenan commented on 2020-08-30 20:10 (UTC)

Anyone else having an issue with pwsh taking > 60 seconds to load?

Once it's done whatever initialization stuff it does it runs fine but it takes around 60 seconds to get from:

PowerShell 7.0.3
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/powershell
Type 'help' to get help.`

To:

PS /home/user>

I read on the github issues some people say it's checking for updates and you can disable that with an env variable but it sounds like it's unsupported on linux thus far. Or maybe it's just me?