aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/couchdb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/couchdb.rb')
-rw-r--r--Library/Formula/couchdb.rb20
1 files changed, 15 insertions, 5 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb
index e0c8dfff8..5605f72e1 100644
--- a/Library/Formula/couchdb.rb
+++ b/Library/Formula/couchdb.rb
@@ -1,11 +1,15 @@
require 'formula'
class Couchdb < Formula
- url 'http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz'
homepage "http://couchdb.apache.org/"
- md5 'cd126219b9cb69a4c521abd6960807a6'
-
+ url 'http://www.apache.org/dyn/closer.cgi?path=couchdb/releases/1.2.0/apache-couchdb-1.2.0.tar.gz'
head 'http://git-wip-us.apache.org/repos/asf/couchdb.git'
+ md5 'a5cbbcaac288831b3d8a08b725657f10'
+
+ devel do
+ url 'http://git-wip-us.apache.org/repos/asf/couchdb.git', :using => :git, :tag => '1.3.x'
+ version '1.3.x'
+ end
depends_on 'help2man' => :build
depends_on 'spidermonkey'
@@ -36,7 +40,7 @@ class Couchdb < Formula
curl http://127.0.0.1:5984/
The reply should look like:
- {"couchdb":"Welcome","version":"1.1.0"}
+ {"couchdb":"Welcome","version":"1.2.0"}
EOS
end
@@ -51,7 +55,13 @@ class Couchdb < Formula
cp #{prefix}/Library/LaunchDaemons/org.apache.couchdb.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.apache.couchdb.plist
- Or start manually with:
+ Alternatively, automatically run on startup as a daemon with:
+ sudo launchctl list org.apache.couchdb \>/dev/null 2\>\&1 \&\& \\
+ sudo launchctl unload -w /Library/LaunchDaemons/org.apache.couchdb.plist
+ sudo cp #{prefix}/Library/LaunchDaemons/org.apache.couchdb.plist /Library/LaunchDaemons/
+ sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
+
+ Or start manually as the current user with:
couchdb
EOS
end