mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
40 lines
913 B
Makefile
40 lines
913 B
Makefile
PORTNAME= step-certificates
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.22.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= mw@wipp.bayern
|
|
COMMENT= Smallstep step-ca certificates server
|
|
WWW= https://smallstep.com/certificates/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= pcsc-lite>0:devel/pcsc-lite
|
|
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
|
|
RUN_DEPENDS= step:security/step-cli
|
|
|
|
USES= go:modules
|
|
|
|
GO_MODULE= github.com/smallstep/certificates
|
|
|
|
USE_RC_SUBR= step-ca
|
|
|
|
GO_TARGET= ./cmd/step-ca:${PREFIX}/sbin/step-ca \
|
|
./cmd/step-cloudkms-init \
|
|
./cmd/step-awskms-init \
|
|
./cmd/step-yubikey-init \
|
|
./cmd/step-pkcs11-init
|
|
|
|
GO_BUILDFLAGS= -ldflags "-w -X main.Version=${PORTVERSION}"
|
|
|
|
USERS= step
|
|
GROUPS= step
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/step
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|