summaryrefslogtreecommitdiffstats
path: root/ruby-raa
diff options
context:
space:
mode:
authorRemko van der Vossen2021-04-23 17:35:14 +0200
committerRemko van der Vossen2021-04-23 17:35:14 +0200
commite88b437d4b18648b7498842477a01310403cd8ed (patch)
treed36a3f506467204eaf62db81eae4d94ba10a62c5 /ruby-raa
parent184b03aa57be80c9cf0f5d7c37de7c4570c3c936 (diff)
ruby-2.1: spell deprecated, no longer supported
Diffstat (limited to 'ruby-raa')
-rwxr-xr-xruby-raa/ruby-2.1/BUILD4
-rwxr-xr-xruby-raa/ruby-2.1/CONFIGURE26
-rwxr-xr-xruby-raa/ruby-2.1/DEPENDS6
-rwxr-xr-xruby-raa/ruby-2.1/DETAILS11
-rw-r--r--ruby-raa/ruby-2.1/HISTORY3
-rwxr-xr-xruby-raa/ruby-2.1/INSTALL6
-rwxr-xr-xruby-raa/ruby-2.1/PRE_BUILD1
-rwxr-xr-xruby-raa/ruby-2.1/PROVIDES1
-rwxr-xr-xruby-raa/ruby-2.1/UP_TRIGGERS1
9 files changed, 29 insertions, 30 deletions
diff --git a/ruby-raa/ruby-2.1/BUILD b/ruby-raa/ruby-2.1/BUILD
index 2789a748f2..27ba77ddaf 100755
--- a/ruby-raa/ruby-2.1/BUILD
+++ b/ruby-raa/ruby-2.1/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.1/CONFIGURE b/ruby-raa/ruby-2.1/CONFIGURE
index c2d0f1eb04..19dca9dc80 100755
--- a/ruby-raa/ruby-2.1/CONFIGURE
+++ b/ruby-raa/ruby-2.1/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.1/DEPENDS b/ruby-raa/ruby-2.1/DEPENDS
deleted file mode 100755
index acfc465132..0000000000
--- a/ruby-raa/ruby-2.1/DEPENDS
+++ /dev/null
@@ -1,6 +0,0 @@
-optional_depends doxygen "" "--disable-install-doc" "install documentation" &&
-optional_depends db "" "" "for db support" &&
-optional_depends gdbm "" "" "for gdbm support" &&
-optional_depends tk "" "" "for tk support" &&
-optional_depends libyaml "" "" "for YAML output (recommended)" &&
-optional_depends SSL "" "" "for ssl and hashing modules"
diff --git a/ruby-raa/ruby-2.1/DETAILS b/ruby-raa/ruby-2.1/DETAILS
index 1d7856cac2..d5844c8819 100755
--- a/ruby-raa/ruby-2.1/DETAILS
+++ b/ruby-raa/ruby-2.1/DETAILS
@@ -1,13 +1,10 @@
SPELL=ruby-2.1
- PACKAGE=ruby
VERSION=2.1.5
- SOURCE_HASH=sha512:d4b1e3c2b6a0dc79846cce056043c48a2a2a97599c76e9a07af21a77fd10e04c8a34f3a60b6975181bff17b2c452af874fa073ad029549f3203e59095ab70196
- SECURITY_PATCH=1
- 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=2
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.1/HISTORY b/ruby-raa/ruby-2.1/HISTORY
index 9ef16f752b..832cd5e68c 100644
--- a/ruby-raa/ruby-2.1/HISTORY
+++ b/ruby-raa/ruby-2.1/HISTORY
@@ -1,3 +1,6 @@
+2021-04-23 Remko van der Vossen <wich@sourcemage.org>
+ * Deprecated due to no longer being supported
+
2015-12-28 Treeve Jelbert <treeve@sourcemage.org>
* CONFLICTSL add ruby-2.3
diff --git a/ruby-raa/ruby-2.1/INSTALL b/ruby-raa/ruby-2.1/INSTALL
index 7bd471971c..27ba77ddaf 100755
--- a/ruby-raa/ruby-2.1/INSTALL
+++ b/ruby-raa/ruby-2.1/INSTALL
@@ -1,5 +1 @@
-default_install &&
-
-if [[ $RUBY_DOCS == y ]]; then
- make install-doc
-fi
+true
diff --git a/ruby-raa/ruby-2.1/PRE_BUILD b/ruby-raa/ruby-2.1/PRE_BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/ruby-raa/ruby-2.1/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/ruby-raa/ruby-2.1/PROVIDES b/ruby-raa/ruby-2.1/PROVIDES
deleted file mode 100755
index a62e12ac39..0000000000
--- a/ruby-raa/ruby-2.1/PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-RUBY
diff --git a/ruby-raa/ruby-2.1/UP_TRIGGERS b/ruby-raa/ruby-2.1/UP_TRIGGERS
new file mode 100755
index 0000000000..c7f878e6db
--- /dev/null
+++ b/ruby-raa/ruby-2.1/UP_TRIGGERS
@@ -0,0 +1 @@
+up_trigger ruby-2.1 dispel_self