Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= influxdb |
3 |
PORTNAME= influxdb |
4 |
PORTVERSION= 0.9.6.1 |
4 |
PORTVERSION= 0.10.0 |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
CATEGORIES= databases net-mgmt |
6 |
CATEGORIES= databases net-mgmt |
7 |
|
7 |
|
Lines 18-59
Link Here
|
18 |
|
18 |
|
19 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= influxdb:DEFAULT \ |
20 |
GH_ACCOUNT= influxdb:DEFAULT \ |
21 |
alecthomas:log4go \ |
21 |
BurntSushi:BurntSushi_toml \ |
22 |
armon:go_metrics \ |
22 |
armon:armon_go_metrics \ |
23 |
BurntSushi:toml \ |
23 |
bmizerany:bmizerany_pat \ |
24 |
bmizerany:pat \ |
24 |
boltdb:boltdb_bolt \ |
25 |
boltdb:bolt \ |
25 |
collectd:collectd_go_collectd \ |
26 |
cheffo:crypto,go_uuid \ |
26 |
davecgh:davecgh_go_spew \ |
27 |
collectd:go_collectd \ |
27 |
dgryski:dgryski_go_bits \ |
28 |
dgryski:go_bits,go_bitstream \ |
28 |
dgryski:dgryski_go_bitstream \ |
29 |
fatih:pool \ |
29 |
fatih:fatih_pool \ |
30 |
gogo:gogo_protobuf \ |
30 |
gogo:gogo_protobuf \ |
31 |
golang:golang_protobuf,golang_snappy \ |
31 |
golang:golang_crypto,golang_snappy \ |
32 |
hashicorp:raft,raft_boltdb,go_msgpack \ |
32 |
hashicorp:hashicorp_go_msgpack,hashicorp_raft,hashicorp_raft_boltdb \ |
33 |
influxdb:enterprise_client \ |
33 |
influxdb:influxdb_usage_client \ |
34 |
influxdata:usage_client \ |
34 |
jwilder:jwilder_encoding \ |
35 |
jwilder:encoding \ |
35 |
kimor79:kimor79_gollectd \ |
36 |
kimor79:gollectd \ |
36 |
paulbellamy:paulbellamy_ratecounter \ |
37 |
peterh:liner \ |
37 |
peterh:peterh_liner \ |
38 |
rakyll:statik \ |
38 |
rakyll:rakyll_statik |
39 |
paulbellamy:ratecounter |
39 |
|
40 |
GH_PROJECT= bolt:bolt crypto:crypto encoding:encoding \ |
40 |
GH_PROJECT= bolt:boltdb_bolt \ |
41 |
enterprise-client:enterprise_client go-bits:go_bits \ |
41 |
crypto:golang_crypto \ |
42 |
go-bitstream:go_bitstream go-collectd:go_collectd \ |
42 |
encoding:jwilder_encoding \ |
43 |
go-metrics:go_metrics go-msgpack:go_msgpack gollectd:gollectd \ |
43 |
go-bits:dgryski_go_bits \ |
44 |
liner:liner log4go:log4go pat:pat pool:pool \ |
44 |
go-bitstream:dgryski_go_bitstream \ |
45 |
protobuf:gogo_protobuf protobuf:golang_protobuf \ |
45 |
go-collectd:collectd_go_collectd \ |
46 |
raft-boltdb:raft_boltdb raft:raft ratecounter:ratecounter \ |
46 |
go-metrics:armon_go_metrics \ |
47 |
snappy:golang_snappy, statik:statik toml:toml go-uuid:go_uuid \ |
47 |
go-msgpack:hashicorp_go_msgpack \ |
48 |
usage-client:usage_client |
48 |
go-spew:davecgh_go_spew \ |
49 |
GH_TAGNAME= b34b35e:bolt 056c9bc:toml 1351f93:crypto 4d47685:liner \ |
49 |
gollectd:kimor79_gollectd \ |
50 |
5c3c713:log4go 274df12:statik e492fd3:gogo_protobuf \ |
50 |
liner:peterh_liner \ |
51 |
61d0dee:gollectd 68415e7:golang_protobuf 06b6099:go_metrics \ |
51 |
pat:bmizerany_pat \ |
52 |
b8a3500:pat cba550e:pool d1e82c1:raft_boltdb ed3ca8a:go_uuid \ |
52 |
pool:fatih_pool \ |
53 |
d136cd1:raft fa3f638:go_msgpack 723cc1e:golang_snappy \ |
53 |
protobuf:gogo_protobuf \ |
54 |
9fc824c:go_collectd 86c69b3:go_bits 27cd597:go_bitstream \ |
54 |
raft-boltdb:hashicorp_raft_boltdb \ |
55 |
07d88d4:encoding 25665cb:enterprise_client 5a11f58:ratecounter \ |
55 |
raft:hashicorp_raft \ |
56 |
475977e:usage_client |
56 |
ratecounter:paulbellamy_ratecounter \ |
|
|
57 |
snappy:golang_snappy \ |
58 |
statik:rakyll_statik \ |
59 |
toml:BurntSushi_toml \ |
60 |
usage-client:influxdb_usage_client |
61 |
|
62 |
GH_TAGNAME= 5c4df71:BurntSushi_toml \ |
63 |
345426c:armon_go_metrics \ |
64 |
b8a3500:bmizerany_pat \ |
65 |
2f846c3:boltdb_bolt \ |
66 |
9fc824c:collectd_go_collectd \ |
67 |
5215b55:davecgh_go_spew \ |
68 |
86c69b3:dgryski_go_bits \ |
69 |
27cd597:dgryski_go_bitstream \ |
70 |
cba550e:fatih_pool \ |
71 |
82d16f7:gogo_protobuf \ |
72 |
1f22c01:golang_crypto \ |
73 |
894fd46:golang_snappy \ |
74 |
fa3f638:hashicorp_go_msgpack \ |
75 |
057b893:hashicorp_raft \ |
76 |
d1e82c1:hashicorp_raft_boltdb \ |
77 |
475977e:influxdb_usage_client \ |
78 |
07d88d4:jwilder_encoding \ |
79 |
61d0dee:kimor79_gollectd \ |
80 |
5a11f58:paulbellamy_ratecounter \ |
81 |
ad1edfd:peterh_liner \ |
82 |
274df12:rakyll_statik |
57 |
|
83 |
|
58 |
SUB_FILES= influxd |
84 |
SUB_FILES= influxd |
59 |
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \ |
85 |
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \ |
Lines 81-94
Link Here
|
81 |
STRIP= # stripping can break go binaries |
107 |
STRIP= # stripping can break go binaries |
82 |
|
108 |
|
83 |
post-patch: |
109 |
post-patch: |
84 |
@${MKDIR} ${WRKSRC}/src/code.google.com/p |
|
|
85 |
@${MKDIR} ${WRKSRC}/src/github.com/BurntSushi |
110 |
@${MKDIR} ${WRKSRC}/src/github.com/BurntSushi |
86 |
@${MKDIR} ${WRKSRC}/src/github.com/armon |
111 |
@${MKDIR} ${WRKSRC}/src/github.com/armon |
87 |
@${MKDIR} ${WRKSRC}/src/github.com/bmizerany |
112 |
@${MKDIR} ${WRKSRC}/src/github.com/bmizerany |
88 |
@${MKDIR} ${WRKSRC}/src/github.com/boltdb |
113 |
@${MKDIR} ${WRKSRC}/src/github.com/boltdb |
89 |
@${MKDIR} ${WRKSRC}/src/collectd.org |
114 |
@${MKDIR} ${WRKSRC}/src/collectd.org |
|
|
115 |
@${MKDIR} ${WRKSRC}/src/github.com/davecgh |
90 |
@${MKDIR} ${WRKSRC}/src/github.com/dgryski |
116 |
@${MKDIR} ${WRKSRC}/src/github.com/dgryski |
91 |
@${MKDIR} ${WRKSRC}/src/github.com/fatih |
|
|
92 |
@${MKDIR} ${WRKSRC}/src/github.com/gogo |
117 |
@${MKDIR} ${WRKSRC}/src/github.com/gogo |
93 |
@${MKDIR} ${WRKSRC}/src/github.com/golang |
118 |
@${MKDIR} ${WRKSRC}/src/github.com/golang |
94 |
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp |
119 |
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp |
Lines 99-142
Link Here
|
99 |
@${MKDIR} ${WRKSRC}/src/github.com/peterh |
124 |
@${MKDIR} ${WRKSRC}/src/github.com/peterh |
100 |
@${MKDIR} ${WRKSRC}/src/github.com/rakyll |
125 |
@${MKDIR} ${WRKSRC}/src/github.com/rakyll |
101 |
@${MKDIR} ${WRKSRC}/src/golang.org/x |
126 |
@${MKDIR} ${WRKSRC}/src/golang.org/x |
|
|
127 |
@${MKDIR} ${WRKSRC}/src/gopkg.in/fatih |
102 |
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
128 |
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
103 |
.for src in LICENSE_OF_DEPENDENCIES.md Makefile build-docker.sh build.py \ |
129 |
.for src in Dockerfile LICENSE LICENSE_OF_DEPENDENCIES.md Makefile \ |
104 |
circle-test.sh circle.yml client cluster cmd errors.go etc importer \ |
130 |
build-docker.sh build.py build.sh circle-test.sh circle.yml \ |
105 |
influxql influxvar.go meta models monitor nightly.sh package.sh \ |
131 |
client cluster cmd errors.go etc gobuild.sh importer influxql \ |
106 |
pkg scripts services shared snapshot statik stress tcp \ |
132 |
influxvar.go models monitor nightly.sh node.go package.sh pkg \ |
107 |
test-32bit-docker.sh tests toml tsdb uuid |
133 |
scripts services shared statik stress tcp test.sh tests toml tsdb uuid |
108 |
@${MV} ${WRKSRC}/${src} \ |
134 |
@${MV} ${WRKSRC}/${src} \ |
109 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
135 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
110 |
.endfor |
136 |
.endfor |
111 |
@${MV} ${WRKSRC_bolt} ${WRKSRC}/src/github.com/boltdb/bolt |
137 |
@${MV} ${WRKSRC_BurntSushi_toml} ${WRKSRC}/src/github.com/BurntSushi/toml |
112 |
@${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto |
138 |
@${MV} ${WRKSRC_boltdb_bolt} ${WRKSRC}/src/github.com/boltdb/bolt |
113 |
@${MV} ${WRKSRC_encoding} ${WRKSRC}/src/github.com/jwilder/encoding |
139 |
@${MV} ${WRKSRC_davecgh_go_spew} ${WRKSRC}/src/github.com/davecgh/go-spew |
114 |
@${MV} ${WRKSRC_enterprise_client} ${WRKSRC}/src/github.com/influxdb/enterprise-client |
140 |
@${MV} ${WRKSRC_golang_crypto} ${WRKSRC}/src/golang.org/x/crypto |
115 |
@${MV} ${WRKSRC_usage_client} ${WRKSRC}/src/github.com/influxdb/usage-client |
|
|
116 |
@${MV} ${WRKSRC_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits |
117 |
@${MV} ${WRKSRC_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream |
118 |
@${MV} ${WRKSRC_go_collectd}/api ${WRKSRC}/src/collectd.org/api |
119 |
@${MV} ${WRKSRC_go_collectd}/network ${WRKSRC}/src/collectd.org/network |
120 |
@${MV} ${WRKSRC_go_collectd}/cdtime ${WRKSRC}/src/collectd.org/cdtime |
121 |
@${MV} ${WRKSRC_go_metrics} ${WRKSRC}/src/github.com/armon/go-metrics |
122 |
@${MV} ${WRKSRC_go_uuid} ${WRKSRC}/src/code.google.com/p/go-uuid |
123 |
@${MV} ${WRKSRC_go_msgpack} ${WRKSRC}/src/github.com/hashicorp/go-msgpack |
124 |
@${MV} ${WRKSRC_gogo_protobuf} ${WRKSRC}/src/github.com/gogo/protobuf |
125 |
@${MV} ${WRKSRC_golang_protobuf} ${WRKSRC}/src/github.com/golang/protobuf |
126 |
@${MV} ${WRKSRC_gollectd} ${WRKSRC}/src/github.com/kimor79/gollectd |
127 |
@${MV} ${WRKSRC_liner} ${WRKSRC}/src/github.com/peterh/liner |
128 |
@${MV} ${WRKSRC_log4go} ${WRKSRC}/src/code.google.com/p/log4go |
129 |
@${MV} ${WRKSRC_pat} ${WRKSRC}/src/github.com/bmizerany/pat |
130 |
@${MV} ${WRKSRC_pool} ${WRKSRC}/src/github.com/fatih/pool |
131 |
@${MV} ${WRKSRC_raft_boltdb} ${WRKSRC}/src/github.com/hashicorp/raft-boltdb |
132 |
@${MV} ${WRKSRC_raft} ${WRKSRC}/src/github.com/hashicorp/raft |
133 |
@${MV} ${WRKSRC_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter |
134 |
@${MV} ${WRKSRC_statik} ${WRKSRC}/src/github.com/rakyll/statik |
135 |
@${MV} ${WRKSRC_golang_snappy} ${WRKSRC}/src/github.com/golang/snappy |
141 |
@${MV} ${WRKSRC_golang_snappy} ${WRKSRC}/src/github.com/golang/snappy |
136 |
@${MV} ${WRKSRC_toml} ${WRKSRC}/src/github.com/BurntSushi/toml |
142 |
@${MV} ${WRKSRC_jwilder_encoding} ${WRKSRC}/src/github.com/jwilder/encoding |
|
|
143 |
@${MV} ${WRKSRC_influxdb_usage_client} ${WRKSRC}/src/github.com/influxdb/usage-client |
144 |
@${MV} ${WRKSRC_dgryski_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits |
145 |
@${MV} ${WRKSRC_dgryski_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream |
146 |
@${MV} ${WRKSRC_collectd_go_collectd}/api ${WRKSRC}/src/collectd.org/api |
147 |
@${MV} ${WRKSRC_collectd_go_collectd}/cdtime ${WRKSRC}/src/collectd.org/cdtime |
148 |
@${MV} ${WRKSRC_collectd_go_collectd}/exec ${WRKSRC}/src/collectd.org/exec |
149 |
@${MV} ${WRKSRC_collectd_go_collectd}/export ${WRKSRC}/src/collectd.org/export |
150 |
@${MV} ${WRKSRC_collectd_go_collectd}/format ${WRKSRC}/src/collectd.org/format |
151 |
@${MV} ${WRKSRC_collectd_go_collectd}/network ${WRKSRC}/src/collectd.org/network |
152 |
@${MV} ${WRKSRC_armon_go_metrics} ${WRKSRC}/src/github.com/armon/go-metrics |
153 |
@${MV} ${WRKSRC_hashicorp_go_msgpack} ${WRKSRC}/src/github.com/hashicorp/go-msgpack |
154 |
@${MV} ${WRKSRC_hashicorp_raft} ${WRKSRC}/src/github.com/hashicorp/raft |
155 |
@${MV} ${WRKSRC_hashicorp_raft_boltdb} ${WRKSRC}/src/github.com/hashicorp/raft-boltdb |
156 |
@${MV} ${WRKSRC_gogo_protobuf} ${WRKSRC}/src/github.com/gogo/protobuf |
157 |
@${MV} ${WRKSRC_kimor79_gollectd} ${WRKSRC}/src/github.com/kimor79/gollectd |
158 |
@${MV} ${WRKSRC_peterh_liner} ${WRKSRC}/src/github.com/peterh/liner |
159 |
@${MV} ${WRKSRC_bmizerany_pat} ${WRKSRC}/src/github.com/bmizerany/pat |
160 |
@${MV} ${WRKSRC_fatih_pool} ${WRKSRC}/src/gopkg.in/fatih/pool.v2 |
161 |
@${MV} ${WRKSRC_paulbellamy_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter |
162 |
@${MV} ${WRKSRC_rakyll_statik} ${WRKSRC}/src/github.com/rakyll/statik |
137 |
|
163 |
|
138 |
do-build: |
164 |
do-build: |
139 |
@cd ${WRKSRC}/src/github.com/influxdb/ && ${SETENV} GOPATH=${WRKSRC} go install ./... |
165 |
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/ && ${SETENV} GOPATH=${WRKSRC} go install ./... |
140 |
|
166 |
|
141 |
do-install: |
167 |
do-install: |
142 |
${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ |
168 |
${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ |
Lines 146-151
Link Here
|
146 |
post-install: |
172 |
post-install: |
147 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd |
173 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd |
148 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx |
174 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx |
|
|
175 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_inspect ${STAGEDIR}${PREFIX}/bin/influx_inspect |
176 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_tsm ${STAGEDIR}${PREFIX}/bin/influx_tsm |
149 |
@${SED} -i .bak -e \ |
177 |
@${SED} -i .bak -e \ |
150 |
"s|/tmp/influxdb/development|/var/db/influxdb|g" \ |
178 |
"s|/tmp/influxdb/development|/var/db/influxdb|g" \ |
151 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml |
179 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml |