- update to 2.8.16

This commit is contained in:
Nalin Dahyabhai 2010-04-20 15:16:49 +00:00
parent f43257b89a
commit 5f1d933b2c
4 changed files with 7 additions and 29 deletions

View File

@ -40,3 +40,4 @@ cracklib-2.8.12.tar.gz
cracklib-2.8.13.tar.gz cracklib-2.8.13.tar.gz
cracklib-2.8.15.tar.gz cracklib-2.8.15.tar.gz
cracklib-words-20080507.gz cracklib-words-20080507.gz
cracklib-2.8.16.tar.gz

View File

@ -1,24 +0,0 @@
Where possible, actually use the name of the file that we couldn't find.
SF#2907104.
diff -up cracklib-2.8.15/python/_cracklibmodule.c cracklib-2.8.15/python/_cracklibmodule.c
--- cracklib-2.8.15/python/_cracklibmodule.c 2009-11-18 18:58:20.000000000 -0500
+++ cracklib-2.8.15/python/_cracklibmodule.c 2009-12-01 15:14:21.000000000 -0500
@@ -101,7 +101,7 @@ _cracklib_FascistCheck(PyObject *self, P
sprintf(dictfile, "%s" DICT_SUFFIX, dict);
if (lstat(dictfile, &st) == -1)
{
- PyErr_SetFromErrnoWithFilename(PyExc_OSError, dict);
+ PyErr_SetFromErrnoWithFilename(PyExc_OSError, dictfile);
free(dictfile);
return NULL;
}
@@ -123,7 +123,7 @@ _cracklib_FascistCheck(PyObject *self, P
sprintf(dictfile, "%s" DICT_SUFFIX, defaultdict);
if (lstat(dictfile, &st) == -1)
{
- PyErr_SetFromErrnoWithFilename(PyExc_OSError, defaultdict);
+ PyErr_SetFromErrnoWithFilename(PyExc_OSError, dictfile);
free(defaultdict);
free(dictfile);
return NULL;

View File

@ -4,8 +4,8 @@
Summary: A password-checking library Summary: A password-checking library
Name: cracklib Name: cracklib
Version: 2.8.15 Version: 2.8.16
Release: 3%{?dist} Release: 1%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
@ -45,7 +45,6 @@ Source37: pass_file.gz
# https://bugzilla.redhat.com/show_bug.cgi?id=557592 # https://bugzilla.redhat.com/show_bug.cgi?id=557592
# https://bugzilla.redhat.com/attachment.cgi?id=386022 # https://bugzilla.redhat.com/attachment.cgi?id=386022
Source38: ry-threshold10.txt Source38: ry-threshold10.txt
Patch0: cracklib-2.8.15-suffix.patch
Patch1: cracklib-2.8.15-inttypes.patch Patch1: cracklib-2.8.15-inttypes.patch
Patch2: cracklib-2.8.12-gettext.patch Patch2: cracklib-2.8.12-gettext.patch
Patch3: cracklib-2.8.15-init.patch Patch3: cracklib-2.8.15-init.patch
@ -111,7 +110,6 @@ If you are installing CrackLib, you should also install cracklib-dicts.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .suffix
cp lib/packer.h lib/packer.h.in cp lib/packer.h lib/packer.h.in
%patch1 -p1 -b .inttypes %patch1 -p1 -b .inttypes
%patch2 -p1 -b .gettext %patch2 -p1 -b .gettext
@ -229,6 +227,9 @@ EOF
%{_libdir}/../lib/python*/site-packages/*.py* %{_libdir}/../lib/python*/site-packages/*.py*
%changelog %changelog
* Tue Apr 20 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.16-1
- update to 2.8.16
* Fri Jan 22 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.15-3 * Fri Jan 22 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.15-3
- add passwords derived from rockyou breach data to the dictionaries (Matthew - add passwords derived from rockyou breach data to the dictionaries (Matthew
Miller, #557592) Miller, #557592)

View File

@ -26,5 +26,5 @@ a2bd31ce25a3057b61d2e5a1182d93a9 sf.gz
15ec61296de799eaa8111cfabbcbb44f shakespeare.gz 15ec61296de799eaa8111cfabbcbb44f shakespeare.gz
c03b38448aefcde059e6fcfb20784f2c surnames.finnish.gz c03b38448aefcde059e6fcfb20784f2c surnames.finnish.gz
6e76a087a646ede5eba05e9259fd84d4 pass_file.gz 6e76a087a646ede5eba05e9259fd84d4 pass_file.gz
dd745f3daad5d4efa9b0c89d32042c33 cracklib-2.8.15.tar.gz 3bfb22db8fcffd019463ee415a1b25b7 cracklib-2.8.16.tar.gz
7fa6ba0cd50e7f9ccaf4707c810b14f1 cracklib-words-20080507.gz 7fa6ba0cd50e7f9ccaf4707c810b14f1 cracklib-words-20080507.gz