git: dd74c3ecc189 - main - sysutils/ipfs-go: Update to 0.11.0 [1]

From: Steve Wills <swills_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 21:32:11 UTC
The branch main has been updated by swills:

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

commit dd74c3ecc189fbf6cca1fae1f0fe59696dbc0b9c
Author:     John Hixson <jhixson@FreeBSD.org>
AuthorDate: 2022-03-12 21:22:41 +0000
Commit:     Steve Wills <swills@FreeBSD.org>
CommitDate: 2022-03-12 21:29:55 +0000

    sysutils/ipfs-go: Update to 0.11.0 [1]
    
    While here, remove ONLY_FOR_ARCHES [2]
    
    PR:             261054 [1]
    Reported by:    trasz [1]
    Tested by:      trasz [1]
    Tested by:      Robert Clausecker <fuz@fuz.su> [2]
    MFH:            2022Q1
    Differential Revision:  https://reviews.freebsd.org/D33812
---
 sysutils/ipfs-go/Makefile                                     |  5 +----
 sysutils/ipfs-go/distinfo                                     |  6 +++---
 .../ipfs-go/files/patch-repo_fsrepo_migrations_fetcher.go     | 11 +++++++++++
 .../ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go  | 11 -----------
 4 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile
index 36532b538a04..38fead056197 100644
--- a/sysutils/ipfs-go/Makefile
+++ b/sysutils/ipfs-go/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	ipfs
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.8.0
-PORTREVISION=	1
+DISTVERSION=	0.11.0
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	-go
@@ -15,8 +14,6 @@ LICENSE_COMB=	dual
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
 
-ONLY_FOR_ARCHS=	aarch64 amd64 i386
-
 USES=		cpe go:modules
 
 CPE_VENDOR=	protocol
diff --git a/sysutils/ipfs-go/distinfo b/sysutils/ipfs-go/distinfo
index 9fc4f81d714a..7d51775d0d4d 100644
--- a/sysutils/ipfs-go/distinfo
+++ b/sysutils/ipfs-go/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614654821
-SHA256 (go-ipfs-source.tar.gz) = b8adfe124af900cea69869a31528f5468b66e696c7eb9ec161494ff41dfd584c
-SIZE (go-ipfs-source.tar.gz) = 13909276
+TIMESTAMP = 1641833266
+SHA256 (go-ipfs-source.tar.gz) = 9533c69c5a8383231699208f98b1e0b863672503168bd2cface65f0e0792f58e
+SIZE (go-ipfs-source.tar.gz) = 15141897
diff --git a/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_fetcher.go b/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_fetcher.go
new file mode 100644
index 000000000000..0ddf4c1de515
--- /dev/null
+++ b/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_fetcher.go
@@ -0,0 +1,11 @@
+--- repo/fsrepo/migrations/fetcher.go.orig	2022-01-10 17:25:02 UTC
++++ repo/fsrepo/migrations/fetcher.go
+@@ -10,7 +10,7 @@ import (
+ 
+ const (
+ 	// Current distribution to fetch migrations from
+-	CurrentIpfsDist = "/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR" // fs-repo-migrations v2.0.2
++	CurrentIpfsDist = "" // fs-repo-migrations v2.0.2
+ 	// Latest distribution path.  Default for fetchers.
+ 	LatestIpfsDist = "/ipns/dist.ipfs.io"
+ 
diff --git a/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go b/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go
deleted file mode 100644
index dd4ebf4b02d2..000000000000
--- a/sysutils/ipfs-go/files/patch-repo_fsrepo_migrations_migrations.go
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 != "" {