Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841407 - dev-ruby/redis: depends on unsupported =dev-db/redis-5* for tests
Summary: dev-ruby/redis: depends on unsupported =dev-db/redis-5* for tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: CVE-2022-24735, CVE-2022-24736
  Show dependency tree
 
Reported: 2022-04-28 02:38 UTC by Sam James
Modified: 2022-07-10 09:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-28 02:38:41 UTC
Noticed when I tried to cleanup old Redis for a security bug.

Does dev-ruby/redis need Redis 5 still for tests?
Comment 1 Petr Vaněk gentoo-dev 2022-07-09 11:54:10 UTC
Submitted PR bumps dev-ruby/redis to 4.7.1 and drops old 4.1.4. New version works with <dev-db/redis-7 which will allow us to remove old, unsupported and vulnerable dev-db/redis:5.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-10 09:21:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cb2bed4060c3f69f8374f3c1c09163fcf8eab8

commit a9cb2bed4060c3f69f8374f3c1c09163fcf8eab8
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-07-04 09:35:28 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-07-10 09:21:12 +0000

    dev-ruby/redis: add 4.7.1
    
    - EAPI bump to 8
    - Remove test_subscribe_past_a_timeout sed, redis-rb does not use nc
      command since version 3.2.0, see upstream commit d97779c3d028 ("Use
      pure ruby to send a TCP message")
    - It is now required to set VERBOSE env in order to have verbose output
      of tests since version 4.2.0, see upstream commit 287276c2633d
      ("Disable travis-ci")
    - This version does not support redis-7 but all other versions available
      in ::gentoo work.
    
    Bug: https://bugs.gentoo.org/841407
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/redis/Manifest                            |  1 +
 .../files/redis-4.7.1-local-redis-server.patch     | 42 ++++++++++++++++++
 dev-ruby/redis/redis-4.7.1.ebuild                  | 50 ++++++++++++++++++++++
 3 files changed, 93 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2022-07-10 09:22:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef1771ede8cf78a4fd21a7565039c528987c667

commit eef1771ede8cf78a4fd21a7565039c528987c667
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-07-04 12:28:57 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-07-10 09:22:39 +0000

    dev-ruby/redis: drop 4.1.4
    
    Closes: https://bugs.gentoo.org/841407
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/redis/Manifest                            |  1 -
 .../files/redis-4.1.4-local-redis-server.patch     | 40 -----------------
 dev-ruby/redis/redis-4.1.4.ebuild                  | 52 ----------------------
 3 files changed, 93 deletions(-)