summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 14:21:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 14:49:52 +0200
commit0e4ebfa194efd6574c1ac6dc7e518b989fff5368 (patch)
tree2a2a96f2cfc0da04849a80a5b8fd03fbbe201123
parentDo not send keepalive if closed (diff)
downloadwireguard-go-0e4ebfa194efd6574c1ac6dc7e518b989fff5368.tar.xz
wireguard-go-0e4ebfa194efd6574c1ac6dc7e518b989fff5368.zip
Add vendoring for Homebrew
-rw-r--r--.gitignore1
-rw-r--r--Gopkg.lock42
-rw-r--r--Gopkg.toml15
-rw-r--r--Makefile1
4 files changed, 58 insertions, 1 deletions
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