Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates from ruby-build; current to Sept 2015 #73

Merged
merged 308 commits into from
Oct 24, 2015

Conversation

jasonkarns
Copy link
Member

I would like to resolve #71 and #72 as part of this (or before this is merged) as a lot of the changes from upstream are centered around the c compiler and openssl options.

mislav and others added 30 commits September 8, 2014 13:36
Sort Ruby versions when listing available definitions
On FreeBSD 10, stop defaulting to MAKE=gmake
Before, `ruby-build --definitions` was invoked sooner than
RUBY_BUILD_DEFINITIONS was built up with paths from rbenv plugins.
`rbenv install` completion includes definitions from plugins
Because ruby-build is both a Homebrew formula and an rbenv plugin, some
people end up with both installed. In these cases, executing
`rbenv install` vs. `ruby-build` might not use the same install. Users
end up being unsure where `rbenv install` is coming from and upgrading
it from the wrong location.

This detect whether ruby-build is contained in Homebrew or git and shows
upgrade instructions accordingly. Example:

    See all available versions with \`rbenv install --list'.

    If the version you need is missing, try upgrading ruby-build:

      brew update && brew upgrade ruby-build
On Fedora, this results in a nice "Fedora 19" identifier and doesn't
show the codename "Schrödinger’s Cat" which is otherwise contained in
`/etc/fedora-release`.

On Arch, this shows "Arch Linux" where previously we had no info for it
(for some reason, `/etc/arch-release` is empty).

http://www.freedesktop.org/software/systemd/man/os-release.html
Add missing checksums to Rubinius definitions
Show specific upgrade instructions based on environment
OS X: Fixes check for OpenSSL version

Fixes #606
Previous versions of the library contain several vulnerabilities:
https://www.openssl.org/news/secadv_20140806.txt
Disable insecure SSL protocols
sferik and others added 23 commits August 18, 2015 18:14
Add JRuby 9.0.2.0+graal-dev
* tag 'v20140702':
  ruby-build 20140702
  Add rbx-2.2.10
  add jruby-1.7.13
  Add rbx-2.2.9, 2.2.8 was skipped due to broken wrappers.
  Surely update local git working copy
  Add tests for `fetch_git`
  Fix `fetch_git` with `--keep`
  OpenSSL library updated to 1.0.1h
  Add `release` script
* tag 'v20140926':
  ruby-build 20140926
  add jruby-1.7.16
  Upgrade OpenSSL library to 1.0.1i
  ruby-build 20140919
  added definition of new rubies
  ruby-build 20140918
  removed yaml from Ruby 2.2.0 preview1
  released 2.2.0 preview1
  Add missing checksums to Rubinius definitions
  Fill in TRAVIS_COMMIT_RANGE if missing
  Fix test to compensate for different `ls` output on Fedora/Centos
  Peruse `/etc/os-release` among others when detecting system info
  Show specific upgrade instructions based on environment
  `rbenv install` completion includes definitions from plugins
  Fix `brew-publish` script that's part of release process
  ruby-build 20140908
  Sort Ruby versions when listing available definitions
  Verify that TMPDIR can hold executables before installing
  Fix stripping away non-digits from OS release number
  On FreeBSD, stop defaulting to MAKE=gmake
  Improve `script/mirror` argument handling
  Verify checksums for pull requests from other people
  Fix detecting of CPU cores on FreeBSD
  Fix `rbenv install --list` for definitions auto-discovery
  Fix output assertion
  Print OS information on build failure
  Highlight output that mentions path to full build log
  Prevent "BUILD FAILED" appearing twice on `./configure` error
  Indicate ruby-build version number on build failures
  Print configure options when openssl ext failed to compile
  Don't log files as they're extracted from tarball
  ruby-build 20140905
  add jruby-1.7.15
  add jruby 1.7.14 build
  Faster clone of Bats in CI
  Read ruby-build revision from git if available
  add ruby-1.9.2-p330
  Auto-discovery of build definitions from rbenv plugins
  Add rbenv-install tests
  Extra definitions paths via RUBY_BUILD_DEFINITIONS
  Support changing RUBY_BUILD_ROOT
  Add test for ruby-build definitions
  Add link to suggested build environment to README
  OS X: Fixes check for OpenSSL version
* tag 'v20141028':
  ruby-build 20141028
  Add test that ensures duplicate Ruby definitions don't get displayed
  Don't display duplicate definitions
  Unset CC to isolate from CI build environment
  Avoid endless recursion when rbx is installed over existing one
  Enable Rubinius builds to re-use cached LLVM dependencies between builds
  Fix rbx-1.2.4 setup phase
  Work around Rubinius LLVM incompatibilities on Yosemite
  Fix Rubinius build when libyaml is present in Homebrew
  Try openssl from Homebrew when calculating SHA-256 checksums
  Use CC=clang by default on Yosemite to avoid gcc-4.2
  Silence warnings when testing gccs
  Fix Yosemite builds that use gcc-4.2 through `require_gcc`
  added definitions for CVE-2014-8080
  Use HTTPS URLs to fetch JRuby distfiles.
  Fix TMPDIR noexec check to explicitly exit with a zero exit status on success
  upgrade openssl-1.0.1j
  Disable insecure SSL protocols
* tag 'v20141113':
  ruby-build 20141113
  added latest rubies: ruby-1.9.3-p551, ruby-2.0.0-p598 and ruby-2.1.5
  Add jruby-1.7.16.1
  Fix the test suite on Darwin
  Fix comparing OS X version when it has 3 components
  Fix `brew-publish` command
* tag 'v20141128':
  ruby-build 20141128
  added definition of 2.2.0preview2
  Have rbenv-uninstall respect `-h|--help`
  Move rbenv-install/uninstall tests to `rbenv.bats`
  Capitalize "Usage:" header for consistency with rbenv help system
  Extract ruby-build usage from comments like we do in rbenv
  Provide CLI usage help on stout/stderr appropriately
  Perform CLI argument validation as early as possible
  Improve ruby-build test for too many arguments
  Abort with usage help on wrong number of CLI arguments
  JRuby 9000 is now 9.0.0.0 (official version number for release).
  Ensure that `assert_output_contains` receives an argument
  Fix error message assertions in JRuby tests
  Fix `script/test` in a non-Travis environment
  Ignore RUBY_CONFIGURE_OPTS from environment in testing
  Change Error message for missing subversion
* tag 'v20150112':
  ruby-build 20150112
  Upgrade openssl-1.0.1k
  Add rbx-2.4.0, rbx-2.4.1
  Lookup LLVM 3.5 from Homebrew on `require_llvm` on OS X
  Add rbx-2.3.0
  Add Ruby 2.3.0 dev definition
  Update examples to use 2.2.0
  ruby-build 20141225
  added definition of ruby 2.2.0
  add jruby-1.7.18
  ruby-build 20141222
  Add definition of Ruby 2.2.0-rc1
  ruby-build 20141210
  Add jruby-1.7.17
  ruby-build 20141208
  Add jruby-1.7.16.2
  Final dist filename change for JRuby 9000.
* tag 'v20150130':
  ruby-build 20150130
  Add JRuby 1.7.19
  add rbx-2.5.2
  Avoid double shebangs when fixing Rubinius gem binstubs
  add rbx-2.5.1
  Avoid ERR trap activating if there's no `brew` command
  Read Java version number even if it's not on the 1st line
  Fix JRuby 9.0.0.0-pre1 definition
  Add JRuby 9.0.0.0.pre1
  Add Rubinius 2.5.0
  ruby-build 20150116
  Upgrade openssl-1.0.1l
  mruby 1.1.0 was released
* tag 'v20150303':
  ruby-build 20150303
  added definition of Ruby 2.2.1
  Set Travis-specific PATH in travis.yml
  Opt into fast Travis CI builds
  ruby-build 20150226
  Rename jruby-9.0.0.0-pre1 to jruby-9.0.0.0.pre1
  reverted openssl digest
  added definition of ruby 2.0.0-p643
  removed jruby-9000 definitions, these are old name of jruby 9k
* tag 'v20150413':
  ruby-build 20150413
  Seems that 2.0.0-p645 and 2.1.6 had the wrong checksum.
  added definition of Ruby 2.2.2, 2.1.6 and 2.0.0-p645
  ruby-build 20150319zf
  Upgrade openssl-1.0.1m
* tag 'v20150502':
  ruby-build 20150502
  add rbx-2.5.3
  Add jruby-9.0.0.0.pre2
  New canonical MagLev 1.0.0 download location
  Update rbx-2.2.10 checksum
  Remove needless build flag for some 2.1.x versions. Fixed #634
  Add 'cd -' to proposed steps to upgrade ruby-build
  Remove needless quote
  Specify inet protocol
* tag 'v20150519':
  ruby-build 20150519
  Add rbx-2.5.5
  Add Rubinius 2.5.4
  ruby-build 20150506
  Add jruby-1.7.20
* tag 'v20150709':
  ruby-build 20150709
  Upgrade OpenSSL to 1.0.1p
  Add JRuby 1.7.21
  Add Rubinius 2.5.7
  Upgrade OpenSSL to 1.0.1o
  Upgrade OpenSSL to 1.0.1n
  Add JRuby 1.7.20.1
  Add JRuby 9.0.0.0.rc1
  Update brew-publish to be sha256-aware
  Properly detect OpenJDK versions in bin/ruby-build
* tag 'v20150719':
  ruby-build 20150719
  Fix typo in test/arguments.bats (s/enought/enough/)
  37signals renamed themselves to Basecamp, so update sponsor in README
  Remove old REE versions that aren't downloadable anymore
  Add Rubinius 2.5.8
  Add JRuby 9.0.0.0.rc2
  Add Rubinius 2.5.6
  use head instead of function w/ sed
  just mock invocation, not output
  remove assertions of mocked output
  find bin dir relative to bats test dir
  assert that rbenv-install/uninstall scripts have usage section preface
  make the rbenv-help stub strictly match args
  fix tests
  remove sed fallback for help/usage
  Update instructions to install LLVM 3.5 using Homebrew
  Improve detecting LLVM 3.5 from Homebrew
  Check that openssl, yaml, readline, zlib are all loadable
* tag 'v20150803':
  ruby-build 20150803
  Update Rubinius download location to use https://
  Rubygems added a redirect on their main domain, so use it as the canonical download URL
  Add jruby-9.0.0.0
  Update rubygems download location to use https://
  Update jruby-9.0.0.0-dev download location to use https://
  Update REE download location to use https://
  Update Ruby download location to use https://
  Update RUBY_BUILD_MIRROR_URL to use https://
  RUBY_BUILD_MIRROR_URL defaults to https://...
* tag 'v20150928':
  ruby-build 20150928
  Add JRuby 9.0.2.0+graal-dev
  Add JRuby 9.0.1.0
  Add JRuby 1.7.22
  ruby-build 20150818
  added definitions of latest release of ruby
  added skelton
@jasonkarns
Copy link
Member Author

merging this would close #27

ruby-build adds test/tmp to git, but that's ugly. (and couples the name
of the directory in test_helper to the filesystem)

instead, let's just mkdir tmp in setup and rm it in teardown
@jasonkarns jasonkarns merged commit eaeaa10 into master Oct 24, 2015
@jasonkarns jasonkarns deleted the updates-from-ruby-build branch October 24, 2015 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compilation flags (readline? yaml? openssl?)