- correctly build on 64-bit systems (part of #143417)
- patch so that 32- and 64-bit libcrack can read dictionaries which were incorrectly generated on 64-bit systems of the same endianness, as a compatibility measure - include a sample cracklib magic file - require cracklib-dicts (part of #143417) - stop using /usr/dict/* when building the dictionary
This commit is contained in:
parent
dfb1278601
commit
0abe046392
@ -1,7 +1,7 @@
|
|||||||
Summary: A password-checking library.
|
Summary: A password-checking library.
|
||||||
Name: cracklib
|
Name: cracklib
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 28
|
Release: 29
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: http://www.crypticide.org/users/alecm/security/cracklib,%{version}.tgz
|
Source0: http://www.crypticide.org/users/alecm/security/cracklib,%{version}.tgz
|
||||||
Source1: crack.h
|
Source1: crack.h
|
||||||
@ -32,12 +32,16 @@ Source33: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/names.french.gz
|
|||||||
Source34: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/names.hp.gz
|
Source34: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/names.hp.gz
|
||||||
Source35: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/other-names.gz
|
Source35: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/other-names.gz
|
||||||
Source36: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/surnames.finnish.gz
|
Source36: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/surnames.finnish.gz
|
||||||
|
Source37: cracklib.magic
|
||||||
Url: http://www.crypticide.org/users/alecm/
|
Url: http://www.crypticide.org/users/alecm/
|
||||||
License: Artistic
|
License: Artistic
|
||||||
Patch0: cracklib-2.7-rh.patch
|
Patch0: cracklib-2.7-rh.patch
|
||||||
Patch1: cracklib-2.7-nss.patch
|
Patch1: cracklib-2.7-nss.patch
|
||||||
|
Patch2: cracklib-2.7-check.patch
|
||||||
|
Patch3: cracklib-2.7-64.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
BuildPrereq: gzip, words
|
BuildPrereq: gzip, words
|
||||||
|
Requires: cracklib-dicts = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
CrackLib tests passwords to determine whether they match certain
|
CrackLib tests passwords to determine whether they match certain
|
||||||
@ -74,6 +78,8 @@ If you are installing CrackLib, you should also install cracklib-dicts.
|
|||||||
%setup -n cracklib,%{version} -q
|
%setup -n cracklib,%{version} -q
|
||||||
%patch0 -p1 -b .rh
|
%patch0 -p1 -b .rh
|
||||||
%patch1 -p1 -b .nss
|
%patch1 -p1 -b .nss
|
||||||
|
%patch2 -p1 -b .check
|
||||||
|
%patch3 -p1 -b .64
|
||||||
cp %{SOURCE1} cracklib/crack.h
|
cp %{SOURCE1} cracklib/crack.h
|
||||||
mkdir cracklib-dicts
|
mkdir cracklib-dicts
|
||||||
for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
||||||
@ -114,7 +120,7 @@ make install \
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README MANIFEST LICENCE HISTORY POSTER
|
%doc README MANIFEST LICENCE HISTORY POSTER $RPM_SOURCE_DIR/cracklib.magic
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/lib*
|
%{_libdir}/lib*
|
||||||
|
|
||||||
@ -124,6 +130,14 @@ make install \
|
|||||||
%{_libdir}/cracklib_dict*
|
%{_libdir}/cracklib_dict*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 3 2005 Nalin Dahyabhai <nalin@redhat.com> 2.7-29
|
||||||
|
- correctly build on 64-bit systems
|
||||||
|
- patch so that 32- and 64-bit libcrack can read dictionaries which were
|
||||||
|
incorrectly generated on 64-bit systems of the same endianness
|
||||||
|
- include a sample cracklib magic file
|
||||||
|
- require cracklib-dicts
|
||||||
|
- stop using /usr/dict/* when building the dictionary
|
||||||
|
|
||||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user