forked from pool/cracklib
This commit is contained in:
committed by
Git OBS Bridge
parent
d627619866
commit
a4f051a3ef
@@ -16,39 +16,10 @@ License: Artistic License
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 2.8.10
|
||||
Release: 1
|
||||
Summary: A Password-Checking Library
|
||||
Release: 3
|
||||
Requires: cracklib-dict
|
||||
Summary: Full dictionary for cracklib - A Password-Checking Library
|
||||
Source: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.bz2
|
||||
Source1: http://prdownloads.sourceforge.net/cracklib/cracklib-words.gz
|
||||
Source10: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Domains.gz
|
||||
Source11: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Dosref.gz
|
||||
Source12: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Ftpsites.gz
|
||||
Source13: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Jargon.gz
|
||||
Source14: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/common-passwords.txt.gz
|
||||
Source15: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/etc-hosts.gz
|
||||
Source16: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Movies.gz
|
||||
Source17: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Python.gz
|
||||
Source18: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Trek.gz
|
||||
Source19: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/LCarrol.gz
|
||||
Source20: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/Paradise.Lost.gz
|
||||
Source21: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/cartoon.gz
|
||||
Source22: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/myths-legends.gz
|
||||
Source23: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/sf.gz
|
||||
Source24: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/shakespeare.gz
|
||||
Source25: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/ASSurnames.gz
|
||||
Source26: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Congress.gz
|
||||
Source27: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Family-Names.gz
|
||||
Source28: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Given-Names.gz
|
||||
Source29: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/famous.gz
|
||||
Source30: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/fast-names.gz
|
||||
Source31: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/female-names.gz
|
||||
Source32: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/male-names.gz
|
||||
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
|
||||
Source37: pt_BR-wordlist.gz
|
||||
Source38: es-wordlist.gz
|
||||
Patch: cracklib-magic.diff
|
||||
Patch1: cracklib-trans.diff
|
||||
Patch2: datarootdir.patch
|
||||
@@ -60,6 +31,8 @@ CrackLib tests passwords to determine whether they match certain
|
||||
security-oriented characteristics. You can use CrackLib to stop users
|
||||
from choosing passwords that are easy to guess.
|
||||
|
||||
This package contains a full dictionary file used by cracklib.
|
||||
|
||||
|
||||
|
||||
%package devel
|
||||
@@ -77,21 +50,27 @@ characteristics.
|
||||
|
||||
|
||||
|
||||
%package dict-small
|
||||
Summary: Small dictionary for cracklib - A Password-Checking Library
|
||||
Group: System/Libraries
|
||||
Provides: cracklib-dict
|
||||
Conflicts: cracklib-dict-full
|
||||
|
||||
%description dict-small
|
||||
CrackLib tests passwords to determine whether they match certain
|
||||
security-oriented characteristics. You can use CrackLib to stop users
|
||||
from choosing passwords that are easy to guess.
|
||||
|
||||
This package contains a small dictionay file used by cracklib.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
mkdir cracklib-dicts
|
||||
cp -f %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
||||
%{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} \
|
||||
%{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} \
|
||||
%{SOURCE25} %{SOURCE26} %{SOURCE27} %{SOURCE28} %{SOURCE29} \
|
||||
%{SOURCE30} %{SOURCE31} %{SOURCE32} %{SOURCE33} %{SOURCE34} \
|
||||
%{SOURCE35} %{SOURCE36} %{SOURCE37} %{SOURCE38} %{SOURCE1} \
|
||||
cracklib-dicts/
|
||||
gunzip cracklib-dicts/*
|
||||
|
||||
%build
|
||||
autoreconf
|
||||
@@ -107,9 +86,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# libtool is broken by design, remove this *.la files ...
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/libcrack.la
|
||||
# set executable
|
||||
chmod 755 ./util/cracklib-format
|
||||
# Adjust path in comment
|
||||
sed "s,/usr/lib/cracklib_dict,%{_datadir}/cracklib/pw_dict,g" lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h
|
||||
./util/cracklib-format cracklib-dicts/* | \
|
||||
./util/cracklib-format ./dicts/cracklib-small | \
|
||||
./util/cracklib-packer $RPM_BUILD_ROOT/%{_datadir}/cracklib/pw_dict
|
||||
ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict
|
||||
ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer
|
||||
@@ -137,9 +118,6 @@ ln -sf %{_datadir}/cracklib/pw_dict.pwi $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pw
|
||||
/usr/sbin/cracklib-unpacker
|
||||
%dir %{_datadir}/cracklib
|
||||
%{_datadir}/cracklib/cracklib.magic
|
||||
%{_datadir}/cracklib/pw_dict.hwm
|
||||
%{_datadir}/cracklib/pw_dict.pwd
|
||||
%{_datadir}/cracklib/pw_dict.pwi
|
||||
/usr/lib/cracklib_dict.hwm
|
||||
/usr/lib/cracklib_dict.pwd
|
||||
/usr/lib/cracklib_dict.pwi
|
||||
@@ -151,7 +129,17 @@ ln -sf %{_datadir}/cracklib/pw_dict.pwi $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pw
|
||||
%{_libdir}/libcrack.a
|
||||
%{_libdir}/libcrack.so
|
||||
|
||||
%files dict-small
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/cracklib/pw_dict.hwm
|
||||
%{_datadir}/cracklib/pw_dict.pwd
|
||||
%{_datadir}/cracklib/pw_dict.pwi
|
||||
|
||||
%changelog
|
||||
* Mon Apr 23 2007 - mc@suse.de
|
||||
- added cracklib-dict-small and splitted the full dictionary
|
||||
into a seperate package. [#265733]
|
||||
- cracklib requires cracklib-dict
|
||||
* Mon Apr 16 2007 - mc@suse.de
|
||||
- update to version 2.8.10
|
||||
* better hanlding of cracklist dictionary paths in
|
||||
|
Reference in New Issue
Block a user