Ignore:
Timestamp:
04/24/2012 11:15:27 AM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
17fd9b0
Parents:
2d7d257e
Message:

Seamonkey 2.9 and NSS 3.13.4

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/nss.xml

    r2d7d257e ra45062d  
    99  <!ENTITY nss-download-ftp
    1010  "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/nss-&nss-version;.tar.gz">
    11   <!ENTITY nss-md5sum        "006cb82fa900e9e664b4b14a9b7810ca">
     11  <!ENTITY nss-md5sum        "2510d41ade236584cc0096954ea449c0">
    1212  <!ENTITY nss-size          "5.8 MB">
    1313  <!ENTITY nss-buildsize     "70 MB (more than double this to run the test suite)">
     
    115115
    116116<screen><userinput>patch -Np1 -i ../nss-&nss-version;-standalone-1.patch &amp;&amp;
    117 cd mozilla/security/nss &amp;&amp;
    118 make nss_build_all $([ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1) BUILD_OPT=1 \
    119   NSPR_INCLUDE_DIR=/usr/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
    120   $(cat /usr/include/sqlite3.h &amp;&gt; /dev/null &amp;&amp; echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
     117cd mozilla/security/nss                                &amp;&amp;
     118make nss_build_all BUILD_OPT=1                         \
     119  NSPR_INCLUDE_DIR=/usr/include/nspr                   \
     120  USE_SYSTEM_ZLIB=1                                    \
     121  ZLIB_LIBS=-lz                                        \
     122  $([ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1) \
     123  $([ -f /usr/include/sqlite3.h ] &amp;&amp; echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
    121124
    122125    <para>This package does not come with a test suite.</para>
     
    174177
    175178    <para>
    176       <parameter>[ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1</parameter>:
    177       This option is <emphasis>required on x86_64</emphasis>, otherwise the
    178       <command>make</command> will attempt to create 32-bit objects and in a
    179       non-multilib system it will fail. The [ $(arch) = x86_64 ] test ensures it
     179      <parameter>BUILD_OPT=1</parameter>: This option is passed to
     180      <command>make</command> so that the build is performed with no debugging
     181      symbols built into the binaries and the default compiler optimizations are
     182      used.
     183    </para>
     184
     185    <para>
     186      <parameter>NSPR_INCLUDE_DIR=/usr/include/nspr</parameter>: This option
     187      sets the location of the nspr headers.
     188    </para>
     189
     190    <para>
     191      <parameter>USE_SYSTEM_ZLIB=1</parameter>: This option is passed to
     192      <command>make</command> to ensure that the
     193      <filename class="libraryfile">libssl3.so</filename> library is linked to
     194      the system installed <application>zlib</application> instead of the
     195      in-tree version.
     196    </para>
     197
     198    <para>
     199      <parameter>ZLIB_LIBS=-lz</parameter>: This option provides the
     200      linker flags needed to link to the system <application>zlib</application>.
     201    </para>
     202
     203    <para>
     204      <command>$([ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1)</command>:
     205      The <parameter>USE_64=1</parameter> option is <emphasis>required on
     206      x86_64</emphasis>, otherwise <command>make</command> will try (and fail)
     207      to create 32-bit objects. The [ $(uname -m) = x86_64 ] test ensures it
    180208      has no effect on a 32 bit system.
    181209    </para>
    182210
    183211    <para>
    184       <command>cat /usr/include/sqlite3.h ... </command>: This tests if
     212      <command>([ -f /usr/include/sqlite3.h ] &amp;&amp; echo
     213      NSS_USE_SYSTEM_SQLITE=1)</command>: This tests if
    185214      <application>sqlite</application> is installed and if so it
    186215      <command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to
     
    188217      <filename class="libraryfile">libsoftokn3.so</filename> will link against
    189218      the system version of sqlite.
    190     </para>
    191 
    192     <para>
    193       <parameter>BUILD_OPT=1</parameter>: This option is passed to
    194       <command>make</command> so that the build is performed with no debugging
    195       symbols built into the binaries and the default compiler optimizations are
    196       used.
    197     </para>
    198 
    199     <para>
    200       <parameter>NSPR_INCLUDE_DIR=/usr/include/nspr</parameter>: This option
    201       sets the location of the nspr headers.
    202     </para>
    203 
    204     <para>
    205       <parameter>USE_SYSTEM_ZLIB=1</parameter>: This option is passed to
    206       <command>make</command> to ensure that the
    207       <filename class="libraryfile">libssl3.so</filename> library is linked to
    208       the system installed <application>zlib</application> instead of the
    209       in-tree version.
    210     </para>
    211 
    212     <para>
    213       <parameter>ZLIB_LIBS=-lz</parameter>: This option provides the
    214       linker flags needed to link to the system <application>zlib</application>.
    215219    </para>
    216220  </sect2>
Note: See TracChangeset for help on using the changeset viewer.