diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 06:11:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 06:11:21 +0100 |
commit | 8d839e24e6b6e9a28d945d1dc094e65e2b0ccc2d (patch) | |
tree | 5c70850cc5043e63ccc5501b8beb713d928a2935 /app-shells/pwsh-bin | |
parent | 82002be95de85b10f5953f5e10ced81a40ec1fba (diff) |
gentoo auto-resync : 11:10:2023 - 06:11:21
Diffstat (limited to 'app-shells/pwsh-bin')
-rw-r--r-- | app-shells/pwsh-bin/Manifest | 8 | ||||
-rw-r--r-- | app-shells/pwsh-bin/pwsh-bin-7.3.6-r1.ebuild (renamed from app-shells/pwsh-bin/pwsh-bin-7.3.6.ebuild) | 2 | ||||
-rw-r--r-- | app-shells/pwsh-bin/pwsh-bin-7.3.7-r1.ebuild (renamed from app-shells/pwsh-bin/pwsh-bin-7.3.7.ebuild) | 2 | ||||
-rw-r--r-- | app-shells/pwsh-bin/pwsh-bin-7.3.8.ebuild | 69 |
4 files changed, 77 insertions, 4 deletions
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 166e2bc048d8..fb2aea0e129e 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -4,6 +4,10 @@ DIST powershell-7.3.6-linux-x64.tar.gz 68984703 BLAKE2B 36df952abcf1bc116a4a0734 DIST powershell-7.3.7-linux-arm32.tar.gz 66617447 BLAKE2B be80d24a4cda6a59ca220c8a05c9a0c9b9770720f5f8db3184b120edb92f4d1a52f4d59328ff0b821e835aed55cc69d9191ee64913db0d8a1aa3f0ac62f82051 SHA512 49d81476d4d4aa7a1138b605baaadcdecbbfd768161c1cc7f0f448dd8038e55dca71290f3e3842ed526b18df7b5e4ac959f13eea04584e11a6a0f2de1af9c711 DIST powershell-7.3.7-linux-arm64.tar.gz 65519990 BLAKE2B 133264c94d0103faa14f65744abfc7837fe09bf878c85d50b7bc949bb784c6df3e8dc15a674c0c72cc1e91a8499e79a44cd8608affa5b7a2b8d46fa82cd74275 SHA512 fd7530a8ae6a81d13193f8e9da46ef598b5e0e13054f63350c8cf6d41bccff0764566eff6114287da88c2de0ed5b3e37cfc104547528b060a0a217420e0ac889 DIST powershell-7.3.7-linux-x64.tar.gz 69092859 BLAKE2B 9db34b8dd6f5254a8f8f2a87daa72cb8e3f12aecb5f9967f7e21646dad4a6af61bedf3387cc9eaf12382d1fe899195a294b59f6e63d43fb0f701bc2973aa82d5 SHA512 42e148a737afed971e61929e8315d59e1f6a118fc8f2982b0bf0a1d05d73628e99d77d4b4b12b99805f40e9c2425e8bf9dfae2fc7fd04b5b8ba4de236df1cd8f -EBUILD pwsh-bin-7.3.6.ebuild 1576 BLAKE2B 3098c557b01051628a0d87cd421d2bf64aa5c946089d68e94a16fb41d3be466e2f13527e8893fe908dd3f02b7a4f6f3ca16d0fb4b2d1888f729298c9b8d51f22 SHA512 c28128c1555fa5c93d77b5643423a1b22ddcb15267218b2a420acd0d962a70cecbd933188550674cd33d20b962255c28cafd5c5638cc5b1f17ed744b98e43828 -EBUILD pwsh-bin-7.3.7.ebuild 1577 BLAKE2B 25209f363792f2df3b7303795e250847798c7765b1d1a05e65bce1d1c581514760b7fc56f7a9ed84e1e9c90ed37ce4eb6939637790b00ee168eaa470d3a1f8b0 SHA512 3f35062bdf0ff7b21288e72380704d955383fc30dc3c4bcefd6b225d88835d0144627b6f3ca6e167c882b7b6a0b729da405cad97349ca30711c8d49786a2b8cb +DIST powershell-7.3.8-linux-arm32.tar.gz 66622219 BLAKE2B 187c13065d7db2d01541e36c888fb59b24b05e10b0b85b73c9a3ca2a3f93d49e1aa17734fbf04bcdb5c350c151dd49394caa0eed6d16105bee7608784fe516d5 SHA512 967c49c1d1644d4bf188b06dd67ee92eb292c3a3232b63d49608fcc1ec23caed2cc1b9bd5035902ac91610e4bf0def7c311be984350bcfcd170dae7ffb8c79cf +DIST powershell-7.3.8-linux-arm64.tar.gz 65538450 BLAKE2B 3e9e1e0f116b1bbeaf832116efb926a31cd73032f3ffc364ef8f9dd7a18cd7b3a6111c71d0af2d91ebbed59166a734efaeb526d88f930ed4474560e3c122649c SHA512 7163d57eb593dda5a8f8df181d6477b8a48fa5f0cc169a91188740b166bded7f67e7533999023fe5f31357c6066ca357608aab8d82b4c16a37e9c4260cd5f751 +DIST powershell-7.3.8-linux-x64.tar.gz 69101356 BLAKE2B a96efbe39a1917244dbd8da51b41d9944fc871c30c0efcb34e66dad35990be27e899a570be25473ae94a2703e5c0349fa7ba514c29ed108287f471b0ec957236 SHA512 d2cd1619fc4e1c26166cf4d3f5fcf9595d4efad4099cbca7593dc048fdc199e90ffabc157b99f0d3c623ece17d95d8587192597d34172aaf398393a6af6c96eb +EBUILD pwsh-bin-7.3.6-r1.ebuild 1586 BLAKE2B fd20127d40f52c5f7b8ceda0f32a81e74852ab6cca3febf18f6c2899ee34ef6c27e481dc08f3847ffb1ec69a6bf8932e6647e1488a007e06bdeb038292f720e0 SHA512 31c1f0c9400a0ba8ed6903325855ba37d7ced358fcdd823f77c15fd5581159487a793bf1c32f6c5ba5bdcfcef03599b7bcd98d2f296cd727fbca3d9a55925e5b +EBUILD pwsh-bin-7.3.7-r1.ebuild 1587 BLAKE2B b08828c1fa5cf86ebad55537d7cf5703420d91ee41c1cafae963ca02c62851570fbea1f2d5a9ab80083490f426e7e446b3ca06306d080c71e19423e6a3740d04 SHA512 55473dc99ea63635da7fa308dd93a7140bf7b03a81107ddf9e69080112b9774027d77061b07a9c2f2d08898e6a9b345e1332165457e3f0c0abaa4a39bba54e8d +EBUILD pwsh-bin-7.3.8.ebuild 1587 BLAKE2B b08828c1fa5cf86ebad55537d7cf5703420d91ee41c1cafae963ca02c62851570fbea1f2d5a9ab80083490f426e7e446b3ca06306d080c71e19423e6a3740d04 SHA512 55473dc99ea63635da7fa308dd93a7140bf7b03a81107ddf9e69080112b9774027d77061b07a9c2f2d08898e6a9b345e1332165457e3f0c0abaa4a39bba54e8d MISC metadata.xml 980 BLAKE2B 645e3ca15511e0e88193911119ac54ada054ecc0ccd355bccd3c758f9d854fc4ec34af3aee4dc73edbedc8b983a71688bf2753ff3251b2f317138afb07792dc4 SHA512 e68ea742c9139352d2aa31853aaded6e26952a63971b7ce4473ab2931579b26807c127163b783f3cb602a0ddc59257034440eb337b874b3a2e8e6447a6d63b93 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.6.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.6-r1.ebuild index 8b0cee74b025..748d3db6ec06 100644 --- a/app-shells/pwsh-bin/pwsh-bin-7.3.6.ebuild +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.6-r1.ebuild @@ -56,7 +56,7 @@ src_install() { fperms 0755 "${dest_root}/pwsh" - local gentoo_path='PSModulePath="${PSModulePath}:/usr/share/GentooPowerShell/Modules:"' + local gentoo_path='PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"' make_wrapper "${PN}-${SLOT}" "env ${gentoo_path} ${dest_root}/pwsh" } diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.7.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.7-r1.ebuild index 94b1b6ce19ec..d5dc3e03bc4a 100644 --- a/app-shells/pwsh-bin/pwsh-bin-7.3.7.ebuild +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.7-r1.ebuild @@ -56,7 +56,7 @@ src_install() { fperms 0755 "${dest_root}/pwsh" - local gentoo_path='PSModulePath="${PSModulePath}:/usr/share/GentooPowerShell/Modules:"' + local gentoo_path='PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"' make_wrapper "${PN}-${SLOT}" "env ${gentoo_path} ${dest_root}/pwsh" } diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.8.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.8.ebuild new file mode 100644 index 000000000000..d5dc3e03bc4a --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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 +} |