From owner-freebsd-ports@freebsd.org Wed Apr 8 19:31:04 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A6B427A7E5 for ; Wed, 8 Apr 2020 19:31:04 +0000 (UTC) (envelope-from mw@wipp.bayern) Received: from virgo.wipp.bayern (virgo.wipp.bayern [46.4.150.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48yDsL6Cs3z4Yfp for ; Wed, 8 Apr 2020 19:31:02 +0000 (UTC) (envelope-from mw@wipp.bayern) Received: from [10.66.60.8] (business-24-134-72-73.pool2.vodafone-ip.de [24.134.72.73]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mw@wipp.bayern) by virgo.wipp.bayern (Postfix) with ESMTPSA id C8F1BCB4D0; Wed, 8 Apr 2020 21:30:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wipp.bayern; s=dkim201411; t=1586374260; bh=J4d1e1kuK7zAFZBoLUgqM0JraidqUvC4VMNyhsFua9Y=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=iJXGVI/LYlo4fVFseiXx09JwADAUjLrbkwI9YsvZOPrqaZuACixQXyEaHrECZRba4 6T6W2MoD7iJQKYlfmHKIR7Om/GJH/x3ulidhCaaGAY6GfknCqcs2Iy3nDF2+RfoytO MmGDO9M57+4MX7j4WWNo9mI8H/q2EYHn+XjyXFx4= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at gemini.wipp.bayern From: Markus Wipp Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Porting of Smallstep CA Date: Wed, 8 Apr 2020 21:30:58 +0200 In-Reply-To: Cc: FreeBSD Ports To: Adam Weinberger References: <6F55C342-1ABB-4386-B674-F432EDE96D62@wipp.bayern> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 48yDsL6Cs3z4Yfp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wipp.bayern header.s=dkim201411 header.b=iJXGVI/L; dmarc=pass (policy=none) header.from=wipp.bayern; spf=pass (mx1.freebsd.org: domain of mw@wipp.bayern designates 46.4.150.2 as permitted sender) smtp.mailfrom=mw@wipp.bayern X-Spamd-Result: default: False [-2.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[wipp.bayern:s=dkim201411]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[wipp.bayern:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[wipp.bayern,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(0.10)[ipnet: 46.4.0.0/16(2.12), asn: 24940(-1.58), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:46.4.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2020 19:31:04 -0000 > On 8. Apr 2020, at 03:34, Adam Weinberger wrote: >=20 > On Tue, Apr 7, 2020 at 2:08 PM Markus Wipp > wrote: >>=20 >> Hi all, >>=20 >> I would like to create a port of the CA tool (basically two ports: = cli and certificates) found on >> https://github.com/smallstep >> https://smallstep.com/ >>=20 >> What I tried so far was: >> 1) make it on my machine without the ports infrastructure. This = basically works fine and without any errors and modifications needed ( I = just do a gmake bootstrap and then a gmake build ) >> 2) tried to create a port using the guide at = https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-p= orting.html >> 3) tried Slow porting, but I think I=E2=80=99m not really = understanding how and where to begin >>=20 >> The main issue is, that I don=E2=80=99t really know what I have to do = here, to achieve what=E2=80=99s required to correctly build the port. >> It is the very first time I=E2=80=99m trying to create a port. >=20 > Hi Markus, >=20 > You're on the right track here. The next step is that none of the > stuff where go fetches a remote module can happen. All packages on the > cluster (and the vast majority of end-user-built sets) are built using > poudriere (ports-mgmt/poudriere), which shuts down all external > traffic during builds. >=20 > The port needs to specify all dependent modules. Take a look at > another go port, like www/gohugo for an idea of how this works. > net/geoipupdate is similar to what you're doing, where it needs go > modules, but is built with gmake. >=20 > You're misusing a couple constructs, but if you copy the framework in > geoipupdate and gohugo you'll resolve most of them (also, define > NO_WRKSUBDIR instead of setting WRKSRC=3DWRKDIR). >=20 > I'm not sure where golint is entering in, but it needs to not be > there. Linting is for upstream developers, and has no purpose for > end-user builds. >=20 > Does that help to get you started? >=20 > # Adam Hi Adam, Hi all others, First go all a big thank you for all your tips and helpful suggestions = so far! I think I=E2=80=99m a top closer, but still have some issues. Would be = great if you could have a look again and give me some hints about what = I=E2=80=99m doing wrong. This is my reworked makefile: # $FreeBSD $ PORTNAME=3D smallstep-cli DISTVERSIONPREFIX=3D v DISTVERSION=3D 0.14.0-rc.5 DISTNAME=3D cli CATEGORIES=3D security DIST_SUBDIR=3D ${PORTNAME} MAINTAINER=3D mw@wipp.bayern COMMENT=3D Smallstep step-ca command line client LICENSE=3D APACHE20 LICENSE_FILE_APACHE20=3D ${WRKSRC}/LICENSE USES=3D go USE_GITHUB=3D yes GH_ACCOUNT=3D smallstep GH_PROJECT=3D cli #GH_SUBDIR=3D cli-0.14.0-rc.5 MAKE_ENV+=3D GOPATH=3D${WRKDIR} BUILD_DEPENDS=3D go>1:lang/go \ bash>5:shells/bash \ curl>7:ftp/curl GH_TUPLE=3D \ = AndreasBriese:bbloom:e2d15f34fcf9:andreasbriese_bbloom/vendor/github.com/A= ndreasBriese/bbloom \ = BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml = \ = Masterminds:goutils:v1.1.0:masterminds_goutils/vendor/github.com/Mastermin= ds/goutils \ = Masterminds:semver:v3.0.1:masterminds_semver/vendor/github.com/Masterminds= /semver/v3 \ = Masterminds:sprig:v3.0.0:masterminds_sprig/vendor/github.com/Masterminds/s= prig/v3 \ = Microsoft:go-winio:v0.4.14:microsoft_go_winio/vendor/github.com/Microsoft/= go-winio \ = OpenPeeDeeP:depguard:v1.0.1:openpeedeep_depguard/vendor/github.com/OpenPee= DeeP/depguard \ = ThomasRooney:gexpect:5482f0350944:thomasrooney_gexpect/vendor/github.com/T= homasRooney/gexpect \ = asaskevich:govalidator:475eaeb16496:asaskevich_govalidator/vendor/github.c= om/asaskevich/govalidator \ = beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ = bgentry:speakeasy:v0.1.0:bgentry_speakeasy/vendor/github.com/bgentry/speak= easy \ = bombsimon:wsl:v2.0.0:bombsimon_wsl/vendor/github.com/bombsimon/wsl/v2 \ = boombuler:barcode:v1.0.0:boombuler_barcode/vendor/github.com/boombuler/bar= code \ = cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 = \ = cheggaaa:pb:v1.0.28:cheggaaa_pb/vendor/gopkg.in/cheggaaa/pb.v1 \ = chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/read= line \ = coreos:bbolt:v1.3.3:coreos_bbolt/vendor/github.com/coreos/bbolt \ = coreos:etcd:v3.3.18:coreos_etcd/vendor/github.com/coreos/etcd \ = coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semve= r \ = coreos:go-systemd:95778dfbb74e:coreos_go_systemd/vendor/github.com/coreos/= go-systemd \ = coreos:pkg:399ea9e2e55f:coreos_pkg/vendor/github.com/coreos/pkg \ = corpix:uarand:v0.1.1:corpix_uarand/vendor/github.com/corpix/uarand \ = cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man/vendor/github.com/cpuguy83/go= -md2man/v2 \ = creack:pty:v1.1.7:creack_pty/vendor/github.com/creack/pty \ = davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew = \ = dgraph-io:badger:v1.5.3:dgraph_io_badger/vendor/github.com/dgraph-io/badge= r \ = dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-g= o \ = dgryski:go-farm:6a90982ecee2:dgryski_go_farm/vendor/github.com/dgryski/go-= farm \ = dominikh:go-tools:v0.0.1-2019.2.3:dominikh_go_tools/vendor/honnef.co/go/to= ols \ = dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-h= umanize \ = etcd-io:bbolt:v1.3.2:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ etcd-io:etcd:v3.3.18:etcd_io_etcd/vendor/go.etcd.io/etcd = \ = fatih:color:v1.8.0:fatih_color/vendor/github.com/fatih/color \ = fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsno= tify \ = go-chi:chi:v4.0.2:go_chi_chi/vendor/github.com/go-chi/chi \ = go-critic:go-critic:v0.4.0:go_critic_go_critic/vendor/github.com/go-critic= /go-critic \ go-ini:ini:v1.51.1:go_ini_ini/vendor/gopkg.in/ini.v1 \ = go-lintpack:lintpack:v0.5.2:go_lintpack_lintpack/vendor/github.com/go-lint= pack/lintpack \ = go-sql-driver:mysql:v1.4.1:go_sql_driver_mysql/vendor/github.com/go-sql-dr= iver/mysql \ = go-toolsmith:astcast:v1.0.0:go_toolsmith_astcast/vendor/github.com/go-tool= smith/astcast \ = go-toolsmith:astcopy:v1.0.0:go_toolsmith_astcopy/vendor/github.com/go-tool= smith/astcopy \ = go-toolsmith:astequal:v1.0.0:go_toolsmith_astequal/vendor/github.com/go-to= olsmith/astequal \ = go-toolsmith:astfmt:v1.0.0:go_toolsmith_astfmt/vendor/github.com/go-toolsm= ith/astfmt \ = go-toolsmith:astp:v1.0.0:go_toolsmith_astp/vendor/github.com/go-toolsmith/= astp \ = go-toolsmith:strparse:v1.0.0:go_toolsmith_strparse/vendor/github.com/go-to= olsmith/strparse \ = go-toolsmith:typep:v1.0.0:go_toolsmith_typep/vendor/github.com/go-toolsmit= h/typep \ go-yaml:yaml:v2.2.7:go_yaml_yaml/vendor/gopkg.in/yaml.v2 = \ = gobwas:glob:v0.2.3:gobwas_glob/vendor/github.com/gobwas/glob \ = gofrs:flock:5135e617513b:gofrs_flock/vendor/github.com/gofrs/flock \ = gogo:protobuf:v1.3.1:gogo_protobuf/vendor/github.com/gogo/protobuf \ = golang:appengine:v1.5.0:golang_appengine/vendor/google.golang.org/appengin= e \ = golang:crypto:0ec3e9974c59:golang_crypto/vendor/golang.org/x/crypto \ = golang:glog:23def4e6c14b:golang_glog/vendor/github.com/golang/glog \ = golang:groupcache:215e87163ea7:golang_groupcache/vendor/github.com/golang/= groupcache \ = golang:lint:fdd1cda4f05f:golang_lint/vendor/golang.org/x/lint \ = golang:mock:v1.3.1:golang_mock/vendor/github.com/golang/mock \ = golang:net:c0dbc17a3553:golang_net/vendor/golang.org/x/net \ = golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf = \ = golang:sys:b016eb3dc98e:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.2:golang_text/vendor/golang.org/x/text = \ = golang:time:555d28b269f0:golang_time/vendor/golang.org/x/time \ = golang:tools:7be0a674c9fc:golang_tools/vendor/golang.org/x/tools \ = golangci:check:cfe4005ccda2:golangci_check/vendor/github.com/golangci/chec= k \ = golangci:dupl:3e9179ac440a:golangci_dupl/vendor/github.com/golangci/dupl = \ = golangci:errcheck:ef45e06d44b6:golangci_errcheck/vendor/github.com/golangc= i/errcheck \ = golangci:go-misc:927a3d87b613:golangci_go_misc/vendor/github.com/golangci/= go-misc \ = golangci:goconst:041c5f2b40f3:golangci_goconst/vendor/github.com/golangci/= goconst \ = golangci:gocyclo:0a533e8fa43d:golangci_gocyclo/vendor/github.com/golangci/= gocyclo \ = golangci:gofmt:244bba706f1a:golangci_gofmt/vendor/github.com/golangci/gofm= t \ = golangci:golangci-lint:v1.22.2:golangci_golangci_lint/vendor/github.com/go= langci/golangci-lint \ = golangci:ineffassign:42439a7714cc:golangci_ineffassign/vendor/github.com/g= olangci/ineffassign \ = golangci:lint-1:297bf364a8e0:golangci_lint_1/vendor/github.com/golangci/li= nt-1 \ = golangci:maligned:b1d89398deca:golangci_maligned/vendor/github.com/golangc= i/maligned \ = golangci:misspell:950f5d19e770:golangci_misspell/vendor/github.com/golangc= i/misspell \ = golangci:prealloc:215b22d4de21:golangci_prealloc/vendor/github.com/golangc= i/prealloc \ = golangci:revgrep:276a5c0a1039:golangci_revgrep/vendor/github.com/golangci/= revgrep \ = golangci:unconvert:28b1c447d1f4:golangci_unconvert/vendor/github.com/golan= gci/unconvert \ = google:btree:v1.0.0:google_btree/vendor/github.com/google/btree \ = google:certificate-transparency-go:v1.1.0:google_certificate_transparency_= go/vendor/github.com/google/certificate-transparency-go \ = google:go-genproto:f3c370f40bfb:google_go_genproto/vendor/google.golang.or= g/genproto \ = google:monologue:35abc9683a6c:google_monologue/vendor/github.com/google/mo= nologue \ = google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \ = gorilla:websocket:v1.4.1:gorilla_websocket/vendor/github.com/gorilla/webso= cket \ = gostaticanalysis:analysisutil:v0.0.3:gostaticanalysis_analysisutil/vendor/= github.com/gostaticanalysis/analysisutil \ = grpc-ecosystem:go-grpc-middleware:v1.1.0:grpc_ecosystem_go_grpc_middleware= /vendor/github.com/grpc-ecosystem/go-grpc-middleware \ = grpc-ecosystem:go-grpc-prometheus:v1.2.0:grpc_ecosystem_go_grpc_prometheus= /vendor/github.com/grpc-ecosystem/go-grpc-prometheus \ = grpc-ecosystem:grpc-gateway:v1.12.1:grpc_ecosystem_grpc_gateway/vendor/git= hub.com/grpc-ecosystem/grpc-gateway \ = grpc:grpc-go:v1.26.0:grpc_grpc_go/vendor/google.golang.org/grpc \ = hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ = huandu:xstrings:v1.2.0:huandu_xstrings/vendor/github.com/huandu/xstrings = \ = icrowley:fake:4178557ae428:icrowley_fake/vendor/github.com/icrowley/fake = \ = imdario:mergo:v0.3.8:imdario_mergo/vendor/github.com/imdario/mergo \ = inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.c= om/inconshreveable/mousetrap \ = jonboulle:clockwork:v0.1.0:jonboulle_clockwork/vendor/github.com/jonboulle= /clockwork \ = json-iterator:go:v1.1.9:json_iterator_go/vendor/github.com/json-iterator/g= o \ = juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm = \ = kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.c= om/kballard/go-shellquote \ = kisielk:gotool:v1.0.0:kisielk_gotool/vendor/github.com/kisielk/gotool \ = konsorten:go-windows-terminal-sequences:v1.0.2:konsorten_go_windows_termin= al_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ kr:pty:v1.1.8:kr_pty/vendor/github.com/kr/pty \ = kubernetes-sigs:yaml:v1.1.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml = \ = lunixbochs:vtclean:v1.0.0:lunixbochs_vtclean/vendor/github.com/lunixbochs/= vtclean \ = magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magic= onair/properties \ = manifoldco:promptui:v0.3.1:manifoldco_promptui/vendor/github.com/manifoldc= o/promptui \ = matoous:godox:5d6d842e92eb:matoous_godox/vendor/github.com/matoous/godox = \ = mattn:go-colorable:v0.1.4:mattn_go_colorable/vendor/github.com/mattn/go-co= lorable \ = mattn:go-isatty:v0.0.11:mattn_go_isatty/vendor/github.com/mattn/go-isatty = \ = mattn:go-runewidth:v0.0.7:mattn_go_runewidth/vendor/github.com/mattn/go-ru= newidth \ = matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_ex= tensions/vendor/github.com/matttproud/golang_protobuf_extensions \ = mitchellh:copystructure:v1.0.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:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mit= chellh/mapstructure \ = mitchellh:reflectwalk:v1.0.0:mitchellh_reflectwalk/vendor/github.com/mitch= ellh/reflectwalk \ = modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/m= odern-go/concurrent \ = modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/r= eflect2 \ = mvdan:interfacer:c20040233aed:mvdan_interfacer/vendor/mvdan.cc/interfacer = \ mvdan:lint:adc824a0674b:mvdan_lint/vendor/mvdan.cc/lint = \ = mvdan:unparam:960b1ec0f2c2:mvdan_unparam/vendor/mvdan.cc/unparam \ = nbutton23:zxcvbn-go:ae427f1e4c1d:nbutton23_zxcvbn_go/vendor/github.com/nbu= tton23/zxcvbn-go \ = newrelic:go-agent:v2.15.0:newrelic_go_agent/vendor/github.com/newrelic/go-= agent \ = olekukonko:tablewriter:v0.0.4:olekukonko_tablewriter/vendor/github.com/ole= kukonko/tablewriter \ = pelletier:go-toml:v1.6.0:pelletier_go_toml/vendor/github.com/pelletier/go-= toml \ = pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ = pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-= difflib \ = pquerna:otp:v1.0.0:pquerna_otp/vendor/github.com/pquerna/otp \ = prometheus:client_golang:v1.3.0:prometheus_client_golang/vendor/github.com= /prometheus/client_golang \ = prometheus:client_model:v0.1.0:prometheus_client_model/vendor/github.com/p= rometheus/client_model \ = prometheus:common:v0.7.0:prometheus_common/vendor/github.com/prometheus/co= mmon \ = prometheus:procfs:v0.0.8:prometheus_procfs/vendor/github.com/prometheus/pr= ocfs \ rs:xid:v1.2.1:rs_xid/vendor/github.com/rs/xid \ = russross:blackfriday:v2.0.1:russross_blackfriday/vendor/github.com/russros= s/blackfriday/v2 \ = samfoo:ansi:b6bd2ded7189:samfoo_ansi/vendor/github.com/samfoo/ansi \ = securego:gosec:9cb83e10afad:securego_gosec/vendor/github.com/securego/gose= c \ = shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendo= r/github.com/shurcooL/sanitized_anchor_name \ = sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus = \ = smallstep:assert:b99dc1097b15:smallstep_assert/vendor/github.com/smallstep= /assert \ = smallstep:certificates:7846696fbb69:smallstep_certificates/vendor/github.c= om/smallstep/certificates \ = smallstep:certinfo:v1.2.0:smallstep_certinfo/vendor/github.com/smallstep/c= ertinfo \ = smallstep:nosql:v0.2.0:smallstep_nosql/vendor/github.com/smallstep/nosql = \ = smallstep:truststore:v0.9.3:smallstep_truststore/vendor/github.com/smallst= ep/truststore \ = smallstep:zcrypto:fbc32cf76bce:smallstep_zcrypto/vendor/github.com/smallst= ep/zcrypto \ = smallstep:zlint:d84eaafe274f:smallstep_zlint/vendor/github.com/smallstep/z= lint \ = soheilhy:cmux:v0.1.4:soheilhy_cmux/vendor/github.com/soheilhy/cmux \ = sourcegraph:go-diff:v0.5.1:sourcegraph_go_diff/vendor/github.com/sourcegra= ph/go-diff \ = spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \ = spf13:cast:v1.3.1:spf13_cast/vendor/github.com/spf13/cast \ = spf13:cobra:v0.0.5:spf13_cobra/vendor/github.com/spf13/cobra \ = spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/s= pf13/jwalterweatherman \ = spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ = spf13:viper:v1.6.1:spf13_viper/vendor/github.com/spf13/viper \ = square:go-jose:v2.4.0:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \ = stretchr:objx:v0.2.0:stretchr_objx/vendor/github.com/stretchr/objx \ = stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testif= y \ = subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv = \ = timakin:bodyclose:f7f2e9bca95e:timakin_bodyclose/vendor/github.com/timakin= /bodyclose \ = tmc:grpc-websocket-proxy:0ad062ec5ee5:tmc_grpc_websocket_proxy/vendor/gith= ub.com/tmc/grpc-websocket-proxy \ = tommy-muehle:go-mnd:v1.1.1:tommy_muehle_go_mnd/vendor/github.com/tommy-mue= hle/go-mnd \ = uber-go:atomic:v1.5.1:uber_go_atomic/vendor/go.uber.org/atomic \ = uber-go:multierr:v1.4.0:uber_go_multierr/vendor/go.uber.org/multierr \ = uber-go:tools:2cfd321de3ee:uber_go_tools/vendor/go.uber.org/tools \ uber-go:zap:v1.13.0:uber_go_zap/vendor/go.uber.org/zap \ = ultraware:funlen:v0.0.2:ultraware_funlen/vendor/github.com/ultraware/funle= n \ = ultraware:whitespace:v0.0.4:ultraware_whitespace/vendor/github.com/ultrawa= re/whitespace \ = urfave:cli:v1.22.2:urfave_cli/vendor/github.com/urfave/cli \ = uudashr:gocognit:v1.0.1:uudashr_gocognit/vendor/github.com/uudashr/gocogni= t \ = weppos:publicsuffix-go:v0.10.0:weppos_publicsuffix_go/vendor/github.com/we= ppos/publicsuffix-go \ = xiang90:probing:43a291ad63a2:xiang90_probing/vendor/github.com/xiang90/pro= bing GL_TUPLE=3D = https://gitlab.howett.net:go:plist:591f970eefbbeb04d7b37f334a0c4c3256e3287= 6:go_plist/vendor/howett.net/plist # Mirrors for the following packages are not currently = known, please look them up and handle these tuples manually: # = ::v1.0.0:group_name/vendor/sourcegraph.com/sqs/pbtypes #post-extract: # ${RM} ${WRKSRC}/go.mod .include And This the new error I=E2=80=99m getting: =3D=3D=3D> Patching for smallstep-cli-0.14.0.r.5 =3D=3D=3D> smallstep-cli-0.14.0.r.5 depends on package: go>1 - found =3D=3D=3D> smallstep-cli-0.14.0.r.5 depends on package: bash>5 - found =3D=3D=3D> smallstep-cli-0.14.0.r.5 depends on package: curl>7 - found =3D=3D=3D> smallstep-cli-0.14.0.r.5 depends on file: /usr/local/bin/go = - found =3D=3D=3D> Configuring for smallstep-cli-0.14.0.r.5 =3D=3D=3D> Building for smallstep-cli-0.14.0.r.5 (cd /usr/ports/security/smallstep-cli/work/src/smallstep-cli; for t in = smallstep-cli; do out=3D$(/usr/bin/basename $(echo ${t} | /usr/bin/sed = -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/smallstep-cli/')); pkg=3D$(echo = ${t} | /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^smallstep-cli$/./'); = echo "=3D=3D=3D> Building ${out} from ${pkg}"; /usr/bin/env = GOPATH=3D/usr/ports/security/smallstep-cli/work = XDG_DATA_HOME=3D/usr/ports/security/smallstep-cli/work = XDG_CONFIG_HOME=3D/usr/ports/security/smallstep-cli/work = HOME=3D/usr/ports/security/smallstep-cli/work = PATH=3D/usr/ports/security/smallstep-cli/work/.bin:/sbin:/bin:/usr/sbin:/u= sr/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/security/smallstep-cli/work" GOBIN=3D"" = /usr/local/bin/go build -v -buildmode=3Dexe -ldflags=3D-s -o = /usr/ports/security/smallstep-cli/work/bin/${out} ${pkg}; done) =3D=3D=3D> Building smallstep-cli from . can't load package: package .: no Go files in = /usr/ports/security/smallstep-cli/work/src/smallstep-cli *** Error code 1