1. emerge -f mod_auth_kerb 2. cp /usr/portage/distfiles/mod_auth_kerb-4.11.tar.gz /root/ 3. tar -xvzf mod_auth_kerb-4.11.tar.gz 4. cd src/modules/kerberos 5. vi mod_auth_kerb.c 6. Remove the extra newline at/around line 380 7. :wq 8. cd 9. tar cvzf mod_auth_kerb-4.11.tar.gz src/* 10. cp mod_auth_kerb-4.11.tar.gz /usr/portage/distfiles/ 11. md5sum -b /usr/portage/distfiles/mod_auth_kerb-4.11.tar.gz > /usr/portage/net-www/mod_auth_kerb/files/digest-mod_auth_kerb-4.11 12. ls -lta /usr/portage/distfiles/mod_auth_kerb-4.11.tar.gz 13. Record the file size (in bytes) 14. vi /usr/portage/net-www/mod_auth_kerb/files/digest-mod_auth_kerb-4.11 15. Format the line in the following manner: MD5 96be90c0e037571a57298d23c73f3ddf mod_auth_kerb-4.11.tar.gz 14025 "MD5" is static, "mod_auth_kerb-4.11.tar.gz" is the name of the file, and "14025" is the file size (in bytes) 16. emerge --resume mod_auth_kerb This is Grathol's solution as posted: http://forums.gentoo.org/viewtopic-p-966379.html#966379 Reproducible: Always Steps to Reproduce: 1. 2. 3.
When looking into this, I found many other issues with the 4.x line of mod_auth_kerb and couldn't get the module to work. Because of this, we are going to be getting rid of the 4.x version of mod_auth_kerb. We have requested the 5.x version to be marked stable (see bug 128189), and when that is done the 4.x line will be removed.