{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/2683","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/2683/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/2683/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/2683/events","html_url":"https://github.com/Homebrew/brew/pull/2683","id":231774644,"number":2683,"title":"Add vendored packages for older versions of OS X","user":{"login":"mistydemeo","id":780485,"avatar_url":"https://avatars3.githubusercontent.com/u/780485?v=3","gravatar_id":"","url":"https://api.github.com/users/mistydemeo","html_url":"https://github.com/mistydemeo","followers_url":"https://api.github.com/users/mistydemeo/followers","following_url":"https://api.github.com/users/mistydemeo/following{/other_user}","gists_url":"https://api.github.com/users/mistydemeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mistydemeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistydemeo/subscriptions","organizations_url":"https://api.github.com/users/mistydemeo/orgs","repos_url":"https://api.github.com/users/mistydemeo/repos","events_url":"https://api.github.com/users/mistydemeo/events{/privacy}","received_events_url":"https://api.github.com/users/mistydemeo/received_events","type":"User","site_admin":true},"labels":[{"id":351931983,"url":"https://api.github.com/repos/Homebrew/brew/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-05-27T04:34:36Z","updated_at":"2017-05-31T08:48:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/2683","html_url":"https://github.com/Homebrew/brew/pull/2683","diff_url":"https://github.com/Homebrew/brew/pull/2683.diff","patch_url":"https://github.com/Homebrew/brew/pull/2683.patch"},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/brew/pulls) for the same change?\r\n- [x] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [x] Have you successfully run `brew tests` with your changes locally?\r\n\r\n-----\r\n\r\nThis adds portable packages for Tigerbrew's dependencies - Ruby and curl. These packages are built for 10.4+, and are universal builds with i386 and PPC slices. Unfortunately, for technical reasons, I was unable to build the same version of Ruby; an [upstream bug](https://github.com/Homebrew/homebrew-portable/commit/744323ab1195cf088ba782e7a095ce54b9e7bddc) prevents 2.0 from being built universally, and a [different bug](https://bugs.ruby-lang.org/issues/13413) prevents 2.3.0 and newer from being built universally. I chose 2.2.7 as the newest Ruby I could build universally.\r\n\r\nI've adjusted the logic for the existing `ruby_URL` so the new packages will be used on 10.4 Intel along with all PPC platforms; 10.5 Intel and newer will use the current Ruby binaries.\r\n\r\nI've removed the current logic we use for setting `HOMEBREW_CURL` and pushed that into `util/curl.sh`, like Ruby. On 10.8 and older, we'll install the portable curl. Unfortunately, thanks to the chicken-and-egg problem, this necessitates downloading the prebuilt packages via curl's `--insecure` option.\r\n\r\nSince PPC machines and 10.4 Intel are downloading a different Ruby, I've added the ability to specify what version to install on the commandline in order to avoid dropping a second `portable-ruby-version` file. This is awkward and I hope to be able to work around it at some point in the future when we can package the same version of Ruby on all platforms.\r\n\r\nI'll be following this PR with one other that adds a falback `sha256` tool for platforms that don't include one bundled; without that, older platforms can't yet use the packages downloaded in this PR.\r\n\r\ncc @xu-cheng "},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/305126684","html_url":"https://github.com/Homebrew/brew/pull/2683#issuecomment-305126684","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/2683","id":305126684,"user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars1.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"created_at":"2017-05-31T08:48:10Z","updated_at":"2017-05-31T08:48:10Z","body":"@ilovezfs has confirmed with adding http://curl.askapache.com/download/curl-7.54.0.tar.bz2 as a mirror `curl` installs as expected with a system `curl` that refuses to HTTPS to the primary mirror. It also displays `curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version` which is a nice signalling mechanism to the user.\r\n\r\nThis definitely seems like the right approach to me; use the system `curl` to download the Homebrew `curl` package over HTTP and then use the Homebrew `curl` from there onwards. We can add an `audit` to ensure that `curl` always has an HTTP mirror."}}
{"actor":{"display_login":"MikeMcQuaid"}}