1 | <sect2>
|
---|
2 | <title>Installation of <application>Heimdal</application></title>
|
---|
3 |
|
---|
4 | <para>
|
---|
5 | Before installing the package, you may want to preserve the
|
---|
6 | <command>ftp</command> program from the Inetutils package. This is
|
---|
7 | because using the Heimdal <command>ftp</command> program to connect to
|
---|
8 | non kerberized ftp servers may not work properly. It will allow you to
|
---|
9 | connect (letting you know that transmission of the password is clear
|
---|
10 | text) but will have problems doing puts and gets.
|
---|
11 | </para>
|
---|
12 |
|
---|
13 | <screen><userinput><command>mv /usr/bin/ftp /usr/bin/ftpn</command></userinput></screen>
|
---|
14 |
|
---|
15 | <para>
|
---|
16 | If you wish the Heimdal package to link against the cracklib library,
|
---|
17 | you must apply a patch:
|
---|
18 | </para>
|
---|
19 |
|
---|
20 | <screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-cracklib-1.patch</command></userinput></screen>
|
---|
21 |
|
---|
22 | <para>Install <application>Heimdal</application> by running the following commands:</para>
|
---|
23 |
|
---|
24 | <screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-fhs-compliance-1.patch &&
|
---|
25 | ./configure --prefix=/usr --sysconfdir=/etc/heimdal \
|
---|
26 | --datadir=/var/lib/heimdal --libexecdir=/usr/sbin \
|
---|
27 | --sharedstatedir=/usr/share --localstatedir=/var/lib/heimdal \
|
---|
28 | --enable-shared --with-openssl=/usr &&
|
---|
29 | make &&
|
---|
30 | make install &&
|
---|
31 | mv /bin/login /bin/login.shadow &&
|
---|
32 | mv /bin/su /bin/su.coreutils &&
|
---|
33 | mv /usr/bin/{login,su} /bin &&
|
---|
34 | ln -sf ../../bin/login /usr/bin &&
|
---|
35 | mv /usr/lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /lib &&
|
---|
36 | mv /usr/lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /lib &&
|
---|
37 | mv /usr/lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /lib &&
|
---|
38 | mv /usr/lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /lib &&
|
---|
39 | ln -sf ../../lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /usr/lib &&
|
---|
40 | ln -sf ../../lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /usr/lib &&
|
---|
41 | ln -sf ../../lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /usr/lib &&
|
---|
42 | ln -sf ../../lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /usr/lib &&
|
---|
43 | ldconfig</command></userinput></screen>
|
---|
44 |
|
---|
45 | </sect2>
|
---|