glfs/postlfs/security/heimdal/heimdal-inst.xml
Igor Živković 7e7bceecf9 applied DJ's cracklib patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2086 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-03 08:46:59 +00:00

46 lines
2.1 KiB
XML

<sect2>
<title>Installation of <application>Heimdal</application></title>
<para>
Before installing the package, you may want to preserve the
<command>ftp</command> program from the Inetutils package. This is
because using the Heimdal <command>ftp</command> program to connect to
non kerberized ftp servers may not work properly. It will allow you to
connect (letting you know that transmission of the password is clear
text) but will have problems doing puts and gets.
</para>
<screen><userinput><command>mv /usr/bin/ftp /usr/bin/ftpn</command></userinput></screen>
<para>
If you wish the Heimdal package to link against the cracklib library,
you must apply a patch:
</para>
<screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-cracklib-1.patch</command></userinput></screen>
<para>Install <application>Heimdal</application> by running the following commands:</para>
<screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-fhs-compliance-1.patch &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc/heimdal \
--datadir=/var/lib/heimdal --libexecdir=/usr/sbin \
--sharedstatedir=/usr/share --localstatedir=/var/lib/heimdal \
--enable-shared --with-openssl=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
mv /bin/login /bin/login.shadow &amp;&amp;
mv /bin/su /bin/su.coreutils &amp;&amp;
mv /usr/bin/{login,su} /bin &amp;&amp;
ln -sf ../../bin/login /usr/bin &amp;&amp;
mv /usr/lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /lib &amp;&amp;
mv /usr/lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /lib &amp;&amp;
mv /usr/lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /lib &amp;&amp;
mv /usr/lib/lib{com_err.so.1,com_err.so.1.1.1,db-4.1.so} /lib &amp;&amp;
ln -sf ../../lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /usr/lib &amp;&amp;
ln -sf ../../lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /usr/lib &amp;&amp;
ln -sf ../../lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /usr/lib &amp;&amp;
ln -sf ../../lib/lib{com_err.so.1,com_err.so.1.1.1,db-4.1.so} /usr/lib &amp;&amp;
ldconfig</command></userinput></screen>
</sect2>