Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611712 - x11-drivers/nvidia-drivers: Drop unnecessary slots
Summary: x11-drivers/nvidia-drivers: Drop unnecessary slots
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2017-2624
  Show dependency tree
 
Reported: 2017-03-04 15:15 UTC by Matt Turner
Modified: 2017-03-30 07:29 UTC (History)
2 users (show)

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


Attachments
patch.gz (0001-x11-drivers-nvidia-drivers-Drop-old-versions.patch.gz,35.24 KB, application/gzip)
2017-03-24 05:14 UTC, Matt Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2017-03-04 15:15:35 UTC
According to https://wiki.debian.org/NvidiaGraphicsDrivers (see http://www.nvidia.com/object/IO_32667.html as well), only the following driver versions support distinct sets of hardware

nvidia-drivers-96
nvidia-drivers-173
nvidia-drivers-304
nvidia-drivers-340
nvidia-drivers-375

(presumably 375 has now been replaced by 378, but I'm not sure)

Gentoo additionally packages versions 346, 352, 355, 358, 361, 361.45, 367, and 370. I think these are in fact essentially dead versions replaced by 378.

It seems to be no coincidence that they are also the versions that require <x11-base/xorg-server-1.18.99:=. Even the old version 304 supports xorg-server-1.19.

I would like to remove xorg-server-1.18*. Can we drop versions 346, 352, 355, 358, 361, 361.45, 367, 370, and perhaps 375?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-03-07 07:38:13 UTC
I'd have to think about the branches that might not be needed. Some obscure hardware and some applications regularly turn out to require special versions.
Comment 2 Matt Turner gentoo-dev 2017-03-09 22:12:20 UTC
I found a new link that sheds a bit of light: http://www.nvidia.com/object/unix.html

375 is a latest "long lived" branch, and 378 is the latest "short lived" branch, so both should probably stay.

Marking as a blocker of bug 611350, because I plan to remove vulnerable xorg-server-1.18 versions.
Comment 3 Matt Turner gentoo-dev 2017-03-24 05:14:06 UTC
Created attachment 468122 [details]
patch.gz

How about the attached patch? (gzip'd due to size)

    x11-drivers/nvidia-drivers: Drop old versions
    
    Bug: https://bugs.gentoo.org/611712

 x11-drivers/nvidia-drivers/Manifest                |  46 --
 .../files/nvidia-drivers-346.16-pax-constify.patch |  25 -
 .../files/nvidia-drivers-346.16-pax-usercopy.patch |  47 --
 .../files/nvidia-drivers-355.06-pax.patch          | 102 ----
 .../files/nvidia-drivers-361.28-pax.patch          | 351 -------------
 .../files/nvidia-drivers-364.12-pax.patch          | 398 ---------------
 .../files/nvidia-drivers-367.35-pax.patch          | 404 ---------------
 .../files/nvidia-drivers-367.57-pax.patch          | 391 ---------------
 .../files/nvidia-drivers-367.57-profiles-rc.patch  |  11 -
 .../files/nvidia-drivers-370.28-profiles-rc.patch  |  11 -
 x11-drivers/nvidia-drivers/metadata.xml            |   1 -
 .../nvidia-drivers/nvidia-drivers-346.96-r6.ebuild | 527 --------------------
 .../nvidia-drivers/nvidia-drivers-346.96-r7.ebuild | 528 --------------------
 .../nvidia-drivers/nvidia-drivers-352.79-r4.ebuild | 526 --------------------
 .../nvidia-drivers/nvidia-drivers-352.79-r5.ebuild | 525 --------------------
 .../nvidia-drivers/nvidia-drivers-355.11-r4.ebuild | 499 -------------------
 .../nvidia-drivers/nvidia-drivers-355.11-r5.ebuild | 502 -------------------
 .../nvidia-drivers/nvidia-drivers-358.16-r5.ebuild | 538 --------------------
 .../nvidia-drivers/nvidia-drivers-358.16-r6.ebuild | 539 --------------------
 .../nvidia-drivers/nvidia-drivers-361.42-r1.ebuild | 529 --------------------
 .../nvidia-drivers/nvidia-drivers-361.42.ebuild    | 528 --------------------
 .../nvidia-drivers-361.45.18-r1.ebuild             | 529 --------------------
 .../nvidia-drivers/nvidia-drivers-361.45.18.ebuild | 528 --------------------
 .../nvidia-drivers/nvidia-drivers-364.19-r1.ebuild | 547 --------------------
 .../nvidia-drivers/nvidia-drivers-364.19-r2.ebuild | 548 --------------------
 .../nvidia-drivers/nvidia-drivers-367.57-r1.ebuild | 551 --------------------
 .../nvidia-drivers/nvidia-drivers-367.57-r2.ebuild | 552 ---------------------
 .../nvidia-drivers/nvidia-drivers-370.28-r1.ebuild | 551 --------------------
 .../nvidia-drivers/nvidia-drivers-370.28-r2.ebuild | 552 ---------------------
 29 files changed, 11386 deletions(-)