Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2022 13:55:58 +0200
From:      Markus Wipp <mw@wipp.bayern>
To:        freebsd-ports@freebsd.org
Subject:   Issues updating step-certificates
Message-ID:  <9A379F3C-7F15-4241-86DA-4EF4C487581A@wipp.bayern>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_1EE10255-8312-4478-AE3A-27261D70F770
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi all,

I=E2=80=99m the maintainer of step-certificates and currently face some =
issues with this.

I updated the ports Makefile for the newest version (see below).

When I now try to make this e.g. with =E2=80=9Cmake clean makes stage=E2=80=
=9D it fails with the following error:

=3D=3D=3D>  Patching for step-certificates-0.21.0_1
=3D=3D=3D>  Applying FreeBSD patches for step-certificates-0.21.0_1 from =
/usr/ports/security/step-certificates/files
=3D=3D=3D>   step-certificates-0.21.0_1 depends on package: pcsc-lite>0 =
- found
=3D=3D=3D>   step-certificates-0.21.0_1 depends on file: =
/usr/local/bin/go - found
=3D=3D=3D>   step-certificates-0.21.0_1 depends on shared library: =
libpcsclite.so - found (/usr/local/lib/libpcsclite.so)
=3D=3D=3D>  Configuring for step-certificates-0.21.0_1
=3D=3D=3D>  Building for step-certificates-0.21.0_1
(cd /usr/ports/security/step-certificates/work/certificates-0.21.0;  for =
t in ./cmd/step-ca:/usr/local/sbin/step-ca   ./cmd/step-cloudkms-init  =
./cmd/step-awskms-init  ./cmd/step-yubikey-init  ./cmd/step-pkcs11-init; =
do  out=3D$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee =
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/step-certificates/'));  pkg=3D$(echo =
${t} |  /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e =
's/^step-certificates$/./');  echo "=3D=3D=3D>  Building ${out} from =
${pkg}";  /usr/bin/env =
XDG_DATA_HOME=3D/usr/ports/security/step-certificates/work  =
XDG_CONFIG_HOME=3D/usr/ports/security/step-certificates/work  =
XDG_CACHE_HOME=3D/usr/ports/security/step-certificates/work/.cache  =
HOME=3D/usr/ports/security/step-certificates/work =
PATH=3D/usr/ports/security/step-certificates/work/.bin:/sbin:/bin:/usr/sbi=
n:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=3Dyes =
MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES =
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 =
-pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" =
CPPFLAGS=3D""  LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  =
CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong =
-fno-strict-aliasing  "  MANPREFIX=3D"/usr/local" =
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  =
-s -m 0644"  BSD_INSTALL_SCRIPT=3D"install  -m 555"  =
BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install  -m =
444" CGO_ENABLED=3D1  CGO_CFLAGS=3D"-I/usr/local/include"  =
CGO_LDFLAGS=3D"-L/usr/local/lib"  GOARM=3D =
GOPATH=3D"/usr/ports/distfiles/go/security_step-certificates"  =
GOBIN=3D"/usr/ports/security/step-certificates/work/bin"  GO111MODULE=3Don=
  GOFLAGS=3D-modcacherw  GOSUMDB=3Dsum.golang.org GO_NO_VENDOR_CHECKS=3D1 =
GOPROXY=3Doff /usr/local/bin/go build -ldflags "-w -X =
main.Version=3D0.21.0" -v -buildmode=3Dexe -trimpath -mod=3Dvendor  -o =
/usr/ports/security/step-certificates/work/bin/${out}  ${pkg};  done)
=3D=3D=3D>  Building step-ca from ./cmd/step-ca
cas/vaultcas/auth/approle/approle.go:8:2: import =
"github.com/hashicorp/vault/api/auth/approle" is a program, not an =
importable package
cas/vaultcas/auth/kubernetes/kubernetes.go:8:2: import =
"github.com/hashicorp/vault/api/auth/kubernetes" is a program, not an =
importable package
vendor/github.com/hashicorp/vault/api/auth/approle/main.go:6:2: cannot =
find package "." in:
	=
