influxdb 0.5.8

This commit is contained in:
Todd Persen 2014-04-17 17:30:26 -04:00 committed by Brett Koonce
parent ebc4a3fdd5
commit 4218c16cae

View file

@ -2,8 +2,8 @@ require "formula"
class Influxdb < Formula
homepage "http://influxdb.org"
url "http://get.influxdb.org/influxdb-0.5.7.src.tar.gz"
sha1 "8e5ed1ad3c516e62f461749e620d37901d56460a"
url "http://get.influxdb.org/influxdb-0.5.8.src.tar.gz"
sha1 "6ff5de891d6c3ce990469af3a00da2c730fccf62"
bottle do
sha1 "9cccfe0873dc7edf21e8b1f6c8f7919359f4734b" => :mavericks
@ -27,7 +27,7 @@ class Influxdb < Formula
system "make", "dependencies", "protobuf", "parser"
system "go", "build", "daemon"
inreplace "config.toml.sample" do |s|
inreplace "config.sample.toml" do |s|
s.gsub! "/tmp/influxdb/development/db", "#{var}/influxdb/data"
s.gsub! "/tmp/influxdb/development/raft", "#{var}/influxdb/raft"
s.gsub! "/tmp/influxdb/development/wal", "#{var}/influxdb/wal"
@ -35,7 +35,7 @@ class Influxdb < Formula
end
bin.install "daemon" => "influxdb"
etc.install "config.toml.sample" => "influxdb.conf"
etc.install "config.sample.toml" => "influxdb.conf"
share.install "admin"
(var/"influxdb/data").mkpath