app-crypt/step-kms-plugin - 0.17.0 (nest)

Search

Install

Install this version:

emerge -a =app-crypt/step-kms-plugin-0.17.0

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

autounmask =app-crypt/step-kms-plugin-0.17.0

Or alternatively:

emerge --autounmask-write -a =app-crypt/step-kms-plugin-0.17.0

Package Information

Description:
Smallstep CA cloud KMS plugin
Homepage:
https://github.com/smallstep/step-kms-plugin
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.17.0 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="Smallstep CA cloud KMS plugin"
HOMEPAGE="https://github.com/smallstep/step-kms-plugin"
SRC_URI="https://github.com/smallstep/step-kms-plugin/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"

RDEPEND="sys-apps/pcsc-lite"
BDEPEND=">=dev-lang/go-1.25.0"

src_compile() {
	DATE="$(date -u '+%Y-%m-%d-%H%M UTC')"
	LDFLAGS="-w -X github.com/smallstep/step-kms-plugin/cmd.Version=${PV}
		-X \"github.com/smallstep/step-kms-plugin/cmd.ReleaseDate=${DATE}\""

	ego build -ldflags "${LDFLAGS}" -o step-kms-plugin

	local completion
	for completion in bash fish zsh ; do
		edo ./step-kms-plugin completion "${completion}" > step-kms-plugin."${completion}"
	done
}

src_test() {
	ego test ./...
}

src_install() {
	einstalldocs
	dobin step-kms-plugin
	newbashcomp step-kms-plugin.bash step-kms-plugin
	newfishcomp step-kms-plugin.fish step-kms-plugin
	newzshcomp step-kms-plugin.zsh _step-kms-plugin
}

Inherited Eclasses

Dependencies

RDEPEND

sys-apps/pcsc-lite

BDEPEND

>=dev-lang/go-1.25.0

Manifest for 0.17.0

Type File Size Source URLs
DIST step-kms-plugin-0.17.0-deps.tar.xz 31901316 bytes https://github.com/SpiderX/portage-overlay/releases/download/step-kms-plugin-0.17.0/step-kms-plugin-0.17.0-deps.tar.xz
DIST step-kms-plugin-0.17.0.tar.gz 71754 bytes https://github.com/smallstep/step-kms-plugin/archive/v0.17.0.tar.gz