Add "dep" files: Gopkg.toml and Gopkg.lock

Allows users to get a reproduceable build. Still needs to
be integrated into build.bash.

Suggested at https://github.com/rfjakob/gocryptfs/issues/142
This commit is contained in:
Jakob Unterwurzacher 2017-09-06 20:52:30 +02:00
parent 604b0779d4
commit 512be8f081
4 changed files with 69 additions and 1 deletions

4
.gitignore vendored
View File

@ -13,3 +13,7 @@
# Rendered manpage
gocryptfs.1
# Dependencies copied by "dep"
/vendor
/_vendor-*

45
Gopkg.lock generated Normal file
View File

@ -0,0 +1,45 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
branch = "master"
name = "github.com/hanwen/go-fuse"
packages = ["fuse","fuse/nodefs","fuse/pathfs","splice"]
revision = "8412ede026c468f5bd2126c53308fc723ccb69d1"
[[projects]]
branch = "master"
name = "github.com/jacobsa/crypto"
packages = ["cmac","common","siv"]
revision = "293ce0c192fb4f59cd879b46544922b9ed09a13a"
[[projects]]
branch = "master"
name = "github.com/rfjakob/eme"
packages = ["."]
revision = "7c8316a9cb0a6af865265f899f5de6aadb31a24b"
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
packages = ["hkdf","pbkdf2","scrypt","ssh/terminal"]
revision = "81e90905daefcd6fd217b62423c0908922eadb30"
[[projects]]
branch = "master"
name = "golang.org/x/sync"
packages = ["syncmap"]
revision = "f52d1811a62927559de87708c8913c1650ce4f26"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = ["unix","windows"]
revision = "9aade4d3a3b7e6d876cd3823ad20ec45fc035402"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "146e0ce80d2f3218b67980d099db45a0e27383d18c0ca03ef29ab99382797c68"
solver-name = "gps-cdcl"
solver-version = 1

19
Gopkg.toml Normal file
View File

@ -0,0 +1,19 @@
[[constraint]]
branch = "master"
name = "github.com/hanwen/go-fuse"
[[constraint]]
branch = "master"
name = "github.com/jacobsa/crypto"
[[constraint]]
branch = "master"
name = "github.com/rfjakob/eme"
[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
[[constraint]]
branch = "master"
name = "golang.org/x/sync"

View File

@ -4,4 +4,4 @@ package main
// Cause an early compile error on Go 1.4 an lower. We need Go 1.5 for a number
// of reasons, among them NewGCMWithNonceSize, RawURLEncoding, runtime/trace.
import "You_need_Go_1.5_or_higher_to_compile_gocryptfs"
import "You_need_Go_1_5_or_higher_to_compile_gocryptfs"