Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93177

Summary: mail-mta/postfix: g/fbsd and openpam compatibility
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Tuan Van (RETIRED) <langthang>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled, net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 93118    
Bug Blocks: 93119    
Attachments: Ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 03:44:45 UTC
Currently pamd file for postfix is incompatible with openpam, as it uses pam_stack module which is unportable.
The attached patch applied over current ebuild uses the pam eclass (not in tree for now, see bug #93118) which creates the pamd file on the fly using include directive which works fine on openpam and sys-libs/pam-0.78.

I've also added dependency over virtual/pam if pam useflag is enabled.

Misc fixes: removed || die "epatch failed" on epatch, fixed sed syntax to be compatible with non-gnu seds (and gnu sed, too).

Thanks, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 03:45:08 UTC
Created attachment 59282 [details, diff]
Ebuild patch
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-05-20 09:24:42 UTC
Fixed in CVS. Though postfix-2.2.3-r1 (the one with these fixes) is p.masked
until mailer.eclass goes testing.

Thanks
Ferdy