app-crypt/rolesanywhere-credential-helper - 1.8.6 (nest)

Search

Install

Install this version:

emerge -a =app-crypt/rolesanywhere-credential-helper-1.8.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-crypt/rolesanywhere-credential-helper-1.8.6

Or alternatively:

emerge --autounmask-write -a =app-crypt/rolesanywhere-credential-helper-1.8.6

Package Information

Description:
AWS IAM Roles Anywhere Credential Helper
Homepage:
https://github.com/aws/rolesanywhere-credential-helper
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.8.6 9 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit go-module shell-completion

DESCRIPTION="AWS IAM Roles Anywhere Credential Helper"
HOMEPAGE="https://github.com/aws/rolesanywhere-credential-helper"
SRC_URI="https://github.com/aws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/SpiderX/portage-overlay/releases/download/${P}/${P}-deps.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND=">=dev-lang/go-1.27.3
	test? ( dev-libs/openssl )"

src_compile() {
	LDFLAGS="-w -X github.com/aws/rolesanywhere-credential-helper/cmd.Version=${PV}"
	ego build -ldflags "${LDFLAGS}" -o bin/aws_signing_helper

	local completion
	for completion in bash fish zsh ; do
		edo ./bin/aws_signing_helper completion "${completion}" > aws_signing_helper."${completion}" \
			|| die "completion for ${completion} failed"
	done
}

src_test() {
	emake test-certs

	# PKCS#11 and TPM tests require test fixtures and emulators
	ego test ./... -skip 'TestPKCS11Signer$|TestTPMSigner'
}

src_install() {
	einstalldocs
	dobin bin/aws_signing_helper

	newbashcomp aws_signing_helper.bash aws_signing_helper
	newfishcomp aws_signing_helper.fish aws_signing_helper
	newzshcomp aws_signing_helper.zsh _aws_signing_helper
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-crypt/rolesanywhere-credential-helper | euse -E <flag> -p app-crypt/rolesanywhere-credential-helper | euse -D <flag> -p app-crypt/rolesanywhere-credential-helper

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.27.3
	test? ( dev-libs/openssl )

Manifest for 1.8.6

Type File Size Source URLs
DIST rolesanywhere-credential-helper-1.8.6-deps.tar.xz 51619580 bytes https://github.com/SpiderX/portage-overlay/releases/download/rolesanywhere-credential-helper-1.8.6/rolesanywhere-credential-helper-1.8.6-deps.tar.xz
DIST rolesanywhere-credential-helper-1.8.6.tar.gz 270868 bytes https://github.com/aws/rolesanywhere-credential-helper/archive/v1.8.6.tar.gz