diff options
author | John Hixson <jhixson@FreeBSD.org> | 2021-04-10 04:20:17 +0000 |
---|---|---|
committer | John Hixson <jhixson@FreeBSD.org> | 2021-04-10 04:27:57 +0000 |
commit | 713c35324e0f47fd679a27aafad96645a431e550 (patch) | |
tree | 7edcf04b432cba05f3ff5c5ad89c4ca70b95d159 | |
parent | e11b1bc94d553950fbf53ef1ddb6df0287b0e377 (diff) | |
download | ports-713c35324e0f47fd679a27aafad96645a431e550.tar.gz ports-713c35324e0f47fd679a27aafad96645a431e550.zip |
sysutils/ipfs-go: Add patch file and pkg-message
PR: 253590
Reported by: <swills@FreeBSD.org>
-rw-r--r-- | sysutils/ipfs-go/Makefile | 1 | ||||
-rw-r--r-- | sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go | 11 | ||||
-rw-r--r-- | sysutils/ipfs-go/pkg-message | 9 |
3 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile index 8744a1859f6a..a343a02b0a58 100644 --- a/sysutils/ipfs-go/Makefile +++ b/sysutils/ipfs-go/Makefile @@ -1,6 +1,7 @@ PORTNAME= ipfs DISTVERSIONPREFIX= v DISTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= -go diff --git a/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go b/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go new file mode 100644 index 000000000000..dd4ebf4b02d2 --- /dev/null +++ b/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go @@ -0,0 +1,11 @@ +--- repo/fsrepo/migrations/migrations.go.orig 2021-03-02 03:58:49 UTC ++++ repo/fsrepo/migrations/migrations.go +@@ -15,7 +15,7 @@ import ( + "strings" + ) + +-var DistPath = "https://ipfs.io/ipfs/QmYRLRDKobvg1AXTGeK5Xk6ntWTsjGiHbyNKhWfz7koGpa" ++var DistPath = "" + + func init() { + if dist := os.Getenv("IPFS_DIST_PATH"); dist != "" { diff --git a/sysutils/ipfs-go/pkg-message b/sysutils/ipfs-go/pkg-message new file mode 100644 index 000000000000..bdc98a3771b5 --- /dev/null +++ b/sysutils/ipfs-go/pkg-message @@ -0,0 +1,9 @@ +[ +{ type: upgrade + message: <<EOM +You may wish to install ipfs-go-fs-repo-migrations +(sysutils/ipfs-go-fs-repo-migrations) in order to do db +migration with the "ipfs daemon --migrate" command. +EOM +} +] |