summaryrefslogtreecommitdiff
path: root/databases/influxdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/influxdb/Makefile')
-rw-r--r--databases/influxdb/Makefile47
1 files changed, 40 insertions, 7 deletions
diff --git a/databases/influxdb/Makefile b/databases/influxdb/Makefile
index 8961b5e..d5d86c4 100644
--- a/databases/influxdb/Makefile
+++ b/databases/influxdb/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= influxdb
-PORTVERSION= 0.9.0.rc31
+PORTVERSION= 0.9.0
CATEGORIES= databases net-mgmt
MASTER_SITES= GITHUB:github \
https://codeload.github.com/BurntSushi/toml/legacy.tar.gz/${TOML_GH_COMMIT}?dummy=/:toml \
@@ -10,7 +10,14 @@ MASTER_SITES= GITHUB:github \
https://codeload.github.com/kimor79/gollectd/legacy.tar.gz/${GOLLECTD_GH_COMMIT}?dummy=/:gollectd \
https://codeload.github.com/peterh/liner/legacy.tar.gz/${LINER_GH_COMMIT}?dummy=/:liner \
https://codeload.github.com/rakyll/statik/legacy.tar.gz/${STATIK_GH_COMMIT}?dummy=/:statik \
- https://codeload.github.com/golang/crypto/legacy.tar.gz/${GOCRYPTO_GH_COMMIT}?dummy=/:crypto
+ https://codeload.github.com/golang/crypto/legacy.tar.gz/${GOCRYPTO_GH_COMMIT}?dummy=/:crypto \
+ https://codeload.github.com/hashicorp/raft-boltdb/legacy.tar.gz/${RAFTBOLTDB_GH_COMMIT}?dummy=/:raft_boltdb \
+ https://codeload.github.com/hashicorp/raft/legacy.tar.gz/${RAFT_GH_COMMIT}?dummy=/:raft \
+ https://codeload.github.com/hashicorp/go-msgpack/legacy.tar.gz/${MSGPACK_GH_COMMIT}?dummy=/:msgpack \
+ https://codeload.github.com/gogo/protobuf/legacy.tar.gz/${PROTOBUF_GH_COMMIT}?dummy=/:protobuf \
+ https://codeload.github.com/fatih/pool/legacy.tar.gz/${POOL_GH_COMMIT}?dummy=/:pool \
+ https://codeload.github.com/armon/go-metrics/legacy.tar.gz/${METRICS_GH_COMMIT}?dummy=/:metrics \
+ https://codeload.github.com/golang/protobuf/legacy.tar.gz/${GOPROTOBUF_GH_COMMIT}?dummy=/:goprotobuf
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:github \
BurntSushi-toml-${TOML_GH_COMMIT}.tar.gz:toml \
@@ -19,7 +26,14 @@ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:github \
kimor79-gollectd-${GOLLECTD_GH_COMMIT}.tar.gz:gollectd \
peterh-liner-${LINER_GH_COMMIT}.tar.gz:liner \
rakyll-statik-${STATIK_GH_COMMIT}.tar.gz:statik \
- golang-crypt-${GOCRYPTO_GH_COMMIT}.tar.gz:crypto
+ golang-crypto-${GOCRYPTO_GH_COMMIT}.tar.gz:crypto \
+ hashicorp-raft-boltdb-${RAFTBOLTDB_GH_COMMIT}.tar.gz:raft_boltdb \
+ hashicorp-raft-${RAFT_GH_COMMIT}.tar.gz:raft \
+ hashicorp-go-msgpack-${MSGPACK_GH_COMMIT}.tar.gz:msgpack \
+ gogo-protobuf-${PROTOBUF_GH_COMMIT}.tar.gz:protobuf \
+ fatih-pool-${POOL_GH_COMMIT}.tar.gz:pool \
+ armon-go-metrics-${METRICS_GH_COMMIT}.tar.gz:metrics \
+ golang-protobuf-${GOPROTOBUF_GH_COMMIT}.tar.gz:goprotobuf
MAINTAINER= cheffo@freebsd-bg.org
COMMENT= Open-source distributed time series database
@@ -37,16 +51,23 @@ USE_RC_SUBR= influxd
USE_GITHUB= yes
GH_ACCOUNT= influxdb
GH_PROJECT= influxdb
-GH_TAGNAME= v0.9.0-rc31
+GH_TAGNAME= v0.9.0
# all id's last fixed on 2015-05-10 21:00
TOML_GH_COMMIT= 056c9bc
PAT_GH_COMMIT= b8a3500
-BOLT_GH_COMMIT= 2c04100
-GOLLECTD_GH_COMMIT= cf6dec9
+BOLT_GH_COMMIT= 04a3e85
+GOLLECTD_GH_COMMIT= 61d0dee
LINER_GH_COMMIT= 1bb0d1c
STATIK_GH_COMMIT= 274df12
-GOCRYPTO_GH_COMMIT= 24ffb5f
+GOCRYPTO_GH_COMMIT= 1e856cb
+RAFTBOLTDB_GH_COMMIT= d1e82c1
+RAFT_GH_COMMIT= 379e28e
+MSGPACK_GH_COMMIT= fa3f638
+PROTOBUF_GH_COMMIT= 05b9dd0
+POOL_GH_COMMIT= cba550e
+METRICS_GH_COMMIT= b2d95e5
+GOPROTOBUF_GH_COMMIT= aece6fb
SUB_FILES= influxd
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \
@@ -82,6 +103,11 @@ post-patch:
@${MKDIR} ${WRKDIR}/src/github.com/peterh
@${MKDIR} ${WRKDIR}/src/github.com/rakyll
@${MKDIR} ${WRKDIR}/src/golang.org/x
+ @${MKDIR} ${WRKDIR}/src/github.com/hashicorp
+ @${MKDIR} ${WRKDIR}/src/github.com/gogo
+ @${MKDIR} ${WRKDIR}/src/gopkg.in/fatih
+ @${MKDIR} ${WRKDIR}/src/github.com/armon
+ @${MKDIR} ${WRKDIR}/src/github.com/golang
@${LN} -s ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
@${MV} ${WRKDIR}/BurntSushi-toml-${TOML_GH_COMMIT} ${WRKDIR}/src/github.com/BurntSushi/toml
@${MV} ${WRKDIR}/bmizerany-pat-${PAT_GH_COMMIT} ${WRKDIR}/src/github.com/bmizerany/pat
@@ -90,6 +116,13 @@ post-patch:
@${MV} ${WRKDIR}/peterh-liner-${LINER_GH_COMMIT} ${WRKDIR}/src/github.com/peterh/liner
@${MV} ${WRKDIR}/rakyll-statik-${STATIK_GH_COMMIT} ${WRKDIR}/src/github.com/rakyll/statik
@${MV} ${WRKDIR}/golang-crypto-${GOCRYPTO_GH_COMMIT} ${WRKDIR}/src/golang.org/x/crypto
+ @${MV} ${WRKDIR}/hashicorp-raft-boltdb-${RAFTBOLTDB_GH_COMMIT} ${WRKDIR}/src/github.com/hashicorp/raft-boltdb
+ @${MV} ${WRKDIR}/hashicorp-raft-${RAFT_GH_COMMIT} ${WRKDIR}/src/github.com/hashicorp/raft
+ @${MV} ${WRKDIR}/hashicorp-go-msgpack-${MSGPACK_GH_COMMIT} ${WRKDIR}/src/github.com/hashicorp/go-msgpack
+ @${MV} ${WRKDIR}/gogo-protobuf-${PROTOBUF_GH_COMMIT} ${WRKDIR}/src/github.com/gogo/protobuf
+ @${MV} ${WRKDIR}/fatih-pool-${POOL_GH_COMMIT} ${WRKDIR}/src/gopkg.in/fatih/pool.v2
+ @${MV} ${WRKDIR}/armon-go-metrics-${METRICS_GH_COMMIT} ${WRKDIR}/src/github.com/armon/go-metrics
+ @${MV} ${WRKDIR}/golang-protobuf-${GOPROTOBUF_GH_COMMIT} ${WRKDIR}/src/github.com/golang/protobuf
do-build:
@cd ${WRKDIR}/src/github.com/influxdb/influxdb && ${SETENV} ${GO_ENV} go install -v -x ./cmd/influx ./cmd/influxd