Index: head/sysutils/ipfs-go/Makefile =================================================================== --- head/sysutils/ipfs-go/Makefile (revision 402789) +++ head/sysutils/ipfs-go/Makefile (revision 402790) @@ -1,47 +1,47 @@ # $FreeBSD$ PORTNAME= ipfs-go -PORTVERSION= 0.3.7 +PORTVERSION= 0.3.9 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= wg@FreeBSD.org COMMENT= IPFS implementation in Go BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go USES= gmake USE_GITHUB= yes GH_ACCOUNT= ipfs GH_PROJECT= go-ipfs MAKE_ENV+= GOPATH=${WRKSRC} PLIST_FILES= bin/${PORTNAME} USE_RC_SUBR= ${PORTNAME} STRIP= # stripping can break go binaries .include .if ${ARCH} == i386 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-32bit .endif # Prepare for possible extra modules in future post-extract: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} -.for src in CHANGELOG.md Dockerfile Godeps LICENSE Makefile README.md assets bin blocks blockservice circle.yml cmd commands core dev dev.md diagnostics doc.go docs exchange fuse importer ipnsfs jenkins merkledag metrics misc namesys notifications p2p path pin repo routing test thirdparty tour unixfs updates util +.for src in CHANGELOG.md Dockerfile Godeps LICENSE Makefile README.md assets bin blocks blockservice circle.yml cmd commands core dev dev.md diagnostics doc.go docs exchange fuse importer ipnsfs merkledag metrics misc namesys notifications p2p path pin repo routing tar test thirdparty tour unixfs updates util vendor ${MV} ${WRKSRC}/${src} \ - ${WRKSRC}/src/github.com/ipfs/${GH_PROJECT} + ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} .endfor do-build: cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/ipfs/ipfs ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/sysutils/ipfs-go/distinfo =================================================================== --- head/sysutils/ipfs-go/distinfo (revision 402789) +++ head/sysutils/ipfs-go/distinfo (revision 402790) @@ -1,6 +1,2 @@ -SHA256 (ipfs-go-ipfs-v0.3.7_GH0.tar.gz) = 4f811ff9a949162513585a073b97973029788561eace2f8b956884af968f717d -SIZE (ipfs-go-ipfs-v0.3.7_GH0.tar.gz) = 2500872 -SHA256 (golang-crypto-74f810a_GH0.tar.gz) = 25e0c9cb7c6d6a5935aa318c9792fa6e18c8e0238994b5be039f90c8d58fd680 -SIZE (golang-crypto-74f810a_GH0.tar.gz) = 864642 -SHA256 (codahale-metrics-7c37910_GH0.tar.gz) = 6d8da9cd2be5f02afadbd12154a6ebdd5a79bc3dd2904339b017db3cd7607492 -SIZE (codahale-metrics-7c37910_GH0.tar.gz) = 5282 +SHA256 (ipfs-go-ipfs-v0.3.9_GH0.tar.gz) = 74c8cac25f7ef0c5702fe7b59421b2072169ae357d393990c16cc7caccccbc73 +SIZE (ipfs-go-ipfs-v0.3.9_GH0.tar.gz) = 2791618 Index: head/sysutils/ipfs-go/files/ipfs-go.in =================================================================== --- head/sysutils/ipfs-go/files/ipfs-go.in (revision 402789) +++ head/sysutils/ipfs-go/files/ipfs-go.in (revision 402790) @@ -1,38 +1,38 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: ipfs_go # REQUIRE: NETWORKING # BEFORE: LOGIN # KEYWORD: shutdown # Define these ipfs_go_* variables in /etc/rc.conf[.local]: # # ipfs_go_enable="YES" # ipfs_go_path="/tank/ipfs" . /etc/rc.subr -ipfs_go_enable=${exp_ipfs_enable-"NO"} -ipfs_go_path="/var/db/ipfs" +: ${ipfs_go_enable:="NO"} +: ${ipfs_go_path:="/root/.ipfs"} name=ipfs_go rcvar=ipfs_go_enable command="%%PREFIX%%/bin/ipfs-go" start_precmd="ipfs_go_prestart" start_cmd="ipfs_go_start" ipfs_go_prestart() { [ -d ${ipfs_go_path}/datastore ] || env IPFS_PATH=${ipfs_go_path} ${command} init } ipfs_go_start() { echo running ${command} daemon env IPFS_PATH=${ipfs_go_path} daemon -f ${command} daemon } load_rc_config $name run_rc_command "$1"