/usr/ports/security/step-certificates/work/certificates-0.21.0/vendor/gith=
ub.com/hashicorp/vault/cli
*** Error code 1

Stop.
make: stopped in /usr/ports/security/step-certificates

When I then go to WRKSRC and run =E2=80=9Cgo mod vendor=E2=80=9D there =
and go back and run =E2=80=9Cmake stage=E2=80=9D the port builds.
I tried to put =E2=80=9Cmodules.txt=E2=80=9D to files and copy it over, =
but unfortunately this seems not to be sufficient.
Any hints and help is highly appreciated!

Thanks in advance
Markus

Makefile:
=3D=3D=3D=3D=3D=3D=3D

PORTNAME=3D	step-certificates
DISTVERSIONPREFIX=3D	v
DISTVERSION=3D	0.21.0
PORTREVISION=3D	1
CATEGORIES=3D	security

MAINTAINER=3D	mw@wipp.bayern
COMMENT=3D	Smallstep step-ca certificates server

LICENSE=3D	APACHE20
LICENSE_FILE=3D	${WRKSRC}/LICENSE

BUILD_DEPENDS=3D	pcsc-lite>0:devel/pcsc-lite
LIB_DEPENDS=3D	libpcsclite.so:devel/pcsc-lite
RUN_DEPENDS=3D	step:security/step-cli

USES=3D		go:modules

USE_GITHUB=3D	yes
GH_ACCOUNT=3D	smallstep
GH_PROJECT=3D	certificates

GH_TUPLE=3D	\
		=
AndreasBriese:bbloom:46b345b51c96:andreasbriese_bbloom/vendor/github.com/A=
ndreasBriese/bbloom \
		=
Azure:azure-sdk-for-go:v58.0.0:azure_azure_sdk_for_go/vendor/github.com/Az=
ure/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-aut=
orest \
		=
FiloSottile:edwards25519:v1.0.0-rc.1:filosottile_edwards25519/vendor/filip=
po.io/edwards25519 \
		=
Masterminds:goutils:v1.1.1:masterminds_goutils/vendor/github.com/Mastermin=
ds/goutils \
		=
Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Mastermi=
nds/semver/v3 \
		=
Masterminds:sprig:v3.2.2:masterminds_sprig_v3/vendor/github.com/Mastermind=
s/sprig/v3 \
		=
ThalesIgnite:crypto11:v1.2.4:thalesignite_crypto11/vendor/github.com/Thale=
sIgnite/crypto11 \
		=
armon:go-metrics:v0.3.9:armon_go_metrics/vendor/github.com/armon/go-metric=
s \
		=
armon:go-radix:v1.0.0:armon_go_radix/vendor/github.com/armon/go-radix \
		=
aws:aws-sdk-go:v1.37.0:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
		=
cenkalti:backoff:v3.0.0:cenkalti_backoff_v3/vendor/github.com/cenkalti/bac=
koff/v3 \
		=
census-instrumentation:opencensus-go:v0.23.0:census_instrumentation_opence=
nsus_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/read=
line \
		=
cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83=
/go-md2man/v2 \
		=
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew =
\
		=
dgraph-io:badger:v1.6.2:dgraph_io_badger/vendor/github.com/dgraph-io/badge=
r \
		=
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/dgr=
aph-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/ut=
fbom \
		=
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-h=
umanize \
		=
etcd-io:bbolt:v1.3.6:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
		=
fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \
		=
form3tech-oss:jwt-go:v3.2.3:form3tech_oss_jwt_go/vendor/github.com/form3te=
ch-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/logfm=
t \
		=
go-piv:piv-go:v1.7.0:go_piv_piv_go/vendor/github.com/go-piv/piv-go \
		=
go-sql-driver:mysql:v1.6.0:go_sql_driver_mysql/vendor/github.com/go-sql-dr=
iver/mysql \
		go-yaml:yaml:v3.0.0:go_yaml_yaml/vendor/gopkg.in/yaml.v3 =
\
		=
golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengin=
e \
		=
golang:crypto:e495a2d5b3d3:golang_crypto/vendor/golang.org/x/crypto \
		=
golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/=
groupcache \
		=
