Commit graph

133 commits

Author SHA1 Message Date
Alexander Staubo
77894a2802 Pass -q to curl to avoid loading user's potentially conflicting .curlrc. Related to #244. 2013-02-10 23:52:22 +01:00
Sam Stephenson
3c6fa3901c Allow building against a custom OpenSSL on OS X 2013-02-08 18:25:11 -06:00
Erik Michaels-Ober
5d36bc93bb ruby-build 20130208 2013-02-08 15:27:08 -08:00
Sam Stephenson
94add57f17 Include certs from /System/Library/Keychains/SystemRootCertificates.keychain 2013-02-08 17:20:25 -06:00
Sam Stephenson
243e6fbecf Support conditional package installation with --if <test> 2013-02-08 16:48:02 -06:00
Jeremy Kemper
3a426d13b7 Rely on OpenSSL to pick the right arch. Hint that we prefer 64-bit. 2013-02-08 14:55:52 -07:00
Jeremy Kemper
92635abd51 Be sure to use c_rehash from the OpenSSL build we just installed 2013-02-08 14:51:57 -07:00
Sam Stephenson
81da19cde8 Use $RUBY_BIN 2013-02-08 15:32:27 -06:00
Sam Stephenson
fdfe71c061 Merge master 2013-02-08 15:29:23 -06:00
Erik Michaels-Ober
97d67eb5b6 ruby-build 20130206 2013-02-06 11:55:00 -08:00
Sam Stephenson
a0ace79cd7 Explicitly declare OpenSSL condition and URL in the definition files 2013-02-04 17:55:38 -06:00
Sam Stephenson
881698e16b Handle 32-bit OS X 2013-02-04 16:56:42 -06:00
Sam Stephenson
80373fb670 Guard against missing openssl (future OS X versions?) 2013-02-04 16:28:50 -06:00
Sam Stephenson
a89e8fbb33 We use uname -s to test for OS X elsewhere; stay consistent 2013-02-04 16:28:06 -06:00
Sam Stephenson
62411c44c5 Quote $PREFIX_PATH 2013-02-04 16:26:17 -06:00
Sam Stephenson
a0570c9bfe Default CC=cc for broken Ruby 2.0 gcc detection on OS X 2013-02-04 16:15:40 -06:00
Sam Stephenson
279f0d0606 Extract package_option helper 2013-02-04 16:15:07 -06:00
Sam Stephenson
f3405373a1 Add PACKAGE_{CONFIGURE,MAKE}_OPTS_ARRAY for injecting quoted arguments 2013-02-04 14:05:09 -06:00
Jeremy Kemper
959e5cb22b Build OpenSSL for Ruby 2.0 on OS X.
Apple ships a patched, incompatible OpenSSL. We build a compatible
OpenSSL from source.
2013-02-04 11:01:05 -07:00
Sam Stephenson
a6395eb296 Add support for RUBY_CONFIGURE_OPTS and RUBY_MAKE_OPTS
These variables let you pass Ruby-specific configure and make options
that will not be passed to dependent packages like libyaml.
2013-01-31 09:49:01 -06:00
Sam Stephenson
d9bbeb3ebd ruby-build 20130129 2013-01-29 18:23:24 -06:00
Sam Stephenson
a0fef0bb83 Ensure $MAKE is quoted 2013-01-29 18:09:30 -06:00
Sam Stephenson
ea7dd51fb3 Move MAKE default near the others 2013-01-29 18:09:13 -06:00
Erik Michaels-Ober
0dcfad6a5e Merge pull request #271 from nobu/master
No needs to chmod all directories.
2013-01-21 17:46:12 -08:00
Erik Michaels-Ober
310bb48a9a Merge pull request #272 from onibox/make-env-var
Support selection of 'make' tool via environment variable
2013-01-21 14:02:29 -08:00
Fabian M. Borschel
898c008e37 Support selection of 'make' tool via environment variable 2013-01-20 22:34:14 +01:00
Erik Michaels-Ober
97879ca69c ruby-build 20130118 2013-01-18 10:07:04 -08:00
Nobuyoshi Nakada
763f96da54 Invoke chmod for group or world writable directories only 2013-01-18 13:42:43 +09:00
Erik Michaels-Ober
9ef0e06c63 ruby-build 20130104 2013-01-05 10:48:48 -08:00
Erik Michaels-Ober
b97e53be60 ruby-build 20121227 2012-12-27 08:26:59 -08:00
Sam Stephenson
47f1a28810 Switch the default mirror from GitHub Downloads to Amazon CloudFront 2012-12-12 13:48:10 -06:00
Erik Michaels-Ober
a2895ad99d ruby-build 20121204 2012-12-04 13:52:15 -08:00
Erik Michaels-Ober
e4788cc121 ruby-build 20121201 2012-12-01 10:00:20 -08:00
Sam Stephenson
16aaf92455 ruby-build 20121120 2012-11-20 15:35:31 -06:00
Sam Stephenson
d924fceee5 Test package cache 2012-11-19 23:45:00 -06:00
Sam Stephenson
86f9cb7d60 URLs without anchors do not have checksums 2012-11-16 10:30:49 -06:00
Sam Stephenson
7182bde310 Account for prefixed output in recent versions of openssl md5 2012-11-16 00:48:17 -06:00
Sam Stephenson
ceb5e6e2b3 Clarify verify_checksum guards 2012-11-15 16:05:05 -06:00
Sam Stephenson
fdc1a00cb9 Degrade gracefully (no checksumming or mirrors) if MD5 is unavailable 2012-11-15 16:03:39 -06:00
Sam Stephenson
1043ab606c Set the RUBY_BUILD_SKIP_MIRROR environment variable to bypass mirror downloads 2012-11-15 15:29:50 -06:00
Sam Stephenson
9456402ffb Compute MD5 using OpenSSL if installed 2012-11-15 15:24:44 -06:00
Sam Stephenson
645933fab9 Remove wget debug remnant 2012-11-15 15:03:22 -06:00
Sam Stephenson
3c1e4b421a Improved the download message to hide mirror URLs if they're 404s 2012-11-15 14:58:57 -06:00
Sam Stephenson
302a822da2 Try to download files from RUBY_BUILD_MIRROR_URL first 2012-11-14 20:33:48 -06:00
Sam Stephenson
5d2e43600d Tell curl to follow redirects 2012-11-14 20:33:00 -06:00
Sam Stephenson
ebed6000e8 Verify MD5 checksums of tarballs downloaded with install_package
Checksums are optional and specified as anchors on package URLs.
2012-11-14 19:53:57 -06:00
Sam Stephenson
a2e94128c3 Fail on curl download errors 2012-11-14 19:22:47 -06:00
Sam Stephenson
093e3903ca Proper quoting 2012-11-13 17:44:07 -06:00
Sam Stephenson
057d1314d5 Only print "Downloading..." message when actually downloading a file 2012-11-13 17:39:48 -06:00
Sam Stephenson
db1344728a Extract cached tarball filename into a local variable 2012-11-13 17:38:37 -06:00