Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2021 04:28:01 GMT
From:      John Hixson <jhixson@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 713c35324e0f - main - sysutils/ipfs-go: Add patch file and pkg-message
Message-ID:  <202104100428.13A4S12d083186@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhixson:

URL: https://cgit.FreeBSD.org/ports/commit/?id=713c35324e0f47fd679a27aafad96645a431e550

commit 713c35324e0f47fd679a27aafad96645a431e550
Author:     John Hixson <jhixson@FreeBSD.org>
AuthorDate: 2021-04-10 04:20:17 +0000
Commit:     John Hixson <jhixson@FreeBSD.org>
CommitDate: 2021-04-10 04:27:57 +0000

    sysutils/ipfs-go: Add patch file and pkg-message
    
    PR:     253590
    Reported by: <swills@FreeBSD.org>
---
 sysutils/ipfs-go/Makefile                                     |  1 +
 .../ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go  | 11 +++++++++++
 sysutils/ipfs-go/pkg-message                                  |  9 +++++++++
 3 files changed, 21 insertions(+)

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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104100428.13A4S12d083186>