]> Cypherpunks repositories - govpn.git/commitdiff
Fixed path to working water-library
authorSergey Matveev <stargrave@stargrave.org>
Fri, 13 Mar 2015 10:03:18 +0000 (13:03 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 13 Mar 2015 10:03:22 +0000 (13:03 +0300)
Thanks to Martin G (https://github.com/martingartonft) for pointing this out!

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
makefile
tap_linux.go

index d6bed1c2b977680150c448a3fb8bb6a332d45ffe..b1e4229e7ceed501f81973c4850a07d3b0c9326b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6,6 +6,7 @@ LDFLAGS=-X govpn.Version $(VERSION)
 all: govpn-client govpn-server
 
 dependencies:
+       [ "$(shell uname)" = FreeBSD ] || go get github.com/bigeagle/water
        go get golang.org/x/crypto/poly1305
        go get golang.org/x/crypto/salsa20
        go get golang.org/x/crypto/xtea
index 938a3b5056e73647ff46628e0b9acb1ad4b20321..d3f2de3b9e49c2bb68a12f3ca9578121881103c6 100644 (file)
@@ -10,7 +10,7 @@ package govpn
 import (
        "io"
 
-       "github.com/chon219/water"
+       "github.com/bigeagle/water"
 )
 
 func newTAPer(string ifaceName) (io.ReadWriteCloser, error) {