mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
applied DJ's cracklib update patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2065 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
d2af3ad211
commit
6eab593304
@ -2,9 +2,9 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
"/usr/share/docbook/docbookx.dtd" [
|
||||
|
||||
<!ENTITY version "CVS-20040426">
|
||||
<!ENTITY releasedate "April 26th, 2004">
|
||||
<!ENTITY pubdate "2004-04-26">
|
||||
<!ENTITY version "CVS-20040427">
|
||||
<!ENTITY releasedate "April 27th, 2004">
|
||||
<!ENTITY pubdate "2004-04-27">
|
||||
<!ENTITY blfs-version "cvs">
|
||||
|
||||
<!ENTITY % book SYSTEM "book/book.ent">
|
||||
|
@ -11,6 +11,9 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>April 27th, 2004 [igor]: Updated cracklib
|
||||
instructions, submitted by DJ Lucas.</para></listitem>
|
||||
|
||||
<listitem><para>April 26th, 2004 [igor]: Rolled back to
|
||||
FreeType2-2.1.7.</para></listitem>
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
&cracklib-intro;
|
||||
&cracklib-inst;
|
||||
&cracklib-exp;
|
||||
&cracklib-desc;
|
||||
|
||||
</sect1>
|
||||
|
@ -12,16 +12,12 @@ ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words</command></us
|
||||
<para>Our word list is linked to
|
||||
<filename>/usr/share/dict/words</filename> as historically,
|
||||
<filename>words</filename> is the only file in the
|
||||
<filename class="directory">/usr/share/dict</filename> directory. You are welcome to shun
|
||||
history and adjust for your own needs.</para>
|
||||
<filename class="directory">/usr/share/dict</filename> directory. You are
|
||||
welcome to shun history and adjust for your own needs.</para>
|
||||
|
||||
<para>Now install cracklib using the following commands:</para>
|
||||
|
||||
<screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-header-1.patch &&
|
||||
patch -Np1 -i ../cracklib-&cracklib-version;-missing-1.patch &&
|
||||
make DICTPATH=/usr/lib/cracklib_dict SRCDICTS=/usr/share/dict/words install &&
|
||||
install -m644 cracklib/libcrack.a /usr/lib &&
|
||||
install -m644 cracklib/crack.h /usr/include &&
|
||||
install -m754 util/{mkdict,packer,create_cracklib_dict} /usr/sbin</command></userinput></screen>
|
||||
<screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-2.patch &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
@ -20,12 +20,8 @@ url="&cracklib-download-ftp;"/></para></listitem>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Missing header patch:
|
||||
<ulink url="&patch-root;/cracklib-&cracklib-version;-header-1.patch"/></para></listitem>
|
||||
<listitem><para>Missing utility patch:
|
||||
<ulink url="&patch-root;/cracklib-&cracklib-version;-missing-1.patch"/></para></listitem>
|
||||
</itemizedlist>
|
||||
<para>Cracklib BLFS patch:
|
||||
<ulink url="&patch-root;/cracklib,&cracklib-version;-blfs-2.patch"/></para>
|
||||
|
||||
<para>You will also need to download a wordlist for use with cracklib.
|
||||
There are two wordlists to choose from at the following location.
|
||||
@ -34,8 +30,8 @@ or opt for the <filename>allwords</filename> word list for
|
||||
lightweight machines short on <acronym>RAM</acronym>. You can of course choose any other
|
||||
word list that you have at your disposal.</para>
|
||||
|
||||
<para>cracklib: <ulink url="http://www.cotse.com/wordlists/cracklib"/></para>
|
||||
<para>allwords: <ulink url="http://www.cotse.com/wordlists/allwords"/></para>
|
||||
<para>cracklib (&crackdict-size;): <ulink url="http://www.cotse.com/wordlists/cracklib"/></para>
|
||||
<para>allwords (&alldict-size;): <ulink url="http://www.cotse.com/wordlists/allwords"/></para>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
@ -9,4 +9,6 @@
|
||||
<!ENTITY cracklib-size "21 KB">
|
||||
<!ENTITY cracklib-buildsize "17 MB">
|
||||
<!ENTITY cracklib-time "0.10 SBU">
|
||||
<!ENTITY crackdict-size "15.6MB">
|
||||
<!ENTITY alldict-size "466KB">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user