Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351856 - x11-apps/xdm installs pamd file but doesn't DEPEND/RDEPEND on pam
Summary: x11-apps/xdm installs pamd file but doesn't DEPEND/RDEPEND on pam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-16 17:01 UTC by Constanze Hausner (RETIRED)
Modified: 2011-01-16 22:38 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 Constanze Hausner (RETIRED) gentoo-dev 2011-01-16 17:01:38 UTC
x11-apps/xdm installs pamd file but doesn't DEPEND/RDEPEND on pam.
At the moment the correct way to depend on pam is virtual/pam unless the package is linking to libpam_misc.
If it's linking to libpam_misc (which is an extension to the original PAM specs), then sys-libs/pam should be used (as openpam doesn't provide it).

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-16 22:22:30 UTC
BTW I think we should install pam.d file only with USE=pam, amirite?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-16 22:38:50 UTC
Add the dependency on PAM to all versions wrt bug #351856. Install the pam.d file only when pam flag is enabled (only in the newest one).

(Portage version: 2.2.0_alpha15_p1/cvs/Linux x86_64)
------------------------------------------------------------------------------

/var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.8.ebuild,v  <--  xdm-1.1.8.ebuild
new revision: 1.12; previous revision: 1.11
/var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v  <--  ChangeLog
new revision: 1.108; previous revision: 1.107
/var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.9.ebuild,v  <--  xdm-1.1.9.ebuild
new revision: 1.9; previous revision: 1.8
/var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.10.ebuild,v  <--  xdm-1.1.10.ebuild
new revision: 1.2; previous revision: 1.1