Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 18:36:35 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460724 - head/sysutils/ipfs-go
Message-ID:  <201802021836.w12IaZKV026967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Feb  2 18:36:34 2018
New Revision: 460724
URL: https://svnweb.freebsd.org/changeset/ports/460724

Log:
  sysutils/ipfs-go: update 0.4.7 -> 0.4.13
  
  PR:		225564
  Submitted by:	jhixson@gmail.com (maintainer)
  Relnotes:	https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md

Modified:
  head/sysutils/ipfs-go/Makefile
  head/sysutils/ipfs-go/distinfo

Modified: head/sysutils/ipfs-go/Makefile
==============================================================================
--- head/sysutils/ipfs-go/Makefile	Fri Feb  2 18:25:38 2018	(r460723)
+++ head/sysutils/ipfs-go/Makefile	Fri Feb  2 18:36:34 2018	(r460724)
@@ -1,44 +1,28 @@
 # $FreeBSD$
 
-PORTNAME=	ipfs-go
-PORTVERSION=	0.4.7
+PORTNAME=	ipfs
+PORTVERSION=	0.4.13
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
+MASTER_SITES=	https://dist.ipfs.io/go-ipfs/${DISTVERSIONPREFIX}${DISTVERSION}/
+PKGNAMESUFFIX=	-go
+DISTNAME=	go-ipfs_${DISTVERSIONPREFIX}${DISTVERSION}_freebsd-${ARCH}
 
 MAINTAINER=	jhixson@gmail.com
 COMMENT=	IPFS implementation in Go
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	go>=1.7:lang/go
-
 ONLY_FOR_ARCHS=	amd64
 
-USES=		compiler go
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	jhixson74
-
-MAKE_ENV+=	GOPATH=${WRKSRC}
-
 PLIST_FILES=	bin/${PORTNAME}
 
-USE_RC_SUBR=	${PORTNAME}
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/go-ipfs
 
-do-build:
-	cd ${WRKSRC}/src/github.com/ipfs/go-ipfs/cmd/ipfs; \
-		${SETENV} ${BUILD_ENV} ${MAKE_ENV} go build -v -x \
-			-ldflags "-X main.GitDescribe=${DISTVERSIONFULL}" -o bin/${PORTNAME}
+USE_RC_SUBR=	${PORTNAME}${PKGNAMESUFFIX}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/ipfs/go-ipfs/cmd/ipfs/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} ${WRKSRC}/ipfs ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
-.include <bsd.port.pre.mk>
-
-# golang assumes that if clang is in use, it is called "clang" and not "cc". If
-# it's called "cc", go fails.
-.if ${COMPILER_TYPE} == clang
-BUILD_ENV=  CC=clang
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/sysutils/ipfs-go/distinfo
==============================================================================
--- head/sysutils/ipfs-go/distinfo	Fri Feb  2 18:25:38 2018	(r460723)
+++ head/sysutils/ipfs-go/distinfo	Fri Feb  2 18:36:34 2018	(r460724)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489661432
-SHA256 (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 2aeaa4da7593c5d05536af12620896d02df51f05d6b5d2bd5233c90574263372
-SIZE (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 33007329
+TIMESTAMP = 1517328625
+SHA256 (go-ipfs_v0.4.13_freebsd-amd64.tar.gz) = abafe87c44c720b075cac8a4b8c2f31f317fadfcf21a90cd01f3446111ab93f1
+SIZE (go-ipfs_v0.4.13_freebsd-amd64.tar.gz) = 9229641



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