Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93151 - net-print/cups: ebuild cleanup and openpam compatibility
Summary: net-print/cups: ebuild cleanup and openpam compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on: 93118
Blocks: 93119
  Show dependency tree
 
Reported: 2005-05-19 01:35 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-05-21 13:24 UTC (History)
1 user (show)

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


Attachments
Ebuild patch (cups-1.1.23-r3.patch,1.80 KB, patch)
2005-05-19 01:35 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 01:35:13 UTC
Currently cups is using a pam_stack-using pamd file. This makes it incompatible with openpam.

The attached patch, applied over current ebuild, makes possible to use include notation for pamd file so that it works fine on openpam (so G/FBSD), but moves the dependency over virtual/pam (so at least sys-libs/pam 0.78).

It also uses the pam eclass which is still not in tree (see the dependency bug), as the pamd_mimic_system function is quite useful in this case to avoid having the file there.

Editing the ebuild I also made the amd64 patch unconditional as it should work fine on x86 and other archs, too; I removed the virtual/libc dependency; I used newinitd to install the rc6 file; I also changed the two sed lines to a single sed call (quicker).

Probably this would require a revision bump because of the change in deps.

Thanks, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 01:35:34 UTC
Created attachment 59266 [details, diff]
Ebuild patch
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-21 13:24:52 UTC
fixed in -r3