Install this version:
emerge -a =app-crypt/step-ca-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/step-ca-9999
Or alternatively:
emerge --autounmask-write -a =app-crypt/step-ca-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo fcaps git-r3 go-module systemd tmpfiles
DESCRIPTION="A private certificate authority and ACME server"
HOMEPAGE="https://github.com/smallstep/certificates"
EGIT_REPO_URI="https://github.com/smallstep/certificates.git"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="utils"
RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="acct-group/step
acct-user/step
sys-apps/pcsc-lite"
BDEPEND=">=dev-lang/go-1.25.0"
DOCS=( {CHANGELOG,README}.md )
FILECAPS=( cap_net_bind_service+ep usr/bin/step-ca )
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_compile() {
DATE="$(date -u '+%Y-%m-%d-%H%M UTC')"
LDFLAGS="-w -X main.Version=${PV} -X \"main.BuildTime=${DATE}\""
ego build -ldflags "${LDFLAGS}" ./cmd/...
if use utils ; then
edo pushd scripts/badger-migration
ego build -o badger-migration
edo popd
fi
}
src_test() {
ego test ./...
}
src_install() {
einstalldocs
dobin step-ca
use utils && dobin scripts/badger-migration/badger-migration
diropts -o step -g step
keepdir /var/log/step-ca
newinitd "${FILESDIR}"/step-ca.initd step-ca
newconfd "${FILESDIR}"/step-ca.confd step-ca
systemd_dounit systemd/step-ca.service
newtmpfiles "${FILESDIR}"/step-ca.tmpfile step-ca.conf
}
pkg_postinst() {
tmpfiles_process step-ca.conf
fcaps_pkg_postinst
}
Manage flags for this package:
euse -i <flag> -p app-crypt/step-ca |
euse -E <flag> -p app-crypt/step-ca |
euse -D <flag> -p app-crypt/step-ca