Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361121 - Remove old-style virtual/ssh
Summary: Remove old-style virtual/ssh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 350792
  Show dependency tree
 
Reported: 2011-03-29 14:07 UTC by Ulrich Müller
Modified: 2011-04-16 19:38 UTC (History)
1 user (show)

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


Attachments
Proposed ssh-0.ebuild (ssh-0.ebuild,673 bytes, text/plain)
2011-04-10 17:55 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2011-03-29 14:07:41 UTC
See tracker bug 350792.

virtual/ssh
   packages:
      net-misc/dropbear
      net-misc/openssh

Please convert to a new-style virtual.

This is one of the more complicated cases: The base profile prefers openssh, but the following profiles prefer dropbear:

   profiles/hardened/x86/minimal
   profiles/hardened/linux/x86/minimal
   profiles/embedded
   profiles/uclibc

The first three of these set USE="minimal" by default (and are the _only_ profiles doing this). So as a possible solution, the new-style virtual could have RDEPEND as follows:

   minimal? ( || ( net-misc/dropdear net-misc/openssh ) )
   !minimal? ( || ( net-misc/openssh net-misc/dropdear ) )

Finally, the uclibc profile could set the minimal flag for virtual/ssh in its package.use.
Comment 1 Ulrich Müller gentoo-dev 2011-04-10 17:55:24 UTC
Created attachment 269357 [details]
Proposed ssh-0.ebuild

Proposed new-style virtual, please review.

In addition, profiles/uclibc/package.use would be added with the following contents:

   # With USE=minimal, the virtual will prefer dropbear.
   virtual/ssh minimal