2dcad5e31f
PR: 262053
141 lines
8.8 KiB
Makefile
141 lines
8.8 KiB
Makefile
PORTNAME= step-certificates
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.18.1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= mw@wipp.bayern
|
|
COMMENT= Smallstep step-ca certificates server
|
|
|
|
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
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= smallstep
|
|
GH_PROJECT= certificates
|
|
|
|
GH_TUPLE= \
|
|
AndreasBriese:bbloom:46b345b51c96:andreasbriese_bbloom/vendor/github.com/AndreasBriese/bbloom \
|
|
Azure:azure-sdk-for-go:v58.0.0:azure_azure_sdk_for_go/vendor/github.com/Azure/azure-sdk-for-go \
|
|
Azure:go-autorest:446f41b7d65b:azure_go_autorest_validation \
|
|
Azure:go-autorest:55c0c4ebc34d:azure_go_autorest_cli \
|
|
Azure:go-autorest:76c7860e9b60:azure_go_autorest_auth \
|
|
Azure:go-autorest:autorest/v0.11.17:azure_go_autorest_autorest \
|
|
Azure:go-autorest:b3a0b30a7423:azure_go_autorest_date \
|
|
Azure:go-autorest:def88ef859fb:azure_go_autorest_adal \
|
|
Azure:go-autorest:logger/v0.2.0:azure_go_autorest_logger \
|
|
Azure:go-autorest:tracing/v0.6.0:azure_go_autorest_tracing \
|
|
Azure:go-autorest:v14.2.0:azure_go_autorest/vendor/github.com/Azure/go-autorest \
|
|
FiloSottile:edwards25519:v1.0.0-rc.1:filosottile_edwards25519/vendor/filippo.io/edwards25519 \
|
|
Masterminds:goutils:v1.1.1:masterminds_goutils/vendor/github.com/Masterminds/goutils \
|
|
Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \
|
|
Masterminds:sprig:v3.2.2:masterminds_sprig_v3/vendor/github.com/Masterminds/sprig/v3 \
|
|
ThalesIgnite:crypto11:v1.2.4:thalesignite_crypto11/vendor/github.com/ThalesIgnite/crypto11 \
|
|
aws:aws-sdk-go:v1.30.29:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
|
|
census-instrumentation:opencensus-go:v0.23.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \
|
|
cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \
|
|
chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \
|
|
cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \
|
|
dgraph-io:badger:v1.6.2:dgraph_io_badger/vendor/github.com/dgraph-io/badger \
|
|
dgraph-io:badger:v2.2007.4:dgraph_io_badger_v2/vendor/github.com/dgraph-io/badger/v2 \
|
|
dgraph-io:ristretto:41ebdbffecfd:dgraph_io_ristretto/vendor/github.com/dgraph-io/ristretto \
|
|
dgryski:go-farm:a6ae2369ad13:dgryski_go_farm/vendor/github.com/dgryski/go-farm \
|
|
dimchansky:utfbom:v1.1.1:dimchansky_utfbom/vendor/github.com/dimchansky/utfbom \
|
|
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
|
|
etcd-io:bbolt:v1.3.5:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
|
|
form3tech-oss:jwt-go:v3.2.2:form3tech_oss_jwt_go/vendor/github.com/form3tech-oss/jwt-go \
|
|
go-chi:chi:v4.0.2:go_chi_chi/vendor/github.com/go-chi/chi \
|
|
go-kit:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \
|
|
go-logfmt:logfmt:v0.5.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
|
|
go-piv:piv-go:v1.7.0:go_piv_piv_go/vendor/github.com/go-piv/piv-go \
|
|
go-sql-driver:mysql:v1.5.0:go_sql_driver_mysql/vendor/github.com/go-sql-driver/mysql \
|
|
golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
|
|
golang:crypto:e495a2d5b3d3:golang_crypto/vendor/golang.org/x/crypto \
|
|
golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \
|
|
golang:mock:v1.6.0:golang_mock/vendor/github.com/golang/mock \
|
|
golang:net:0dd24b26b47d:golang_net/vendor/golang.org/x/net \
|
|
golang:oauth2:f6687ab2804c:golang_oauth2/vendor/golang.org/x/oauth2 \
|
|
golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
|
|
golang:snappy:v0.0.3:golang_snappy/vendor/github.com/golang/snappy \
|
|
golang:sys:da31bd327af9:golang_sys/vendor/golang.org/x/sys \
|
|
golang:text:5bd84dd9b33b:golang_text/vendor/golang.org/x/text \
|
|
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
|
|
google:go-cmp:v0.5.6:google_go_cmp/vendor/github.com/google/go-cmp \
|
|
google:go-genproto:00ab72f36ad5:google_go_genproto/vendor/google.golang.org/genproto \
|
|
google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \
|
|
googleapis:gax-go:v2.0.5:googleapis_gax_go_v2/vendor/github.com/googleapis/gax-go \
|
|
googleapis:google-api-go-client:v0.47.0:googleapis_google_api_go_client/vendor/google.golang.org/api \
|
|
googleapis:google-cloud-go:v0.83.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \
|
|
grpc:grpc-go:v1.43.0:grpc_grpc_go/vendor/google.golang.org/grpc \
|
|
huandu:xstrings:v1.3.2:huandu_xstrings/vendor/github.com/huandu/xstrings \
|
|
imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \
|
|
jmespath:go-jmespath:v0.3.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
|
|
klauspost:compress:v1.12.3:klauspost_compress/vendor/github.com/klauspost/compress \
|
|
manifoldco:promptui:v0.9.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \
|
|
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
|
|
mattn:go-isatty:v0.0.13:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
|
|
mgutz:ansi:d51e80ef957d:mgutz_ansi/vendor/github.com/mgutz/ansi \
|
|
micromdm:scep:v2.1.0:micromdm_scep_v2/vendor/github.com/micromdm/scep/v2 \
|
|
miekg:pkcs11:a667d056470f:miekg_pkcs11/vendor/github.com/miekg/pkcs11 \
|
|
mitchellh:copystructure:v1.2.0:mitchellh_copystructure/vendor/github.com/mitchellh/copystructure \
|
|
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
|
|
mitchellh:reflectwalk:v1.0.2:mitchellh_reflectwalk/vendor/github.com/mitchellh/reflectwalk \
|
|
mozilla-services:pkcs7:33d05740a352:mozilla_services_pkcs7/vendor/go.mozilla.org/pkcs7 \
|
|
newrelic:go-agent:v2.15.0:newrelic_go_agent/vendor/github.com/newrelic/go-agent \
|
|
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
|
|
protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
|
|
rs:xid:v1.2.1:rs_xid/vendor/github.com/rs/xid \
|
|
russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \
|
|
shopspring:decimal:v1.2.0:shopspring_decimal/vendor/github.com/shopspring/decimal \
|
|
shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \
|
|
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
|
slackhq:nebula:v1.5.2:slackhq_nebula/vendor/github.com/slackhq/nebula \
|
|
smallstep:assert:82e2b9b3b262:smallstep_assert/vendor/github.com/smallstep/assert \
|
|
smallstep:cli-utils:v0.7.0:smallstep_cli_utils/vendor/go.step.sm/cli-utils \
|
|
smallstep:crypto:v0.15.0:smallstep_crypto/vendor/go.step.sm/crypto \
|
|
smallstep:linkedca:v0.9.2:smallstep_linkedca/vendor/go.step.sm/linkedca \
|
|
smallstep:nosql:v0.3.9:smallstep_nosql/vendor/github.com/smallstep/nosql \
|
|
spf13:cast:v1.4.1:spf13_cast/vendor/github.com/spf13/cast \
|
|
square:go-jose:v2.6.0:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \
|
|
thales-e-security:pool:v0.0.2:thales_e_security_pool/vendor/github.com/thales-e-security/pool \
|
|
urfave:cli:v1.22.4:urfave_cli/vendor/github.com/urfave/cli
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest
|
|
@${RLN} ${WRKSRC_azure_go_autorest_autorest}/autorest ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal
|
|
@${RLN} ${WRKSRC_azure_go_autorest_adal}/autorest/adal ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/azure/auth
|
|
@${RLN} ${WRKSRC_azure_go_autorest_auth}/autorest/azure/auth ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/azure/auth
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/azure/cli
|
|
@${RLN} ${WRKSRC_azure_go_autorest_cli}/autorest/azure/cli ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/azure/cli
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/date
|
|
@${RLN} ${WRKSRC_azure_go_autorest_date}/autorest/date ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/date
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/validation
|
|
@${RLN} ${WRKSRC_azure_go_autorest_validation}/autorest/validation ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/validation
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger
|
|
@${RLN} ${WRKSRC_azure_go_autorest_logger}/logger ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger
|
|
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing
|
|
@${RLN} ${WRKSRC_azure_go_autorest_tracing}/tracing ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing
|
|
|
|
USE_RC_SUBR= step-ca
|
|
|
|
GO_TARGET= ./cmd/step-ca:${PREFIX}/sbin/step-ca \
|
|
./cmd/step-cloudkms-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>
|