diff options
| author | Dominyk Tiller | 2014-11-11 00:21:10 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-11 10:48:26 +0000 |
| commit | b7fd7c0257f6b22e7a10e63ce21685cac82f5e98 (patch) | |
| tree | 3fec829b12024995a94081ae4bf546639c0369cb /Library | |
| parent | 8e5e1a2222e696bbde5ac384d518af570e271f9c (diff) | |
| download | homebrew-b7fd7c0257f6b22e7a10e63ce21685cac82f5e98.tar.bz2 | |
node: npm bump
Primarily an npm bump, sans revision because the one minor version bump
isn’t worth a revision for even with our new policy. Other than that,
fixes the HEAD to actually point at the main development stream,
depreciates the enable option, adds another line of note to the OpenSSL
situation, and slightly rewords the caveat to clarify the npm install
situation.
Closes #34084.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/node.rb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 4ca003b94..98adeb949 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -18,9 +18,11 @@ class Node < Formula sha256 "ce08b0a2769bcc135ca25639c9d411a038e93e0f5f5a83000ecde9b763c4dd83" end - head "https://github.com/joyent/node.git" + head "https://github.com/joyent/node.git", :branch => "v0.12" - option "enable-debug", "Build with debugger hooks" + deprecated_option "enable-debug" => "with-debug" + + option "with-debug", "Build with debugger hooks" option "without-npm", "npm will not be installed" option "without-completion", "npm bash completion will not be installed" @@ -29,19 +31,21 @@ class Node < Formula # Once we kill off SSLv3 in our OpenSSL consider forcing our OpenSSL # over Node's shipped version with --shared-openssl. # Would allow us quicker security fixes than Node's release schedule. + # This particular affects the devel build, which is ultra-slow release. + # See https://github.com/joyent/node/issues/3557 for prior discussion. fails_with :llvm do build 2326 end resource "npm" do - url "https://registry.npmjs.org/npm/-/npm-2.1.6.tgz" - sha1 "a28e8b44f910b9ab056aa0b73c13c1f9459c9b37" + url "https://registry.npmjs.org/npm/-/npm-2.1.7.tgz" + sha1 "4b8315574b84136dad6a225ce8fb85e2d7d98502" end def install args = %W{--prefix=#{prefix} --without-npm} - args << "--debug" if build.include? "enable-debug" + args << "--debug" if build.with? "debug" args << "--without-ssl2" << "--without-ssl3" if build.stable? system "./configure", *args @@ -90,7 +94,7 @@ class Node < Formula if build.with? "npm" s += <<-EOS.undent - If you update npm do NOT use the npm upgrade command + If you update npm itself do NOT use the npm upgrade command Instead execute: npm install -g npm@latest EOS |
