- update to 2.8.4

- add a spelling fix to configure.in, link the python module with libcrack
This commit is contained in:
Nalin Dahyabhai 2005-09-27 19:47:21 +00:00
parent 3502da989c
commit 86e898b005
3 changed files with 18 additions and 6 deletions

View File

@ -30,3 +30,4 @@ cracklib-words.gz
cracklib-2.8.1.tar.gz
cracklib-2.8.2.tar.gz
cracklib-2.8.3.tar.gz
cracklib-2.8.4.tar.gz

View File

@ -3,8 +3,8 @@
Summary: A password-checking library.
Name: cracklib
Version: 2.8.3
Release: 1
Version: 2.8.4
Release: 0.1
Group: System Environment/Libraries
Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
Source1: http://prdownloads.sourceforge.net/cracklib/cracklib-words.gz
@ -36,10 +36,11 @@ 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
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
Patch: cracklib-python-fixes.patch
URL: http://sourceforge.net/projects/cracklib/
License: Artistic
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: gzip, words
BuildPrereq: gzip, python-devel, words
Conflicts: cracklib-dicts < 2.8
%description
@ -75,6 +76,8 @@ If you are installing CrackLib, you should also install cracklib-dicts.
%prep
%setup -q
%patch -p1 -b .misc
autoreconf
mkdir cracklib-dicts
for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
%{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} \
@ -87,7 +90,7 @@ do
done
%build
%configure --with-pic
%configure --with-pic --with-python
make
%clean
@ -112,6 +115,9 @@ rm -f $RPM_BUILD_ROOT/top
ln -s $toprelpath%{dictpath}.hwm $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.hwm
ln -s $toprelpath%{dictpath}.pwd $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwd
ln -s $toprelpath%{dictpath}.pwi $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwi
rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/cracklibmodule.*a
%find_lang %{name}
%post -p /sbin/ldconfig
@ -120,11 +126,12 @@ ln -s $toprelpath%{dictpath}.pwi $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwi
%triggerpostun -- cracklib < 2.7-24
/sbin/ldconfig
%files
%files -f %{name}.lang
%defattr(-,root,root)
%doc README README-WORDS NEWS doc/LICENCE AUTHORS
%{_includedir}/*
%{_libdir}/libcrack.*
%{_libdir}/python*/site-packages/cracklibmodule.so
%dir %{_datadir}/cracklib
%{_datadir}/cracklib/cracklib.magic
%{_sbindir}/*cracklib*
@ -138,6 +145,10 @@ ln -s $toprelpath%{dictpath}.pwi $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwi
%{_sbindir}/packer
%changelog
* Tue Sep 27 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.4-1
- update to 2.8.4
- build python module
* Fri May 13 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.3-1
- update to 2.8.3

View File

@ -26,4 +26,4 @@ a2bd31ce25a3057b61d2e5a1182d93a9 sf.gz
15ec61296de799eaa8111cfabbcbb44f shakespeare.gz
c03b38448aefcde059e6fcfb20784f2c surnames.finnish.gz
575a44add4db95b43c7abb46b307950f cracklib-words.gz
13f82f75b892cbd0ba7cb9069e307006 cracklib-2.8.3.tar.gz
309e01beecc82eb08aae3d36e822ac92 cracklib-2.8.4.tar.gz