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.12.1 |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
CATEGORIES= databases net-mgmt |
6 |
CATEGORIES= databases net-mgmt |
7 |
|
7 |
|
Lines 17-59
Link Here
|
17 |
USE_RC_SUBR= influxd |
17 |
USE_RC_SUBR= influxd |
18 |
|
18 |
|
19 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= influxdb:DEFAULT \ |
20 |
GH_ACCOUNT= influxdata:DEFAULT |
21 |
alecthomas:log4go \ |
21 |
GH_TUPLE= BurntSushi:toml:bbd5bb6:toml \ |
22 |
armon:go_metrics \ |
22 |
armon:go-metrics:f303b03:go_metrics \ |
23 |
BurntSushi:toml \ |
23 |
bmizerany:pat:c068ca2:pat \ |
24 |
bmizerany:pat \ |
24 |
boltdb:bolt:144418e:bolt \ |
25 |
boltdb:bolt \ |
25 |
dgryski:go-bits:86c69b3:go_bits \ |
26 |
cheffo:crypto,go_uuid \ |
26 |
dgryski:go-bitstream:27cd597:go_bitstream \ |
27 |
collectd:go_collectd \ |
27 |
gogo:protobuf:74b6e9d:protobuf \ |
28 |
dgryski:go_bits,go_bitstream \ |
28 |
golang:snappy:ef80b33:snappy \ |
29 |
fatih:pool \ |
29 |
hashicorp:go-msgpack:fa3f638:go_msgpack \ |
30 |
gogo:gogo_protobuf \ |
30 |
hashicorp:raft:1c84b7c:raft \ |
31 |
golang:golang_protobuf,golang_snappy \ |
31 |
hashicorp:raft-boltdb:d1e82c1:raft_boltdb \ |
32 |
hashicorp:raft,raft_boltdb,go_msgpack \ |
32 |
influxdata:usage-client:475977e:usage_client \ |
33 |
influxdb:enterprise_client \ |
33 |
jwilder:encoding:07d88d4:encoding \ |
34 |
influxdata:usage_client \ |
34 |
kimor79:gollectd:b5dddb1:gollectd \ |
35 |
jwilder:encoding \ |
35 |
paulbellamy:ratecounter:5a11f58:ratecounter \ |
36 |
kimor79:gollectd \ |
36 |
peterh:liner:49ca659:liner \ |
37 |
peterh:liner \ |
37 |
rakyll:statik:2940084:statik \ |
38 |
rakyll:statik \ |
38 |
collectd:go-collectd:9fc824c:go_collectd \ |
39 |
paulbellamy:ratecounter |
39 |
golang:crypto:3fbbcd2:crypto \ |
40 |
GH_PROJECT= bolt:bolt crypto:crypto encoding:encoding \ |
40 |
fatih:pool:cba550e:pool |
41 |
enterprise-client:enterprise_client go-bits:go_bits \ |
|
|
42 |
go-bitstream:go_bitstream go-collectd:go_collectd \ |
43 |
go-metrics:go_metrics go-msgpack:go_msgpack gollectd:gollectd \ |
44 |
liner:liner log4go:log4go pat:pat pool:pool \ |
45 |
protobuf:gogo_protobuf protobuf:golang_protobuf \ |
46 |
raft-boltdb:raft_boltdb raft:raft ratecounter:ratecounter \ |
47 |
snappy:golang_snappy, statik:statik toml:toml go-uuid:go_uuid \ |
48 |
usage-client:usage_client |
49 |
GH_TAGNAME= b34b35e:bolt 056c9bc:toml 1351f93:crypto 4d47685:liner \ |
50 |
5c3c713:log4go 274df12:statik e492fd3:gogo_protobuf \ |
51 |
61d0dee:gollectd 68415e7:golang_protobuf 06b6099:go_metrics \ |
52 |
b8a3500:pat cba550e:pool d1e82c1:raft_boltdb ed3ca8a:go_uuid \ |
53 |
d136cd1:raft fa3f638:go_msgpack 723cc1e:golang_snappy \ |
54 |
9fc824c:go_collectd 86c69b3:go_bits 27cd597:go_bitstream \ |
55 |
07d88d4:encoding 25665cb:enterprise_client 5a11f58:ratecounter \ |
56 |
475977e:usage_client |
57 |
|
41 |
|
58 |
SUB_FILES= influxd |
42 |
SUB_FILES= influxd |
59 |
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \ |
43 |
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \ |
Lines 81-142
Link Here
|
81 |
STRIP= # stripping can break go binaries |
65 |
STRIP= # stripping can break go binaries |
82 |
|
66 |
|
83 |
post-patch: |
67 |
post-patch: |
84 |
@${MKDIR} ${WRKSRC}/src/code.google.com/p |
|
|
85 |
@${MKDIR} ${WRKSRC}/src/github.com/BurntSushi |
68 |
@${MKDIR} ${WRKSRC}/src/github.com/BurntSushi |
86 |
@${MKDIR} ${WRKSRC}/src/github.com/armon |
69 |
@${MKDIR} ${WRKSRC}/src/github.com/armon |
87 |
@${MKDIR} ${WRKSRC}/src/github.com/bmizerany |
70 |
@${MKDIR} ${WRKSRC}/src/github.com/bmizerany |
88 |
@${MKDIR} ${WRKSRC}/src/github.com/boltdb |
71 |
@${MKDIR} ${WRKSRC}/src/github.com/boltdb |
89 |
@${MKDIR} ${WRKSRC}/src/collectd.org |
|
|
90 |
@${MKDIR} ${WRKSRC}/src/github.com/dgryski |
72 |
@${MKDIR} ${WRKSRC}/src/github.com/dgryski |
91 |
@${MKDIR} ${WRKSRC}/src/github.com/fatih |
|
|
92 |
@${MKDIR} ${WRKSRC}/src/github.com/gogo |
73 |
@${MKDIR} ${WRKSRC}/src/github.com/gogo |
93 |
@${MKDIR} ${WRKSRC}/src/github.com/golang |
74 |
@${MKDIR} ${WRKSRC}/src/github.com/golang |
94 |
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp |
75 |
@${MKDIR} ${WRKSRC}/src/github.com/hashicorp |
|
|
76 |
@${MKDIR} ${WRKSRC}/src/github.com/influxdata |
95 |
@${MKDIR} ${WRKSRC}/src/github.com/jwilder |
77 |
@${MKDIR} ${WRKSRC}/src/github.com/jwilder |
96 |
@${MKDIR} ${WRKSRC}/src/github.com/influxdb |
|
|
97 |
@${MKDIR} ${WRKSRC}/src/github.com/kimor79 |
78 |
@${MKDIR} ${WRKSRC}/src/github.com/kimor79 |
98 |
@${MKDIR} ${WRKSRC}/src/github.com/paulbellamy |
79 |
@${MKDIR} ${WRKSRC}/src/github.com/paulbellamy |
99 |
@${MKDIR} ${WRKSRC}/src/github.com/peterh |
80 |
@${MKDIR} ${WRKSRC}/src/github.com/peterh |
100 |
@${MKDIR} ${WRKSRC}/src/github.com/rakyll |
81 |
@${MKDIR} ${WRKSRC}/src/github.com/rakyll |
101 |
@${MKDIR} ${WRKSRC}/src/golang.org/x |
82 |
@${MKDIR} ${WRKSRC}/src/golang.org/x |
|
|
83 |
@${MKDIR} ${WRKSRC}/src/gopkg.in/fatih |
102 |
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
84 |
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
103 |
.for src in LICENSE_OF_DEPENDENCIES.md Makefile build-docker.sh build.py \ |
85 |
@cd ${WRKSRC} && \ |
104 |
circle-test.sh circle.yml client cluster cmd errors.go etc importer \ |
86 |
${MV} CHANGELOG.md CODING_GUIDELINES.md CONTRIBUTING.md DOCKER.md \ |
105 |
influxql influxvar.go meta models monitor nightly.sh package.sh \ |
87 |
Dockerfile Dockerfile_build_ubuntu32 Dockerfile_build_ubuntu64 \ |
106 |
pkg scripts services shared snapshot statik stress tcp \ |
88 |
Dockerfile_build_ubuntu64_git Dockerfile_test_ubuntu32 Godeps LICENSE \ |
107 |
test-32bit-docker.sh tests toml tsdb uuid |
89 |
LICENSE_OF_DEPENDENCIES.md Makefile QUERIES.md README.md build-docker.sh \ |
108 |
@${MV} ${WRKSRC}/${src} \ |
90 |
build.py build.sh circle-test.sh circle.yml client cluster \ |
109 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
91 |
cmd errors.go etc gobuild.sh importer influxdb.go influxql \ |
110 |
.endfor |
92 |
influxvar.go models monitor nightly.sh node.go package.sh pkg scripts \ |
|
|
93 |
services stress tcp test.sh tests toml tsdb uuid \ |
94 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} |
95 |
@${MV} ${WRKSRC_toml} ${WRKSRC}/src/github.com/BurntSushi/toml |
96 |
@${MV} ${WRKSRC_go_metrics} ${WRKSRC}/src/github.com/armon/go-metrics |
97 |
@${MV} ${WRKSRC_pat} ${WRKSRC}/src/github.com/bmizerany/pat |
111 |
@${MV} ${WRKSRC_bolt} ${WRKSRC}/src/github.com/boltdb/bolt |
98 |
@${MV} ${WRKSRC_bolt} ${WRKSRC}/src/github.com/boltdb/bolt |
112 |
@${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto |
|
|
113 |
@${MV} ${WRKSRC_encoding} ${WRKSRC}/src/github.com/jwilder/encoding |
114 |
@${MV} ${WRKSRC_enterprise_client} ${WRKSRC}/src/github.com/influxdb/enterprise-client |
115 |
@${MV} ${WRKSRC_usage_client} ${WRKSRC}/src/github.com/influxdb/usage-client |
116 |
@${MV} ${WRKSRC_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits |
99 |
@${MV} ${WRKSRC_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits |
117 |
@${MV} ${WRKSRC_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream |
100 |
@${MV} ${WRKSRC_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream |
118 |
@${MV} ${WRKSRC_go_collectd}/api ${WRKSRC}/src/collectd.org/api |
101 |
@${MV} ${WRKSRC_protobuf} ${WRKSRC}/src/github.com/gogo/protobuf |
119 |
@${MV} ${WRKSRC_go_collectd}/network ${WRKSRC}/src/collectd.org/network |
102 |
@${MV} ${WRKSRC_snappy} ${WRKSRC}/src/github.com/golang/snappy |
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 |
103 |
@${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 |
104 |
@${MV} ${WRKSRC_raft} ${WRKSRC}/src/github.com/hashicorp/raft |
|
|
105 |
@${MV} ${WRKSRC_raft_boltdb} ${WRKSRC}/src/github.com/hashicorp/raft-boltdb |
106 |
@${MV} ${WRKSRC_usage_client} ${WRKSRC}/src/github.com/influxdata/usage-client |
107 |
@${MV} ${WRKSRC_encoding} ${WRKSRC}/src/github.com/jwilder/encoding |
108 |
@${MV} ${WRKSRC_gollectd} ${WRKSRC}/src/github.com/kimor79/gollectd |
133 |
@${MV} ${WRKSRC_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter |
109 |
@${MV} ${WRKSRC_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter |
|
|
110 |
@${MV} ${WRKSRC_liner} ${WRKSRC}/src/github.com/peterh/liner |
134 |
@${MV} ${WRKSRC_statik} ${WRKSRC}/src/github.com/rakyll/statik |
111 |
@${MV} ${WRKSRC_statik} ${WRKSRC}/src/github.com/rakyll/statik |
135 |
@${MV} ${WRKSRC_golang_snappy} ${WRKSRC}/src/github.com/golang/snappy |
112 |
@${MV} ${WRKSRC_go_collectd} ${WRKSRC}/src/collectd.org |
136 |
@${MV} ${WRKSRC_toml} ${WRKSRC}/src/github.com/BurntSushi/toml |
113 |
@${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto |
|
|
114 |
@${MV} ${WRKSRC_pool} ${WRKSRC}/src/gopkg.in/fatih/pool.v2 |
137 |
|
115 |
|
138 |
do-build: |
116 |
do-build: |
139 |
@cd ${WRKSRC}/src/github.com/influxdb/ && ${SETENV} GOPATH=${WRKSRC} go install ./... |
117 |
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && ${SETENV} GOPATH=${WRKSRC} go install ./... |
140 |
|
118 |
|
141 |
do-install: |
119 |
do-install: |
142 |
${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ |
120 |
${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ |
Lines 146-151
Link Here
|
146 |
post-install: |
124 |
post-install: |
147 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd |
125 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd |
148 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx |
126 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx |
|
|
127 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_inspect ${STAGEDIR}${PREFIX}/bin/influx_inspect |
128 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_tsm ${STAGEDIR}${PREFIX}/bin/influx_tsm |
149 |
@${SED} -i .bak -e \ |
129 |
@${SED} -i .bak -e \ |
150 |
"s|/tmp/influxdb/development|/var/db/influxdb|g" \ |
130 |
"s|/tmp/influxdb/development|/var/db/influxdb|g" \ |
151 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml |
131 |
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml |