summaryrefslogtreecommitdiffstats
path: root/ruby-raa
diff options
context:
space:
mode:
authorRemko van der Vossen2021-04-23 17:36:46 +0200
committerRemko van der Vossen2021-04-23 17:36:46 +0200
commit17371af6f5e02891faa1a1d056bb3a055eb98437 (patch)
treeac402e6899f3ae8c25a42ddd0c7370160f3f2fc6 /ruby-raa
parent745becf5c84eada84d0f7c7bb68d4aa0d2fcb3f6 (diff)
ruby-2.4: spell deprecated, no longer supported
Diffstat (limited to 'ruby-raa')
-rwxr-xr-xruby-raa/ruby-2.4/BUILD3
-rwxr-xr-xruby-raa/ruby-2.4/CONFIGURE19
-rwxr-xr-xruby-raa/ruby-2.4/DEPENDS5
-rwxr-xr-xruby-raa/ruby-2.4/DETAILS10
-rw-r--r--ruby-raa/ruby-2.4/HISTORY3
-rwxr-xr-xruby-raa/ruby-2.4/INSTALL1
-rwxr-xr-xruby-raa/ruby-2.4/PRE_BUILD1
-rwxr-xr-xruby-raa/ruby-2.4/PROVIDES1
-rwxr-xr-xruby-raa/ruby-2.4/UP_TRIGGERS1
9 files changed, 29 insertions, 15 deletions
diff --git a/ruby-raa/ruby-2.4/BUILD b/ruby-raa/ruby-2.4/BUILD
index 47d08e04ec..27ba77ddaf 100755
--- a/ruby-raa/ruby-2.4/BUILD
+++ b/ruby-raa/ruby-2.4/BUILD
@@ -1,2 +1 @@
-OPTS+=" --enable-shared $RUBY_DOCS" &&
-default_build
+true
diff --git a/ruby-raa/ruby-2.4/CONFIGURE b/ruby-raa/ruby-2.4/CONFIGURE
index 1d3b67e0f8..19dca9dc80 100755
--- a/ruby-raa/ruby-2.4/CONFIGURE
+++ b/ruby-raa/ruby-2.4/CONFIGURE
@@ -1 +1,18 @@
-config_query_option RUBY_DOCS "install documentation?" n "" "--disable-install-doc"
+if spell_ok $SPELL; then
+ message "${PROBLEM_COLOR}" &&
+ message "Ruby ${VERSION%.*} has been deprecated, it is no longer supported and no security" &&
+ message "fixes will be release anymore. Please switch to a more recent version of" &&
+ message "ruby. Proceding with this cast will remove spell $SPELL." &&
+ message "${DEFAULT_COLOR}" &&
+ if ! query "Do you wish to proceed with removing $SPELL now?" n; then
+ return 1
+ fi
+else
+ message "${PROBLEM_COLOR}" &&
+ message "Ruby ${VERSION%.*} has been deprecated, it is no longer supported and no security" &&
+ message "fixes will be release anymore. Please select a more recent version of" &&
+ message "ruby. $SPELL will not be cast." &&
+ message "${DEFAULT_COLOR}" &&
+ query_string X "Press enter to continue" "" &&
+ return 1
+fi
diff --git a/ruby-raa/ruby-2.4/DEPENDS b/ruby-raa/ruby-2.4/DEPENDS
deleted file mode 100755
index 97256c1477..0000000000
--- a/ruby-raa/ruby-2.4/DEPENDS
+++ /dev/null
@@ -1,5 +0,0 @@
-depends gmp &&
-depends zlib &&
-optional_depends gdbm "" "" "for gdbm support" &&
-optional_depends tk "" "" "for tk support" &&
-optional_depends SSL "" "" "for ssl and hashing modules"
diff --git a/ruby-raa/ruby-2.4/DETAILS b/ruby-raa/ruby-2.4/DETAILS
index fc1485db17..ce88dc6fe1 100755
--- a/ruby-raa/ruby-2.4/DETAILS
+++ b/ruby-raa/ruby-2.4/DETAILS
@@ -1,12 +1,10 @@
SPELL=ruby-2.4
VERSION=2.4.8
- SOURCE_HASH=sha512:5f51a8312c23c1c2bfbb9c59efbd789492a4a7e4b1d4e7764db6eaaa542008e814b40817f10825e22c7fa8715fb9187be5d09b06128da211559b3601785937ea:UPSTREAM_HASH
- SECURITY_PATCH=7
- SOURCE=ruby-$VERSION.tar.xz
- URL_SUFFIX="ruby/${VERSION%.*}/$SOURCE"
- SOURCE_URL[0]=ftp://ftp.ruby-lang.org/pub/$URL_SUFFIX
- SOURCE_URL[1]=http://mirrors.ibiblio.org/$URL_SUFFIX
+ PATCH_LEVEL=1
+ SECURITY_PATCH=8
SOURCE_DIRECTORY="$BUILD_DIRECTORY/ruby-$VERSION"
+ ARCHIVE=off
+ GATHER_DOCS=off
LICENSE[0]=GPL
KEYWORDS="devel"
WEB_SITE=http://www.ruby-lang.org/
diff --git a/ruby-raa/ruby-2.4/HISTORY b/ruby-raa/ruby-2.4/HISTORY
index 633743b457..d56ef1b65e 100644
--- a/ruby-raa/ruby-2.4/HISTORY
+++ b/ruby-raa/ruby-2.4/HISTORY
@@ -1,3 +1,6 @@
+2021-04-23 Remko van der Vossen <wich@sourcemage.org>
+ * Deprecated due to no longer being supported
+
2019-10-01 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.4.8, SECURITY_PATCH++,
(CVE-2019-16255, CVE-2019-16254, CVE-2019-15845, CVE-2019-16201)
diff --git a/ruby-raa/ruby-2.4/INSTALL b/ruby-raa/ruby-2.4/INSTALL
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/ruby-raa/ruby-2.4/INSTALL
@@ -0,0 +1 @@
+true
diff --git a/ruby-raa/ruby-2.4/PRE_BUILD b/ruby-raa/ruby-2.4/PRE_BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/ruby-raa/ruby-2.4/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/ruby-raa/ruby-2.4/PROVIDES b/ruby-raa/ruby-2.4/PROVIDES
deleted file mode 100755
index a62e12ac39..0000000000
--- a/ruby-raa/ruby-2.4/PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-RUBY
diff --git a/ruby-raa/ruby-2.4/UP_TRIGGERS b/ruby-raa/ruby-2.4/UP_TRIGGERS
new file mode 100755
index 0000000000..80fa319589
--- /dev/null
+++ b/ruby-raa/ruby-2.4/UP_TRIGGERS
@@ -0,0 +1 @@
+up_trigger ruby-2.4 dispel_self