summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
da9dff3)
Self-written Makefile did exactly the same task as git-submodule,
so replace with this already got tool for simplicity.
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
--- /dev/null
+[submodule "src/github.com/bigeagle/water"]
+ path = src/github.com/bigeagle/water
+ url = https://github.com/bigeagle/water.git
+[submodule "src/github.com/agl/ed25519"]
+ path = src/github.com/agl/ed25519
+ url = https://github.com/agl/ed25519.git
+[submodule "src/golang.org/x/crypto"]
+ path = src/golang.org/x/crypto
+ url = https://go.googlesource.com/crypto
all: govpn-client govpn-server govpn-verifier
all: govpn-client govpn-server govpn-verifier
-depends:
- $(MAKE) -C src
-
-govpn-client: depends
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-client
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-client
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-server
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-server
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-verifier
bench:
GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-verifier
bench:
Development source contains the latest version of the code. It may be
buggy. It does not contain compiled documentation and dependent
Development source contains the latest version of the code. It may be
buggy. It does not contain compiled documentation and dependent
-libraries source code. Because of that it is not recommended for porters.
+libraries source code. Because of that it is not recommended for
+porters: use prepared tarballs!
-You can obtain it by cloning Git repository:
-@code{git clone git://git.cypherpunks.ru/govpn.git}.
-@code{src} directory has makefile that will download necessary dependent
-library versions.
+You can obtain it by cloning Git repository and fetching dependent
+libraries source code as git submodules:
+
+@example
+% git clone git://git.cypherpunks.ru/govpn.git govpn
+% cd govpn
+% git submodule update --init
+@end example
Also there is mirror of dependent libraries for safety if their native
repositories will be unavailable (they are seldom updated):
Also there is mirror of dependent libraries for safety if their native
repositories will be unavailable (they are seldom updated):
@item @code{govpn} @tab @url{https://github.com/stargrave/govpn.git}
@item @code{golang.org/x/crypto} @tab @url{git://git.cypherpunks.ru/crypto.git}
@item @code{github.com/agl/ed25519} @tab @url{git://git.cypherpunks.ru/ed25519.git}
@item @code{govpn} @tab @url{https://github.com/stargrave/govpn.git}
@item @code{golang.org/x/crypto} @tab @url{git://git.cypherpunks.ru/crypto.git}
@item @code{github.com/agl/ed25519} @tab @url{git://git.cypherpunks.ru/ed25519.git}
+@item @code{github.com/bigeagle/water} @tab @url{git://git.cypherpunks.ru/water.git}
+++ /dev/null
-GIT ?= git
-
-all: golang.org/x/crypto github.com/agl/ed25519 github.com/bigeagle/water
-
-github.com/bigeagle/water:
- mkdir -p github.com/bigeagle
- $(GIT) clone https://github.com/bigeagle/water.git github.com/bigeagle/water
- cd github.com/bigeagle/water && $(GIT) checkout --force 36aebfeb35da4f1f6a975726716c6fc563c5c495
-
-github.com/agl/ed25519:
- mkdir -p github.com/agl
- $(GIT) clone https://github.com/agl/ed25519.git github.com/agl/ed25519
- cd github.com/agl/ed25519 && $(GIT) checkout --force d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
-
-golang.org/x/crypto:
- mkdir -p golang.org/x
- $(GIT) clone https://go.googlesource.com/crypto golang.org/x/crypto
- cd golang.org/x/crypto && $(GIT) checkout --force 2f3083f6163ef51179ad42ed523a18c9a1141467
--- /dev/null
+Subproject commit d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
--- /dev/null
+Subproject commit 36aebfeb35da4f1f6a975726716c6fc563c5c495
--- /dev/null
+Subproject commit 2f3083f6163ef51179ad42ed523a18c9a1141467