golang:mock:v1.6.0:golang_mock/vendor/github.com/golang/mock \
		=
golang:net:749bd193bc2b:golang_net/vendor/golang.org/x/net \
		=
golang:oauth2:d3ed0bb246c8:golang_oauth2/vendor/golang.org/x/oauth2 \
		=
golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf =
\
		=
golang:snappy:v0.0.4:golang_snappy/vendor/github.com/golang/snappy \
		=
golang:sys:b1e9470b6e64:golang_sys/vendor/golang.org/x/sys \
		=
golang:text:5bd84dd9b33b:golang_text/vendor/golang.org/x/text \
		=
golang:time:f8bda1e9f3ba:golang_time/vendor/golang.org/x/time \
		=
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
		=
google:go-cmp:v0.5.7:google_go_cmp/vendor/github.com/google/go-cmp \
		=
google:go-genproto:314d38edb7de:google_go_genproto/vendor/google.golang.or=
g/genproto \
		=
google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \
		=
googleapis:gax-go:v2.1.1:googleapis_gax_go_v2/vendor/github.com/googleapis=
/gax-go \
		=
googleapis:google-api-go-client:v0.70.0:googleapis_google_api_go_client/ve=
ndor/google.golang.org/api \
		=
googleapis:google-cloud-go:compute/v1.3.0:googleapis_google_cloud_go_compu=
te \
		=
googleapis:google-cloud-go:kms/v1.4.0:googleapis_google_cloud_go_kms \
		=
googleapis:google-cloud-go:security/v1.3.0:googleapis_google_cloud_go_secu=
rity \
		=
googleapis:google-cloud-go:v0.1.0:googleapis_google_cloud_go_iam/vendor/cl=
oud.google.com/go/iam \
		=
googleapis:google-cloud-go:v0.100.2:googleapis_google_cloud_go/vendor/clou=
d.google.com/go \
		=
grpc:grpc-go:v1.45.0:grpc_grpc_go/vendor/google.golang.org/grpc \
		=
hashicorp:errwrap:v1.1.0:hashicorp_errwrap/vendor/github.com/hashicorp/err=
wrap \
		=
hashicorp:go-cleanhttp:v0.5.2:hashicorp_go_cleanhttp/vendor/github.com/has=
hicorp/go-cleanhttp \
		=
hashicorp:go-hclog:v0.16.2:hashicorp_go_hclog/vendor/github.com/hashicorp/=
go-hclog \
		=
hashicorp:go-immutable-radix:v1.3.1:hashicorp_go_immutable_radix/vendor/gi=
thub.com/hashicorp/go-immutable-radix \
		=
hashicorp:go-multierror:v1.1.1:hashicorp_go_multierror/vendor/github.com/h=
ashicorp/go-multierror \
		=
hashicorp:go-plugin:v1.4.3:hashicorp_go_plugin/vendor/github.com/hashicorp=
/go-plugin \
		=
hashicorp:go-retryablehttp:v0.6.6:hashicorp_go_retryablehttp/vendor/github=
.com/hashicorp/go-retryablehttp \
		=
hashicorp:go-rootcerts:v1.0.2:hashicorp_go_rootcerts/vendor/github.com/has=
hicorp/go-rootcerts \
		=
hashicorp:go-secure-stdlib:mlock/v0.1.1:hashicorp_go_secure_stdlib_mlock/v=
endor/github.com/hashicorp/go-secure-stdlib \
		=
hashicorp:go-secure-stdlib:parseutil/v0.1.1:hashicorp_go_secure_stdlib_par=
seutil \
		=
hashicorp:go-secure-stdlib:strutil/v0.1.1:hashicorp_go_secure_stdlib_strut=
il \
		=
hashicorp:go-sockaddr:v1.0.2:hashicorp_go_sockaddr/vendor/github.com/hashi=
corp/go-sockaddr \
		=
hashicorp:go-uuid:v1.0.2:hashicorp_go_uuid/vendor/github.com/hashicorp/go-=
uuid \
		=
hashicorp:go-version:v1.2.0:hashicorp_go_version/vendor/github.com/hashico=
rp/go-version \
		=
