FreeBSD Bugzilla – Attachment 158031 Details for
Bug 198073
[NEW PORT] databases/influxdb: Open-source distributed timeseries database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Updated version of the port which follows and uses new model for github.
influxdb.shar (text/plain), 11.59 KB, created by
cheffo
on 2015-06-24 08:52:28 UTC
(
hide
)
Description:
Updated version of the port which follows and uses new model for github.
Filename:
MIME Type:
Creator:
cheffo
Created:
2015-06-24 08:52:28 UTC
Size:
11.59 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># influxdb ># influxdb/pkg-descr ># influxdb/distinfo ># influxdb/Makefile ># influxdb/pkg-plist ># influxdb/files ># influxdb/files/patch-cluster_shard__writer.go ># influxdb/files/patch-cluster_client__pool.go ># influxdb/files/influxd.in ># >echo c - influxdb >mkdir -p influxdb > /dev/null 2>&1 >echo x - influxdb/pkg-descr >sed 's/^X//' >influxdb/pkg-descr << '7fac23da3ac02e791b24cf8107510088' >XAn open-source, distributed, time series database with no external dependencies. >XInfluxDB is the new home for all of your metrics, events, and analytics. >X >XInfluxDB is a time series, metrics, and analytics database. It'written in Go and >Xhas no external dependencies. That means once you install it there's nothing >Xelse to manage (like Redis, ZooKeeper, HBase, or whatever). >X >XInfluxDB is targeted at use cases for DevOps, metrics, sensor data, and >Xreal-time analytics. It arose from our need for a database like this on more >Xthan a few previous products we' built. You can read more about our jurney from >XSaaS application to open source time series database. >X >XWWW: http://influxdb.com >7fac23da3ac02e791b24cf8107510088 >echo x - influxdb/distinfo >sed 's/^X//' >influxdb/distinfo << 'ac186d85f7ced3a76564edd1732b3cbd' >XSHA256 (influxdb-influxdb-v0.9.0_GH0.tar.gz) = c7cc869754d7bfb9374b0a16a9b91073d9588adedbd7bfda1d5709e22d3a3d75 >XSIZE (influxdb-influxdb-v0.9.0_GH0.tar.gz) = 2554827 >XSHA256 (alecthomas-log4go-1bcc57d_GH0.tar.gz) = f15f25fb0d4d88ce9817f1a04c32c5ca7cf35358615b61601ef47be388733604 >XSIZE (alecthomas-log4go-1bcc57d_GH0.tar.gz) = 16190 >XSHA256 (armon-go-metrics-b2d95e5_GH0.tar.gz) = a3c2f9b16157249cf248c5a21fc9ade43c35c451005ed9dcc2d4b52b0f2f9680 >XSIZE (armon-go-metrics-b2d95e5_GH0.tar.gz) = 11360 >XSHA256 (BurntSushi-toml-056c9bc_GH0.tar.gz) = 73125940543e2922a77bee42f068f35383b5e260e5fbab867efcb7a59a05671a >XSIZE (BurntSushi-toml-056c9bc_GH0.tar.gz) = 37104 >XSHA256 (bmizerany-pat-b8a3500_GH0.tar.gz) = 6468a8b27db2bed1edf6eb845da6f7466221c7b0b41112d77710e4ac76926a2f >XSIZE (bmizerany-pat-b8a3500_GH0.tar.gz) = 5205 >XSHA256 (boltdb-bolt-04a3e85_GH0.tar.gz) = 63ea778d7f9f82e94610ed0a96cd4135993704440d6e3e9b09cdfb5c96c8d54e >XSIZE (boltdb-bolt-04a3e85_GH0.tar.gz) = 72745 >XSHA256 (cheffo-crypto-1351f93_GH0.tar.gz) = 29ddf6009158914fb35f9d8e27c48164428dedac6a1314215e1717ae913d96f0 >XSIZE (cheffo-crypto-1351f93_GH0.tar.gz) = 860364 >XSHA256 (cheffo-go-uuid-ed3ca8a_GH0.tar.gz) = 3ad72804ee9b735add1039ec8cffd445fefd66852a3b7c0b82baf428696ca921 >XSIZE (cheffo-go-uuid-ed3ca8a_GH0.tar.gz) = 41022 >XSHA256 (fatih-pool-cba550e_GH0.tar.gz) = fdcbcf67872333b16b74647bc4c8aa8100de81f58f0ea99ff83a519bf142e4cb >XSIZE (fatih-pool-cba550e_GH0.tar.gz) = 4854 >XSHA256 (gogo-protobuf-58bbd41_GH0.tar.gz) = 1d50a318b50a5f07e8111972081bef9d9dd2a7b9e3915fc88b10291620981498 >XSIZE (gogo-protobuf-58bbd41_GH0.tar.gz) = 1147405 >XSHA256 (golang-protobuf-aece6fb_GH0.tar.gz) = 3f4db232b0548a3b527f087539c9de28068c2f5603f66b1ff16b84ed222884b0 >XSIZE (golang-protobuf-aece6fb_GH0.tar.gz) = 142325 >XSHA256 (hashicorp-raft-f0f02dd_GH0.tar.gz) = 93fa0a92f3ef54a133c71d1b5f0288e12f3d933a392693c6d947c8f55637ee73 >XSIZE (hashicorp-raft-f0f02dd_GH0.tar.gz) = 57418 >XSHA256 (hashicorp-raft-boltdb-d1e82c1_GH0.tar.gz) = 68bb2996a4ec490c099612efcc255ad721014aaf42afbf9f0b21fcf8361162d9 >XSIZE (hashicorp-raft-boltdb-d1e82c1_GH0.tar.gz) = 8879 >XSHA256 (hashicorp-go-msgpack-fa3f638_GH0.tar.gz) = 6353c623d5d58c7ca03e2bdac63f9da7da8848fb1f5f7f239b33e3ce6fe6c6bd >XSIZE (hashicorp-go-msgpack-fa3f638_GH0.tar.gz) = 49496 >XSHA256 (kimor79-gollectd-61d0dee_GH0.tar.gz) = 217d827fb26d1cf7b1fa3bae7fa51fc5b25ff2141151ffa7d328d015cd4fb498 >XSIZE (kimor79-gollectd-61d0dee_GH0.tar.gz) = 9508 >XSHA256 (peterh-liner-1bb0d1c_GH0.tar.gz) = 0ed1d975b6af46820eb55826527a9ab0263376da5a20e94b21695e21267f6f2e >XSIZE (peterh-liner-1bb0d1c_GH0.tar.gz) = 16925 >XSHA256 (rakyll-statik-274df12_GH0.tar.gz) = 47cb3d4bc95171baeac813c0373cdfc232c4339fb09f251a76df247615216d49 >XSIZE (rakyll-statik-274df12_GH0.tar.gz) = 77898 >ac186d85f7ced3a76564edd1732b3cbd >echo x - influxdb/Makefile >sed 's/^X//' >influxdb/Makefile << '739186810f9c6bb3b56607ee49c681a4' >X# $FreeBSD$ >X >XPORTNAME= influxdb >XPORTVERSION= 0.9.0 >XDISTVERSIONPREFIX= v >XCATEGORIES= databases net-mgmt >X >XMAINTAINER= cheffo@freebsd-bg.org >XCOMMENT= Open-source distributed time series database >X >XLICENSE= MIT >X >XBUILD_DEPENDS= go>=1.4.0:${PORTSDIR}/lang/go \ >X hg:${PORTSDIR}/devel/mercurial \ >X git:${PORTSDIR}/devel/git >X >XONLY_FOR_ARCHS= i386 amd64 >X >XUSE_RC_SUBR= influxd >X >XUSE_GITHUB= yes >XGH_ACCOUNT= influxdb:DEFAULT \ >X alecthomas:log4go \ >X armon:go_metrics \ >X BurntSushi:toml \ >X bmizerany:pat \ >X boltdb:bolt \ >X cheffo:crypto,go_uuid \ >X fatih:pool \ >X gogo:gogo_protobuf \ >X golang:golang_protobuf \ >X hashicorp:raft,raft_boltdb,go_msgpack \ >X kimor79:gollectd \ >X peterh:liner \ >X rakyll:statik >XGH_PROJECT= bolt:bolt crypto:crypto go-metrics:go_metrics \ >X go-msgpack:go_msgpack gollectd:gollectd liner:liner \ >X log4go:log4go pat:pat pool:pool protobuf:gogo_protobuf \ >X protobuf:golang_protobuf raft-boltdb:raft_boltdb raft:raft \ >X statik:statik toml:toml go-uuid:go_uuid >XGH_TAGNAME= 04a3e85:bolt 056c9bc:toml 1351f93:crypto 1bb0d1c:liner \ >X 1bcc57d:log4go 274df12:statik 58bbd41:gogo_protobuf \ >X 61d0dee:gollectd aece6fb:golang_protobuf b2d95e5:go_metrics \ >X b8a3500:pat cba550e:pool d1e82c1:raft_boltdb ed3ca8a:go_uuid \ >X f0f02dd:raft fa3f638:go_msgpack >X >XSUB_FILES= influxd >XSUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \ >X INFLUXD_GROUP=${INFLUXD_GROUP} \ >X INFLUXD_DBDIR=${INFLUXD_DBDIR} \ >X INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \ >X INFLUXD_LOGDIR=${INFLUXD_LOGDIR} >X >XPLIST_SUB= INFLUXD_USER=${INFLUXD_USER} \ >X INFLUXD_GROUP=${INFLUXD_GROUP} \ >X INFLUXD_DBDIR=${INFLUXD_DBDIR} \ >X INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \ >X INFLUXD_LOGDIR=${INFLUXD_LOGDIR} >X >XINFLUXD_USER?= influxd >XINFLUXD_GROUP?= influxd >X >XINFLUXD_DBDIR= /var/db/${PORTNAME}/ >XINFLUXD_LOGDIR= /var/log/${PORTNAME}/ >XINFLUXD_PIDDIR= /var/run/${PORTNAME}/ >X >XUSERS= ${INFLUXD_USER} >XGROUPS= ${INFLUXD_GROUP} >X >XSTRIP= # stripping can break go binaries >X >Xpost-patch: >X @${MKDIR} ${WRKDIR}/src/code.google.com/p >X @${MKDIR} ${WRKDIR}/src/github.com/BurntSushi >X @${MKDIR} ${WRKDIR}/src/github.com/armon >X @${MKDIR} ${WRKDIR}/src/github.com/bmizerany >X @${MKDIR} ${WRKDIR}/src/github.com/boltdb >X @${MKDIR} ${WRKDIR}/src/github.com/fatih >X @${MKDIR} ${WRKDIR}/src/github.com/gogo >X @${MKDIR} ${WRKDIR}/src/github.com/golang >X @${MKDIR} ${WRKDIR}/src/github.com/hashicorp >X @${MKDIR} ${WRKDIR}/src/github.com/influxdb >X @${MKDIR} ${WRKDIR}/src/github.com/kimor79 >X @${MKDIR} ${WRKDIR}/src/github.com/peterh >X @${MKDIR} ${WRKDIR}/src/github.com/rakyll >X @${MKDIR} ${WRKDIR}/src/golang.org/x >X @${MV} ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} >X @${MV} ${WRKSRC_bolt} ${WRKDIR}/src/github.com/boltdb/bolt >X @${MV} ${WRKSRC_crypto} ${WRKDIR}/src/golang.org/x/crypto >X @${MV} ${WRKSRC_go_metrics} ${WRKDIR}/src/github.com/armon/go-metrics >X @${MV} ${WRKSRC_go_msgpack} ${WRKDIR}/src/github.com/hashicorp/go-msgpack >X @${MV} ${WRKSRC_go_uuid} ${WRKDIR}/src/code.google.com/p/go-uuid >X @${MV} ${WRKSRC_gogo_protobuf} ${WRKDIR}/src/github.com/gogo/protobuf >X @${MV} ${WRKSRC_golang_protobuf} ${WRKDIR}/src/github.com/golang/protobuf >X @${MV} ${WRKSRC_gollectd} ${WRKDIR}/src/github.com/kimor79/gollectd >X @${MV} ${WRKSRC_liner} ${WRKDIR}/src/github.com/peterh/liner >X @${MV} ${WRKSRC_log4go} ${WRKDIR}/src/code.google.com/p/log4go >X @${MV} ${WRKSRC_pat} ${WRKDIR}/src/github.com/bmizerany/pat >X @${MV} ${WRKSRC_pool} ${WRKDIR}/src/github.com/fatih/pool >X @${MV} ${WRKSRC_raft_boltdb} ${WRKDIR}/src/github.com/hashicorp/raft-boltdb >X @${MV} ${WRKSRC_raft} ${WRKDIR}/src/github.com/hashicorp/raft >X @${MV} ${WRKSRC_statik} ${WRKDIR}/src/github.com/rakyll/statik >X @${MV} ${WRKSRC_toml} ${WRKDIR}/src/github.com/BurntSushi/toml >X >Xdo-build: >X @cd ${WRKDIR}/src/github.com/influxdb/ && ${SETENV} ${GO_ENV} go get ./... >X @cd ${WRKDIR}/src/github.com/influxdb/ && ${SETENV} ${GO_ENV} go build ./... >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ >X ${STAGEDIR}${INFLUXD_PIDDIR} \ >X ${STAGEDIR}${INFLUXD_LOGDIR} >X >Xpost-install: >X ${INSTALL_PROGRAM} ${WRKDIR}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd >X ${INSTALL_PROGRAM} ${WRKDIR}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx >X @${SED} -i .bak -e \ >X "s|/tmp/influxdb/development|/var/db/influxdb|g" \ >X ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml >X ${INSTALL_DATA} \ >X ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml \ >X ${STAGEDIR}${PREFIX}/etc/influxd.conf.sample >X @${MKDIR} ${STAGEDIR}/var/db/influxdb >X @${MKDIR} ${STAGEDIR}/var/log/influxdb >X >X.include <bsd.port.pre.mk> >X.include "${.CURDIR}/../../lang/go/files/bsd.go.mk" >X.include <bsd.port.post.mk> >739186810f9c6bb3b56607ee49c681a4 >echo x - influxdb/pkg-plist >sed 's/^X//' >influxdb/pkg-plist << 'f32260e72cd4931376adf6d734333a09' >Xbin/influx >Xbin/influxd >X@dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_DBDIR%% >X@dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_LOGDIR%% >X@dir(%%INFLUXD_USER%%,%%INFLUXD_GROUP%%,0750) %%INFLUXD_PIDDIR%% >X@sample etc/%%INFLUXD_USER%%.conf.sample >f32260e72cd4931376adf6d734333a09 >echo c - influxdb/files >mkdir -p influxdb/files > /dev/null 2>&1 >echo x - influxdb/files/patch-cluster_shard__writer.go >sed 's/^X//' >influxdb/files/patch-cluster_shard__writer.go << '72f64b21ef2bce07e9b3bb53b53e2df7' >X--- cluster/shard_writer.go.orig 2015-06-23 14:38:36 UTC >X+++ cluster/shard_writer.go >X@@ -7,7 +7,7 @@ import ( >X >X "github.com/influxdb/influxdb/meta" >X "github.com/influxdb/influxdb/tsdb" >X- "gopkg.in/fatih/pool.v2" >X+ "github.com/fatih/pool" >X ) >X >X const ( >72f64b21ef2bce07e9b3bb53b53e2df7 >echo x - influxdb/files/patch-cluster_client__pool.go >sed 's/^X//' >influxdb/files/patch-cluster_client__pool.go << 'c8e4e4887e550fdd590af3a234645df2' >X--- cluster/client_pool.go.orig 2015-06-23 14:38:16 UTC >X+++ cluster/client_pool.go >X@@ -4,7 +4,7 @@ import ( >X "net" >X "sync" >X >X- "gopkg.in/fatih/pool.v2" >X+ "github.com/fatih/pool" >X ) >X >X type clientPool struct { >c8e4e4887e550fdd590af3a234645df2 >echo x - influxdb/files/influxd.in >sed 's/^X//' >influxdb/files/influxd.in << '6ec0732964cfc235dc4b863711cc5499' >X#!/bin/sh >X# $FreeBSD$ >X >X# PROVIDE: influxd >X# REQUIRE: DAEMON NETWORKING >X# BEFORE: LOGIN >X# KEYWORD: shutdown >X >X# Add the following lines to /etc/rc.conf to enable influxdb: >X# influxd_enable="YES" >X# >X# influxd_enable (bool): Set to YES to enable influxd >X# Default: NO >X# influxd_conf (str): influxd configuration file >X# Default: ${PREFIX}/etc/influxd.conf >X# influxd_user (str): influxd daemon user >X# Default: influxd >X# influxd_group (str): influxd daemon group >X# Default: influxd >X# influxd_flags (str): Extra flags passed to influxd >X >X. /etc/rc.subr >X >Xname="influxd" >Xrcvar=influxd_enable >X >X: ${influxd_enable:="NO"} >X: ${influxd_user:="%%INFLUXD_USER%%"} >X: ${influxd_group:="%%INFLUXD_GROUP%%"} >X: ${influxd_flags:=""} >X: ${influxd_conf:="%%PREFIX%%/etc/${name}.conf"} >X: ${influxd_options:="${influxdb_flags} -config=${influxd_conf}"} >X >X# daemon >Xinfluxd_pidfile="%%INFLUXD_PIDDIR%%${name}.pid" >Xprocname="%%PREFIX%%/bin/${name}" >Xcommand=/usr/sbin/daemon >Xcommand_args=" -f -c -p ${influxd_pidfile} ${procname} ${influxd_options}" >Xstart_precmd="influxd_precmd" >X >Xinfluxd_precmd() >X{ >X install -o ${influxd_user} /dev/null ${influxd_pidfile} >X} >X >Xload_rc_config $name >Xrun_rc_command "$1" >6ec0732964cfc235dc4b863711cc5499 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 198073
:
153579
|
153580
|
153581
|
153788
|
153789
|
153790
|
153791
|
158018
|
158019
| 158031 |
158032
|
158061