mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Updated to Heimdal-0.8.1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7120 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
567b68e118
commit
bc24e52a37
@ -63,7 +63,7 @@ $Date$
|
||||
<!ENTITY iptables-version "1.3.8">
|
||||
<!ENTITY gnupg-version "1.4.7">
|
||||
<!ENTITY tripwire-version "2.4.0.1">
|
||||
<!ENTITY heimdal-version "0.7.2">
|
||||
<!ENTITY heimdal-version "0.8.1">
|
||||
<!ENTITY mitkrb-version "1.6">
|
||||
<!ENTITY cyrus-sasl-version "2.1.22">
|
||||
<!ENTITY stunnel-version "4.20">
|
||||
|
@ -44,6 +44,9 @@
|
||||
<listitem>
|
||||
<para>October 16th, 2007</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[randy] - Updated to Heimdal-0.8.1.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[randy] - Modified the 'Configuring for Adding Users' page
|
||||
to reflect that the /etc/default/useradd file is now created in
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
<!ENTITY heimdal-download-http "http://ftp.vc-graz.ac.at/mirror/crypto/kerberos/heimdal/heimdal-&heimdal-version;.tar.gz">
|
||||
<!ENTITY heimdal-download-ftp "ftp://ftp.pdc.kth.se/pub/heimdal/src/heimdal-&heimdal-version;.tar.gz">
|
||||
<!ENTITY heimdal-md5sum "c937580d6f8b11bf7f0e540530e1dc18">
|
||||
<!ENTITY heimdal-size "4.5 MB">
|
||||
<!ENTITY heimdal-buildsize "101 MB">
|
||||
<!ENTITY heimdal-time "2.4 SBU">
|
||||
<!ENTITY heimdal-md5sum "7ff8c4850bce9702d9d3cf9eff05abaa">
|
||||
<!ENTITY heimdal-size "3.1 MB">
|
||||
<!ENTITY heimdal-buildsize "127 MB">
|
||||
<!ENTITY heimdal-time "3.7 SBU (additional 1.5 SBU to run the test suite)">
|
||||
]>
|
||||
|
||||
<sect1 id="heimdal" xreflabel="Heimdal-&heimdal-version;">
|
||||
@ -65,14 +65,14 @@
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem>
|
||||
<!-- <listitem>
|
||||
<para>Required Patch: <ulink
|
||||
url="ftp://ftp.pdc.kth.se/pub/heimdal/src/heimdal-0.7.2-setuid-patch.txt"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Required Patch: <ulink
|
||||
url="&patch-root;/heimdal-&heimdal-version;-fhs_compliance-1.patch"/></para>
|
||||
</listitem>
|
||||
</listitem> -->
|
||||
<listitem>
|
||||
<para>Required patch for <application>CrackLib</application> support: <ulink
|
||||
url="&patch-root;/heimdal-&heimdal-version;-cracklib-1.patch"/></para>
|
||||
@ -94,8 +94,8 @@
|
||||
<para role="optional"><xref linkend="linux-pam"/>,
|
||||
<xref linkend="openldap"/>,
|
||||
<xref linkend="x-window-system"/>,
|
||||
<xref linkend="cracklib"/> (compiled with the <filename>heimdal</filename>
|
||||
patch), and
|
||||
<xref linkend="cracklib"/> (compiled with the <filename>heimdal</filename> patch),
|
||||
<ulink url="http://packages.debian.org/stable/source/libcap">libcap</ulink>, and
|
||||
<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
|
||||
|
||||
<note>
|
||||
@ -145,17 +145,17 @@
|
||||
<para>Install <application>Heimdal</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../heimdal-&heimdal-version;-setuid-patch.txt &&
|
||||
patch -Np1 -i ../heimdal-&heimdal-version;-fhs_compliance-1.patch &&
|
||||
<screen><userinput>sed -i 's|/var/heimdal|/var/lib/heimdal|' $(grep -lr /var/heimdal *) &&
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/heimdal \
|
||||
--libexecdir=/usr/sbin \
|
||||
--datadir=/var/lib/heimdal \
|
||||
--localstatedir=/var/lib/heimdal \
|
||||
--enable-shared \
|
||||
--with-readline=/usr &&
|
||||
--with-readline=/usr \
|
||||
--enable-kcm &&
|
||||
make</userinput></screen>
|
||||
|
||||
<!-- Docs building is broken - when fixec, insert hyphens in the makeinfo commands
|
||||
<para>If you have <xref linkend="tetex"/> installed and wish to create
|
||||
alternate forms of the documentation, issue any or all of the following
|
||||
commands:</para>
|
||||
@ -164,30 +164,20 @@ make</userinput></screen>
|
||||
mv doc/heimdal.html doc/html &&
|
||||
make -C doc pdf &&
|
||||
make -C doc ps &&
|
||||
makeinfo --html --no-split -o doc/heimdal.html doc/heimdal.texi &&
|
||||
makeinfo --plaintext -o doc/heimdal.txt doc/heimdal.texi</userinput></screen>
|
||||
makeinfo -html -no-split -o doc/heimdal.html doc/heimdal.texi &&
|
||||
makeinfo -plaintext -o doc/heimdal.txt doc/heimdal.texi</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><?dbfo keep-together="auto"?><userinput>mv -v /usr/include/fnmatch.h /usr/include/fnmatch.h.glibc &&
|
||||
mv -v /usr/include/glob.h /usr/include/glob.h.glibc &&
|
||||
|
||||
mv -v /usr/include/ss/ss.h /usr/include/ss/ss.h.e2fsprogs &&
|
||||
<screen role="root"><?dbfo keep-together="auto"?><userinput>mv -v /usr/include/ss/ss.h /usr/include/ss/ss.h.e2fsprogs &&
|
||||
mv -v /usr/lib/libss.a /usr/lib/libss.a.e2fsprogs &&
|
||||
mv -v /usr/lib/libss.so /usr/lib/libss.so.e2fsprogs &&
|
||||
if [ -f /usr/lib/libss.la ]; then
|
||||
mv -v /usr/lib/libss.la /usr/lib/libss.la.e2fsprogs
|
||||
done &&
|
||||
|
||||
make install &&
|
||||
|
||||
mv -v /usr/include/fnmatch.h /usr/include/fnmatch.h.heimdal &&
|
||||
mv -v /usr/include/fnmatch.h.glibc /usr/include/fnmatch.h &&
|
||||
mv -v /usr/include/glob.h /usr/include/glob.h.heimdal &&
|
||||
mv -v /usr/include/glob.h.glibc /usr/include/glob.h &&
|
||||
|
||||
mv -v /usr/include/ss/ss.h /usr/include/ss/ss.h.heimdal &&
|
||||
mv -v /usr/include/ss/ss.h.e2fsprogs /usr/include/ss/ss.h &&
|
||||
mv -v /usr/lib/libss.a /usr/lib/libss.a.heimdal &&
|
||||
@ -195,24 +185,13 @@ mv -v /usr/lib/libss.a.e2fsprogs /usr/lib/libss.a &&
|
||||
mv -v /usr/lib/libss.so /usr/lib/libss.so.heimdal &&
|
||||
mv -v /usr/lib/libss.so.e2fsprogs /usr/lib/libss.so &&
|
||||
mv -v /usr/lib/libss.la /usr/lib/libss.la.heimdal &&
|
||||
if [ -e /usr/lib/libss.la.e2fsprogs ]; then
|
||||
mv -v /usr/lib/libss.la.e2fsprogs /usr/lib/libss.la
|
||||
fi &&
|
||||
|
||||
if [ -e /usr/lib/libss.so.2 ]; then rm -v /usr/lib/libss.so.2; fi &&
|
||||
|
||||
install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/standardisation &&
|
||||
install -v -m644 doc/{init-creds,layman.asc} \
|
||||
/usr/share/doc/heimdal-&heimdal-version; &&
|
||||
install -v -m644 doc/standardisation/* \
|
||||
/usr/share/doc/heimdal-&heimdal-version;/standardisation &&
|
||||
|
||||
mv -v /bin/login /bin/login.shadow &&
|
||||
mv -v /bin/su /bin/su.shadow &&
|
||||
mv -v /usr/bin/{login,su} /bin &&
|
||||
ln -v -sf ../../bin/login /usr/bin &&
|
||||
|
||||
for LINK in lib{otp,kafs,krb5,asn1,roken,crypto}; do
|
||||
for LINK in lib{otp,kafs,krb5,hx509,asn1,roken,crypto}; do
|
||||
mv -v /usr/lib/${LINK}.so.* /lib &&
|
||||
ln -v -sf ../../lib/$(readlink /usr/lib/${LINK}.so) \
|
||||
/usr/lib/${LINK}.so
|
||||
@ -226,26 +205,30 @@ ln -v -sf ../../lib/$(readlink /usr/lib/libdb.so) \
|
||||
|
||||
ldconfig</userinput></screen>
|
||||
|
||||
<para>If you built any of the alternate forms of documentation, install it
|
||||
<!-- <para>If you built any of the alternate forms of documentation, install it
|
||||
using the following commands as the
|
||||
<systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>
|
||||
install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &&
|
||||
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &&
|
||||
install -v -m644 doc/html/* \
|
||||
/usr/share/doc/heimdal-&heimdal-version;/html &&
|
||||
install -v -m644 doc/heimdal.{dvi,ps,pdf,html,txt} \
|
||||
/usr/share/doc/heimdal-&heimdal-version;</userinput></screen>
|
||||
/usr/share/doc/heimdal-&heimdal-version;</userinput></screen> -->
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i '...' $(grep -lr /var/heimdal *)</command>:
|
||||
This command is used to change all occurances of hard-coded
|
||||
<filename class='directory'>/var/heimdal</filename> to
|
||||
<filename class='directory'>/var/lib/heimdal</filename> so the
|
||||
installation will be FHS compliant.</para>
|
||||
|
||||
<para><command>mv -v /usr/include/...</command> and
|
||||
<command>mv -v /usr/lib/libss.*</command>: The
|
||||
<application>Heimdal</application> installation will overwrite two
|
||||
interface headers from the <application>Glibc</application> package and an
|
||||
<application>Heimdal</application> installation will overwrite an
|
||||
interface header, static library and library symbolic link from the
|
||||
<application>E2fsprogs</application> package. These commands rename the
|
||||
original files before the installation, and then restore them (after
|
||||
@ -524,18 +507,20 @@ kx <replaceable><49150></replaceable>/udp # Heimdal kerbero
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>afslog, dump_log, ftp, ftpd, hprop, hpropd, ipropd-master,
|
||||
ipropd-slave, kadmin, kadmind, kauth, kcm, kdc, kdestroy, kf, kfd,
|
||||
kgetcred, kinit, klist, kpasswd, kpasswdd, krb5-config, kstash,
|
||||
ktutil, kx, kxd, login, mk_cmds, otp, otpprint, pagsh, pfrom, popper,
|
||||
push, rcp, replay_log, rsh, rshd, rxtelnet, rxterm, string2key, su,
|
||||
telnet, telnetd, tenletxr, truncate-log, verify_krb5_conf
|
||||
and xnlock</seg>
|
||||
<seg>afslog, ftp, ftpd, gss, hprop, hpropd, hxtool, iprop-log,
|
||||
ipropd-master, ipropd-slave, kadmin, kadmind, kauth, kcm, kdc,
|
||||
kdestroy, kdigest, kf, kfd, kgetcred, kimpersonate, kinit, klist,
|
||||
kpasswd, kpasswdd, krb5-config, kstash, ktutil, kx, kxd, login,
|
||||
mk_cmds, otp, otpprint, pagsh, pfrom, popper, push, rcp, rsh, rshd,
|
||||
rxtelnet, rxterm, string2key, su, telnet, telnetd, tenletxr,
|
||||
verify_krb5_conf and xnlock</seg>
|
||||
<seg>libasn1.{so,a}, libeditline.{so,a}, libgssapi.{so,a},
|
||||
libhdb.{so,a}, libkadm5clnt.{so,a}, libkadm5srv.{so,a}, libkafs.{so,a},
|
||||
libkrb5.{so,a}, libotp.{so,a}, libroken.{so,a}, libsl.{so,a}
|
||||
and libss.{so,a}</seg>
|
||||
<seg>/etc/heimdal, /usr/include/kadm5,
|
||||
libhdb.{so,a}, libheimntlm.{so,a}, libhx509.{so,a},
|
||||
libkadm5clnt.{so,a}, libkadm5srv.{so,a}, libkafs.{so,a},
|
||||
libkdc.{so,a}, libkrb5.{so,a}, libotp.{so,a}, libroken.{so,a},
|
||||
libsl.{so,a}, libss.{so,a} and windc.{so,a}</seg>
|
||||
<seg>/etc/heimdal, /usr/include/gssapi, /usr/include/kadm5,
|
||||
/usr/include/krb5, /usr/include/roken, /usr/include/ss,
|
||||
/usr/share/doc/heimdal-&heimdal-version; and /var/lib/heimdal</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
@ -598,6 +583,16 @@ kx <replaceable><49150></replaceable>/udp # Heimdal kerbero
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="iprop-log">
|
||||
<term><command>iprop-log</command></term>
|
||||
<listitem>
|
||||
<para>is used to maintain the iprop log file.</para>
|
||||
<indexterm zone="heimdal iprop-log">
|
||||
<primary sortas="b-iprop-log">iprop-log</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ipropd-master">
|
||||
<term><command>ipropd-master</command></term>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user