Ticket #193: libfam2.patch

File libfam2.patch, 4.4 KB (added by billy@…, 23 years ago)

adds patch instructions and configuration explanation.

  • TabularUnified libfam/libfam-config.xml

    diff --exclude=CVS -Naur ./libfam/libfam-config.xml /home/billy/NEWBLFS/BOOK/general/genlib/libfam/libfam-config.xml
    old new  
    33
    44<sect3><title>Config files</title>
    55
    6 <para><userinput>/etc/inetd.conf</userinput>,
    7 <userinput>/etc/rpc</userinput>, <userinput>/etc/xinetd.d/fam</userinput></para>
     6<para><filename>/etc/rpc</filename>,
     7 <filename>/etc/fam.conf</filename>,
     8 <filename>/etc/inetd.conf</filename>,
     9 <filename>/etc/xinetd.d/fam</filename>,
     10 or <filename>/etc/xinetd.conf</filename>
     11 </para>
    812</sect3>
    913
    1014<sect3><title>Configuration Information</title>
     
    2226</userinput></para>
    2327
    2428<para>
    25 If you use xinetd, create the /etc/xinetd.d/fam file as:</para>
     29If you use xinetd, create the <filename>/etc/xinetd.d/fam</filename>
     30file or add an entry to <filename>/etc/xinetd.conf</filename> as
     31follows: </para>
    2632<para>
    2733<screen><userinput>
    2834    # default: on
  • TabularUnified libfam/libfam-exp.xml

    diff --exclude=CVS -Naur ./libfam/libfam-exp.xml /home/billy/NEWBLFS/BOOK/general/genlib/libfam/libfam-exp.xml
    old new  
     1<sect2>
     2<title>Command explanations</title>
     3
     4<para>
     5<userinput>patch -Np1 -i ../dnotify.patch :</userinput>
     6This patch causes fam to use the Linux kernel dnotify mechanism to
     7inform the calling process of file modifications, rather than polling
     8the file system for.
     9</para>
     10
     11<para>
     12<userinput>patch -Np1 -i ../libfam-gcc3.patch :</userinput>
     13This patch is necessary to get libfam to compile with gcc-3.2.
     14</para>
     15
     16</sect2>
     17
  • TabularUnified libfam/libfam-inst.xml

    diff --exclude=CVS -Naur ./libfam/libfam-inst.xml /home/billy/NEWBLFS/BOOK/general/genlib/libfam/libfam-inst.xml
    old new  
    99installation.</para></note>
    1010
    1111
    12 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    13 make &amp;&amp;</userinput>
    14 <userinput>make install</userinput>
    15 </screen>
    16 </para>
     12<para><screen><userinput>
     13patch -Np1 -i ../dnotify.patch &amp;&amp;
     14patch -Np1 -i ../libfam-gcc3.patch &amp;&amp;
     15./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
     16make &amp;&amp;
     17make install</userinput></screen></para>
    1718
    1819
    1920</sect2>
  • TabularUnified libfam/libfam-intro.xml

    diff --exclude=CVS -Naur ./libfam/libfam-intro.xml /home/billy/NEWBLFS/BOOK/general/genlib/libfam/libfam-intro.xml
    old new  
    77Package size:                   &libfam-size;
    88Estimated Disk space required:  &libfam-buildsize;</screen>
    99
     10<para>Required patches</para>
     11<screen>Download location (HTTP):       <ulink url="&libfam-dnotify-patch-http;"/>
     12Download location (HTTP):        <ulink url="&libfam-gcc3-patch-http;"/>
     13</screen>
     14
    1015<para>The libfam package contains
    1116<userinput>fam</userinput>.</para>
    1217
  • TabularUnified libfam/libfam.ent

    diff --exclude=CVS -Naur ./libfam/libfam.ent /home/billy/NEWBLFS/BOOK/general/genlib/libfam/libfam.ent
    old new  
    66<!ENTITY libfam-config SYSTEM "libfam-config.xml">
    77<!ENTITY libfam-buildsize "350 KB">
    88<!ENTITY libfam-version "2.6.9">
     9
     10<!ENTITY libfam-download-http
     11"http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
     12<!ENTITY libfam-download-ftp
     13"http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
     14
    915<!ENTITY
    10 libfam-download-http "http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
     16libfam-dnotify-patch-http
     17"&http-root/blfs-patches/dnotify.patch.gz">
    1118<!ENTITY
    12 libfam-download-ftp "ftp://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
     19libfam-gcc3-patch-http
     20"&http-root/blfs-patches/libfam-gcc3.patch.gz">
     21
    1322<!ENTITY libfam-size "300 KB">
  • TabularUnified libfam.xml

    diff --exclude=CVS -Naur ./libfam.xml /home/billy/NEWBLFS/BOOK/general/genlib/libfam.xml
    old new  
    44
    55&libfam-intro;
    66&libfam-inst;
     7&libfam-exp;
    78&libfam-config;
    89&libfam-desc;
    910