[patch] metamail and apache-mod_auth_pam

Jérôme Augé jerome.auge at cesamnet.fr
Fri Sep 8 18:21:15 CEST 2006


Hi,

Here are two small issues (with proposed fix) I found using theses packages.

1) metamail

The metasend command uses the tempfile command which is not available on
PLD and seems to be debian specific (can be found in the debianutils
package on Debian).

So, I modified my metasend to use mktemp instead of tempfile
(metasend-mktemp.patch).

2) apache-mod_auth_pam

apache-mod_auth_pam is not compatible with Apache >= 2.1, as they have
changed the authn/authz mechanism.

I gave a look at Fedora Core package and found that they patched their
Apache 2.2 to provide a kind of fallback that allows the original
apache-mod_auth_pam to work (httpd-2.2.0-authnoprov.patch).

I also noticed that there is a new apache-mod_authn_pam modules that
uses the new 2.2 authn/authz mechanism.

So, we can mark apache-mod_auth_pam with a "Requires: Apache < 2.1" and
integrate apache-mod_authn_pam for Apache >= 2.1, or patch Apache like
Fedora did and keep the original apache-mod_auth_pam.

I made a package for apache-mod_authn_pam (based on apache-mod_auth_pam)
and I also included a custom patch that introduce an optionnal directive
AuthnPAMService that allows you to select a different pam file than the
standard /etc/pam.d/httpd (that way you can protect different part of
your website with different pam file : "AuthnPAMService foo" will use
/etc/pam.d/foo)

I did not include the apache-mod_authn_pam.src.rpm as it makes the 
message too big for the list.

Regards,
Jérôme Augé
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: metasend-mktemp.patch
Url: /mailman/pipermail/pld-devel-en/attachments/20060908/dba8b670/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: httpd-2.2.0-authnoprov.patch
Url: /mailman/pipermail/pld-devel-en/attachments/20060908/dba8b670/attachment-0001.pl 


More information about the pld-devel-en mailing list