summaryrefslogtreecommitdiffstats
path: root/ruby-raa
diff options
context:
space:
mode:
authorRemko van der Vossen2021-04-23 17:34:40 +0200
committerRemko van der Vossen2021-04-23 17:34:40 +0200
commit184b03aa57be80c9cf0f5d7c37de7c4570c3c936 (patch)
tree396f9b9d6ac02b2456fef488ba8286c2c302ddda /ruby-raa
parent5632f1ff552238b71e1f259b57147287e79cf6ce (diff)
ruby-2.0: spell deprecated, no longer supported
Diffstat (limited to 'ruby-raa')
-rwxr-xr-xruby-raa/ruby-2.0/BUILD4
-rwxr-xr-xruby-raa/ruby-2.0/CONFIGURE26
-rwxr-xr-xruby-raa/ruby-2.0/DEPENDS8
-rwxr-xr-xruby-raa/ruby-2.0/DETAILS11
-rw-r--r--ruby-raa/ruby-2.0/HISTORY3
-rwxr-xr-xruby-raa/ruby-2.0/INSTALL6
-rwxr-xr-xruby-raa/ruby-2.0/PRE_BUILD1
-rwxr-xr-xruby-raa/ruby-2.0/PROVIDES1
-rwxr-xr-xruby-raa/ruby-2.0/UP_TRIGGERS1
9 files changed, 29 insertions, 32 deletions
diff --git a/ruby-raa/ruby-2.0/BUILD b/ruby-raa/ruby-2.0/BUILD
index 2789a748f2..27ba77ddaf 100755
--- a/ruby-raa/ruby-2.0/BUILD
+++ b/ruby-raa/ruby-2.0/BUILD
@@ -1,3 +1 @@
-OPTS="$OPTS --enable-shared --enable-pthread" &&
-CFLAGS="${CFLAGS/-fomit-frame-pointer/}" &&
-default_build
+true
diff --git a/ruby-raa/ruby-2.0/CONFIGURE b/ruby-raa/ruby-2.0/CONFIGURE
index c2d0f1eb04..19dca9dc80 100755
--- a/ruby-raa/ruby-2.0/CONFIGURE
+++ b/ruby-raa/ruby-2.0/CONFIGURE
@@ -1,8 +1,18 @@
-message "Building documentation can take a long time and" &&
-message "consume a lot of memory." &&
-if spell_ok ruby; then
- persistent_read ruby RUBY_DOCS RUBY_DOCS_DEF
-fi &&
-config_query RUBY_DOCS \
- "Do you want to build documentation?" \
- ${RUBY_DOCS_DEF:-n}
+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.0/DEPENDS b/ruby-raa/ruby-2.0/DEPENDS
deleted file mode 100755
index 813f550980..0000000000
--- a/ruby-raa/ruby-2.0/DEPENDS
+++ /dev/null
@@ -1,8 +0,0 @@
-depends libffi &&
-
-optional_depends doxygen "" "--disable-install-doc" "install documentation" &&
-optional_depends db "" "" "for db support" &&
-optional_depends gdbm "" "" "for gdbm support" &&
-optional_depends libyaml "" "" "for YAML output (recommended)" &&
-optional_depends SSL "" "" "for ssl and hashing modules" &&
-optional_depends tk "" "" "for tk support"
diff --git a/ruby-raa/ruby-2.0/DETAILS b/ruby-raa/ruby-2.0/DETAILS
index 5507a8bf0f..b354cbdc43 100755
--- a/ruby-raa/ruby-2.0/DETAILS
+++ b/ruby-raa/ruby-2.0/DETAILS
@@ -1,13 +1,10 @@
SPELL=ruby-2.0
- PACKAGE=ruby
VERSION=2.0.0-p576
- SOURCE_HASH=sha512:e089cca4867cd9c715f4f37e40a1db9af6ba0c74b47e79568121bb980476f8877a87ccb848b973381edb4667c0c73165f5e1761f60db839e67f6326302dbd864
- SECURITY_PATCH=3
- BRANCH=`echo $VERSION|cut -d . -f 1,2`
- SOURCE=$PACKAGE-$VERSION.tar.bz2
- SOURCE_URL[0]=ftp://ftp.ruby-lang.org/pub/$PACKAGE/$BRANCH/$SOURCE
- SOURCE_URL[1]=http://mirrors.ibiblio.org/$PACKAGE/$BRANCH/$SOURCE
+ PATCH_LEVEL=1
+ SECURITY_PATCH=4
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$PACKAGE-$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.0/HISTORY b/ruby-raa/ruby-2.0/HISTORY
index 5abcd2233c..5816843a57 100644
--- a/ruby-raa/ruby-2.0/HISTORY
+++ b/ruby-raa/ruby-2.0/HISTORY
@@ -1,3 +1,6 @@
+2021-04-23 Remko van der Vossen <wich@sourcemage.org>
+ * Deprecated due to no longer being supported
+
2015-12-26 Treeve Jelbert <treeve@sourcemage.org>
* CONFLICTS: add ruby-2.3
diff --git a/ruby-raa/ruby-2.0/INSTALL b/ruby-raa/ruby-2.0/INSTALL
index 7bd471971c..27ba77ddaf 100755
--- a/ruby-raa/ruby-2.0/INSTALL
+++ b/ruby-raa/ruby-2.0/INSTALL
@@ -1,5 +1 @@
-default_install &&
-
-if [[ $RUBY_DOCS == y ]]; then
- make install-doc
-fi
+true
diff --git a/ruby-raa/ruby-2.0/PRE_BUILD b/ruby-raa/ruby-2.0/PRE_BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/ruby-raa/ruby-2.0/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/ruby-raa/ruby-2.0/PROVIDES b/ruby-raa/ruby-2.0/PROVIDES
deleted file mode 100755
index a62e12ac39..0000000000
--- a/ruby-raa/ruby-2.0/PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-RUBY
diff --git a/ruby-raa/ruby-2.0/UP_TRIGGERS b/ruby-raa/ruby-2.0/UP_TRIGGERS
new file mode 100755
index 0000000000..c19eb27051
--- /dev/null
+++ b/ruby-raa/ruby-2.0/UP_TRIGGERS
@@ -0,0 +1 @@
+up_trigger ruby-2.0 dispel_self