Changeset 54789f3


Ignore:
Timestamp:
01/24/2016 02:04:18 AM (6 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
83f6c770
Parents:
295ca00
Message:

Update to LVM-2.02.420 (merged from trunk r16816).
Update to fuse-2.9.5 (merged from trunk r16814).
Update to gptfdisk-1.0.1 (merged from trunk r16553).
Update to xfsprogs-4.3.0 (merged from trunk r16376).
Update to JOE-4.1 (merged from trunk r16385).
Update to nano-2.5.1 (merged from trunk r16799).
Update to tcsh-6.19.00 (merged from trunk r16332).
Update to zsh-5.2 (merged from trunk r16706).
Update to qemu-2.5.0 (merged from trunk r16773).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16834 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r295ca00 r54789f3  
    8080          <para>[renodr] - Update to GnuTLS-3.4.8. Merged from trunk r16797.</para>
    8181        </listitem>
     82        <listitem>
     83          <para>[renodr] - Update to LVM-2.02.420. Merged from trunk r16816.</para>
     84        </listitem>
     85        <listitem>
     86          <para>[renodr] - Update to Fuse-2.9.5. Merged from trunk r16814.</para>
     87        </listitem>
     88        <listitem>
     89          <para>[renodr] - Update to gptfdisk-1.0.1. Merged from trunk r16553.</para>
     90        </listitem>
     91        <listitem>
     92          <para>[renodr] - Update to xfsprogs-4.3.0. Merged from trunk r16376.</para>
     93        </listitem>
     94        <listitem>
     95          <para>[renodr] - Update to JOE-4.1. Merged from trunk r16385.</para>
     96        </listitem>
     97        <listitem>
     98          <para>[renodr] - Update to nano-2.5.1. Merged from trunk r16799.</para>
     99        </listitem>
     100        <listitem>
     101          <para>[renodr] - Update to tcsh-6.19.00. Merged from trunk r16332.</para>
     102        </listitem>
     103        <listitem>
     104          <para>[renodr] - Update to zsh-5.2. Merged from trunk r16706.</para>
     105        </listitem>
     106        <listitem>
     107          <para>[renodr] - Update to qemu-2.5.0. Merged from trunk r16773.</para>
     108        </listitem>
    82109      </itemizedlist>
    83110   </listitem>
  • packages.ent

    r295ca00 r54789f3  
    4040
    4141<!-- Chapter 5 -->
    42 <!ENTITY fuse-version                 "2.9.4">
     42<!ENTITY fuse-version                 "2.9.5">
     43<!ENTITY fuse-download-version        "2_9_5">
    4344<!ENTITY jfsutils-version             "1.1.15">
    44 <!ENTITY lvm2-version                 "2.02.128">
     45<!ENTITY lvm2-version                 "2.02.140">
    4546<!ENTITY mdadm-version                "3.3.4">
    4647<!ENTITY ntfs-3g-version              "2015.3.14">
    47 <!ENTITY gptfdisk-version             "1.0.0">
     48<!ENTITY gptfdisk-version             "1.0.1">
    4849<!ENTITY parted-version               "3.2">
    4950<!ENTITY reiser-version               "3.6.24">
    5051<!ENTITY sshfs-fuse-version           "2.5">
    51 <!ENTITY xfsprogs-version             "3.2.4">
     52<!ENTITY xfsprogs-version             "4.3.0">
    5253
    5354<!-- Chapter 6 -->
     
    5556<!ENTITY ed-version                   "1.12">
    5657<!ENTITY emacs-version                "24.5">
    57 <!ENTITY joe-version                  "4.0">
    58 <!ENTITY nano-version                 "2.4.2">
     58<!ENTITY joe-version                  "4.1">
     59<!ENTITY nano-version                 "2.5.1">
    5960<!ENTITY vim-version                  "7.4">
    6061
    6162<!-- Chapter 7 -->
    6263<!ENTITY dash-version                 "0.5.8">
    63 <!ENTITY tcsh-version                 "6.18.01">
    64 <!ENTITY zsh-version                  "5.0.8">
     64<!ENTITY tcsh-version                 "6.19.00">
     65<!ENTITY zsh-version                  "5.2">
    6566
    6667<!-- Chapter 8 Virtualization -->
    67 <!ENTITY qemu-version                 "2.3.0">
     68<!ENTITY qemu-version                 "2.5.0">
    6869
    6970<!-- Part III -->
  • postlfs/editors/joe.xml

    r295ca00 r54789f3  
    77  <!ENTITY joe-download-http "&sourceforge-repo;/joe-editor/joe-&joe-version;.tar.gz">
    88  <!ENTITY joe-download-ftp  "&gentoo-ftp-repo;/joe-&joe-version;.tar.gz">
    9   <!ENTITY joe-md5sum        "3c3b6d5089a29ddc746ee89bab59286e">
    10   <!ENTITY joe-size          "820 KB">
    11   <!ENTITY joe-buildsize     "12 MB">
     9  <!ENTITY joe-md5sum        "b8c9ab4295e3208ddbbaa9c1141564f9">
     10  <!ENTITY joe-size          "1.3 MB">
     11  <!ENTITY joe-buildsize     "20 MB">
    1212  <!ENTITY joe-time          "0.2 SBU">
    1313]>
     
    7878    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    7979
    80 <screen role="root"><userinput>make install</userinput></screen>
     80<screen role="root"><userinput>make install &amp;&amp;
     81
     82install -vm 755 joe/util/{stringify,termidx,uniproc} /usr/bin &amp;&amp;
     83install -vdm755 /usr/share/joe/util &amp;&amp;
     84install -vm 644 joe/util/{*.txt,README} /usr/share/joe/util</userinput></screen>
    8185
    8286  </sect2>
     
    134138             jpico,
    135139             jstar,
    136              rjoe, and
    137              termidx</seg>
     140             rjoe,
     141             stringify,
     142             termidx, and
     143             uniproc</seg>
    138144        <seg>None</seg>
    139145        <seg>/etc/joe,
    140146             /usr/share/joe, and
    141              /usr/share/doc/joe</seg>
     147             /usr/share/doc/joe-&joe-version;</seg>
    142148      </seglistitem>
    143149    </segmentedlist>
     
    205211      </varlistentry>
    206212
     213      <varlistentry id="stringify">
     214        <term><command>stringify</command></term>
     215        <listitem>
     216          <para>is a program used by <command>joe</command> to convert rc and
     217          .jsf files into a C file (see /usr/share/joe/util/README).</para>
     218          <indexterm zone="joe stringify">
     219            <primary sortas="b-stringify">stringify</primary>
     220          </indexterm>
     221        </listitem>
     222      </varlistentry>
     223
    207224      <varlistentry id="termidx">
    208225        <term><command>termidx</command></term>
    209226        <listitem>
    210227          <para>is a program used by <command>joe</command> to generate the
    211           termcap index file.</para>
     228          termcap index file (see /usr/share/joe/util/README).</para>
    212229          <indexterm zone="joe termidx">
    213230            <primary sortas="b-termidx">termidx</primary>
     
    216233      </varlistentry>
    217234
     235      <varlistentry id="uniproc">
     236        <term><command>uniproc</command></term>
     237        <listitem>
     238          <para>is a program used by <command>joe</command> to generate joe's
     239          unicode database file unicat.c from Blocks.txt, CaseFolding.txt,
     240          EastAsianWidth.txt, and UnicodeData.txt (find them at
     241          /usr/share/joe/util; see /usr/share/joe/util/README).</para>
     242          <indexterm zone="joe uniproc">
     243            <primary sortas="b-uniproc">uniproc</primary>
     244          </indexterm>
     245        </listitem>
     246      </varlistentry>
    218247    </variablelist>
    219248
  • postlfs/editors/nano.xml

    r295ca00 r54789f3  
    77  <!ENTITY nano-download-http "http://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz">
    88  <!ENTITY nano-download-ftp  "ftp://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz">
    9   <!ENTITY nano-md5sum        "ce6968992fec4283c17984b53554168b">
    10   <!ENTITY nano-size          "1.8 MB">
    11   <!ENTITY nano-buildsize     "11 MB">
    12   <!ENTITY nano-time          "less than 0.1 SBU">
     9  <!ENTITY nano-md5sum        "f25c7da9813ae5f1df7e5dd1072de4ce">
     10  <!ENTITY nano-size          "1.9 MB">
     11  <!ENTITY nano-buildsize     "13 MB">
     12  <!ENTITY nano-time          "0.1 SBU">
    1313]>
    1414
     
    171171      </para>
    172172
     173      <para>
     174        Syntax highlighting is provided for several file types, in the
     175        <filename class="directory">/usr/share/nano/</filename> directory.
     176        As an example, for shell scripts, you can insert
     177        <option>include /usr/share/nano/sh.nanorc</option> in your personal
     178        or global configuration file. If you want highlighting for all supported
     179        files, use <option>include /usr/share/nano/*.nanorc</option>.
     180      </para>
     181
    173182    </sect3>
    174183
     
    185194      <seglistitem>
    186195        <seg>
    187           nano and rnano (symlink)
     196          nano
     197          and rnano (symlink)
    188198        </seg>
    189199        <seg>
  • postlfs/filesystems/fuse.xml

    r295ca00 r54789f3  
    55  %general-entities;
    66
    7   <!ENTITY fuse-download-http "&sourceforge-repo;/fuse/fuse-&fuse-version;.tar.gz">
     7  <!ENTITY fuse-download-http "https://github.com/libfuse/libfuse/releases/download/fuse_&fuse-download-version;/fuse-&fuse-version;.tar.gz">
    88  <!ENTITY fuse-download-ftp  " ">
    9   <!ENTITY fuse-md5sum        "ecb712b5ffc6dffd54f4a405c9b372d8">
    10   <!ENTITY fuse-size          "564 KB">
    11   <!ENTITY fuse-buildsize     "9.9 MB">
     9  <!ENTITY fuse-md5sum        "c901b77a1c4584c7ac6c2b67c0713f2b">
     10  <!ENTITY fuse-size          "552 KB">
     11  <!ENTITY fuse-buildsize     "8.2 MB (9.8 MB with API documentation">
    1212  <!ENTITY fuse-time          "0.1 SBU">
    1313]>
     
    123123    </para>
    124124
    125 <screen><userinput>./configure --prefix=/usr --disable-static INIT_D_PATH=/tmp/init.d &amp;&amp;
     125<screen><userinput>sed -i 's/2:9:4/2:9:5/' lib/Makefile.in &amp;&amp;
     126
     127./configure --prefix=/usr \
     128            --disable-static \
     129            INIT_D_PATH=/tmp/init.d &amp;&amp;
    126130make</userinput></screen>
    127131
     
    142146
    143147mv -v   /usr/lib/libfuse.so.* /lib &amp;&amp;
    144 ln -sfv ../../lib/$(readlink /usr/lib/libfuse.so) /usr/lib/libfuse.so &amp;&amp;
     148ln -sfv ../../lib/libfuse.so.&fuse-version; /usr/lib/libfuse.so &amp;&amp;
    145149rm -rf  /tmp/init.d &amp;&amp;
    146150
     
    162166  <sect2 role="commands">
    163167    <title>Command Explanations</title>
     168
     169    <para><command>sed -i ... lib/Makefile.in</command> This command fixes
     170    the libfuse so version.
     171    </para>
    164172
    165173    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    232240      <seglistitem>
    233241        <seg>
    234           fusermount, mount.fuse, and ulockmgr_server
     242          fusermount,
     243          mount.fuse,
     244          and ulockmgr_server
    235245        </seg>
    236246        <seg>
    237           libfuse.so and libulockmgr.so
     247          libfuse.so
     248          and libulockmgr.so
    238249        </seg>
    239250        <seg>
    240           /usr/include/fuse and /usr/share/doc/fuse-&fuse-version;
     251          /usr/include/fuse
     252          and /usr/share/doc/fuse-&fuse-version;
    241253        </seg>
    242254      </seglistitem>
  • postlfs/filesystems/gptfdisk.xml

    r295ca00 r54789f3  
    88    "&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz">
    99  <!ENTITY gptfdisk-download-ftp  " ">
    10   <!ENTITY gptfdisk-md5sum        "2061f917af084215898d4fea04d8388f">
     10  <!ENTITY gptfdisk-md5sum        "d7f3d306b083123bcc6f5941efade586">
    1111  <!ENTITY gptfdisk-size          "192 KB">
    12   <!ENTITY gptfdisk-buildsize     "2.1 MB">
     12  <!ENTITY gptfdisk-buildsize     "2.2 MB">
    1313  <!ENTITY gptfdisk-time          "less than 0.1 SBU">
    1414]>
     
    133133      <seglistitem>
    134134        <seg>
    135           cgdisk, gdisk, fixparts, and sgdisk
     135          cgdisk,
     136          gdisk,
     137          fixparts,
     138          and sgdisk
    136139        </seg>
    137140      </seglistitem>
  • postlfs/filesystems/lvm2.xml

    r295ca00 r54789f3  
    66
    77  <!ENTITY lvm2-download-http " ">
    8   <!ENTITY lvm2-download-ftp  "ftp://sources.redhat.com/pub/lvm2/LVM2.&lvm2-version;.tgz">
    9   <!ENTITY lvm2-md5sum        "b3f4c273a30b316678755cec2a129718">
     8  <!ENTITY lvm2-download-ftp  "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.&lvm2-version;.tgz">
     9  <!ENTITY lvm2-md5sum        "f2191c4798c8927a6d31a96010b9f568">
    1010  <!ENTITY lvm2-size          "1.8 MB">
    11   <!ENTITY lvm2-buildsize     "31 MB (additional 10 MB to run the test suite)">
    12   <!ENTITY lvm2-time          "0.6 SBU (additional 8.2 SBU to run the test suite)">
     11  <!ENTITY lvm2-buildsize     "46 MB (during the test suite, transient files can grow up to around 500 MB)">
     12  <!ENTITY lvm2-time          "0.4 SBU (additional about 10 SBU to run the test suite with parallelism = 4)">
    1313]>
    1414
     
    3131
    3232    <para>
    33       The <application>LVM2</application> package is a package that manages
     33      The <application>LVM2</application> package is a set of utilities that manages
    3434      logical partitions. It allows spanning of file systems across multiple
    3535      physical disks and disk partitions and provides for dynamic growing or
    36       shrinking of logical partitions.
     36      shrinking of logical partitions, mirroring and low storage footprint snapshots.
    3737    </para>
    3838
     
    7777    <bridgehead renderas="sect4">Optional</bridgehead>
    7878    <para role="optional">
    79       <xref linkend='mdadm'/> (for checks) and
    80       <xref linkend='xfsprogs'/> (for checks)
     79      <xref linkend='mdadm'/> (for checks),
     80      <xref linkend='reiserfs'/>,
     81      <xref linkend='valgrind'/>,
     82      <xref linkend='which'/>,
     83      <xref linkend='xfsprogs'/> (all five may be used, but are not required,
     84        for tests), and
     85      <ulink url='https://github.com/jthornber/thin-provisioning-tools'>
     86        thin-provisioning-tools</ulink>
    8187    </para>
    8288
     
    8490      <ulink url="&blfs-wiki;/lvm2"/>
    8591    </para>
     92
     93    <note>
     94      <para>
     95         Kernel versions in the 4.1 and 4.2 series have a broken RAID
     96         implementation. If you want to use RAID style LV's, you should
     97         install a kernel with a version number above 4.2.4. Note that several
     98         tests use RAID logical volumes, and can generate a <quote>kernel
     99         oops</quote> with faulty kernel versions, which usually renders the
     100         system unusable.
     101      </para>
     102    </note>
    86103  </sect2>
    87104
     
    105122    &lt;*/M/ &gt;   Crypt target support                        [CONFIG_DM_CRYPT]
    106123    &lt;*/M/ &gt;   Snapshot target                             [CONFIG_DM_SNAPSHOT]
     124    &lt;*/M/ &gt;   Thin provisioning target                    [CONFIG_DM_THIN_PROVISIONING]
    107125    &lt;*/M/ &gt;   Mirror target                               [CONFIG_DM_MIRROR]</literal></screen>
    108126
     
    121139    </para>
    122140
    123 <screen><userinput>./configure --prefix=/usr       \
     141<screen><userinput>SAVEPATH=$PATH         &amp;&amp;
     142PATH=$PATH:/sbin:/usr/sbin                &amp;&amp;
     143./configure --prefix=/usr       \
    124144            --exec-prefix=      \
    125145            --with-confdir=/etc \
     
    128148            --enable-pkgconfig  \
    129149            --enable-udev_sync  &amp;&amp;
    130 make</userinput></screen>
    131 
    132     <para>
    133       <!--The check command must be run as the <systemitem
    134       class="username">root</systemitem> user.  Also the tests are known to
    135       hang if at least one partition on a hard drive is not set up as a Linux
    136       LVM partition (type 8e00).-->To test the results, issue: <command>make -k
    137       check</command> as the <systemitem class="username">root</systemitem>
    138       user. At least one partition on a hard drive must be set up as a Linux
    139       LVM partition (type 8e00). The test timings are very dependent on the
    140       speed of the disk(s) and on the number of enabled kernel options.
     150make                            &amp;&amp;
     151PATH=$SAVEPATH                  &amp;&amp;
     152unset SAVEPATH</userinput></screen>
     153
     154    <para>
     155      The tests use <application>udev</application> for logical volume
     156      synchronization, so the LVM udev rules and some utilities need to
     157      be installed before running the tests. If you are installing
     158      <application>LVM2</application> for the first time, and do not
     159      want to install the full package before running the tests, the minimal
     160      set of utilities can be installed by running the following commands
     161      as the <systemitem class="username">root</systemitem> user:
     162    </para>
     163
     164<screen role="root"><userinput>make -C tools install_dmsetup_dynamic &amp;&amp;
     165make -C udev install             &amp;&amp;
     166make -C libdm install</userinput></screen>
     167
     168    <para>
     169      To test the results, issue: <command>make check_local</command> as the
     170      <systemitem class="username">root</systemitem> user. Other targets are
     171      available and can be listed with <command>make -C test help</command>.
     172      The test timings are very dependent on the speed of the disk(s), and on
     173      the number of enabled kernel options.
     174    </para>
     175    <para>
     176      Those tests do not implement the <quote>expected fail</quote> possibility,
     177      and a small number of test failures is expected by upstream. More
     178      failures may happen because some kernel options are missing. For example,
     179      the lack of the <emphasis>dm-delay</emphasis> device mapper target may
     180      explain up to 10 failures or so. Some tests are flagged
     181      <quote>warned</quote> if
     182      <ulink url='https://github.com/jthornber/thin-provisioning-tools'>
     183      thin-provisioning-tools</ulink> are not installed. A workaround is to
     184      add the following flags to <command>configure</command>:
     185    </para>
     186
     187<screen role="nodump"><userinput>      --with-thin-check=   \
     188     --with-thin-dump=     \
     189     --with-thin-repair=   \
     190     --with-thin-restore=  \
     191     --with-cache-check=   \
     192     --with-cache-dump=    \
     193     --with-cache-repair=  \
     194     --with-cache-restore= \</userinput></screen>
     195
     196    <para>
     197      Some tests may hang with kernel versions within the 4.1 and 4.2 series (see
     198      above). They can be removed if necessary, for example: <command>rm
     199      test/shell/lvcreate-large-raid.sh</command>. The tests generate a lot
     200      of kernel messages, which may clutter your terminal. You can disable them
     201      by issuing <command>dmesg -D</command> before running the tests (do not
     202      forget to issue <command>dmesg -E</command> when the tests are done).
    141203    </para>
    142204
     
    151213  <sect2 role="commands">
    152214    <title>Command Explanations</title>
     215
     216    <para>
     217      <command>PATH=$PATH:/sbin:/usr/sbin</command>: The path
     218      must contain <filename class="directory">/sbin</filename> and
     219      <filename class="directory">/usr/sbin</filename> for proper system tool
     220      detection by the <command>configure</command> script. This command
     221      ensures that it is properly set if you are building as an unprivileged user.
     222    </para>
    153223
    154224    <para>
     
    161231      building of the shared command library. It is required
    162232      when building the event daemon.
     233    </para>
     234   
     235    <para>
     236      <option>--enable-lvmetad</option>: This switch enables
     237      building of the <application>LVM</application> metadata daemon,
     238      which avoids scanning all the filesystems when an LVM command is
     239      run.
    163240    </para>
    164241
     
    191268      <seglistitem>
    192269        <seg>
    193           blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmconf,
    194           lvmdump, and vgimportclone. There are also numerous symbolic links to
     270          blkdeactivate,
     271          dmeventd (optional),
     272          dmsetup,
     273          fsadm,
     274          lvm,
     275          lvmconf,
     276          lvmdump,
     277          lvmetad (optional),
     278          and vgimportclone.
     279          There are also numerous symbolic links to
    195280          lvm that implement specific functionalities
    196281        </seg>
    197282        <seg>
    198           libdevmapper.so, liblvm2app.so and liblvm2cmd.so; optional:
    199           libdevmapper-event.so, libdevmapper-event-lvm2.so,
    200           libdevmapper-event-lvm2mirror.so, libdevmapper-event-lvm2snapshot.so,
    201           libdevmapper-event-lvm2raid.so, and libdevmapper-event-lvm2thin.so
     283          libdevmapper.so,
     284          liblvm2app.so,
     285          and liblvm2cmd.so;
     286          optional: libdevmapper-event.so,
     287          libdevmapper-event-lvm2.so,
     288          libdevmapper-event-lvm2mirror.so,
     289          libdevmapper-event-lvm2snapshot.so,
     290          libdevmapper-event-lvm2raid.so,
     291          and libdevmapper-event-lvm2thin.so
    202292        </seg>
    203293        <seg>
     
    303393      </varlistentry>
    304394
     395      <varlistentry id="lvmetad">
     396        <term><command>lvmetad</command></term>
     397        <listitem>
     398          <para>
     399            (optional) is the LVM metadata daemon.
     400          </para>
     401          <indexterm zone="lvm2 lvmetad">
     402            <primary sortas="b-lvmetad">lvmetad</primary>
     403          </indexterm>
     404        </listitem>
     405      </varlistentry>
     406
    305407      <varlistentry id="vgimportclone">
    306408        <term><command>vgimportclone</command></term>
  • postlfs/filesystems/xfsprogs.xml

    r295ca00 r54789f3  
    88  <!ENTITY xfsprogs-download-http " ">
    99  <!ENTITY xfsprogs-download-ftp  "ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-&xfsprogs-version;.tar.gz">
    10   <!ENTITY xfsprogs-md5sum        "c28db88f058ada506fe0ac6a897a1c42">
    11   <!ENTITY xfsprogs-size          "1.4 MB">
    12   <!ENTITY xfsprogs-buildsize     "34 MB">
    13   <!ENTITY xfsprogs-time          "0.6 SBU">
     10  <!ENTITY xfsprogs-md5sum        "ade22791338fa3d2cf442d6bb84f1748">
     11  <!ENTITY xfsprogs-size          "1.5 MB">
     12  <!ENTITY xfsprogs-buildsize     "63 MB">
     13  <!ENTITY xfsprogs-time          "0.5 SBU">
    1414]>
    1515
     
    133133
    134134      <seglistitem>
    135         <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_copy, xfs_db,
    136         xfs_estimate, xfs_freeze, xfs_fsr, xfs_growfs, xfs_info, xfs_io,
    137         xfs_logprint, xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck,
    138         xfs_quota, xfs_repair, and xfs_rtcp</seg>
     135        <seg>fsck.xfs,
     136             mkfs.xfs,
     137             xfs_admin,
     138             xfs_bmap,
     139             xfs_copy,
     140             xfs_db,
     141             xfs_estimate,
     142             xfs_freeze,
     143             xfs_fsr,
     144             xfs_growfs,
     145             xfs_info,
     146             xfs_io,
     147             xfs_logprint,
     148             xfs_mdrestore,
     149             xfs_metadump,
     150             xfs_mkfile,
     151             xfs_ncheck,
     152             xfs_quota,
     153             xfs_repair,
     154             and xfs_rtcp</seg>
    139155        <seg>libhandle.so</seg>
    140156        <seg>/usr/include/xfs and /usr/share/doc/xfsprogs-&xfsprogs-version;</seg>
  • postlfs/shells/tcsh.xml

    r295ca00 r54789f3  
    55  %general-entities;
    66
    7   <!ENTITY tcsh-download-http "http://www.sfr-fresh.com/unix/misc/tcsh-&tcsh-version;.tar.gz">
     7  <!ENTITY tcsh-download-http "http://fossies.org/linux/misc/tcsh-&tcsh-version;.tar.gz">
    88  <!ENTITY tcsh-download-ftp  "ftp://ftp.astron.com/pub/tcsh/tcsh-&tcsh-version;.tar.gz">
    9   <!ENTITY tcsh-md5sum        "6eed09dbd4223ab5b6955378450d228a">
    10   <!ENTITY tcsh-size          "912 KB">
    11   <!ENTITY tcsh-buildsize     "12.6 MB">
    12   <!ENTITY tcsh-time          "0.2 SBU">
     9  <!ENTITY tcsh-md5sum        "f5f854833578647795bc906dd4bcb5d5">
     10  <!ENTITY tcsh-size          "928 KB">
     11  <!ENTITY tcsh-buildsize     "15 MB (with tests)">
     12  <!ENTITY tcsh-time          "0.2 SBU (with tests)">
    1313]>
    1414
     
    6868  <sect2 role="installation">
    6969    <title>Installation of Tcsh</title>
     70   
     71    <para>
     72      First, fix the package for gcc5 optimizations:
     73    </para>
     74
     75<screen><userinput>sed -e 's/ i)/ k)/' \
     76     -e '/ k)/ i \   k = i;' \
     77     -e '/\*cp/ a \  volatile size_t k;' \
     78     -i tc.alloc.c</userinput></screen>
    7079
    7180    <para>Install <application>Tcsh</application> by running the following
    7281    commands:</para>
    7382
    74 <screen><userinput>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html &amp;&amp;
     83<screen><userinput>sed -i 's|fR/g|&amp;m|' tcsh.man2html &amp;&amp;
    7584
    7685./configure --prefix=/usr --bindir=/bin &amp;&amp;
     
    94103    <title>Command Explanations</title>
    95104
    96     <para><command>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html</command>:
     105    <para><command>sed -i 's|fR/g|&amp;m|' tcsh.man2html</command>:
    97106    This updates some deprecated Perl code.</para>
    98107
     
    175184<literal>/bin/tcsh
    176185/bin/csh</literal>
     186EOF</userinput></screen>
     187
     188      <para>
     189        The following <filename>~/.cshrc</filename> provides two alternative
     190        colour prompts and coloured <command>ls</command> output. If you prefer
     191        a global modification, issue the command as the
     192        <systemitem class="username">root</systemitem> user, replacing
     193        <filename>~/.cshrc</filename> by <filename>/etc/csh.cshrc</filename>.
     194      </para>
     195
     196<screen><userinput>cat &gt; ~/.cshrc &lt;&lt; "EOF"
     197<literal># Original at:
     198# https://www.cs.umd.edu/~srhuang/teaching/code_snippets/prompt_color.tcsh.html
     199
     200# Modified by the BLFS Development Team.
     201
     202# Add these lines to your ~/.cshrc (or to /etc/csh.cshrc).
     203
     204# Colors!
     205set      red="%{\033[1;31m%}"
     206set    green="%{\033[0;32m%}"
     207set   yellow="%{\033[1;33m%}"
     208set     blue="%{\033[1;34m%}"
     209set  magenta="%{\033[1;35m%}"
     210set     cyan="%{\033[1;36m%}"
     211set    white="%{\033[0;37m%}"
     212set      end="%{\033[0m%}" # This is needed at the end...
     213
     214# Setting the actual prompt. Two separate versions are available for you to try. Pick
     215# whichever one you like better, and change the colors as you want.
     216# Just don't mess with the ${end} guy in either line... Comment out or
     217# delete the prompt that you don't use.
     218
     219set prompt="${green}%n${blue}@%m ${white}%~ ${green}%%${end} "
     220set prompt="[${green}%n${blue}@%m ${white}%~ ]${end} "
     221
     222# This was not in the original URL above.
     223# Provides coloured ls
     224alias ls ls --color=always
     225
     226# Clean up after ourselves...
     227unset red green yellow blue magenta cyan yellow white end</literal>
    177228EOF</userinput></screen>
    178229
  • postlfs/shells/zsh.xml

    r295ca00 r54789f3  
    55  %general-entities;
    66
    7   <!ENTITY zsh-download-http "http://www.zsh.org/pub/zsh-&zsh-version;.tar.bz2">
     7  <!ENTITY zsh-download-http "http://www.zsh.org/pub/zsh-&zsh-version;.tar.xz">
    88  <!ENTITY zsh-download-ftp  " ">
    9   <!ENTITY zsh-md5sum        "e6759e8dd7b714d624feffd0a73ba0fe">
    10   <!ENTITY zsh-size          "3.2 MB">
    11   <!ENTITY zsh-buildsize     "66 MB">
    12   <!ENTITY zsh-time          "1.1 SBU">
    13 
    14   <!ENTITY zsh-doc-md5sum    "c49d1f0d2e7593c966461e0c1fa70532">
    15   <!ENTITY zsh-doc-size      "3.1 MB">
     9  <!ENTITY zsh-md5sum        "afe96fde08b70e23c1cab1ca7a68fb34">
     10  <!ENTITY zsh-size          "2.7 MB">
     11  <!ENTITY zsh-buildsize     "64 MB (includes documentation and tests)">
     12  <!ENTITY zsh-time          "1.1 SBU (includes documentation and tests)">
     13
     14  <!ENTITY zsh-doc-md5sum    "873f1ade1fa5d0d15f9cba16d3ba5f98">
     15  <!ENTITY zsh-doc-size      "3.0 MB">
    1616]>
    1717
     
    6767      <listitem>
    6868        <para>Optional Documentation: <ulink
    69         url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar.bz2"/></para>
     69        url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar.xz"/></para>
    7070      </listitem>
    7171      <listitem>
     
    7676      </listitem>
    7777    </itemizedlist>
     78
     79    <note>
     80      <para>
     81        When there is a new <application>zsh</application> release available, the old
     82        files shown above are moved to a new server directory:
     83        <ulink url="http://www.zsh.org/pub/old/"/>
     84      </para>
     85    </note>
    7886
    7987    <bridgehead renderas="sect3">zsh Dependencies</bridgehead>
     
    97105    the following command:</para>
    98106
    99 <screen><userinput>tar --strip-components=1 -xvf ../zsh-&zsh-version;-doc.tar.bz2</userinput></screen>
     107<screen><userinput>tar --strip-components=1 -xvf ../zsh-&zsh-version;-doc.tar.xz</userinput></screen>
    100108
    101109<!--    <note>
  • postlfs/virtualization/qemu-systemd.xml

    r295ca00 r54789f3  
    77  <!ENTITY qemu-download-http "http://wiki.qemu.org/download/qemu-&qemu-version;.tar.bz2">
    88  <!ENTITY qemu-download-ftp  " ">
    9   <!ENTITY qemu-md5sum        "2fab3ea4460de9b57192e5b8b311f221">
    10   <!ENTITY qemu-size          "24 MB">
    11   <!ENTITY qemu-buildsize     "291 MB">
    12   <!ENTITY qemu-time          "1.4 SBU">
     9  <!ENTITY qemu-md5sum        "f469f2330bbe76e3e39db10e9ac4f8db">
     10  <!ENTITY qemu-size          "25 MB">
     11  <!ENTITY qemu-buildsize     "419 MB (with tests)">
     12  <!ENTITY qemu-time          "2.4 SBU (with tests)">
    1313]>
    1414
     
    7979      <xref linkend="curl"/>,
    8080      <xref linkend="cyrus-sasl"/>,
     81      <xref linkend="gnutls"/>,
    8182      <xref linkend="gtk2"/>,
    8283      <xref linkend="gtk3"/>,
    8384      <xref linkend="libusb"/>,
     85      <xref linkend="libgcrypt"/>,
    8486      <xref linkend="lzo"/>,
     87      <xref linkend="nettle"/>,
    8588      <xref linkend="nss"/> (for libcacard.so),
    86       <xref linkend="mesalib"/>, and
     89      <xref linkend="mesalib"/>,
     90      <xref linkend="sdl"/>, and
    8791      <xref linkend="vte"/>
     92      <ulink url="http://www.libssh2.org">libssh2</ulink>
    8893    </para>
    8994
     
    151156    commands:</para>
    152157
    153 <screen><userinput>./configure --prefix=/usr \
    154             --sysconfdir=/etc \
    155             --docdir=/usr/share/doc/qemu-&qemu-version; \
    156             --target-list=x86_64-softmmu &amp;&amp;
     158      <note><para>Qemu is capable of running many targets. The build process
     159      is also capable of building multiple targets at one time in a
     160      comma delimited list assigned to <option>--target-list</option>. Run
     161      <command>./configure --help</command> to get a complete list of
     162      available targets.</para></note>
     163
     164<screen><userinput>if [ $(uname -m) = i686 ]; then
     165   QEMU_ARCH=i386-softmmu
     166else
     167   QEMU_ARCH=x86_64-softmmu
     168fi
     169
     170mkdir -vp build &amp;&amp;
     171cd        build &amp;&amp;
     172
     173../configure --prefix=/usr          \
     174             --sysconfdir=/etc   \
     175             --target-list=$QEMU_ARCH  \
     176             --audio-drv-list=alsa     \
     177             --docdir=/usr/share/doc/qemu-&qemu-version; &amp;&amp;
     178
     179unset QEMU_ARCH &amp;&amp;
     180
    157181make</userinput></screen>
    158182
    159     <para>To run the built in tests, run <command>make V=1 check</command>.</para>
     183    <para>To run the built in tests, run <command>make V=1 check</command>.
     184    One test is known to fail.</para>
    160185
    161186    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    162187
    163188<screen role="root"><userinput>make install &amp;&amp;
    164 [ -e  /usr/lib/libcacard.so ] &amp;&amp; chmod -v 755 /usr/lib/libcacard.so</userinput></screen>
     189[ -e  /usr/lib/libcacard.so ] &amp;&amp;
     190chmod -v 755 /usr/lib/libcacard.so</userinput></screen>
    165191
    166192    <para>
     
    193219
    194220    <para>For convenience you may want to create a symbolic link to run
    195     <command>qemu-system-x86_64</command>:</para>
    196 
    197     <screen role="root"><userinput>ln -sv qemu-system-x86_64 /usr/bin/qemu</userinput></screen>
     221    The installed program. For instance:</para>
     222
     223<screen role="root"><userinput>ln -sv qemu-system-`uname -m` /usr/bin/qemu</userinput></screen>
    198224    </note>
    199225
     
    203229    <title>Command Explanations</title>
    204230
    205     <para><parameter>--target-list=x86_64-softmmu</parameter>: This switch
    206     limits the build target to the x86_64 architecture.  For other
    207     hardware emulation see the --target-list list in <command>configure</command>'s
    208     help output.  Omitting this option will build all architectures.</para>
    209 
    210231    <para>
    211       <option>--audio-drv-list=alsa</option>: This switch sets the audio driver
     232      <parameter>--audio-drv-list=alsa</parameter>: This switch sets the audio driver
    212233      to ALSA. For other drivers see the --audio-drv-list list in
    213234      <command>configure</command>'s help output. The default audio driver is
     
    230251    <note><para>The following instructions assume you have created the optional
    231252    symbolic link, <userinput>qemu</userinput>.  Additionally, you must run
    232     <userinput>qemu</userinput> from an X Window System based terminal.</para></note>
     253    <userinput>qemu</userinput> from an X Window System based terminal.
     254    (either locally or over ssh).</para></note>
    233255
    234256    <para>To install an operating system, download an iso of your choice or use
     
    257279<screen><userinput>qemu -enable-kvm vdisk.img -m 384</userinput></screen>
    258280
    259     <para>To add networking to the instance add "-net nic -net user" to the
    260     command above.  qemu provides a DHCP server for the VM and, depending on
     281    <para>You may have a problem with <parameter>--enable-kvm</parameter>. Also,
     282    you may want to define audio and video drivers, the number of cpu cores, and
     283    the number of threads. An alternative command to install the operating system is (see qemu
     284    man page for parameters definitions):</para>
     285
     286<screen><userinput>qemu -enable-kvm             \
     287    -cdrom /home/fernando/ISO/linuxmint-17.1-mate-32bit.iso \
     288    -boot order=d             \
     289    -m 1G,slots=3,maxmem=4G \
     290    -machine smm=off        \
     291    -soundhw es1370         \
     292    -cpu host               \
     293    -smp cores=4,threads=2  \
     294    -vga std                \
     295    vdisk.img</userinput></screen>
     296
     297    <para>One parameter not appearing in the qemu man page is
     298    <parameter>-machine smm=off</parameter>, and it used to allow
     299    <parameter>-enable-kvm</parameter> in some systems. In order to run the
     300    machine, you can alternatively issue:</para>
     301
     302<screen><userinput>qemu -enable-kvm          \
     303    -machine smm=off             \
     304    -boot order=d                \
     305    -m 1G,slots=3,maxmem=4G      \
     306    -soundhw es1370              \
     307    -cpu host                    \
     308    -smp cores=4,threads=2       \
     309    -vga vmware                  \
     310    -hda vdisk.img</userinput></screen>
     311
     312    <para>Sometimes, you want the machine to have different screen sizes than
     313    the ones natively offered by the virtual graphics card. The example below is
     314    for the qemu vmware graphics card, which uses
     315    <xref linkend="xorg-vmware-driver"/> and is set to give the maximum screen size
     316    of 1600x900. As the <systemitem class="username">root</systemitem> user,
     317    issue the following:</para>
     318
     319<screen role="root"><userinput>cat &gt; /usr/share/X11/xorg.conf.d/20-vmware.conf &lt;&lt; "EOF"
     320<literal>Section        "Monitor"
     321   Identifier     "Monitor0"
     322   # cvt 1600 900
     323   # 1600x900 59.95 Hz (CVT 1.44M9) hsync:55.99 kHz; pclk: 118.25 MHz
     324   Modeline       "1600x900" 118.25 1600 1696 1856 2112  900 903 908 934 -hysnc +vsync
     325   Option         "PreferredMode" "1600x900"
     326   HorizSync      1-200
     327   VertRefresh    1-200
     328EndSection
     329
     330Section           "Device"
     331   Identifier     "VMWare SVGA II Adapter"
     332   Option         "Monitor" "Default"
     333   Driver         "vmware"
     334EndSection
     335
     336Section           "Screen"
     337   Identifier     "Default Screen"
     338   Device         "VMWare SVGA II Adapter"
     339   Monitor        "Monitor0"
     340
     341   SubSection     "Display"
     342      Depth       24
     343      Modes       "1600x900" "1440x900" "1366x768" "1280x720" "800x480"
     344   EndSubSection
     345EndSection </literal>
     346EOF </userinput></screen>
     347
     348    <para>New sizes will be available besides the native ones. You need to
     349    restart X in order to have the new sizes available.</para>
     350
     351    <para><!--To add networking to the instance add "-net nic -net user" to the
     352    command above.--> qemu provides a DHCP server for the VM and, depending on
    261353    the client system, sets up networking though the host.</para>
    262354
     
    268360    <itemizedlist spacing="compact">
    269361      <listitem>
    270         <para>Set up bridging using <xref linkend="network-bridge"/>.</para>
     362        <para>Set up bridging using <xref linkend="bridgeutils"/>.</para>
    271363      </listitem>
    272364
     
    375467      <seglistitem>
    376468        <seg>
     469          ivshmem-client,
     470          ivshmem-server,
     471          qemu (symlink),
    377472          qemu-ga,
    378473          qemu-img,
    379474          qemu-io,
    380475          qemu-nbd,
    381           qemu-system-x86_64,
     476          qemu-system-&lt;arch&gt;,
    382477          virtfs-proxy-helper, and
    383478          vscclient
     
    385480        <seg>libcacard.so</seg>
    386481        <seg>
    387           /etc/qemu,
    388           /usr/include/cacard,
    389           /usr/lib/qemu,
    390           /usr/share/qemu, and
     482          /etc/qemu, and
    391483          /usr/share/doc/qemu-&qemu-version;
    392484        </seg>
Note: See TracChangeset for help on using the changeset viewer.