/[smeserver]/rpms/e-smith-formmagick/sme7/e-smith-formmagick-2.0.0-lib64.patch
ViewVC logotype

Contents of /rpms/e-smith-formmagick/sme7/e-smith-formmagick-2.0.0-lib64.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 19:06:24 2010 UTC (14 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-formmagick-2_0_0-2_el4_sme, e-smith-formmagick-2_0_0-3_el4_sme, HEAD
lib64 update

1 diff -up e-smith-formmagick-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm.lib64 e-smith-formmagick-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm
2 --- e-smith-formmagick-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm.lib64 2008-10-07 11:35:38.000000000 -0600
3 +++ e-smith-formmagick-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm 2010-02-04 11:38:27.000000000 -0700
4 @@ -804,7 +804,11 @@ sub validate_password
5 return $reason unless ($reason eq "OK");
6 return "OK" unless ($strength eq "strong");
7
8 - $reason = fascist_check($pass, '/usr/lib/cracklib_dict');
9 + if ( -f '/usr/lib64/cracklib_dict.pwd' ) {
10 + $reason = fascist_check($pass, '/usr/lib64/cracklib_dict');
11 + } else {
12 + $reason = fascist_check($pass, '/usr/lib/cracklib_dict');
13 + }
14 $reason ||= "Software error: password check failed";
15
16 return "OK" if ($reason eq "ok");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed