From owner-svn-ports-all@freebsd.org Thu Mar 16 11:54:28 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C55EDD0DDE8; Thu, 16 Mar 2017 11:54:28 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87B251A3F; Thu, 16 Mar 2017 11:54:28 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2GBsRo3015969; Thu, 16 Mar 2017 11:54:27 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2GBsR0R015967; Thu, 16 Mar 2017 11:54:27 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201703161154.v2GBsR0R015967@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Thu, 16 Mar 2017 11:54:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436273 - in head/sysutils/ipfs-go: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 11:54:28 -0000 Author: wg Date: Thu Mar 16 11:54:27 2017 New Revision: 436273 URL: https://svnweb.freebsd.org/changeset/ports/436273 Log: sysutils/ipfs-go: update to 0.4.7 - Pass maintainership to submitter PR: 217835 Submitted by: John Hixson Deleted: head/sysutils/ipfs-go/files/extra-patch-32bit Modified: head/sysutils/ipfs-go/Makefile head/sysutils/ipfs-go/distinfo Modified: head/sysutils/ipfs-go/Makefile ============================================================================== --- head/sysutils/ipfs-go/Makefile Thu Mar 16 11:38:40 2017 (r436272) +++ head/sysutils/ipfs-go/Makefile Thu Mar 16 11:54:27 2017 (r436273) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= ipfs-go -PORTVERSION= 0.3.10 +PORTVERSION= 0.4.7 DISTVERSIONPREFIX= v CATEGORIES= sysutils -MAINTAINER= wg@FreeBSD.org +MAINTAINER= jhixson@gmail.com COMMENT= IPFS implementation in Go -BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go +LICENSE= MIT -BROKEN_i386= does not build +BUILD_DEPENDS= go>=1.7:lang/go -USES= gmake +ONLY_FOR_ARCHS= amd64 + +USES= compiler go USE_GITHUB= yes -GH_ACCOUNT= ipfs -GH_PROJECT= go-ipfs -GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +GH_ACCOUNT= jhixson74 MAKE_ENV+= GOPATH=${WRKSRC} @@ -27,20 +27,20 @@ USE_RC_SUBR= ${PORTNAME} STRIP= # stripping can break go binaries -.include - -.if ${ARCH} == i386 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-32bit -.endif - -post-patch: - ${GREP} -lR github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log ${WRKSRC} 2>/dev/null | \ - while read gosrc; do sed -i.bak 's#github.com/ipfs/go-ipfs/vendor/##g' $$gosrc; done - do-build: - cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} 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} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/ipfs/ipfs ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/ipfs/go-ipfs/cmd/ipfs/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include + +# 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 Modified: head/sysutils/ipfs-go/distinfo ============================================================================== --- head/sysutils/ipfs-go/distinfo Thu Mar 16 11:38:40 2017 (r436272) +++ head/sysutils/ipfs-go/distinfo Thu Mar 16 11:54:27 2017 (r436273) @@ -1,2 +1,3 @@ -SHA256 (ipfs-go-ipfs-v0.3.10_GH0.tar.gz) = 5f3e465ed0b37e1886ea71bd89586faf5968048be18e8105b7ca908376865edc -SIZE (ipfs-go-ipfs-v0.3.10_GH0.tar.gz) = 3047589 +TIMESTAMP = 1489661432 +SHA256 (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 2aeaa4da7593c5d05536af12620896d02df51f05d6b5d2bd5233c90574263372 +SIZE (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 33007329