Bernd Wurst writes:

Hi again.

After building current courier-authlib, I'm now going to o the same with courier package.

Here again, Gentoo patches some stuff that IMHO could be done upstream.
Attached is a patch file that replaces pam_stack.so with PAM's include feature. This is the way to go with current PAM versions (Don't remember the version it was introduced). PAM 0.99 and later does not contain pam_stack.so.

Then Courier's configure script won't install it. If you pay closer attention, you'd see that there's also a sqwebmail-system-auth2.pamconf file in the same directory, for post PAM-0.99 based systems. The configure script checks if pam_stack.so exists, or not, and select the appropriate PAM file to install.

My guess would be that you've upgraded your system from PAM 0.99 at some point in the past, and even though you might be running a later version you still have pam_stack.so left over on your system, so the configure script sees that, and installs the old version of the pam configuration file.

The same logic applies to all other PAM files. If you're getting the wrong files installed, you'll need to look for the root cause rather than sweeping it under the rug, with a patch.

Looking at the rest of the thread, it does look like that Gentoo package could use some cleanup.

Attachment: pgpbYjAjnTIuG.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to