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:
parent
b7a6f914c5
commit
156e0efe5f
35
security/step-cli/Makefile
Normal file
35
security/step-cli/Makefile
Normal 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
4180
security/step-cli/distinfo
Normal file
File diff suppressed because it is too large
Load Diff
1566
security/step-cli/modules.inc
Normal file
1566
security/step-cli/modules.inc
Normal file
File diff suppressed because it is too large
Load Diff
4
security/step-cli/pkg/DESCR
Normal file
4
security/step-cli/pkg/DESCR
Normal 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.
|
11
security/step-cli/pkg/PLIST
Normal file
11
security/step-cli/pkg/PLIST
Normal 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
|
Loading…
x
Reference in New Issue
Block a user