Skip to content

Commit f013ed2

Browse files
committed
Drop support for Ruby 1.8.x since it has reached End-of-Life.
* CVE-2013-4164 affects Ruby 1.8.x and there is no official patch. Enabling users to install and run 1.8.x at this point is irresponsible.
1 parent f3ca3eb commit f013ed2

File tree

4 files changed

+0
-88
lines changed

4 files changed

+0
-88
lines changed

share/ruby-install/ruby/functions.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ RUBY_SRC_DIR="ruby-$RUBY_VERSION"
66
RUBY_MIRROR="${RUBY_MIRROR:-http://cache.ruby-lang.org/pub/ruby}"
77
RUBY_URL="${RUBY_URL:-$RUBY_MIRROR/$RUBY_VERSION_FAMILY/$RUBY_ARCHIVE}"
88

9-
RUBYGEMS_VERSION="2.1.3"
10-
RUBYGEMS_ARCHIVE="rubygems-$RUBYGEMS_VERSION.tgz"
11-
RUBYGEMS_SRC_DIR="rubygems-$RUBYGEMS_VERSION"
12-
RUBYGEMS_URL="http://production.cf.rubygems.org/rubygems/$RUBYGEMS_ARCHIVE"
13-
RUBYGEMS_MD5="$(fetch "$RUBY/md5" "$RUBYGEMS_ARCHIVE")"
14-
15-
if [[ "$RUBY_VERSION_FAMILY" == "1.8" ]]; then
16-
PATCHES+=("$RUBY_DIR"/patches/1.8/*.patch)
17-
fi
18-
199
#
2010
# Configures Ruby.
2111
#
@@ -49,21 +39,3 @@ function install_ruby()
4939
log "Installing ruby $RUBY_VERSION ..."
5040
make install
5141
}
52-
53-
function post_install()
54-
{
55-
if [[ "$RUBY_VERSION_FAMILY" == "1.8" ]]; then
56-
log "Downloading $RUBYGEMS_URL into $SRC_DIR ..."
57-
download "$RUBYGEMS_URL" "$SRC_DIR"
58-
59-
log "Verifying $RUBYGEMS_ARCHIVE ..."
60-
verify "$SRC_DIR/$RUBYGEMS_ARCHIVE" "$RUBYGEMS_MD5"
61-
62-
log "Extracting $RUBYGEMS_ARCHIVE ..."
63-
extract "$SRC_DIR/$RUBYGEMS_ARCHIVE"
64-
65-
log "Installing rubygems $RUBYGEMS_VERSION ..."
66-
cd "$SRC_DIR/$RUBYGEMS_SRC_DIR"
67-
"$INSTALL_DIR/bin/ruby" setup.rb
68-
fi
69-
}

share/ruby-install/ruby/md5.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
ruby-1.8.5-p115.tar.bz2: 03955e3c367b9beb3efe144c9f00d689
2-
ruby-1.8.5-p231.tar.bz2: 327f5aa6573787432222e96195cffd1e
3-
ruby-1.8.6-p286.tar.bz2: e6b6bf8f34370e433936adb7a7065e63
4-
ruby-1.8.6-p287.tar.bz2: 80b5f3db12531d36e6c81fac6d05dda9
5-
ruby-1.8.6-p369.tar.bz2: c3c1f3dd0dfbd2e17a04e59c2f12cfc8
6-
ruby-1.8.6-p383.tar.bz2: a48703cd982b9f0e3002700a50b0e88e
7-
ruby-1.8.6-p398.tar.bz2: fbd43dc44ee26be4d37e6bebbed6f8bd
8-
ruby-1.8.6-p399.tar.bz2: f77c307cb72fb8808b0e85af5d05cefc
9-
ruby-1.8.6-p420.tar.bz2: 1c7a978e9ffd4f56dc2ad74bbd2c34f3
10-
ruby-1.8.7-p160.tar.bz2: f8ddb886b8a81cf005f53e9a9541091d
11-
ruby-1.8.7-p174.tar.bz2: 88c45aaf627b4404e5e4273cb03ba2ee
12-
ruby-1.8.7-p248.tar.bz2: 37e19d46b7d4b845f57d3389084b94a6
13-
ruby-1.8.7-p249.tar.bz2: 37200cc956a16996bbfd25bb4068f242
14-
ruby-1.8.7-p299.tar.bz2: 244439a87d75ab24170a9c2b451ce351
15-
ruby-1.8.7-p302.tar.bz2: a6a9e37079ed8cf8726b455dad3de939
16-
ruby-1.8.7-p330.tar.bz2: 2689719fb42c8cf0aa336f8c8933f413
17-
ruby-1.8.7-p334.tar.bz2: 2f14f604bf981bb938ab5fc8b09eb1a6
18-
ruby-1.8.7-p352.tar.bz2: 0c61ea41d1b1183b219b9afe97f18f52
19-
ruby-1.8.7-p358.tar.bz2: de35f00997f4ccee3e22dff0f2d01b8a
20-
ruby-1.8.7-p370.tar.bz2: 1e4c3194537dd8ff92e756993e55a29d
21-
ruby-1.8.7-p371.tar.bz2: c27526b298659a186bdb5107fcec2341
22-
ruby-1.8.7-p374.tar.bz2: 83c92e2b57ea08f31187060098b2200b
231
ruby-1.9.0.tar.bz2: 17eb66ac3721340d21db352d8f5dec76
242
ruby-1.9.1-p129.tar.bz2: 6fa62b20f72da471195830dec4eb2013
253
ruby-1.9.1-p243.tar.bz2: 66d4f8403d13623051091347764881a0
@@ -57,4 +35,3 @@ ruby-2.0.0-rc1.tar.bz2: 24cebdda11e01ff4889ac983cd7dc02c
5735
ruby-2.0.0-rc2.tar.bz2: e92420131bd7994513e0bf09a3e2a19b
5836
ruby-2.1.0-preview1.tar.bz2: d32d1ea23988399afadbd21c5a7a37fc
5937
ruby-2.1.0-preview2.tar.bz2: 9d566a9b2d2e7e35ad6125e2a14ce672
60-
rubygems-2.1.3.tgz: ac7bbdfecd49f9304756aa5ebeb51400

share/ruby-install/ruby/patches/1.8/stdout-rouge-fix.patch

Lines changed: 0 additions & 35 deletions
This file was deleted.

share/ruby-install/ruby/versions.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
1.8: 1.8.7-p374
2-
1.8.7: 1.8.7-p374
31
1: 1.9.3-p448
42
1.9: 1.9.3-p484
53
1.9.3: 1.9.3-p484

0 commit comments

Comments
 (0)