From 78c16211292bc7fb487ebe0e3852f54fe7e4293f Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 03:56:20 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20crackli?= =?UTF-8?q?b-2.7-8.src.rpm=20Wed=20Jul=2012=202000=20Prospector=20=20-=20automatic=20rebuild=20Tue=20Jun=2027=202000?= =?UTF-8?q?=20Nalin=20Dahyabhai=20=20-=20FHS=20fixes=20-?= =?UTF-8?q?=20fix=20undeclared=20function=20warnings=20from=20the=20new=20?= =?UTF-8?q?compiler=20-=20fix=20URL=20Fri=20Apr=2007=202000=20Trond=20Eivi?= =?UTF-8?q?nd=20Glomsr=F8d=20=20-=20switched=20to=20use=20?= =?UTF-8?q?/usr/share/dict/words=20Tue=20Apr=2006=201999=20Preston=20Brown?= =?UTF-8?q?=20=20-=20strip=20binaries=20Sun=20Mar=2021?= =?UTF-8?q?=201999=20Cristian=20Gafton=20=20-=20auto=20?= =?UTF-8?q?rebuild=20in=20the=20new=20build=20environment=20(release=204)?= =?UTF-8?q?=20Wed=20Jan=2006=201999=20Cristian=20Gafton=20=20-=20build=20for=20glibc=202.1=20Sat=20May=2009=201998=20P?= =?UTF-8?q?rospector=20System=20=20-=20translations=20mod?= =?UTF-8?q?ified=20for=20de,=20fr,=20tr=20Tue=20Mar=2010=201998=20Cristian?= =?UTF-8?q?=20Gafton=20=20-=20updated=20to=202.7=20-=20?= =?UTF-8?q?build=20shared=20libraries=20Mon=20Nov=2003=201997=20Donnie=20B?= =?UTF-8?q?arnes=20=20-=20added=20-fPIC=20Mon=20Oct=2013?= =?UTF-8?q?=201997=20Donnie=20Barnes=20=20-=20basic=20spec?= =?UTF-8?q?=20file=20cleanups=20Mon=20Jun=2002=201997=20Erik=20Troan=20=20-=20built=20against=20glibc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 28 +++++++++ cracklib.spec | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 28 +++++++++ 3 files changed, 215 insertions(+) create mode 100644 cracklib.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d16488e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,28 @@ +ASSurnames.gz +Congress.gz +Domains.gz +Dosref.gz +Family-Names.gz +Ftpsites.gz +Given-Names.gz +Jargon.gz +LCarrol.gz +Movies.gz +Paradise.Lost.gz +Python.gz +Trek.gz +cartoon.gz +common-passwords.txt.gz +cracklib,2.7.tgz +etc-hosts.gz +famous.gz +fast-names.gz +female-names.gz +male-names.gz +myths-legends.gz +names.french.gz +names.hp.gz +other-names.gz +sf.gz +shakespeare.gz +surnames.finnish.gz diff --git a/cracklib.spec b/cracklib.spec new file mode 100644 index 0000000..5f3d20b --- /dev/null +++ b/cracklib.spec @@ -0,0 +1,159 @@ +Summary: A password-checking library. +Name: cracklib +Version: 2.7 +Release: 8 +Group: System Environment/Libraries +Source0: http://www.users.dircon.co.uk/~crypto/download/cracklib,%{version}.tgz +Source1: crack.h +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 +Url: http://www.users.dircon.co.uk/~crypto/ +Copyright: Artistic +Patch: cracklib-2.7-2-redhat.patch +Buildroot: %{_tmppath}/%{name}-root +BuildPrereq: gzip + +%description +CrackLib tests passwords to determine whether they match certain +security-oriented characteristics. You can use CrackLib to stop +users from choosing passwords which would be easy to guess. CrackLib +performs certain tests: + +* It tries to generate words from a username and gecos entry and + checks those words against the password; +* It checks for simplistic patterns in passwords; +* It checks for the password in a dictionary. + +CrackLib is actually a library containing a particular +C function which is used to check the password, as well as +other C functions. CrackLib is not a replacement for a passwd +program; it must be used in conjunction with an existing passwd +program. + +Install the cracklib package if you need a program to check users' +passwords to see if they are at least minimally secure. If you +install CrackLib, you'll also want to install the cracklib-dicts +package. + +%package dicts +Summary: The standard CrackLib dictionaries. +Group: System Environment/Libraries +Requires: words >= 2-13 + +%description dicts +The cracklib-dicts package includes the CrackLib dictionaries. +CrackLib will need to use the dictionary appropriate to your system, +which is normally put in /usr/share/dict/words. Cracklib-dicts also contains +the utilities necessary for the creation of new dictionaries. + +If you are installing CrackLib, you should also install cracklib-dicts. + +%prep +%setup -n cracklib,%{version} -q +%patch -p1 -b .rh +cp %{SOURCE1} cracklib/crack.h +mkdir cracklib-dicts +for dict in %{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} +do + cp -fv ${dict} cracklib-dicts/ +done +gunzip cracklib-dicts/* + +%build +make all + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_sbindir}} +make install \ + ROOT=$RPM_BUILD_ROOT \ + includedir=%{_includedir} \ + libdir=%{_libdir} \ + sbindir=%{_sbindir} +strip $RPM_BUILD_ROOT%{_sbindir}/packer + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README MANIFEST LICENCE HISTORY POSTER +%{_includedir}/* +%{_libdir}/lib* + +%files dicts +%defattr(-,root,root) +%{_sbindir}/* +%{_libdir}/cracklib_dict* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 27 2000 Nalin Dahyabhai +- FHS fixes +- fix undeclared function warnings from the new compiler +- fix URL + +* Fri Apr 07 2000 Trond Eivind Glomsrød +- switched to use /usr/share/dict/words + +* Tue Apr 06 1999 Preston Brown +- strip binaries + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Wed Jan 06 1999 Cristian Gafton +- build for glibc 2.1 + +* Sat May 09 1998 Prospector System +- translations modified for de, fr, tr + +* Tue Mar 10 1998 Cristian Gafton +- updated to 2.7 +- build shared libraries + +* Mon Nov 03 1997 Donnie Barnes +- added -fPIC + +* Mon Oct 13 1997 Donnie Barnes +- basic spec file cleanups + +* Mon Jun 02 1997 Erik Troan +- built against glibc + diff --git a/sources b/sources index e69de29..e219307 100644 --- a/sources +++ b/sources @@ -0,0 +1,28 @@ +16cb1a55d7a2fdf92ca52d89ff1f622e ASSurnames.gz +d5b23f17981b3dff16532e2b2878dcb8 Congress.gz +176684d648b795c599e2125ade7fbe10 Domains.gz +bc7edfe2cc34e80b1a74753b1f215c73 Dosref.gz +922c958fbff2c5428bba5f75bcf4d090 Family-Names.gz +528cd34f1a0537a21d480621f2573527 Ftpsites.gz +4a9086b08e038167cddf0d4609fe046b Given-Names.gz +1e90a81ed180165d2ae3d7e97c47d8b5 Jargon.gz +ffc528048927ed767ba1c5d67c2c1cd1 LCarrol.gz +f45610404e56901d627932895899c6bf Movies.gz +6a6daa254215d18441acb7c72bbe4b01 Paradise.Lost.gz +c575d3302d3a6beb9daef6a492ba024a Python.gz +d2af1d5bfb80515129632a5d5cd106f7 Trek.gz +c262148af56614d9b33946c4758e101b cartoon.gz +5e35a78582c233f8b703f1dabf264788 common-passwords.txt.gz +7f810e310c7f2df33d1eaa2b41ab2435 cracklib,2.7.tgz +9296e6866c48522d35440c921dfac538 etc-hosts.gz +056193ded99b178046e87e6fb4300ebf famous.gz +5857e228e763eb8300a8f2d3a424d766 fast-names.gz +67d56b0639e8edeacdf804005cb13afb female-names.gz +2118799e73046f4a386a2e8b8d244d3b male-names.gz +18a1a7c79821701d8c7e8ee1e3d81361 myths-legends.gz +453c3842bb232d50fb45935e18be4250 names.french.gz +ca42f876220de24d5cc1d8f3645b339c names.hp.gz +f70810a2ba08f95df6787afe0eba2907 other-names.gz +a2bd31ce25a3057b61d2e5a1182d93a9 sf.gz +15ec61296de799eaa8111cfabbcbb44f shakespeare.gz +c03b38448aefcde059e6fcfb20784f2c surnames.finnish.gz