From 0e4ebfa194efd6574c1ac6dc7e518b989fff5368 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 15 May 2018 14:21:33 +0200 Subject: [PATCH] Add vendoring for Homebrew --- .gitignore | 1 + Gopkg.lock | 42 ++++++++++++++++++++++++++++++++++++++++++ Gopkg.toml | 15 +++++++++++++++ Makefile | 1 - 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml diff --git a/.gitignore b/.gitignore index e460293..431991b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ wireguard-go +vendor diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..342148a --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,42 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + branch = "master" + name = "golang.org/x/crypto" + packages = [ + "chacha20poly1305", + "internal/chacha20", + "poly1305", + "blake2s", + "curve25519" + ] + revision = "1a580b3eff7814fc9b40602fd35256c63b50f491" + +[[projects]] + branch = "master" + name = "golang.org/x/net" + packages = [ + "bpf", + "internal/iana", + "internal/socket", + "ipv4", + "ipv6" + ] + revision = "2491c5de3490fced2f6cff376127c667efeed857" + +[[projects]] + branch = "master" + name = "golang.org/x/sys" + packages = [ + "cpu", + "unix" + ] + revision = "7c87d13f8e835d2fb3a70a2912c811ed0c1d241b" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "831221f90003ef3b3b4e8277051718f6c8094b04a9cf42ebe02f25e8af866657" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..9b1e669 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,15 @@ +[[constraint]] + branch = "master" + name = "golang.org/x/crypto" + +[[constraint]] + branch = "master" + name = "golang.org/x/sys" + +[[constraint]] + branch = "master" + name = "golang.org/x/net" + +[prune] + go-tests = true + unused-packages = true diff --git a/Makefile b/Makefile index 21b2103..7941326 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ BINDIR ?= $(PREFIX)/bin all: wireguard-go wireguard-go: $(wildcard *.go) $(wildcard */*.go) - go get -d -v go build -v -o $@ install: wireguard-go