hashicorp:golang-lru:v0.5.4:hashicorp_golang_lru/vendor/github.com/hashico=
rp/golang-lru \
		=
hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
		=
hashicorp:vault:v1.3.1:hashicorp_vault_api/vendor/github.com/hashicorp/vau=
lt \
		=
hashicorp:vault:v0.1.1:hashicorp_vault_approle/vendor/github.com/hashicorp=
/vault/api/auth/approle \
		=
hashicorp:vault:v0.1.0:hashicorp_vault_kubernetes/vendor/github.com/hashic=
orp/vault/api/auth/kubernetes \
		=
hashicorp:vault:v0.3.0:hashicorp_vault_sdk/vendor/github.com/hashicorp/vau=
lt/sdk \
		=
hashicorp:yamux:3520598351bb:hashicorp_yamux/vendor/github.com/hashicorp/y=
amux \
		=
huandu:xstrings:v1.3.2:huandu_xstrings/vendor/github.com/huandu/xstrings =
\
		=
imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \
		=
jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chun=
kreader/v2 \
		=
jackc:pgconn:v1.10.1:jackc_pgconn/vendor/github.com/jackc/pgconn \
		=
jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \
		=
jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfil=
e \
		=
jackc:pgproto3:v2.2.0:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v=
2 \
		=
jackc:pgservicefile:2b9c44734f2b:jackc_pgservicefile/vendor/github.com/jac=
kc/pgservicefile \
		=
jackc:pgtype:v1.9.0:jackc_pgtype/vendor/github.com/jackc/pgtype \
		=
jackc:pgx:v4.14.0:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \
		=
jhump:protoreflect:v1.9.0:jhump_protoreflect/vendor/github.com/jhump/proto=
reflect \
		=
jmespath:go-jmespath:v0.4.0:jmespath_go_jmespath/vendor/github.com/jmespat=
h/go-jmespath \
		=
klauspost:compress:v1.12.3:klauspost_compress/vendor/github.com/klauspost/=
compress \
		=
manifoldco:promptui:v0.9.0:manifoldco_promptui/vendor/github.com/manifoldc=
o/promptui \
		=
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-co=
lorable \
		=
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:v1.0.3:miekg_pkcs11/vendor/github.com/miekg/pkcs11 \
		=
mitchellh:copystructure:v1.2.0:mitchellh_copystructure/vendor/github.com/m=
itchellh/copystructure \
		=
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchel=
lh/go-homedir \
		=
mitchellh:go-testing-interface:v1.0.0:mitchellh_go_testing_interface/vendo=
r/github.com/mitchellh/go-testing-interface \
		=
mitchellh:mapstructure:v1.4.2:mitchellh_mapstructure/vendor/github.com/mit=
chellh/mapstructure \
		=
mitchellh:reflectwalk:v1.0.2:mitchellh_reflectwalk/vendor/github.com/mitch=
ellh/reflectwalk \
		=
newrelic:go-agent:v2.15.0:newrelic_go_agent/vendor/github.com/newrelic/go-=
agent \
		oklog:run:v1.0.0:oklog_run/vendor/github.com/oklog/run \
		=
pierrec:lz4:v2.5.2:pierrec_lz4/vendor/github.com/pierrec/lz4 \
		=
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
		=
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-=
difflib \
		=
protocolbuffers:protobuf-go:v1.28.0:protocolbuffers_protobuf_go/vendor/goo=
gle.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/russ=
ross/blackfriday/v2 \
		=
ryanuber:go-glob:v1.0.0:ryanuber_go_glob/vendor/github.com/ryanuber/go-glo=
b \
		=
shopspring:decimal:v1.2.0:shopspring_decimal/vendor/github.com/shopspring/=
decimal \
		=
shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendo=
r/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.16.2:smallstep_crypto/vendor/go.step.sm/crypto \
		=
smallstep:linkedca:v0.16.1:smallstep_linkedca/vendor/go.step.sm/linkedca =
\
		=
smallstep:nosql:v0.4.0:smallstep_nosql/vendor/github.com/smallstep/nosql =
\
		=
