-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
shudders #31538 (comment) |
@DomT4 Is the OpenSSL stuff still an issue? Can you elaborate a bit there? Thanks! |
@MikeMcQuaid It's still an issue in the sense that Node isn't very reactive to OpenSSL flaws and bending their slow release schedule to fit that. The last three devel releases have been on 2 May 2014, 25 Sep 2014 and 20 Jan 2015. 2 May 2014 Release - 25 Sept Release:
25th Sept 2014 - 20 Jan 2015 Release:
Opening up the new The stable branch consistently gets OpenSSL updates much quicker than the I appreciate I'm more tetchy and precious about this than almost anyone else, heh, so I won't dump my bus on |
This seems like a happy middle-ground. Does Node just pick it up if we add a |
Needs to be fed an arg. Something like |
@@ -12,6 +12,11 @@ class Node < Formula | |||
sha1 "977332381c033626b991002c27e738c144ebbaac" => :mountain_lion | |||
end | |||
|
|||
devel do | |||
url "http://nodejs.org/dist/v0.11.15/node-v0.11.15.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SSL link here please. It doesn't auto-redirect.
I don't want to steal your PR, so this is what needs to be done IMO. Maintainers can agree/disagree as desired:
Something like: devel do
url "https://nodejs.org/dist/v0.11.15/node-v0.11.15.tar.gz"
sha256 "e613d274baa4c99a0518038192491433f7877493a66d8505af263f6310991d01"
depends_on "pkg-config" => :build
depends_on "icu4c" => :optional
depends_on "openssl" => :optional
end if !build.stable?
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["icu4c"].opt_prefix}/lib/pkgconfig"
args << "--with-intl=system-icu"
end
args << "--shared-openssl=#{Formula["openssl"].opt_prefix}" if build.devel? && build.with? "openssl" I'm literally bashing this code off the top of my head, and it's quite a tired weary head so please check it beforehand, but that's roughly the devel "enhancements". |
Tried to add the changes you proposed (had to alter a little bit for correct syntax), but I stopped that icu4c installation. The moment I add that as a dependency, the install fails. (Even with the head option as well). devel do
url "https://nodejs.org/dist/v0.11.15/node-v0.11.15.tar.gz"
sha256 "e613d274baa4c99a0518038192491433f7877493a66d8505af263f6310991d01"
depends_on "pkg-config" => :build
depends_on "icu4c" => :optional
depends_on "openssl" => :optional
end Result is: to the PKG_CONFIG_PATH environment variable
No package 'icu-i18n' found
creating ./icu_config.gypi
Error: could not load pkg-config data for "icu-i18n". Tried to fix it, but package ICU fails to install constantly on my system. Yosemite 10.10.2 (14C106a) |
How about refactor head section to accept branch as a parameter?
Literally just hacked that into the head section and it installed without issue. Mavericks 10.9.5 (13F34) head do
# url "https://github.com/joyent/node.git", :branch => "v0.12"
url "https://github.com/joyent/node.git", :branch => "v0.11.15-release"
depends_on "pkg-config" => :build
depends_on "icu4c"
end |
Pushed a PR: #36222 - I gave you some whacked out syntax off the top of my head, which probably compounded the errors you were getting.
And HEAD:
All build options verified to be working fine locally on 10.10.2. If you wanted to test the other PR, that'd be more than welcome - Thanks in advance if you do.
The |
If the |
Thanks @imrefazekas; we went with @DomT4's PR but appreciate your work here ❤️! |
Aye, Appreciate the PR here. Apologies I ended up jumping over it; It became a case of "Easier to fix than explain" but that's nothing against your PR at all, just against my ability to communicate such things 😉. |
It is ok. what does it matter is to have the feature done and I learned a lot! |
No description provided.