Date: Thu, 16 Mar 2017 11:54:27 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> 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 Message-ID: <201703161154.v2GBsR0R015967@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - -.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 <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> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703161154.v2GBsR0R015967>