Commit graph

821 commits

Author SHA1 Message Date
Thomas Johansen
fb5e2b1ae6 Replace MD5 commands with SHA2 equivalents
A more secure hashing algorithm makes it less feasible to serve up a
modified tarball that matches the same checksum.

See the discussion in #548
2014-05-23 14:34:37 +07:00
Mislav Marohnić
c79dcb379e Merge branch 'patch-galore' 2014-05-23 14:14:53 +07:00
Erik Michaels-Ober
c73b670b93 Merge pull request #575 from subledger/rbx-2.2.7
add rbx-2.2.7
2014-05-21 15:42:36 -07:00
Tom Mornini
69d27e69e9 add rbx-2.2.7 2014-05-21 13:02:27 -07:00
SHIBATA Hiroshi
1f740f67e6 Merge pull request #573 from hone/ruby-1.9.3-p547
added definition of 1.9.3-p547
2014-05-17 08:08:17 +09:00
Terence Lee
6a94790f39 added definition of 1.9.3-p547 2014-05-16 16:16:13 -05:00
SHIBATA Hiroshi
846cad88ee Revert "Merge pull request #535 from Fleurer/patch/1"
This reverts commit d45f145197, reversing
changes made to 13de51105b.
2014-05-12 10:15:53 +09:00
SHIBATA Hiroshi
9aece394f8 Merge pull request #567 from sstephenson/2-0-0-p481
Added definition of 2.0.0-p481
2014-05-09 12:51:19 +09:00
SHIBATA Hiroshi
817628ded1 added definition of 2.0.0-p481 2014-05-09 12:08:56 +09:00
Erik Michaels-Ober
6da69089fb ruby-build 20140509 2014-05-09 01:15:24 +02:00
Erik Michaels-Ober
175064e12a Merge pull request #566 from sstephenson/ruby-2-1-2
Ruby 2.1.2 is released!
2014-05-09 01:06:30 +02:00
SHIBATA Hiroshi
1f02877a10 released 2.1.2 2014-05-09 07:49:35 +09:00
SHIBATA Hiroshi
d45f145197 Merge pull request #535 from Fleurer/patch/1
link the latest log to /tmp/ruby-build.latest.log
2014-05-06 18:17:23 +09:00
Erik Michaels-Ober
13de51105b Merge pull request #560 from chrisseaton/downloading-filename
Make the downloading message print the actual file name, not just the package name plus .tar.gz.
2014-04-26 10:58:54 -05:00
Erik Michaels-Ober
4aafe25fd3 Merge pull request #559 from chrisseaton/fix-jruby-9000-package-name
Correct the JRuby 9000 snapshot directory name.
2014-04-26 10:58:03 -05:00
Chris Seaton
6953313c04 Make the downloading message print the actual file name, not just the package name plus .tar.gz. 2014-04-26 16:15:10 +01:00
Chris Seaton
7106c7582b Correct the JRuby 9000 snapshot directory name. 2014-04-26 16:01:18 +01:00
Mislav Marohnić
210ceef8a3 More portable invocation of mktemp
`mktemp -t ruby-patch`, although working on OS X, fails on Travis CI
with the message "too few X's in template".

