From: Alex Vong <alexvong1995@gmail.com>
To: 33846@debbugs.gnu.org
Cc: alexvong1995@gmail.com
Subject: [bug#33846] [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Date: Sun, 23 Dec 2018 17:39:09 +0800 [thread overview]
Message-ID: <87ftuod1ky.fsf@gmail.com> (raw)
In-Reply-To: <87lg4il99m.fsf@gmail.com> (Alex Vong's message of "Sat, 22 Dec 2018 08:01:25 +0800")
[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]
Hello,
This patch removes all ruby versions which have reached EOL since they
no longer receive official security updates.
However, please do complain if you need to use one of these
versions. IMO, it is better to have a central place for them to receive
(unofficial) security updates (e.g. Debian will support ruby 2.1 until
2020), than to roll your own security updates (which is error-prone and
duplicate effort).
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-ruby-Remove-versions-1.8-2.1-and-2.2.patch --]
[-- Type: text/x-diff, Size: 3257 bytes --]
From 2063870b76c6197e34764750f7ca6be1f41d8871 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Sat, 22 Dec 2018 07:30:41 +0800
Subject: [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Remove ruby versions which have reached EOL.
See <https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00421.html>.
* gnu/packages/ruby.scm (ruby-1.8, ruby-2.1, ruby-2.2): Remove variables.
---
gnu/packages/ruby.scm | 68 -------------------------------------------
1 file changed, 68 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 52832eeeb..2063579e0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -126,74 +126,6 @@ a focus on simplicity and productivity.")
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
#t))))))
-(define-public ruby-2.2
- (package (inherit ruby)
- (version "2.2.10")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
- (version-major+minor version)
- "/ruby-" version ".tar.xz"))
- (sha256
- (base32
- "0l5nk9mc0q4769d2i9d9y1izk0pk0lms2bl8s3lclv36wsvvqxxz"))))))
-
-(define-public ruby-2.1
- (package (inherit ruby)
- (version "2.1.10")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
- (version-major+minor version)
- "/ruby-" version ".tar.bz2"))
- (sha256
- (base32
- "1wglbd599mlwxfcb2xgqcxi2shr363pjn5dpbv11m04si9bpaim7"))))
- (arguments
- `(#:test-target "test"
- #:parallel-tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'replace-bin-sh
- (lambda _
- (substitute* '("Makefile.in"
- "ext/pty/pty.c"
- "io.c"
- "lib/mkmf.rb"
- "process.c")
- (("/bin/sh") (which "sh")))
- #t)))))))
-
-(define-public ruby-1.8
- (package (inherit ruby)
- (version "1.8.7-p374")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
- (version-major+minor version)
- "/ruby-" version ".tar.bz2"))
- (sha256
- (base32
- "1qq7khilwkayrhwmzlxk83scrmiqfi7lgsn4c63znyvz2c1lgqxl"))))
- (native-search-paths '())
- (arguments
- `(#:test-target "test"
- #:parallel-tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'replace-bin-sh
- (lambda _
- (substitute* '("Makefile.in"
- "ext/pty/pty.c"
- "io.c"
- "lib/mkmf.rb"
- "process.c")
- (("/bin/sh") (which "sh")))
- #t)))))))
-
(define-public ruby-highline
(package
(name "ruby-highline")
--
2.19.2
[-- Attachment #1.3: Type: text/plain, Size: 14 bytes --]
Cheers,
Alex
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next parent reply other threads:[~2018-12-23 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87lg4il99m.fsf@gmail.com>
2018-12-23 9:39 ` Alex Vong [this message]
2018-12-24 8:22 ` [bug#33846] [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2 Pjotr Prins
2018-12-25 17:59 ` Alex Vong
2019-01-02 8:00 ` bug#33846: " Alex Vong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftuod1ky.fsf@gmail.com \
--to=alexvong1995@gmail.com \
--cc=33846@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.