1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

sysutils/ipfs-go: update to 0.18.1, switch to go1.19

- go1.18 is EOL, switch to go1.19
- Update port to fetch its distfile and dependencies from the Go proxy
- Update to the latest release

PR: 269311
Submitted by: dmgk@freebsd.org
This commit is contained in:
John Hixson 2023-02-03 14:27:09 -08:00
parent 5b92e52131
commit 27fb6b6c68
3 changed files with 14 additions and 16 deletions

View File

@ -1,29 +1,25 @@
PORTNAME= ipfs
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.0
PORTREVISION= 6
DISTVERSION= 0.18.1
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
WWW= https://github.com/ipfs/go-ipfs
WWW= https://github.com/ipfs/kubo
LICENSE= MIT APACHE20
LICENSE_COMB= dual
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
USES= cpe go:1.18,modules
USES= cpe go:1.19,modules
CPE_VENDOR= protocol
GO_MODULE= github.com/ipfs/kubo
GO_TARGET= ./cmd/ipfs:ipfs-go
NO_WRKSUBDIR= yes
USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}
SUB_FILES= ${FULLNAME}

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1655490739
SHA256 (go-ipfs-source.tar.gz) = 784207b26b43def178f115451c4cf6f20915bfbbb9d2930113c67ea1a33aa4b3
SIZE (go-ipfs-source.tar.gz) = 13474994
TIMESTAMP = 1675430958
SHA256 (go/sysutils_ipfs-go/ipfs-v0.18.1/v0.18.1.mod) = 507eee7a17fab434e6a5c7f193448a08d6e3683d5adc5a3746ae4e295da279fe
SIZE (go/sysutils_ipfs-go/ipfs-v0.18.1/v0.18.1.mod) = 11884
SHA256 (go/sysutils_ipfs-go/ipfs-v0.18.1/v0.18.1.zip) = 7d8cb5b6ce18253f87f7fa678a2f0f9c0ae3a95ca125965598c2b914d4f44beb
SIZE (go/sysutils_ipfs-go/ipfs-v0.18.1/v0.18.1.zip) = 2416507

View File

@ -1,11 +1,11 @@
--- repo/fsrepo/migrations/fetcher.go.orig 2022-06-17 18:33:52 UTC
--- repo/fsrepo/migrations/fetcher.go.orig 1979-11-30 05:00:00 UTC
+++ repo/fsrepo/migrations/fetcher.go
@@ -11,7 +11,7 @@ const (
@@ -11,7 +11,7 @@ import (
const (
// Current distribution to fetch migrations from
- CurrentIpfsDist = "/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN" // fs-repo-11-to-12 v1.0.2
+ CurrentIpfsDist = "" // fs-repo-11-to-12 v1.0.2
- CurrentIpfsDist = "/ipfs/Qmf4yftD4LuMo8JMNPqqw3BtUwYd2VkXMiAThuPE6usrbQ" // fs-repo-12-to-13 v1.0.0
+ CurrentIpfsDist = "" // fs-repo-12-to-13 v1.0.0
// Latest distribution path. Default for fetchers.
LatestIpfsDist = "/ipns/dist.ipfs.io"
LatestIpfsDist = "/ipns/dist.ipfs.tech"