Commit graph

425 commits

Author SHA1 Message Date
Juan Ibiapina
4889ec7ca6 Relax java version regexp
This allows the java version to be specified as "9", instead of "1.9".

Closes #1135
2017-10-09 12:54:13 +02:00
SHIBATA Hiroshi
ae1f2850bb
bump version to 20170914 2017-09-14 23:02:46 +09:00
Yamashita, Yuu
4b9f7eefd8 --quiet option isn't sensible sha256sum(1) of GNU coreutils (yyuu/pyenv#840)
The option is available only if verifying digest, not available when computing digest.

>       --quiet
>              don't print OK for each successfully verified file
2017-09-07 09:21:28 +00:00
SHIBATA Hiroshi
9c1ea6ffcd Merge pull request #1120 from wilson/master
Quote JRuby check on FreeBSD to avoid "unary operator" syntax issue.
2017-09-07 17:18:59 +09:00
Yamashita, Yuu
041c586cb6 Ignore everything after whitespace in the output from sha256sum (fixes #1126)
The issue has originarily reported as pyenv/pyenv#902.

Unlike sha256sum of GNU coreutils, BusyBox one doesn't print '*'
and prints extra whitespaces, when computing digest from stdin.

sha256sum (GNU coreutils 8.26)

```
% cat /sbin/init | sha256sum -b
ef753e9504ada221155b86e7e6b7b4ff2499d64e27bcd959f0542bcac589feb1 *-
```

sha256sum (BusyBox v1.26.2)

```
/ # cat /sbin/init | sha256sum -b
4cd6d1a4028772fabc9166bb52b5826aec4e91874c107fce33dc515c04cb754f  -
```

I also confirmed that md5sum behaves just similarly.
2017-09-06 01:24:29 +00:00
Wilson Bilkovich
da5a8f9d74 Quote JRuby check on FreeBSD to avoid "unary operator" syntax issue. 2017-07-30 20:04:18 -07:00
SHIBATA Hiroshi
59607cbe9b
bump version to v20170726 2017-07-26 13:40:46 +09:00
SHIBATA Hiroshi
db3e43ae51 Merge pull request #1104 from rbenv/openssl-check
Improve check for openssl on macOS
2017-07-25 12:00:42 +09:00
SHIBATA Hiroshi
f7c96a7078 Merge branch 'master' into update-gems 2017-06-13 07:23:36 +09:00
Mislav Marohnić
ae9886afb2 Improve check for openssl on macOS
- Only call `openssl version` once;

- Make the check work with future version of LibreSSL after 2.2.7. This
  assumes that Apple might keep updating LibreSSL shipping with macOS,
  but that they will never provide header files.
2017-06-12 17:21:32 +02:00
SHIBATA Hiroshi
330e3fc967
Pass arguments for separated functions 2017-06-12 21:39:26 +09:00
SHIBATA Hiroshi
4d0c3d57c8
Separated standard function to standard_build and standard_install.
* standard_build invoke configure and make. It not invoke `make install`.
  * standard_install invoke only `make install`.
  * Added backword compatibility function for above separation.
  * Added new function for bundled_gems support named standard_install_with_bundled_gems.
2017-06-12 18:27:00 +09:00
SHIBATA Hiroshi
eb61f1d938
invoke extract-gems after update-gems 2017-06-12 15:29:16 +09:00
SHIBATA Hiroshi
15e4c79a51
invoke make update-gems before make install with ruby-trunk 2017-06-09 14:40:34 +09:00
Daisuke Aritomo
84a9a04843 Ignore LibreSSL bundled with macOS 10.13 2017-06-09 00:01:00 +09:00
SHIBATA Hiroshi
74d1a031ad
bump version to 20170523 2017-05-23 16:39:10 +02:00
Aleksey Ivanov
a61d7693fd ruby-build 20170405 2017-04-05 22:53:33 +03:00
Aleksey Ivanov
9d21801081 ruby-build 20170322 2017-03-31 18:38:33 +03:00
SHIBATA Hiroshi
f98b7d6557 Merge pull request #921 from rubypanther/master
added build_package_enable_shared() for shared library control from d…
2017-03-22 19:47:04 +09:00
SHIBATA Hiroshi
5a7d0fee28 Merge pull request #1060 from toy/fix-sorting-versions
fix ordering for versions with different length patch number
2017-03-20 16:16:56 +09:00
SHIBATA Hiroshi
9ac5fefd95
Update instruction message for llvm compiler detection.
But llvm@3.5 and llvm@3.6 are already removed from homebrew upstream.
2017-03-14 11:28:18 +09:00
Ivan Kuchin
cb84607d3e fix ordering for versions with different length patch number (nothing, p72, p375) 2017-02-25 15:48:03 +01:00
SHIBATA Hiroshi
f6c7d8dfe3 Merge pull request #1046 from yuichiro-naito/gcc_on_freebsd
gcc is installed on FreeBSD
2017-02-03 16:52:26 +09:00
Mislav Marohnić
8fb210acf9 ruby-build 20170201 2017-02-01 18:49:03 +01:00
Mislav Marohnić
41e747c1a0 Fix openssl 1.1 installation
The `configure` command for OpenSSL 1.1 doesn't support `no-krb5`
option, and `no-ssl2` option was deprecated.

Fixes https://github.com/rbenv/ruby-build/pull/1053#issuecomment-276666932
2017-02-01 18:31:34 +01:00
Yuichiro NAITO
c9088ca418 Fix comment 2017-01-19 10:05:20 +09:00
Yuichiro NAITO
e38155a6da Fix to build with gcc on FreeBSD 2017-01-18 11:02:37 +09:00
SHIBATA Hiroshi
e2adf3d5fc
bump version to 20170112 2017-01-12 21:14:26 +09:00
SHIBATA Hiroshi
636646c141 Merge pull request #1002 from chulkilee/brew-info
print when using homebrew packages
2017-01-11 12:55:47 +09:00
Mislav Marohnić
09498c23dc Bring RUBY_BUILD_VERSION string up to date
Fixes #1041
2017-01-04 17:26:15 +01:00
n0ts
b8576c8087 Delete tab indent... 2016-12-28 21:34:38 +09:00
Yuichiro NAITO
fdcc0a76e9 Prefers readline
It's needed for older ruby (before 2.1) and works latter versions, too.
2016-11-27 18:45:39 +09:00
Yuichiro NAITO
8b2c3ef4bd Code clean up
1. reduce redundant testing
2. handling release numbers more robust
3. discard STDOUT messages more clearly
2016-11-27 18:38:17 +09:00
Yuichiro NAITO
1aa052b32d prefer to use openssl library from Ports Collection. 2016-11-04 17:16:46 +09:00
Yuichiro NAITO
d0c91c935e support FreeBSD 11-RELEASE 2016-11-04 15:55:31 +09:00
Chulki Lee
5118c4257f print when using homebrew packages 2016-09-24 21:38:58 -07:00
Eugene Kenny
ac96718249 Require LLVM 3.6 when building Rubinius 3.30+
From 3.30 onwards, Rubinius requires LLVM 3.6 or newer:

2dd51a1c28
2016-09-18 01:27:46 +01:00
SHIBATA Hiroshi
1b8bbf6a6f
update bin/ruby-build version. It's missing bump. We need to fix next version... 2016-09-16 12:50:24 +09:00
Jason Karns
21494ba359 Remove suite-wide setup
Bats doesn't support both suite-wide setup (in helper) *and* file-wide
setup. Which means the existance of any file-level setup() function
overwrites any setup() function from test_helper. This can be confusing,
and (IMO) easier to simply avoid the overwriting and remove any
_implied_ suite-wide setup function from test_helper.

This turns out to not be so bad for the recently added setup function,
because the only test files that actually need aria2c removed from PATH
are those that actually invoke curl. These can be found because they are
the only test files that stub curl; half of which already had
file-specific setup() functions. So the only ones which need a
file-local setup() function added were: checksum.bats and mirror.bats

Along these lines, rbenv.bats and hooks.bats were removing aria2c from
PATH but don't actually need to. (curl isn't stubbed in these tests so
the existance of aria2c wouldn't affect the tests)

Lastly, fixed a tab/spaces whitespace mixup that was introduced by:
750c086d11
2016-08-13 15:53:04 -04:00
Mislav Marohnić
f666e71656 Merge pull request #965 from yyuu/workaround-aria2c-stdout
`aria2c` doesn't support writing remote content to stdout
2016-08-12 16:30:18 +02:00
SHIBATA Hiroshi
1a37ab1856 Merge pull request #934 from aycabta/gmake-is-required-for-jruby
GNU Make is always required for JRuby on FreeBSD
2016-08-02 21:16:15 +09:00
Yamashita, Yuu
6baed1ff66 Prevent loading user's aria2.conf (yyuu/pyenv#625) 2016-06-22 00:37:56 +00:00
Mislav Marohnić
75dcbfb178 ruby-build 20160602 2016-06-02 15:02:50 -05:00
Yamashita, Yuu
e56f6cf82d aria2c doesn't support writing remote content to stdout (yyuu/pyenv#619, yyuu/pyenv#620) 2016-06-02 01:58:02 +00:00
SHIBATA Hiroshi
abb7d1d20f Merge pull request #904 from yyuu/download-aria2c
Use `aria2c` the "ultra fast" downloader if available
2016-05-25 20:12:45 +09:00
Jeremy Daer
2617f400de
Warn when installing an unsupported or end-of-lifed Ruby
Fixes #742
2016-04-29 22:56:28 -07:00
Erik Michaels-Ober
01071d083c ruby-build 20160426 2016-04-26 09:48:49 -07:00
Code Ass
750c086d11 GNU Make is always required for JRuby 2016-04-14 05:11:23 +09:00
Erik Michaels-Ober
c97caf3705 ruby-build 20160330 2016-03-30 08:42:27 -07:00
Paris Sinclair
4f7e4c7151 added build_package_enable_shared() for shared library control from definition file 2016-03-13 16:23:20 -07:00