mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
3be9cf073f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2128 af4574ff-66df-0310-9fd7-8a98e5e911e0
46 lines
2.1 KiB
XML
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 &&
|
|
./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 &&
|
|
make &&
|
|
make install &&
|
|
mv /bin/login /bin/login.shadow &&
|
|
mv /bin/su /bin/su.coreutils &&
|
|
mv /usr/bin/{login,su} /bin &&
|
|
ln -sf ../../bin/login /usr/bin &&
|
|
mv /usr/lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /lib &&
|
|
mv /usr/lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /lib &&
|
|
mv /usr/lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /lib &&
|
|
mv /usr/lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /lib &&
|
|
ln -sf ../../lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /usr/lib &&
|
|
ln -sf ../../lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /usr/lib &&
|
|
ln -sf ../../lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /usr/lib &&
|
|
ln -sf ../../lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /usr/lib &&
|
|
ldconfig</command></userinput></screen>
|
|
|
|
</sect2>
|