Commit graph

445 commits

Author SHA1 Message Date
Benoit Daloze
e4574939da Rename the extracted directory if it is not the same as the package name
* make_package() assumes the archive was extracted to $package_name.
* fetch_tarball() does not check the name of the toplevel directory in
  the archive, so rename after if it's not exactly "$package_name".
2018-08-21 22:13:46 +02:00
Benoit Daloze
9d1333e5aa Revert "Ensure extracted tarball matches the package name"
* This reverts commit d155b41eb0.
* tar's --strip-components does not seem supported on OpenBSD, even
  though bsdtar does support it.
  See d155b41e (commitcomment-30215955)
2018-08-21 13:28:51 +02:00
Benoit Daloze
0ec626bc4d Remove early check for LLVM when installing TruffleRuby
* TruffleRuby already checks for LLVM itself when it needs it and
  looks up more paths to find the LLVM executables clang and opt.
* See https://github.com/oracle/truffleruby/issues/1386.
2018-07-14 22:39:37 +02:00
SHIBATA Hiroshi
f50343c81f
bump version to 20180618 2018-06-18 11:28:25 +09:00
Benoit Daloze
ad4a9fefdd Support patches for TruffleRuby too 2018-06-15 20:17:13 +02:00
Benoit Daloze
af0850c292 Add build hook for TruffleRuby 2018-06-15 20:17:13 +02:00
Benoit Daloze
d155b41eb0 Ensure extracted tarball matches the package name 2018-06-15 19:29:38 +02:00
SHIBATA Hiroshi
312f3aecbd
bump version to 20180601 2018-06-01 13:53:26 +09:00
SHIBATA Hiroshi
d7fa3adcbb
bump version to v20180424 2018-04-24 09:38:18 +09:00
Jeremy Daer
a7b0154f6b
Ruby 2.2 reaches end of life on 2018-03-31 2018-03-28 22:02:27 -07:00
SHIBATA Hiroshi
52c37a70da
bump version to v20180329 2018-03-29 09:56:35 +09:00
SHIBATA Hiroshi
9380f311df
bump version to 20180224 2018-02-24 21:19:47 +09:00
SHIBATA Hiroshi
2f29268033
Merge pull request #1147 from krbullock/fix/openssl-darwin-pkgconfig
Build Ruby against the right OpenSSL on macOS if pkg-config is present
2018-02-24 20:49:24 +09:00
SHIBATA Hiroshi
c3c29ccf9a
Bump version to 20171226 2017-12-26 10:06:46 +09:00
Kjetil Limkjær
6d6725a8a2 Fix rbenv install on Solaris / Illumos
rbenv install crashes on Solaris with an empty log file. Adding support
for the proper Solaris getconf call in num_cpu_cores fixed it. Tested
and working under OmniOS CE r151024.
2017-12-15 11:17:14 +01:00
SHIBATA Hiroshi
81a4cd64d7
Bump version to 20171215 2017-12-15 09:28:38 +09:00
SHIBATA Hiroshi
331a408adc
Merge pull request #1136 from juanibiapina/relax-java-version-regexp
Relax java version regexp
2017-11-27 15:26:35 +09:00
Ville Skyttä
67c47603ee num_cpu_cores: Prefer getconf over cpuinfo grep, simplify grep usage 2017-11-09 09:28:49 +02:00
Kevin Bullock
5d5792f6ca Build Ruby against the right OpenSSL on macOS if pkg-config is present (#1085) 2017-11-06 20:53:31 -06:00
SHIBATA Hiroshi
f41e8474a8
ubygems.rb is unavailable on Ruby 2.5 2017-10-12 11:57:46 +09:00
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