From 546e7eca0bec6ec409c793646ce499b2cbe90d64 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Sat, 20 Mar 2021 13:38:12 +0000 Subject: [PATCH] freebsd arm64 --- .drone.yml | 8 ++++---- go.mod | 2 +- go.sum | 6 ++++-- tun/tun.go | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8ff5c2f..bccbe38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,9 +36,9 @@ steps: - name: cache path: /go commands: - - GOOS=linux GOARCH=amd64 go build -o linux_amd64 - - GOOS=linux GOARCH=arm GOARM=7 go build -o linux_arm_v7 - - GOOS=freebsd GOARCH=arm go build -o freebsd_arm_v8a + - GOOS=linux GOARCH=amd64 go build -o linux_amd64 + - GOOS=linux GOARCH=arm GOARM=7 go build -o linux_arm_v7 + - GOOS=freebsd GOARCH=arm64 GOARM=8 go build -o freebsd_arm64_v8a - name: upload image: minio/mc @@ -53,7 +53,7 @@ steps: - mc alias set s3 https://s3.us-west-001.backblazeb2.com $${ACCESS_KEY} $${SECRET_KEY} - mc cp linux_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_amd64 - mc cp linux_arm_v7 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm_v7 - - mc cp freebsd_arm_v8a s3/dissertation/binaries/debian/${DRONE_BRANCH}_freebsd_arm_v8a + - mc cp freebsd_arm64_v8a s3/dissertation/binaries/debian/${DRONE_BRANCH}_freebsd_arm64_v8a volumes: - name: cache diff --git a/go.mod b/go.mod index ad76837..999cca7 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module mpbl3p go 1.15 require ( + github.com/JakeHillion/taptun v0.0.0-20210320133200-cf0ef75b1bff // indirect github.com/go-playground/validator/v10 v10.4.1 - github.com/pkg/taptun v0.0.0-20160424131934-bbbd335672ab github.com/smartystreets/goconvey v1.6.4 // indirect github.com/stretchr/testify v1.4.0 golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 diff --git a/go.sum b/go.sum index 2c6ebc9..cc4beb1 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,7 @@ +github.com/JakeHillion/taptun v0.0.0-20160424131934-bbbd335672ab h1:/UB98lLA11PJZOqhdzqeITMTMz6eiTjti9Z9kYq1SWQ= +github.com/JakeHillion/taptun v0.0.0-20160424131934-bbbd335672ab/go.mod h1:8WBFCKR7ZdT+WVtgyiSPJf6gqXiNZUvfglN8vwkoyBE= +github.com/JakeHillion/taptun v0.0.0-20210320133200-cf0ef75b1bff h1:O+wiKpOHS2BidwDz6ZuR3dVQNsrD55raE9mY4yub6Wc= +github.com/JakeHillion/taptun v0.0.0-20210320133200-cf0ef75b1bff/go.mod h1:8WBFCKR7ZdT+WVtgyiSPJf6gqXiNZUvfglN8vwkoyBE= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= @@ -14,8 +18,6 @@ github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7 github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/pkg/taptun v0.0.0-20160424131934-bbbd335672ab h1:dAXDRtXYxj4sTR5WeRuTFJGH18QMT6AUpUgRwedI6es= -github.com/pkg/taptun v0.0.0-20160424131934-bbbd335672ab/go.mod h1:N5a/Ll2ZNk5wjiLNW9LIiNtO9RNYcaYmcXSYKMYrlDg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= diff --git a/tun/tun.go b/tun/tun.go index b4141f2..d76fabb 100644 --- a/tun/tun.go +++ b/tun/tun.go @@ -1,7 +1,7 @@ package tun import ( - "github.com/pkg/taptun" + "github.com/JakeHillion/taptun" "io" "log" "mpbl3p/proxy"