Changeset cf5c43f3


Ignore:
Timestamp:
04/07/2006 01:56:59 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 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:
6c8659b
Parents:
c04745b
Message:

Added a parameter to the Subversion build commands to disable the use of Berkeley DB; also added commands to fix the improper permissions on the installed documentation

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/subversion.xml

    rc04745b rcf5c43f3  
    4646    <application>Subversion</application> repository. Creation of a repository
    4747    is covered at <xref linkend="svnserver"/>.</para>
    48 
    49     <caution>
    50       <para>For reasons that are not yet fully understood,
    51       <application>Subversion</application> repositories based on some versions
    52       of <application>Berkeley DB</application> (notably 4.4.x) may not perform
    53       reliably. Though there have been no reports of corrupted databases caused
    54       by this issue, the <application>Subversion</application> test suite may
    55       report a failure in one of the tests due to problems opening a repository
    56       based on <application>Berkeley DB</application>. This issue only affects
    57       BDB-based repositories on a local installation and does not affect access
    58       to a BDB-based repository on a remote system.</para>
    59 
    60       <para>To eliminate any problems that may be associated with this issue,
    61       you are encouraged (as well as recommended by the
    62       <application>Subversion</application> development team) to use
    63       File System based repositories. Additionally, if you have existing
    64       repositories based on <application>Berkeley DB</application>, you are
    65       encouraged to dump and reload them into a File System based
    66       repository.</para>
    67     </caution>
    6848
    6949    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    152132    <title>Installation of Subversion</title>
    153133
     134    <caution>
     135      <para>For reasons that are not yet fully understood,
     136      <application>Subversion</application> repositories based on some versions
     137      of <application>Berkeley DB</application> (notably 4.4.x) may not perform
     138      reliably. Though there have been no reports of corrupted databases caused
     139      by this issue, the <application>Subversion</application> test suite may
     140      report a failure in one of the tests due to problems opening a repository
     141      based on <application>Berkeley DB</application>. This issue only affects
     142      BDB-based repositories on a local installation and does not affect access
     143      to a BDB-based repository on a remote system built with older versions of
     144      <application>Subversion</application> or
     145      <application>Berkeley DB</application>.</para>
     146
     147      <para>For these reasons, the <application>Berkeley DB</application>
     148      back-end is disabled, and any local BDB-based repositories you may have
     149      will be unavailable after installing <application>Subversion</application>
     150      using the following instructions. Please reference the information at
     151      <ulink
     152      url="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5"/>
     153      if you need to migrate your repositores.</para>
     154    </caution>
     155
    154156    <para>Install <application>Subversion</application> by running the
    155157    following commands:</para>
    156158
    157159<screen><userinput>./configure --prefix=/usr \
     160            --without-berkeley-db \
    158161            --with-installbuilddir=/usr/lib/apr-0 &amp;&amp;
    159162make</userinput></screen>
     
    217220
    218221<screen role='root'><userinput>make install &amp;&amp;
     222rm doc/{Makefile,doxygen.conf} &amp;&amp;
     223find doc -type d -exec chmod 755 {} \; &amp;&amp;
     224find doc -type f -exec chmod 644 {} \; &amp;&amp;
    219225install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
    220 cp -v -R doc/* /usr/share/doc/subversion-&subversion-version; &amp;&amp;
    221 rm -v /usr/share/doc/subversion-&subversion-version;/{Makefile,doxygen.conf}</userinput></screen>
     226cp -v -R doc/* /usr/share/doc/subversion-&subversion-version;</userinput></screen>
    222227
    223228    <para>If you built the Java bindings, issue the following command
  • introduction/welcome/changelog.xml

    rc04745b rcf5c43f3  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[randy] - Added a parameter to the Subversion build commands
     49          to disable the use of Berkeley DB; also added commands to fix the
     50          improper permissions on the installed documentation.</para>
     51        </listitem>
     52        <listitem>
    4853          <para>[dnicholson] - Fixed typo in Xorg-7 font installation. Fixed
    4954          typos in X Window System Components fonts section.</para>
  • server/other/svnserver.xml

    rc04745b rcf5c43f3  
    2121    <para>This section will describe how to set up, administer and secure
    2222    a <application>Subversion</application> server.</para>
     23
     24    <note>
     25      <para>The default build instructions for
     26      <application>Subversion</application> disabled the
     27      <application>Berkeley DB</application> repository back-end due to the
     28      errors encountered in the test suite while building the
     29      <xref linkend="subversion"/> package. This should not present a
     30      functionality issue as the FSFS repository back-end is now the default,
     31      and recommended by the <application>Subversion</application> development
     32      team.</para>
     33
     34      <para>If you have existing repositories based on a
     35      <application>Berkeley DB</application> back-end and you followed the
     36      BLFS instructions for building <application>Subversion</application>,
     37      you'll need to dump the databases, create new repositories using the
     38      FSFS back-end, then then reload the data into the new repositories.
     39      Instructions for performing these operations can be found at <ulink
     40      url="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5"/>.
     41      </para>
     42    </note>
    2343
    2444    <bridgehead renderas="sect3">Subversion Server Dependencies</bridgehead>
     
    99119      FSFS and BDB, see <ulink
    100120      url="http://svnbook.red-bean.com/svnbook-1.1/ch05.html#svn-ch-5-sect-1.2.A"/>.
    101       Optionally you can pass <option>bdb</option> in place of
    102       <option>fsfs</option> in the following command to create a
    103       BerkeleyDB data-store.</para>
     121      </para>
    104122
    105123      <para>Create a new <application>Subversion</application> repository with
    106124      the following commands:</para>
    107125
    108 <screen role="root"><userinput>install -d -m0755 /srv &amp;&amp;
    109 install -d -m0755 -o svn -g svn /srv/svn/repositories &amp;&amp;
     126<screen role="root"><userinput>install -v -m 0755 -d /srv &amp;&amp;
     127install -v -m 0755 -o svn -g svn -d /srv/svn/repositories &amp;&amp;
    110128svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</userinput></screen>
    111129
    112       <para>Now that the repository is created, we need to populate it
     130      <para>Now that the repository is created, it should be populated with
    113131      with something useful. You'll need to have a predefined directory
    114       layout setup exactly as you want your repository to look. For
     132      layout set up exactly as you want your repository to look. For
    115133      example, here is a sample BLFS layout setup with a root of
    116134      <filename>svntest/</filename>. You'll need to setup a directory
     
    134152    file:///srv/svn/repositories/svntest</userinput></screen>
    135153
    136       <para>Now go ahead and change owner and group information on the
     154      <para>Now change owner and group information on the
    137155      repository, and add an unprivileged user to the
    138156      <systemitem class="groupname">svn</systemitem> and
     
    163181      files. This avoids locking out other users from the repository.</para>
    164182
    165       <para>Now, go ahead and return to an unprivileged user account, and take a
    166       look at your new repository using <command>svnlook</command>:</para>
     183      <para>Now, return to an unprivileged user account, and take a
     184      look at the new repository using <command>svnlook</command>:</para>
    167185
    168186<screen><userinput>svnlook tree /srv/svn/repositories/svntest/</userinput></screen>
     
    257275EOF</userinput></screen>
    258276
    259       <para>Finally, if you wish to simply start the sever at
     277      <para>Finally, if you wish to simply start the server at
    260278      startup, install the svn bootscript included in the
    261279      <xref linkend="bootscripts"/> package.</para>
Note: See TracChangeset for help on using the changeset viewer.