/[smeserver]/rpms/e-smith-lib/sme8/e-smith-lib-2.2.0-lib64.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme8/e-smith-lib-2.2.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:30 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-lib-2_2_0-5_el5_sme, e-smith-lib-2_2_0-7_el5_sme, e-smith-lib-2_2_0-9_el5_sme, e-smith-lib-2_2_0-10_el5_sme, e-smith-lib-2_2_0-8_el5_sme, e-smith-lib-2_2_0-6_el5_sme, HEAD
Error occurred while calculating annotation data.
lib64 update

1 diff -up e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util.pm.lib64 e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util.pm
2 --- e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util.pm.lib64 2008-10-07 11:36:09.000000000 -0600
3 +++ e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util.pm 2010-02-04 11:44:59.000000000 -0700
4 @@ -576,7 +576,11 @@ sub validatePassword($$)
5 $reason = 'it does not contain special characters' if (not $password =~ /\W|_/);
6 return $reason if ($reason ne 'ok' && $strength eq 'strong');
7
8 - $reason = fascist_check($password, '/usr/lib/cracklib_dict');
9 + if ( -f '/usr/lib64/cracklib_dict.pwd' ) {
10 + $reason = fascist_check($password, '/usr/lib64/cracklib_dict');
11 + } else {
12 + $reason = fascist_check($password, '/usr/lib/cracklib_dict');
13 + }
14 $reason ||= 'the password check failed';
15
16 return 'ok' if (lc($reason) eq 'ok');

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