Changeset a45062d for postlfs/security
- Timestamp:
- 04/24/2012 11:15:27 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 17fd9b0
- Parents:
- 2d7d257e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/nss.xml
r2d7d257e ra45062d 9 9 <!ENTITY nss-download-ftp 10 10 "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"> 12 12 <!ENTITY nss-size "5.8 MB"> 13 13 <!ENTITY nss-buildsize "70 MB (more than double this to run the test suite)"> … … 115 115 116 116 <screen><userinput>patch -Np1 -i ../nss-&nss-version;-standalone-1.patch && 117 cd mozilla/security/nss && 118 make nss_build_all $([ $(uname -m) = x86_64 ] && 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 &> /dev/null && echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen> 117 cd mozilla/security/nss && 118 make 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 ] && echo USE_64=1) \ 123 $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen> 121 124 122 125 <para>This package does not come with a test suite.</para> … … 174 177 175 178 <para> 176 <parameter>[ $(uname -m) = x86_64 ] && 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 ] && 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 180 208 has no effect on a 32 bit system. 181 209 </para> 182 210 183 211 <para> 184 <command>cat /usr/include/sqlite3.h ... </command>: This tests if 212 <command>([ -f /usr/include/sqlite3.h ] && echo 213 NSS_USE_SYSTEM_SQLITE=1)</command>: This tests if 185 214 <application>sqlite</application> is installed and if so it 186 215 <command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to … … 188 217 <filename class="libraryfile">libsoftokn3.so</filename> will link against 189 218 the system version of sqlite. 190 </para>191 192 <para>193 <parameter>BUILD_OPT=1</parameter>: This option is passed to194 <command>make</command> so that the build is performed with no debugging195 symbols built into the binaries and the default compiler optimizations are196 used.197 </para>198 199 <para>200 <parameter>NSPR_INCLUDE_DIR=/usr/include/nspr</parameter>: This option201 sets the location of the nspr headers.202 </para>203 204 <para>205 <parameter>USE_SYSTEM_ZLIB=1</parameter>: This option is passed to206 <command>make</command> to ensure that the207 <filename class="libraryfile">libssl3.so</filename> library is linked to208 the system installed <application>zlib</application> instead of the209 in-tree version.210 </para>211 212 <para>213 <parameter>ZLIB_LIBS=-lz</parameter>: This option provides the214 linker flags needed to link to the system <application>zlib</application>.215 219 </para> 216 220 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.