https://travis-ci.org/sstephenson/ruby-build/builds/23436088
2014-04-21 17:24:11 +02:00
Mislav Marohnić
1786cf75d2 Fix patch passed via stdin in tests
[picture of I Have No Idea What I'm Doing dog]

https://travis-ci.org/sstephenson/ruby-build/builds/23435342
2014-04-21 17:12:06 +02:00
Mislav Marohnić
c76cde673e Make --patch compatible with git diff patches
Filenames in git diff patches are prefixed by default by "a/" (source)
and "b/" destination. Such patches don't work with ruby-builds `--patch`
option since it internally uses `patch -p0`.

Prior workarounds were to use either an intermediate step:

    filterdiff --strip=1

or to generate the patch without the prefix in the first place:

    git diff --no-prefix ...

Now, git diff patches are detected by searching for this pattern:

    diff --git a/...

And `patch -p1` is used by default in such cases to strip the 1st
component of filename paths.

Fixes #521, closes #484
2014-04-21 16:01:06 +02:00
Mislav Marohnić
74b21936a1 Use patch --force to ignore missing files when patching
From patch(1):

    -f  or  --force
       Assume that the user knows exactly what he or she is doing, and do  not
       ask any questions.  Skip patches whose headers do not say which file is
       to be patched; patch files even though they have the wrong version  for
       the Prereq: line in the patch; and assume that patches are not reversed
       even if they look like they are.  This option does not suppress commen-
       tary; use -s for that.

Fixes #555
2014-04-21 15:32:34 +02:00
Erik Michaels-Ober
5bce29be00 ruby-build 20140420 2014-04-20 10:24:23 +02:00
Mislav Marohnić
f204836d9c Merge pull request #554 from LawnGnome/solaris-grep
Prefer ggrep for grep invocations that use GNU extensions.

Fixes ruby-build on Solaris 11.1
2014-04-19 15:27:02 +02:00
Adam Harvey
2e6e100a2e Prefer ggrep for grep invocations that use GNU extensions. 2014-04-18 10:51:26 +10:00
SHIBATA Hiroshi
fa59fd510c Merge pull request #552 from robdaemon/jruby_1712
Adding JRuby 1.7.12
2014-04-16 05:03:14 +09:00
Rob Roland
4dc62f8de1 Adding JRuby 1.7.12 2014-04-15 09:51:16 -07:00
Erik Michaels-Ober
0a9b5e3a1e ruby-build 20140408 2014-04-08 13:56:12 +02:00
SHIBATA Hiroshi
d6b930c5a2 Merge pull request #547 from vdmgolub/openssl_101g_update
OpenSSL library updated to 1.0.1g
2014-04-08 13:49:41 +09:00
Vadim Golub
7bb33b04af OpenSSL library updated to 1.0.1g
Previous versions of the library contain a vulnerability CVE-2014-0160.
2014-04-08 01:51:57 +03:00
Mislav Marohnić
a82a79ea30 Merge pull request #546 from rajiv/patch-1
Link to releases in the Readme
2014-04-08 00:33:04 +02:00
Rajiv Aaron Manglani
d5f01fdf30 link to releases in readme. 2014-04-07 16:17:46 -04:00
Mislav Marohnić
978f05d494 Merge pull request #545 from sstephenson/nuke-changelog
Stop maintaining the changelog
2014-04-06 20:07:04 +02:00
Mislav Marohnić
8d9cdfac56 Stop maintaining the changelog
All releases information has been migrated to GitHub Releases:
https://github.com/sstephenson/ruby-build/releases

This frees core contributors from having to maintain release notes in version
control, and regular contributors from wondering whether they need to edit
CHANGELOG while submitting a pull request.

Benefits of release notes being outside of version control are that they can be
edited post-release.
2014-04-05 22:08:36 +02:00
Mislav Marohnić
09a52d30c2 ruby-build 20140405 2014-04-05 22:02:06 +02:00
Mislav Marohnić
8ad8171d41 Update changelog 2014-04-05 22:01:16 +02:00
Mislav Marohnić
953225e842 Merge branch 'avoid-sed-regexp' 2014-04-05 21:31:18 +02:00
Mislav Marohnić
a4c3dbc573 Avoid sed with extended regexp
Seems like sed 4.1.5 on RHEL 5.3 doesn't support `-E`, and sed on OS X doesn't
support `-r` to activate the extended regexp mode. Best to avoid extended regexp
altogether for compatibility.

Fixes #495
2014-04-05 21:29:38 +02:00
Mislav Marohnić
f44d7ba8c6 Add test for Rubinius gem binstubs fix
References #433
2014-04-05 21:24:46 +02:00
SHIBATA Hiroshi
bd8692af9a style 2014-04-05 10:15:43 +09:00
SHIBATA Hiroshi
cd55da84a9 changelog 2014-04-05 10:15:20 +09:00
SHIBATA Hiroshi
61010dbc14 added yaml-0.1.6 to 2.1.1 for CVE-2014-2525 2014-04-05 10:14:13 +09:00
SHIBATA Hiroshi
6ca20cad9a Merge pull request #544 from bryanstearns/libyaml-0.1.6-for-ruby-2.0.0p451-too
2.0.0-p451 should use libyaml-0.1.6 too
2014-04-05 10:12:28 +09:00
Bryan Stearns
9e173aa9ce 2.0.0-p451 should use libyaml-0.1.6 too 2014-04-04 11:26:11 -07:00
Kristofer White
c114885731 Add rbenv install --skip-existing <VERSION> option
The `-f` option allows for forcing installation of versions that already
exist in the environment. If that option isn't used, then an interactive
prompt is created which causes problems for non-interactive execution of
the command.

This change adds the `-s/--skip-existing` option to not install versions
that already exist, while still exiting as success.

Closes #543
2014-04-04 19:18:14 +02:00
SHIBATA Hiroshi
75b5cc3d8e Merge pull request #534 from josacar/security-CVE-2014-2525
Update libyaml to 0.1.6
2014-03-29 08:46:38 +09:00
Li Yazhou
da2ae30bc1 link the latest ruby-build.$SEED.log and ruby-build.$SEED/ to ruby-build.latest.log and ruby-build.latest/ respectively 2014-03-27 12:28:22 +08:00
Jose Luis Salas
53920b0fe1 Update libyaml to 0.1.6
Security fix for CVE-2014-2525

Advisory: http://www.ocert.org/advisories/ocert-2014-003.html
2014-03-26 21:17:10 +01:00
Mislav Marohnić
d36e88c59e Merge branch 'no-resume-download' 2014-03-25 04:23:53 +01:00
Mislav Marohnić
1bcd249ffa Avoid re-downloading if there's a valid tarball in build location
If there already exists a valid tarball in the build location, e.g. as
artefact of a previous install using `--keep`, don't re-download the
file, as there is no need.

References #487
2014-03-25 04:15:50 +01:00
Mislav Marohnić
a3009b4641 Fix re-downloading tarball when destination file already exists
Previously, curl and wget were instructed to try to resume the download
if the destination file already exists. This is supposed to be done via
the "Range" HTTP header, but doesn't work well with CloudFront:

    HTTP server doesn't seem to support byte ranges. Cannot resume.

CloudFront is supposed to support ranges, so I don't know what's going
on here. It might be failing only in case the existing file is a fully
downloaded tarball?

In any case, this disables resuming downloads and resorts to simply
re-downloading the tarball always, overwriting the existing file.

Fixes #487
2014-03-25 03:21:27 +01:00