Import step-cli-0.22.0, a tool for working with x509, oauth, jwt and otp stuff

OK and tweaks sthen@
This commit is contained in:
abieber 2022-09-13 19:02:07 +00:00
parent b7a6f914c5
commit 156e0efe5f
5 changed files with 5796 additions and 0 deletions

View File

@ -0,0 +1,35 @@
COMMENT = swiss army knife for working with X509, OAuth, JWT, OATH OTP
V = 0.22.0
MODGO_MODNAME = github.com/smallstep/cli
MODGO_VERSION = v${V}
DISTNAME = step-cli-${V}
CATEGORIES = security
HOMEPAGE = https://smallstep.com/cli
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MODULES = lang/go
MODGO_LDFLAGS += -X "main.Version=${V}"
post-install:
${INSTALL_DATA_DIR} \
${PREFIX}/share/bash-completion/completions \
${PREFIX}/share/zsh/site-functions \
${PREFIX}/share/fish/vendor_completions.d
${WRKDIR}/go/bin/step completion bash > \
${PREFIX}/share/bash-completion/completions/step
${WRKDIR}/go/bin/step completion zsh > \
${PREFIX}/share/zsh/site-functions/_step
${WRKDIR}/go/bin/step completion fish > \
${PREFIX}/share/fish/vendor_completions.d/step.fish
.include "modules.inc"
.include <bsd.port.mk>

4180
security/step-cli/distinfo Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
step is an easy-to-use CLI tool for building, operating, and automating Public
Key Infrastructure (PKI) systems and workflows. It's the client counterpart to
the step-ca online Certificate Authority (CA). You can use it for many common
crypto and X.509 operations either independently, or with an online CA.

View File

@ -0,0 +1,11 @@
@conflict step-*
@bin bin/step
share/bash-completion/
share/bash-completion/completions/
share/bash-completion/completions/step
share/fish/
share/fish/vendor_completions.d/
share/fish/vendor_completions.d/step.fish
share/zsh/
share/zsh/site-functions/
share/zsh/site-functions/_step