Ignore:
Timestamp:
10/16/2007 05:54:48 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
a8836c4
Parents:
567b68e
Message:

Updated to Heimdal-0.8.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7120 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/heimdal.xml

    r567b68e rbc24e52a  
    77  <!ENTITY heimdal-download-http "http://ftp.vc-graz.ac.at/mirror/crypto/kerberos/heimdal/heimdal-&heimdal-version;.tar.gz">
    88  <!ENTITY heimdal-download-ftp  "ftp://ftp.pdc.kth.se/pub/heimdal/src/heimdal-&heimdal-version;.tar.gz">
    9   <!ENTITY heimdal-md5sum        "c937580d6f8b11bf7f0e540530e1dc18">
    10   <!ENTITY heimdal-size          "4.5 MB">
    11   <!ENTITY heimdal-buildsize     "101 MB">
    12   <!ENTITY heimdal-time          "2.4 SBU">
     9  <!ENTITY heimdal-md5sum        "7ff8c4850bce9702d9d3cf9eff05abaa">
     10  <!ENTITY heimdal-size          "3.1 MB">
     11  <!ENTITY heimdal-buildsize     "127 MB">
     12  <!ENTITY heimdal-time          "3.7 SBU (additional 1.5 SBU to run the test suite)">
    1313]>
    1414
     
    6666    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6767    <itemizedlist spacing='compact'>
    68       <listitem>
     68      <!-- <listitem>
    6969        <para>Required Patch: <ulink
    7070        url="ftp://ftp.pdc.kth.se/pub/heimdal/src/heimdal-0.7.2-setuid-patch.txt"/></para>
     
    7373        <para>Required Patch: <ulink
    7474        url="&patch-root;/heimdal-&heimdal-version;-fhs_compliance-1.patch"/></para>
    75       </listitem>
     75      </listitem> -->
    7676      <listitem>
    7777        <para>Required patch for <application>CrackLib</application> support: <ulink
     
    9595    <xref linkend="openldap"/>,
    9696    <xref linkend="x-window-system"/>,
    97     <xref linkend="cracklib"/> (compiled with the <filename>heimdal</filename>
    98     patch), and
     97    <xref linkend="cracklib"/> (compiled with the <filename>heimdal</filename> patch),
     98    <ulink url="http://packages.debian.org/stable/source/libcap">libcap</ulink>, and
    9999    <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
    100100
     
    146146    commands:</para>
    147147
    148 <screen><userinput>patch -Np1 -i ../heimdal-&heimdal-version;-setuid-patch.txt &amp;&amp;
    149 patch -Np1 -i ../heimdal-&heimdal-version;-fhs_compliance-1.patch &amp;&amp;
     148<screen><userinput>sed -i 's|/var/heimdal|/var/lib/heimdal|' $(grep -lr /var/heimdal *) &amp;&amp;
    150149./configure --prefix=/usr \
    151150            --sysconfdir=/etc/heimdal \
     
    153152            --datadir=/var/lib/heimdal \
    154153            --localstatedir=/var/lib/heimdal \
    155             --enable-shared \
    156             --with-readline=/usr &amp;&amp;
     154            --with-readline=/usr \
     155            --enable-kcm &amp;&amp;
    157156make</userinput></screen>
    158157
     158    <!-- Docs building is broken - when fixec, insert hyphens in the makeinfo commands
    159159    <para>If you have <xref linkend="tetex"/> installed and wish to create
    160160    alternate forms of the documentation, issue any or all of the following
     
    165165make -C doc pdf &amp;&amp;
    166166make -C doc ps &amp;&amp;
    167 makeinfo --html --no-split -o doc/heimdal.html doc/heimdal.texi &amp;&amp;
    168 makeinfo --plaintext       -o doc/heimdal.txt  doc/heimdal.texi</userinput></screen>
     167makeinfo -html -no-split -o doc/heimdal.html doc/heimdal.texi &amp;&amp;
     168makeinfo -plaintext       -o doc/heimdal.txt  doc/heimdal.texi</userinput></screen>
     169    -->
    169170
    170171    <para>To test the results, issue: <command>make check</command>.</para>
     
    172173    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    173174
    174 <screen role="root"><?dbfo keep-together="auto"?><userinput>mv -v /usr/include/fnmatch.h /usr/include/fnmatch.h.glibc &amp;&amp;
    175 mv -v /usr/include/glob.h    /usr/include/glob.h.glibc &amp;&amp;
    176 
    177 mv -v /usr/include/ss/ss.h   /usr/include/ss/ss.h.e2fsprogs &amp;&amp;
     175<screen role="root"><?dbfo keep-together="auto"?><userinput>mv -v /usr/include/ss/ss.h   /usr/include/ss/ss.h.e2fsprogs &amp;&amp;
    178176mv -v /usr/lib/libss.a       /usr/lib/libss.a.e2fsprogs &amp;&amp;
    179177mv -v /usr/lib/libss.so      /usr/lib/libss.so.e2fsprogs &amp;&amp;
    180 if [ -f /usr/lib/libss.la ]; then
    181     mv -v /usr/lib/libss.la  /usr/lib/libss.la.e2fsprogs
    182 done &amp;&amp;
    183178
    184179make install &amp;&amp;
    185 
    186 mv -v /usr/include/fnmatch.h       /usr/include/fnmatch.h.heimdal &amp;&amp;
    187 mv -v /usr/include/fnmatch.h.glibc /usr/include/fnmatch.h &amp;&amp;
    188 mv -v /usr/include/glob.h          /usr/include/glob.h.heimdal &amp;&amp;
    189 mv -v /usr/include/glob.h.glibc    /usr/include/glob.h &amp;&amp;
    190180
    191181mv -v /usr/include/ss/ss.h            /usr/include/ss/ss.h.heimdal &amp;&amp;
     
    196186mv -v /usr/lib/libss.so.e2fsprogs     /usr/lib/libss.so &amp;&amp;
    197187mv -v /usr/lib/libss.la               /usr/lib/libss.la.heimdal &amp;&amp;
    198 if [ -e   /usr/lib/libss.la.e2fsprogs ]; then
    199     mv -v /usr/lib/libss.la.e2fsprogs /usr/lib/libss.la
    200 fi &amp;&amp;
    201 
    202 if [ -e /usr/lib/libss.so.2 ]; then rm -v /usr/lib/libss.so.2; fi &amp;&amp;
    203 
    204 install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/standardisation &amp;&amp;
    205 install -v -m644 doc/{init-creds,layman.asc} \
    206                  /usr/share/doc/heimdal-&heimdal-version; &amp;&amp;
    207 install -v -m644 doc/standardisation/* \
    208                  /usr/share/doc/heimdal-&heimdal-version;/standardisation &amp;&amp;
    209188
    210189mv -v /bin/login          /bin/login.shadow &amp;&amp;
     
    213192ln -v -sf ../../bin/login /usr/bin &amp;&amp;
    214193
    215 for LINK in   lib{otp,kafs,krb5,asn1,roken,crypto}; do
     194for LINK in   lib{otp,kafs,krb5,hx509,asn1,roken,crypto}; do
    216195    mv -v     /usr/lib/${LINK}.so.* /lib &amp;&amp;
    217196    ln -v -sf ../../lib/$(readlink  /usr/lib/${LINK}.so) \
     
    227206ldconfig</userinput></screen>
    228207
    229     <para>If you built any of the alternate forms of documentation, install it
     208    <!-- <para>If you built any of the alternate forms of documentation, install it
    230209    using the following commands as the
    231210    <systemitem class="username">root</systemitem> user:</para>
    232211
    233 <screen role="root"><userinput>
    234 install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &amp;&amp;
     212<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &amp;&amp;
    235213install -v -m644    doc/html/* \
    236214                    /usr/share/doc/heimdal-&heimdal-version;/html &amp;&amp;
    237215install -v -m644    doc/heimdal.{dvi,ps,pdf,html,txt} \
    238                     /usr/share/doc/heimdal-&heimdal-version;</userinput></screen>
     216                    /usr/share/doc/heimdal-&heimdal-version;</userinput></screen> -->
    239217
    240218  </sect2>
     
    243221    <title>Command Explanations</title>
    244222
     223    <para><command>sed -i '...' $(grep -lr /var/heimdal *)</command>:
     224    This command is used to change all occurances of hard-coded
     225    <filename class='directory'>/var/heimdal</filename> to
     226    <filename class='directory'>/var/lib/heimdal</filename> so the
     227    installation will be FHS compliant.</para>
     228
    245229    <para><command>mv -v /usr/include/...</command> and
    246230    <command>mv -v /usr/lib/libss.*</command>: The
    247     <application>Heimdal</application> installation will overwrite two
    248     interface headers from the <application>Glibc</application> package and an
     231    <application>Heimdal</application> installation will overwrite an
    249232    interface header, static library and library symbolic link from the
    250233    <application>E2fsprogs</application> package. These commands rename the
     
    525508
    526509      <seglistitem>
    527         <seg>afslog, dump_log, ftp, ftpd, hprop, hpropd, ipropd-master,
    528         ipropd-slave, kadmin, kadmind, kauth, kcm, kdc, kdestroy, kf, kfd,
    529         kgetcred, kinit, klist, kpasswd, kpasswdd, krb5-config, kstash,
    530         ktutil, kx, kxd, login, mk_cmds, otp, otpprint, pagsh, pfrom, popper,
    531         push, rcp, replay_log, rsh, rshd, rxtelnet, rxterm, string2key, su,
    532         telnet, telnetd, tenletxr, truncate-log, verify_krb5_conf
    533         and xnlock</seg>
     510        <seg>afslog, ftp, ftpd, gss, hprop, hpropd, hxtool, iprop-log,
     511        ipropd-master, ipropd-slave, kadmin, kadmind, kauth, kcm, kdc,
     512        kdestroy, kdigest, kf, kfd, kgetcred, kimpersonate, kinit, klist,
     513        kpasswd, kpasswdd, krb5-config, kstash, ktutil, kx, kxd, login,
     514        mk_cmds, otp, otpprint, pagsh, pfrom, popper, push, rcp, rsh, rshd,
     515        rxtelnet, rxterm, string2key, su, telnet, telnetd, tenletxr,
     516        verify_krb5_conf and xnlock</seg>
    534517        <seg>libasn1.{so,a}, libeditline.{so,a}, libgssapi.{so,a},
    535         libhdb.{so,a}, libkadm5clnt.{so,a}, libkadm5srv.{so,a}, libkafs.{so,a},
    536         libkrb5.{so,a}, libotp.{so,a}, libroken.{so,a}, libsl.{so,a}
    537         and libss.{so,a}</seg>
    538         <seg>/etc/heimdal, /usr/include/kadm5,
     518        libhdb.{so,a}, libheimntlm.{so,a}, libhx509.{so,a},
     519        libkadm5clnt.{so,a}, libkadm5srv.{so,a}, libkafs.{so,a},
     520        libkdc.{so,a}, libkrb5.{so,a}, libotp.{so,a}, libroken.{so,a},
     521        libsl.{so,a}, libss.{so,a} and windc.{so,a}</seg>
     522        <seg>/etc/heimdal, /usr/include/gssapi, /usr/include/kadm5,
     523        /usr/include/krb5, /usr/include/roken, /usr/include/ss,
    539524        /usr/share/doc/heimdal-&heimdal-version; and /var/lib/heimdal</seg>
    540525      </seglistitem>
     
    595580          <indexterm zone="heimdal hpropd">
    596581            <primary sortas="b-hpropd">hpropd</primary>
     582          </indexterm>
     583        </listitem>
     584      </varlistentry>
     585
     586      <varlistentry id="iprop-log">
     587        <term><command>iprop-log</command></term>
     588        <listitem>
     589          <para>is used to maintain the iprop log file.</para>
     590          <indexterm zone="heimdal iprop-log">
     591            <primary sortas="b-iprop-log">iprop-log</primary>
    597592          </indexterm>
    598593        </listitem>
Note: See TracChangeset for help on using the changeset viewer.