Package Details: aws-session-manager-plugin 1.2.536.0-1

Git Clone URL: https://aur.archlinux.org/aws-session-manager-plugin.git (read-only, click to copy)
Package Base: aws-session-manager-plugin
Description: AWS Session Manager Plugin for aws-cli.
Upstream URL: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
Keywords: aws aws-cli plugin session-manager
Licenses: Apache
Submitter: CallumDenby
Maintainer: ChrisLane
Last Packager: ChrisLane
Votes: 13
Popularity: 0.002850
First Submitted: 2019-09-17 12:47 (UTC)
Last Updated: 2024-01-09 11:14 (UTC)

Latest Comments

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

P67 commented on 2022-03-15 12:29 (UTC)

Bumped the version. The patch concerning checksums I'll implement in either next release or asap as well. Thanks!

bobsaintcool commented on 2022-03-07 23:08 (UTC)

In addition to @yan12125 patch could you consider bumping the version to the last release please?

Below is another patch:

@@ -3,7 +3,7 @@
 # Contributor: Callum Denby

 pkgname=aws-session-manager-plugin
-pkgver=1.2.279.0
+pkgver=1.2.295.0
 pkgrel=1
 pkgdesc="AWS Session Manager Plugin for aws-cli."
 arch=('x86_64')
@@ -13,7 +13,7 @@ depends=('aws-cli')
 backup=('usr/lib/systemd/system/session-manager-plugin.service' 'usr/sessionmanagerplugin/LICENSE' 'usr/sessionmanagerplugin/seelog.xml' 'usr/sessionmanagerplugin/VERSION')
 options=('!strip' '!emptydirs')
-source_x86_64=(https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
+source_x86_64=("${pkgname}-${pkgver}.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
-sha512sums_x86_64=('aa796a7b7512a43d6e4b678832befb6b956e464417a595f5cb581001a26d1493c11688b241959353cc93a6653e7717d23ca247be2941ef15cd211a1e9b73af49')
+sha512sums_x86_64=('df1ef448487e5577a8c09d5de90c9a18628ee354ebfeb303565f97017e7ae0e61f380c2d330e858d7d334806b5fa2aae7c7fde16478c661590583a8c93115c5a')

yan12125 commented on 2022-02-19 18:05 (UTC)

Even when Amazon does not replace files, checksums can still fail as deb files for different versions are downloaded as the same name. Please reconsider adding $pkgname-$pkgver.deb to the source array as suggested by @gdamjan and Arch package guidelines [1]. Here is the complete patch:

diff --git a/PKGBUILD b/PKGBUILD
index 161aea3..5c67d19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ license=('custom')
 depends=('aws-cli')
 backup=('usr/lib/systemd/system/session-manager-plugin.service' 'usr/sessionmanagerplugin/LICENSE' 'usr/sessionmanagerplugin/seelog.xml' 'usr/sessionmanagerplugin/VERSION')
 options=('!strip' '!emptydirs')
-source_x86_64=(https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
+source_x86_64=($pkgname-$pkgver.deb::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
 sha512sums_x86_64=('aa796a7b7512a43d6e4b678832befb6b956e464417a595f5cb581001a26d1493c11688b241959353cc93a6653e7717d23ca247be2941ef15cd211a1e9b73af49')

 package(){

[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_sources

vanaoff commented on 2021-11-21 19:40 (UTC)

Hey, I think pkgrel in .SRCINFO was forgotten to bump to 2.

P67 commented on 2021-09-28 17:51 (UTC)

Hey hey, sorry missed that one. - Adjusted in release 2 now.

@SpineEyE: The PKGBUILD does refer to a ${pkgver}: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=aws-session-manager-plugin#n15

christoph.gysin commented on 2021-09-28 12:19 (UTC) (edited on 2021-09-28 12:19 (UTC) by christoph.gysin)

.SRCINFO still refers to 1.2.234.0: https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=aws-session-manager-plugin#n15

SpineEyE commented on 2021-09-23 14:45 (UTC)

Download validation fails. You should use ${pkgver} in the source location.

P67 commented on 2021-08-27 09:24 (UTC)

Hey @dhummel.

Indeed, I've released a new pkgrel, removing these extra spaces. Thanks!

dhummel commented on 2021-08-11 04:46 (UTC) (edited on 2021-08-11 04:51 (UTC) by dhummel)

There seems to be some extra spaces after pkgver:

diff --git a/PKGBUILD b/PKGBUILD
index 4d21d36..335b629 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Callum Denby <me@callumdenby.com>

 pkgname=aws-session-manager-plugin
-pkgver=1.2.234.0       
+pkgver=1.2.234.0
 pkgrel=1
 pkgdesc="AWS Session Manager Plugin for aws-cli."
 arch=('x86_64')

ElijahLynn commented on 2021-07-09 21:33 (UTC) (edited on 2021-07-09 21:34 (UTC) by ElijahLynn)

For those getting the validity check failure and using yay:

rm -rf ~/.cache/yay/aws-session-manager-plugin/