smallstep:pkcs7:52592125d6f6:smallstep_pkcs7/vendor/go.mozilla.org/pkcs7 =
\
		=
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 \
		=
stretchr:testify:v1.7.1:stretchr_testify/vendor/github.com/stretchr/testif=
y \
		=
thales-e-security:pool:v0.0.2:thales_e_security_pool/vendor/github.com/tha=
les-e-security/pool \
		=
uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \
		=
urfave:cli:v1.22.4:urfave_cli/vendor/github.com/urfave/cli

post-extract:
	@${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/compute
	@${RLN} ${WRKSRC_googleapis_google_cloud_go_compute}/compute =
${WRKSRC}/vendor/cloud.google.com/go/compute
	@${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/kms
	@${RLN} ${WRKSRC_googleapis_google_cloud_go_kms}/kms =
${WRKSRC}/vendor/cloud.google.com/go/kms
	@${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/security
	@${RLN} ${WRKSRC_googleapis_google_cloud_go_security}/security =
${WRKSRC}/vendor/cloud.google.com/go/security
	@${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
	@${RM} -r =
${WRKSRC}/vendor/github.com/hashicorp/go-secure-stdlib/parseutil
	@${RLN} ${WRKSRC_hashicorp_go_secure_stdlib_parseutil}/parseutil =
${WRKSRC}/vendor/github.com/hashicorp/go-secure-stdlib/parseutil
	@${RM} -r =
${WRKSRC}/vendor/github.com/hashicorp/go-secure-stdlib/strutil
	@${RLN} ${WRKSRC_hashicorp_go_secure_stdlib_strutil}/strutil =
${WRKSRC}/vendor/github.com/hashicorp/go-secure-stdlib/strutil
#	@${CP} files/modules.txt ${WRKSRC}/vendor

USE_RC_SUBR=3D	step-ca

GO_TARGET=3D	./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=3D	-ldflags "-w -X main.Version=3D${PORTVERSION}"

USERS=3D		step
GROUPS=3D		step

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/step
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>

--Apple-Mail=_1EE10255-8312-4478-AE3A-27261D70F770
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/eTNEeblVga9Tu3f/BfMj2QJNOUFAmLJbM4ACgkQ/BfMj2QJ
NOXZ8g//fC5VRUFoOOlEz9urPOxwPhO5NzQwviKy7BB6nZhi508Txn1RdAa0asmf
wY6lcy80UAYXA734UF9snB8SCoIEFDzhymN0oCmx+xZmTKgzoRq3GJYjfSDSrCHg
sQPDd3OsCmBad9DKejDoTUcZLJ0bS9ijyrsy8Uf4skfTNP1lRF9GBRfB+MSGP7qB
2RkJlmx3sgDkMl+C8+V89HaLcBJQLYz8uFM2QKLqqVXBMZq93+o3ygjSektKY57b
+dSX4O++fqpammLVJ5T3/6w4njqoixT+USPuOdzXr1EGMwWhyjqvsKBdWVGINSlk
mSfdBXOouCDqj3FdYUNa+7bi+NIiZlILhvcehs6y1zNe5WUNkijbblmYoRYj4r2S
1UN4JkTMlgVdu5RTxU9vmJh9Ammdk/0YAijyLrejNtAG/2ISCQagb/rC1L0qnO88
vEjgtWZkZPirc6dNCOQaiVrDTYcW4bUQWgyJHsgXBc/7RwBuyWAYjSxef36uNI47
O/7pXv39+IZ817pXxr6oAB2PGyzFBD4p02d7f6tQRwIUECsqp5Xq4JuOkUka104S
wVlyWuW+R0qRqcZdAmfpq1ehJUY9SJyMcm2cH8HMumA33xWQsxl4+glx5Ey7JWMA
Q21C/38Dg4sKtGWxhBhy8OF5FvUrbRHZxAgZWDlnkBnJGGp/CxM=
=1Dsg
-----END PGP SIGNATURE-----

--Apple-Mail=_1EE10255-8312-4478-AE3A-27261D70F770--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A379F3C-7F15-4241-86DA-4EF4C487581A>