Ignore:
Timestamp:
11/01/2007 11:23:19 PM (16 years ago)
Author:
Ag Hatzimanikas <ag@…>
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:
1febec8
Parents:
f933cc3
Message:

Updated to ed-0.8

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/editors/ed.xml

    rf933cc3 r1fc6df6  
    77  <!ENTITY ed-download-http "http://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.gz">
    88  <!ENTITY ed-download-ftp  "ftp://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.gz">
    9   <!ENTITY ed-md5sum        "ddd57463774cae9b50e70cd51221281b">
    10   <!ENTITY ed-size          "182 KB">
    11   <!ENTITY ed-buildsize     "2.9 MB">
    12   <!ENTITY ed-time          "0.02 SBU">
     9  <!ENTITY ed-md5sum        "b359451fb32097974484b5ba7c19f5fb">
     10  <!ENTITY ed-size          "66 KB">
     11  <!ENTITY ed-buildsize     "1.3 MB">
     12  <!ENTITY ed-time          "Less than 0.1 SBU">
    1313]>
    1414
     
    3636    program if you encounter an ed-based patch file. This happens rarely
    3737    because diff-based patches are preferred these days.</para>
    38    
    39     <caution>
    40       <para><application>Ed</application> determines character boundaries
    41       incorrectly in multibyte locales. See the
    42       <xref linkend="locale-wrong-multibyte-characters"/>
    43       section of the <xref linkend="locale-issues"/> page for a more
    44       general discussion of this problem. Use of <application>Ed</application>
    45       in installation instructions for BLFS packages such as
    46       <xref linkend="tetex"/> is not a problem, as BLFS instructions never
    47       use <application>Ed</application> to modify a file containing
    48       non-ASCII characters.</para>
    49     </caution>
    5038
    5139    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7159    </itemizedlist>
    7260
    73     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    74     <itemizedlist spacing="compact">
    75       <listitem>
    76         <para>Required Patch: <ulink
    77         url="&patch-root;/ed-&ed-version;-mkstemp-2.patch"/></para>
    78       </listitem>
    79     </itemizedlist>
    80 
    8161    <para condition="html" role="usernotes">User Notes:
    8262    <ulink url="&blfs-wiki;/ed"/></para>
     
    8767    <title>Installation of Ed</title>
    8868
    89     <para><application>Ed</application> normally uses the
    90     <function>mktemp</function> function to create temporary files in
    91     <filename class="directory">/tmp</filename>, but this function contains
    92     a vulnerability (see the section on Temporary Files at
    93     <ulink url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>).
    94     Apply the following patch to make <application>Ed</application> use
    95     <function>mkstemp</function> instead, a secure way to create temporary
    96     files:</para>
    97 
    98 <screen><userinput>patch -Np1 -i ../ed-&ed-version;-mkstemp-2.patch</userinput></screen>
    99 
    10069    <para>Install <application>Ed</application> by running the following
    10170    commands:</para>
    10271
    103 <screen><userinput>./configure --prefix=/usr --exec-prefix="" &amp;&amp;
     72<screen><userinput>./configure --prefix=/usr &amp;&amp;
    10473make</userinput></screen>
    10574
     
    10877    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    10978
    110 <screen role="root"><userinput>make install</userinput></screen>
    111 
    112   </sect2>
    113 
    114   <sect2 role="commands">
    115     <title>Command Explanations</title>
    116 
    117     <para><parameter>--exec-prefix=""</parameter>: This forces the programs
    118     to be installed into the <filename class="directory">/bin</filename>
    119     directory. Having the programs available there is useful in the event of
    120     the <filename class="directory">/usr</filename> partition being
    121     unavailable.</para>
     79<screen role="root"><userinput>make install &amp;&amp;
     80make install-man</userinput></screen>
    12281
    12382  </sect2>
Note: See TracChangeset for help on using the changeset viewer.