Commit graph

2,349 commits

Author SHA1 Message Date
Mislav Marohnić
ff75ca7204 Support changing RUBY_BUILD_ROOT
This is to allow specifying an alternate path where `share/ruby-build/*`
definitions reside. Useful in tests as well.
2014-08-17 12:20:53 -07:00
Mislav Marohnić
4e2177d5c2 Add test for ruby-build definitions 2014-08-16 19:56:40 -07:00
Mislav Marohnić
223f0a5e9e Merge pull request #603 from wjordan/patch-1
Add link to suggested build environment to README
2014-07-24 09:13:30 -07:00
Will Jordan
70d8e39492 Add link to suggested build environment to README 2014-07-23 14:14:40 -07:00
Kenji Okimoto
43d8d0243e Remove needless quote
Before: broken command line option
  curl -qsILf "" "$1" >&4 2>&1
  curl -qsILf "--ipv4" "$1" >&4 2>&1

After:
  curl -qsILf "$1" >&4 2>&1
  curl -qsILf --ipv4 "$1" >&4 2>&1
2014-07-16 17:02:19 +09:00
Kenji Okimoto
8ff2af4224 Specify inet protocol 2014-07-14 15:48:56 +09:00
Erik Michaels-Ober
c819790848 ruby-build 20140702 v20140702 2014-07-02 08:37:09 +02:00
SHIBATA Hiroshi
bb6c2bcaee Merge pull request #595 from mkroman/master
Add rbx-2.2.10
2014-07-02 13:22:59 +08:00
Mikkel Kroman
a29c0e7bc6 Add rbx-2.2.10 2014-07-02 07:04:38 +02:00
Aaron Zauner
d4e4eaeccd Disable insecure SSL protocols
SSLv2 and v3 have serious protocol flaws. They should be disabled by default. This is also what most distributions do and is recommended by the OpenSSL wiki: http://wiki.openssl.org/index.php/Compilation_and_Installation
2014-06-27 14:51:20 +02:00
Erik Michaels-Ober
fdd216ab0c Merge pull request #591 from neojin/jruby-1.7.13
add jruby-1.7.13
2014-06-25 09:58:09 +02:00
Jin Lee
a532fba784 add jruby-1.7.13 2014-06-24 21:22:48 -07:00
SHIBATA Hiroshi
d3d5fe03dc Merge pull request #583 from keltia/rbx-2.2.9
Add rbx-2.2.9, 2.2.8 was skipped due to broken wrappers.
2014-06-12 10:35:53 +09:00
Ollivier Robert
1da193074f Add rbx-2.2.9, 2.2.8 was skipped due to broken wrappers. 2014-06-11 11:38:29 +02:00
Mislav Marohnić
8c3ad3c369 Merge pull request #549 from yyuu/fix-fetch-git-with-keep
Fix `fetch_git` with `--keep`
2014-06-07 17:07:22 +07:00
Yamashita Yuu
07ef88d7c8 Surely update local git working copy 2014-06-07 01:27:49 +09:00
Yamashita Yuu
28dcc3f85b Add tests for fetch_git 2014-06-07 01:27:49 +09:00
Yamashita Yuu
01e8767560 Fix fetch_git with --keep
Update existing git repo if exists, or clone if not exists.
The destination repo might exist if the `--keep` was supplied for `ruby-build`.
2014-06-07 01:27:49 +09:00
SHIBATA Hiroshi
9b7679addd Merge pull request #581 from deg84/openssl_101h_update
OpenSSL library updated to 1.0.1h
2014-06-06 09:16:18 +09:00
deg84
ee04b9d3c5 OpenSSL library updated to 1.0.1h
Previous versions of the library contain a vulnerability CVE-2014-0224.
2014-06-06 01:30:29 +09:00
Mislav Marohnić
e2ae87877b Add release script
The script handles bumping up the version number, committing, tagging
and updating the Homebrew formula. The last step requires `hub` to be
installed in order to submit a pull request to Homebrew.

/cc @sferik @hsbt

[ci skip]
2014-05-26 23:34:26 +07:00
Mislav Marohnić
273be046b1 ruby-build 20140524 v20140524 2014-05-24 22:41:15 +07:00
Mislav Marohnić
912034bfce Merge branch 'shasum'
Fixes #548, closes #551
2014-05-23 16:04:26 +07:00
Mislav Marohnić
a11107f38c Update Readme for MD5 -> SHA2 checksum change 2014-05-23 15:07:14 +07:00
Mislav Marohnić
d5d6c52674 Switch remaining MD5 checksums to SHA2 2014-05-23 15:05:45 +07:00
Mislav Marohnić
5dc9233199 Merge remote-tracking branch 'origin' into shasum 2014-05-23 14:40:48 +07:00
Thomas Johansen
e9d59cb0cc Replace all MD5 checksums with SHA2 checksums 2014-05-23 14:39:41 +07:00
Thomas Johansen
b4154d11e8 Re-introduce legacy MD5 checksum verification based on checksum length
This is so any 3rd-party definitions continue to work even if they have
MD5 checksums embedded.
2014-05-23 14:39:41 +07:00
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 v20140517
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 v20140509.1
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 v20140509 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 v20140420 2014-04-20 10:24:23 +02:00