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,50 +1,47 @@ 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 DISTNAME= go-ipfs-source MAINTAINER= jhixson@FreeBSD.org COMMENT= IPFS implementation in Go LICENSE= MIT APACHE20 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 GO_TARGET= ./cmd/ipfs:ipfs-go NO_WRKSUBDIR= yes USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= ${FULLNAME} SUB_LIST= IPFS_USER=${IPFS_USER} \ IPFS_GROUP=${IPFS_GROUP} \ IPFS_HOME=${IPFS_HOME} PLIST_SUB= IPFS_USER=${IPFS_USER} \ IPFS_GROUP=${IPFS_GROUP} \ IPFS_HOME=${IPFS_HOME} IPFS_USER?= ${FULLNAME} IPFS_GROUP?= ${FULLNAME} IPFS_HOME?= /var/db/${FULLNAME} USERS= ${IPFS_USER} GROUPS= ${IPFS_GROUP} FULLNAME= ${PORTNAME}${PKGNAMESUFFIX} post-install: @${MKDIR} ${STAGEDIR}${IPFS_HOME} .include 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 != "" {