diff options
| author | Dave Cottlehuber | 2012-04-17 11:20:59 +0200 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-04-20 10:32:36 -0700 |
| commit | 3b39db947b67c2135e976a40225155b2af3d337c (patch) | |
| tree | b5ac699a63d0aaf6bf979a4d75be770423990b59 /Library/Formula/couchdb.rb | |
| parent | de345ceedff5427cbdf5cbb4347021309981c66b (diff) | |
| download | homebrew-3b39db947b67c2135e976a40225155b2af3d337c.tar.bz2 | |
CouchDB: update to 1.2.0
- bump to latest release
- add --devel option for next anticipated release branch
- document how to run CouchDB as a system or user daemon
Closes #11440.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/couchdb.rb')
| -rw-r--r-- | Library/Formula/couchdb.rb | 20 |
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 |
