nss-vl.spec 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define nspr_version 4.11
  3. %define unsupported_tools_directory %{_libdir}/nss/unsupported-tools
  4. Summary: Network Security Services
  5. Name: nss
  6. Version: 3.21.1
  7. Release: 1%{?_dist_release}
  8. License: MPLv1.1 or GPLv2+ or LGPLv2+
  9. URL: http://www.mozilla.org/projects/security/pki/nss/
  10. Group: System Environment/Libraries
  11. Source0: %{name}-%{version}.tar.gz
  12. Source1: nss.pc.in
  13. Source2: nss-config.in
  14. Source3: blank-cert8.db
  15. Source4: blank-key3.db
  16. Source5: blank-secmod.db
  17. Source6: blank-cert9.db
  18. Source7: blank-key4.db
  19. Source8: system-pkcs11.txt
  20. Source12: %{name}-pem-20140125.tar.bz2
  21. Source101: nss-util.pc.in
  22. Source102: nss-util-config.in
  23. Patch2: add-relro-linker-option.patch
  24. Patch3: renegotiate-transitional.patch
  25. Patch6: nss-enable-pem.patch
  26. Patch16: nss-539183.patch
  27. Patch18: nss-646045.patch
  28. # TODO: Remove this patch when the ocsp test are fixed
  29. Patch40: nss-3.14.0.0-disble-ocsp-test.patch
  30. # Fedora / RHEL-only patch, the templates directory was originally
  31. # introduced to support mod _revocator
  32. Patch47: utilwrap-include-templates.patch
  33. # TODO remove when we switch to building nss without softoken
  34. Patch49: nss-skip-bltest-and-fipstest.patch
  35. Patch50: iquote.patch
  36. # As of nss-3.21 we compile NSS with -Werror.
  37. # see https://bugzilla.mozilla.org/show_bug.cgi?id=1182667
  38. # This requires a cleanup of the PEM module as we have it here.
  39. # TODO: submit a patch to the interim nss-pem upstream project
  40. # The submission will be very different from this patch as
  41. # cleanup there is already in progress there.
  42. Patch51: pem-compile-with-Werror.patch
  43. Patch52: Bug-1001841-disable-sslv2-libssl.patch
  44. Patch53: Bug-1001841-disable-sslv2-tests.patch
  45. Patch54: sslauth-no-v2.patch
  46. Patch55: enable-fips-when-system-is-in-fips-mode.patch
  47. # rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=1026677
  48. Patch56: p-ignore-setpolicy.patch
  49. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=943144
  50. Patch62: nss-fix-deadlock-squash.patch
  51. # Two patches from from rhel6.8 that are also needed for rhel-7
  52. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1054373
  53. Patch74: race.patch
  54. Patch94: nss-3.16-token-init-race.patch
  55. Patch99: ssl-server-min-key-sizes.patch
  56. Patch100: fix-min-library-version-in-SSLVersionRange.patch
  57. # Add support for sha384 tls cipher suites, dss cipher suites, and
  58. # server-side dhe key exchange
  59. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=102794
  60. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=923089
  61. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=951455
  62. Patch101: dhe-sha384-dss-support.patch
  63. # TODO: From upstream review: For the client authentication case, should
  64. # probably drop our hack of swapping between sha256 and sha384 and plan
  65. # on implementing the fix we already have a patch for. What is that fix?
  66. Patch102: client_auth_for_sha384_prf_support.patch
  67. Patch103: nss-fix-client-auth-init-hashes.patch
  68. Patch104: nss-map-oid-to-hashalg.patch
  69. Patch105: nss-remove-bogus-assert.patch
  70. Patch106: nss-old-pkcs11-num.patch
  71. Patch107: nss-enable-384-cipher-tests.patch
  72. Patch108: nss-sni-c-v-fix.patch
  73. Patch109: nss-fix-signature-and-hash.patch
  74. Patch110: nss-sslstress-txt-ssl3-lower-value-in-range.patch
  75. # Enable by default two additional ciphers and fix order of two tables
  76. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=923089
  77. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=951455
  78. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1211403
  79. Patch112: rh1238290.patch
  80. # Local: keep as long nss-softokn lacks support
  81. Patch113: disable-extended-master-secret-with-old-softoken.patch
  82. # extra tests needed
  83. Patch114: tests-extra.patch
  84. Patch115: nss-prevent-abi-issue.patch
  85. Patch116: nss-tests-prevent-abi-issue.patch
  86. Patch117: fix-nss-test-filtering.patch
  87. Patch118: fix-allowed-sig-alg.patch
  88. Patch119: nss-ssl-ssl3con-delete-duplicates.patch
  89. # Local patches
  90. Patch1002: hasht-dont-include-prtypes.patch
  91. Patch1007: pkcs1sig-include-prtypes.patch
  92. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=951455
  93. # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=923089
  94. Patch1008: nss-util-3.19.1-tls12-mechanisms.patch
  95. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  96. BuildRequires: nspr-devel >= %{nspr_version}
  97. BuildRequires: sqlite3-devel
  98. BuildRequires: zlib-devel
  99. BuildRequires: pkgconfig
  100. BuildRequires: gawk
  101. Provides: mozilla-nss
  102. Obsoletes: mozilla-nss
  103. Requires: nspr >= %{nspr_version}
  104. %description
  105. Network Security Services (NSS) is a set of libraries designed to
  106. support cross-platform development of security-enabled client and
  107. server applications. Applications built with NSS can support SSL v2
  108. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  109. v3 certificates, and other security standards.
  110. %package tools
  111. Summary: Tools for the Network Security Services
  112. Group: System Environment/Base
  113. Requires: nss = %{version}-%{release}
  114. %description tools
  115. Network Security Services (NSS) is a set of libraries designed to
  116. support cross-platform development of security-enabled client and
  117. server applications. Applications built with NSS can support SSL v2
  118. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  119. v3 certificates, and other security standards.
  120. Install the nss-tools package if you need command-line tools to
  121. manipulate the NSS certificate and key database.
  122. %package devel
  123. Summary: Development libraries for Network Security Services
  124. Group: Development/Libraries
  125. Requires: nss = %{version}-%{release}
  126. Requires: nspr-devel >= %{nspr_version}
  127. Provides: mozilla-nss-devel
  128. Obsoletes: mozilla-nss-devel
  129. %description devel
  130. Header and Library files for doing development with Network Security Services.
  131. %package pkcs11-devel
  132. Summary: Development libraries for PKCS #11 (Cryptoki) using NSS
  133. Group: Development/Libraries
  134. Requires: nss-devel = %{version}-%{release}
  135. %description pkcs11-devel
  136. Library files for developing PKCS #11 modules using basic NSS
  137. low level services.
  138. ## to build compat32 for x86_64 architecture support
  139. %package -n compat32-%{name}
  140. Summary: Network Security Services
  141. Group: System Environment/Libraries
  142. %description -n compat32-%{name}
  143. Network Security Services (NSS) is a set of libraries designed to
  144. support cross-platform development of security-enabled client and
  145. server applications. Applications built with NSS can support SSL v2
  146. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  147. v3 certificates, and other security standards.
  148. %prep
  149. %setup -q
  150. %setup -q -T -D -n %{name}-%{version} -a 12
  151. %patch2 -p0 -b .relro
  152. %patch3 -p0 -b .transitional
  153. %patch6 -p0 -b .libpem
  154. %patch16 -p0 -b .539183
  155. pushd nss
  156. %patch18 -p1 -b .646045
  157. popd
  158. %patch40 -p0 -b .noocsptest
  159. %patch47 -p0 -b .templates
  160. %patch49 -p0 -b .skipthem
  161. %patch50 -p0 -b .iquote
  162. %patch51 -p1 -b -Werror
  163. pushd nss
  164. %patch52 -p1 -b .disableSSL2libssl
  165. %patch53 -p1 -b .disableSSL2tests
  166. %patch54 -p1 -b .sslauth-no-v2
  167. %patch55 -p1 -b .852023_enable_fips_when_in_fips_mode
  168. %patch56 -p1 -b .1026677_ignore_set_policy
  169. %patch62 -p1 -b .fix_deadlock
  170. %patch99 -p1 -b .min_key_sizes
  171. %patch100 -p0 -b .1171318
  172. %patch101 -p1 -b .dhe_and_sha384
  173. %patch102 -p1 -b .client_auth_prf
  174. %patch112 -p1 -b .1238290
  175. %patch113 -p1 -b .disable-ems
  176. %patch114 -p1 -b .extra
  177. %patch115 -p1 -b .abi_lib
  178. %patch116 -p1 -b .abi_tests
  179. %patch117 -p1 -b .test-filtering
  180. %patch74 -p1 -b .race
  181. popd
  182. %patch94 -p0 -b .init-token-race
  183. %patch103 -p0 -b .fix_client_auth_crash
  184. %patch104 -p0 -b .use_oids
  185. %patch105 -p0 -b .remove_bogus_assert
  186. %patch106 -p0 -b .old_pkcs11_num
  187. %patch107 -p0 -b .enable_384_cipher_tests
  188. %patch108 -p0 -b .sni_c_v_fix
  189. %patch109 -p0 -b .fix_signature_and_hash
  190. %patch110 -p0 -b .no_ssl2
  191. pushd nss
  192. %patch118 -p1 -b .allowed-sig-alg
  193. popd
  194. %patch119 -p0 -b .delete_duplicates
  195. %patch1002 -p0 -b .prtypes
  196. %patch1007 -p0 -b .include_prtypes
  197. %patch1008 -p1 -b .tls12_mechs
  198. pemNeedsFromSoftoken="lowkeyi lowkeyti softoken softoknt"
  199. for file in ${pemNeedsFromSoftoken}; do
  200. %{__cp} ./nss/lib/softoken/${file}.h ./nss/lib/ckfw/pem/
  201. done
  202. %{__cp} ./nss/lib/softoken/lowkeyi.h ./nss/cmd/rsaperf
  203. %{__cp} ./nss/lib/softoken/lowkeyti.h ./nss/cmd/rsaperf
  204. pushd nss/tests/ssl
  205. # Create versions of sslcov.txt and sslstress.txt that disable tests
  206. # for SSL2 and EXPORT ciphers.
  207. cat sslcov.txt| sed -r "s/^([^#].*EXPORT|^[^#].*SSL2)/#disabled \1/" > sslcov.noSSL2orExport.txt
  208. cat sslstress.txt| sed -r "s/^([^#].*EXPORT|^[^#].*SSL2)/#disabled \1/" > sslstress.noSSL2orExport.txt
  209. popd
  210. %build
  211. export NSS_NO_SSL2=1
  212. #NSS_NO_PKCS11_BYPASS=1
  213. #export NSS_NO_PKCS11_BYPASS
  214. #FREEBL_NO_DEPEND=1
  215. #export FREEBL_NO_DEPEND
  216. # Enable compiler optimizations and disable debugging code
  217. BUILD_OPT=1
  218. export BUILD_OPT
  219. # Generate symbolic info for debuggers
  220. XCFLAGS=$RPM_OPT_FLAGS
  221. export XCFLAGS
  222. PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
  223. PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
  224. export PKG_CONFIG_ALLOW_SYSTEM_LIBS
  225. export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
  226. NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nspr | sed 's/-I//'`
  227. NSPR_LIB_DIR=`/usr/bin/pkg-config --libs-only-L nspr | sed 's/-L//'`
  228. export NSPR_INCLUDE_DIR
  229. export NSPR_LIB_DIR
  230. #export FREEBL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-softokn | sed 's/-I//'`
  231. #export FREEBL_LIB_DIR=%{_libdir}
  232. #export USE_SYSTEM_FREEBL=0
  233. NSS_USE_SYSTEM_SQLITE=1
  234. export NSS_USE_SYSTEM_SQLITE
  235. %ifarch x86_64 ppc64 ia64 s390x
  236. USE_64=1
  237. export USE_64
  238. %endif
  239. # uncomment if the iquote patch is activated
  240. export IN_TREE_FREEBL_HEADERS_FIRST=1
  241. export NSS_BLTEST_NOT_AVAILABLE=1
  242. #
  243. %{__make} -C ./nss/coreconf
  244. %{__make} -C ./nss/lib/dbm
  245. %{__make} -C ./nss
  246. # Set up our package file
  247. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  248. %{__cat} %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \
  249. -e "s,%%prefix%%,%{_prefix},g" \
  250. -e "s,%%exec_prefix%%,%{_prefix},g" \
  251. -e "s,%%includedir%%,%{_includedir}/nss3,g" \
  252. -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
  253. -e "s,%%NSS_VERSION%%,%{version},g" \
  254. -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \
  255. $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc
  256. NSS_VMAJOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
  257. NSS_VMINOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
  258. NSS_VPATCH=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
  259. export NSS_VMAJOR
  260. export NSS_VMINOR
  261. export NSS_VPATCH
  262. %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
  263. %{__cat} %{SOURCE2} | sed -e "s,@libdir@,%{_libdir},g" \
  264. -e "s,@prefix@,%{_prefix},g" \
  265. -e "s,@exec_prefix@,%{_prefix},g" \
  266. -e "s,@includedir@,%{_includedir}/nss3,g" \
  267. -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
  268. -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
  269. -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
  270. > $RPM_BUILD_ROOT/%{_bindir}/nss-config
  271. chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config
  272. %{__cat} %{SOURCE101} | sed -e "s,%%libdir%%,%{_libdir},g" \
  273. -e "s,%%prefix%%,%{_prefix},g" \
  274. -e "s,%%exec_prefix%%,%{_prefix},g" \
  275. -e "s,%%includedir%%,%{_includedir}/nss3,g" \
  276. -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
  277. -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \
  278. $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss-util.pc
  279. NSSUTIL_VMAJOR=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMAJOR" | awk '{print $3}'`
  280. NSSUTIL_VMINOR=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMINOR" | awk '{print $3}'`
  281. NSSUTIL_VPATCH=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VPATCH" | awk '{print $3}'`
  282. export NSSUTIL_VMAJOR
  283. export NSSUTIL_VMINOR
  284. export NSSUTIL_VPATCH
  285. %{__cat} %{SOURCE102} | sed -e "s,@libdir@,%{_libdir},g" \
  286. -e "s,@prefix@,%{_prefix},g" \
  287. -e "s,@exec_prefix@,%{_prefix},g" \
  288. -e "s,@includedir@,%{_includedir}/nss3,g" \
  289. -e "s,@MOD_MAJOR_VERSION@,$NSSUTIL_VMAJOR,g" \
  290. -e "s,@MOD_MINOR_VERSION@,$NSSUTIL_VMINOR,g" \
  291. -e "s,@MOD_PATCH_VERSION@,$NSSUTIL_VPATCH,g" \
  292. > $RPM_BUILD_ROOT/%{_bindir}/nss-util-config
  293. chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-util-config
  294. %install
  295. # There is no make install target so we'll do it ourselves.
  296. %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3
  297. %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3/templates
  298. %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
  299. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}
  300. %{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory}
  301. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  302. # Copy the binary libraries we want
  303. for file in libsoftokn3.so libfreebl3.so libnss3.so libnssutil3.so \
  304. libssl3.so libsmime3.so libnssckbi.so libnsspem.so libnssdbm3.so
  305. do
  306. %{__install} -m 755 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
  307. done
  308. # These ghost files will be generated in the post step
  309. touch $RPM_BUILD_ROOT/%{_libdir}/libsoftokn3.chk
  310. touch $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.chk
  311. # Install the empty NSS db files
  312. # Legacy db
  313. %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb
  314. %{__install} -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert8.db
  315. %{__install} -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key3.db
  316. %{__install} -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/secmod.db
  317. # Shared db
  318. %{__install} -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert9.db
  319. %{__install} -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key4.db
  320. %{__install} -p -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/pkcs11.txt
  321. # Copy the development libraries we want
  322. for file in libcrmf.a libnssb.a libnssckfw.a
  323. do
  324. %{__install} -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
  325. done
  326. # Copy the binaries we want
  327. for file in certutil cmsutil crlutil modutil pk12util signtool signver ssltap
  328. do
  329. %{__install} -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{_bindir}
  330. done
  331. # Copy the binaries we ship as unsupported
  332. for file in atob btoa derdump ocspclnt pp selfserv shlibsign strsclnt symkeyutil tstclnt vfyserv vfychain
  333. do
  334. %{__install} -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
  335. done
  336. # Copy the include files
  337. for file in dist/public/nss/*.h
  338. do
  339. %{__install} -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3
  340. done
  341. %clean
  342. %{__rm} -rf $RPM_BUILD_ROOT
  343. %post
  344. /sbin/ldconfig >/dev/null 2>/dev/null
  345. %{unsupported_tools_directory}/shlibsign -i %{_libdir}/libsoftokn3.so >/dev/null 2>/dev/null
  346. %{unsupported_tools_directory}/shlibsign -i %{_libdir}/libfreebl3.so >/dev/null 2>/dev/null
  347. %postun
  348. /sbin/ldconfig >/dev/null 2>/dev/null
  349. %files
  350. %defattr(-,root,root)
  351. %{_libdir}/libnss3.so
  352. %{_libdir}/libnssutil3.so
  353. %{_libdir}/libnssdbm3.so
  354. %{_libdir}/libssl3.so
  355. %{_libdir}/libsmime3.so
  356. %{_libdir}/libsoftokn3.so
  357. %{_libdir}/libnssckbi.so
  358. %{_libdir}/libnsspem.so
  359. %{_libdir}/libfreebl3.so
  360. %{unsupported_tools_directory}/shlibsign
  361. %ghost %{_libdir}/libsoftokn3.chk
  362. %ghost %{_libdir}/libfreebl3.chk
  363. %dir %{_sysconfdir}/pki/nssdb
  364. %config(noreplace) %{_sysconfdir}/pki/nssdb/cert8.db
  365. %config(noreplace) %{_sysconfdir}/pki/nssdb/key3.db
  366. %config(noreplace) %{_sysconfdir}/pki/nssdb/secmod.db
  367. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/cert9.db
  368. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/key4.db
  369. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/pkcs11.txt
  370. %files tools
  371. %defattr(-,root,root)
  372. %{_bindir}/certutil
  373. %{_bindir}/cmsutil
  374. %{_bindir}/crlutil
  375. %{_bindir}/modutil
  376. %{_bindir}/pk12util
  377. %{_bindir}/signtool
  378. %{_bindir}/signver
  379. %{_bindir}/ssltap
  380. %{unsupported_tools_directory}/atob
  381. %{unsupported_tools_directory}/btoa
  382. %{unsupported_tools_directory}/derdump
  383. %{unsupported_tools_directory}/ocspclnt
  384. %{unsupported_tools_directory}/pp
  385. %{unsupported_tools_directory}/selfserv
  386. %{unsupported_tools_directory}/strsclnt
  387. %{unsupported_tools_directory}/symkeyutil
  388. %{unsupported_tools_directory}/tstclnt
  389. %{unsupported_tools_directory}/vfyserv
  390. %{unsupported_tools_directory}/vfychain
  391. %files devel
  392. %defattr(-,root,root)
  393. %{_libdir}/libcrmf.a
  394. %{_libdir}/pkgconfig/nss.pc
  395. %{_libdir}/pkgconfig/nss-util.pc
  396. %{_bindir}/nss-config
  397. %{_bindir}/nss-util-config
  398. %dir %{_includedir}/nss3
  399. %{_includedir}/nss3/base64.h
  400. %{_includedir}/nss3/blapit.h
  401. %{_includedir}/nss3/cert.h
  402. %{_includedir}/nss3/certdb.h
  403. %{_includedir}/nss3/certt.h
  404. %{_includedir}/nss3/ciferfam.h
  405. %{_includedir}/nss3/cmmf.h
  406. %{_includedir}/nss3/cmmft.h
  407. %{_includedir}/nss3/cms.h
  408. %{_includedir}/nss3/cmsreclist.h
  409. %{_includedir}/nss3/cmst.h
  410. %{_includedir}/nss3/crmf.h
  411. %{_includedir}/nss3/crmft.h
  412. %{_includedir}/nss3/cryptohi.h
  413. %{_includedir}/nss3/cryptoht.h
  414. %{_includedir}/nss3/ecl-exp.h
  415. %{_includedir}/nss3/hasht.h
  416. %{_includedir}/nss3/jar-ds.h
  417. %{_includedir}/nss3/jar.h
  418. %{_includedir}/nss3/jarfile.h
  419. %{_includedir}/nss3/key.h
  420. %{_includedir}/nss3/keyhi.h
  421. %{_includedir}/nss3/keyt.h
  422. %{_includedir}/nss3/keythi.h
  423. %{_includedir}/nss3/nss.h
  424. %{_includedir}/nss3/nssb64.h
  425. %{_includedir}/nss3/nssb64t.h
  426. %{_includedir}/nss3/nssckbi.h
  427. %{_includedir}/nss3/nssilckt.h
  428. %{_includedir}/nss3/nssilock.h
  429. %{_includedir}/nss3/nsslocks.h
  430. %{_includedir}/nss3/nsslowhash.h
  431. %{_includedir}/nss3/nsspem.h
  432. %{_includedir}/nss3/nssrwlk.h
  433. %{_includedir}/nss3/nssrwlkt.h
  434. %{_includedir}/nss3/nssutil.h
  435. %{_includedir}/nss3/ocsp.h
  436. %{_includedir}/nss3/ocspt.h
  437. %{_includedir}/nss3/p12.h
  438. %{_includedir}/nss3/p12plcy.h
  439. %{_includedir}/nss3/p12t.h
  440. %{_includedir}/nss3/pk11func.h
  441. %{_includedir}/nss3/pk11pqg.h
  442. %{_includedir}/nss3/pk11priv.h
  443. %{_includedir}/nss3/pk11pub.h
  444. %{_includedir}/nss3/pk11sdr.h
  445. %{_includedir}/nss3/pkcs11.h
  446. %{_includedir}/nss3/pkcs11f.h
  447. %{_includedir}/nss3/pkcs11n.h
  448. %{_includedir}/nss3/pkcs11p.h
  449. %{_includedir}/nss3/pkcs11t.h
  450. %{_includedir}/nss3/pkcs11u.h
  451. %{_includedir}/nss3/pkcs12.h
  452. %{_includedir}/nss3/pkcs12t.h
  453. %{_includedir}/nss3/pkcs7t.h
  454. %{_includedir}/nss3/pkcs1sig.h
  455. %{_includedir}/nss3/portreg.h
  456. %{_includedir}/nss3/preenc.h
  457. %{_includedir}/nss3/secasn1.h
  458. %{_includedir}/nss3/secasn1t.h
  459. %{_includedir}/nss3/seccomon.h
  460. %{_includedir}/nss3/secder.h
  461. %{_includedir}/nss3/secdert.h
  462. %{_includedir}/nss3/secdig.h
  463. %{_includedir}/nss3/secdigt.h
  464. %{_includedir}/nss3/secerr.h
  465. %{_includedir}/nss3/sechash.h
  466. %{_includedir}/nss3/secitem.h
  467. %{_includedir}/nss3/secmime.h
  468. %{_includedir}/nss3/secmod.h
  469. %{_includedir}/nss3/secmodt.h
  470. %{_includedir}/nss3/secoid.h
  471. %{_includedir}/nss3/secoidt.h
  472. %{_includedir}/nss3/secpkcs5.h
  473. %{_includedir}/nss3/secpkcs7.h
  474. %{_includedir}/nss3/secport.h
  475. %{_includedir}/nss3/shsign.h
  476. %{_includedir}/nss3/smime.h
  477. %{_includedir}/nss3/ssl.h
  478. %{_includedir}/nss3/sslerr.h
  479. %{_includedir}/nss3/sslproto.h
  480. %{_includedir}/nss3/sslt.h
  481. %{_includedir}/nss3/utilrename.h
  482. %{_includedir}/nss3/utilmodt.h
  483. %{_includedir}/nss3/utilpars.h
  484. %{_includedir}/nss3/utilparst.h
  485. %files pkcs11-devel
  486. %defattr(-, root, root)
  487. %{_includedir}/nss3/nssbase.h
  488. %{_includedir}/nss3/nssbaset.h
  489. %{_includedir}/nss3/nssckepv.h
  490. %{_includedir}/nss3/nssckft.h
  491. %{_includedir}/nss3/nssckfw.h
  492. %{_includedir}/nss3/nssckfwc.h
  493. %{_includedir}/nss3/nssckfwt.h
  494. %{_includedir}/nss3/nssckg.h
  495. %{_includedir}/nss3/nssckmdt.h
  496. %{_includedir}/nss3/nssckt.h
  497. %{_libdir}/libnssb.a
  498. %{_libdir}/libnssckfw.a
  499. ## to build compat32 for x86_64 architecture support
  500. %if %{build_compat32}
  501. %files -n compat32-%{name}
  502. %defattr(-,root,root)
  503. %{_libdir}/*.so
  504. %ghost %{_libdir}/libsoftokn3.chk
  505. %ghost %{_libdir}/libfreebl3.chk
  506. %{unsupported_tools_directory}/shlibsign
  507. %endif
  508. %changelog
  509. * Tue May 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.21.1-1
  510. - update to 3.21.1
  511. - import patches from centos package
  512. * Thu Jun 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.16.1-1
  513. - update to 3.16.1
  514. * Thu Apr 04 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.3-1
  515. - update to 3.14.3
  516. - import patches from fedora package
  517. * Wed Jan 09 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.1-1
  518. - update to 3.14.1
  519. * Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.6-2
  520. - add Source101 (nss-util.pc.in)
  521. - add Source102 (nss-util-config.in)
  522. * Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.6-1
  523. - new upstream release
  524. * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.3-1
  525. - new upstream release
  526. * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-2
  527. - fix nss.pc
  528. * Wed Dec 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-1
  529. - new upstream release
  530. * Fri Sep 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.11-1
  531. - new upstram release
  532. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.10-1
  533. - update to 3.12.10
  534. * Tue Mar 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.9-1
  535. - update to 3.12.9.with.ckbi.1.82
  536. - update nss-pem source
  537. - define NSS_USE_SYSTEM_SQLITE, remove unneeded Patch2
  538. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.6-2
  539. - rebuild with rpm-4.8.1 for pkg-config file
  540. * Wed Apr 7 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12.6-1
  541. - new upstream release
  542. - update nss-pem Source12 to 20091210 (from 3.12.6-2.fc14)
  543. * Sat Jan 23 2010 NAKAMURA Kenta <kenta@vinelinux.org> 3.12.5-2
  544. - built with FREEBL_NO_DEPEND environmental variable to include nsslowhash.h
  545. * Sat Jan 09 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.5-1
  546. - new upstream release
  547. * Mon Jul 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-4
  548. - rebuild to fix the package built with broken environment.
  549. * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-3
  550. - fixed %%files for compat32
  551. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-2
  552. - added compat32 subpackages
  553. * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-1
  554. - new upstream release
  555. * Wed Jul 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12-1
  556. - new upstream release
  557. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.11.4-0vl1
  558. - initial build for Vine Linux
  559. * Fri Mar 02 2007 Kai Engert <kengert@redhat.com> - 3.11.5-2
  560. - Fix rhbz#230545, failure to enable FIPS mode
  561. - Fix rhbz#220542, make NSS more tolerant of resets when in the
  562. middle of prompting for a user password.
  563. * Sat Feb 24 2007 Kai Engert <kengert@redhat.com> - 3.11.5-1
  564. - Update to 3.11.5
  565. - This update fixes two security vulnerabilities with SSL 2
  566. - Do not use -rpath link option
  567. - Added several unsupported tools to tools package
  568. * Tue Jan 9 2007 Bob Relyea <rrelyea@redhat.com> - 3.11.4-4
  569. - disable ECC, cleanout dead code
  570. * Tue Nov 28 2006 Kai Engert <kengert@redhat.com> - 3.11.4-1
  571. - Update to 3.11.4
  572. * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-2
  573. - Revert the attempt to require latest NSPR, as it is not yet available
  574. in the build infrastructure.
  575. * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-1
  576. - Update to 3.11.3
  577. * Thu Aug 03 2006 Kai Engert <kengert@redhat.com> - 3.11.2-2
  578. - Add /etc/pki/nssdb
  579. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.11.2-1.1
  580. - rebuild
  581. * Fri Jun 30 2006 Kai Engert <kengert@redhat.com> - 3.11.2-1
  582. - Update to 3.11.2
  583. - Enable executable bit on shared libs, also fixes debug info.
  584. * Wed Jun 14 2006 Kai Engert <kengert@redhat.com> - 3.11.1-2
  585. - Enable Elliptic Curve Cryptography (ECC)
  586. * Fri May 26 2006 Kai Engert <kengert@redhat.com> - 3.11.1-1
  587. - Update to 3.11.1
  588. - Include upstream patch to limit curves
  589. * Wed Feb 15 2006 Kai Engert <kengert@redhat.com> - 3.11-4
  590. - add --noexecstack when compiling assembler on x86_64
  591. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.2
  592. - bump again for double-long bug on ppc(64)
  593. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.1
  594. - rebuilt for new gcc4.1 snapshot and glibc changes
  595. * Thu Jan 19 2006 Ray Strode <rstrode@redhat.com> 3.11-3
  596. - rebuild
  597. * Fri Dec 16 2005 Christopher Aillon <caillon@redhat.com> 3.11-2
  598. - Update file list for the devel packages
  599. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-1
  600. - Update to 3.11
  601. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs.2
  602. - Add patch to allow building on ppc*
  603. - Update the pkgconfig file to Require nspr
  604. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs
  605. - Initial import into Fedora Core, based on a CVS snapshot of
  606. the NSS_3_11_RTM tag
  607. - Fix up the pkcs11-devel subpackage to contain the proper headers
  608. - Build with RPM_OPT_FLAGS
  609. - No need to have rpath of /usr/lib in the pc file
  610. * Thu Dec 15 2005 Kai Engert <kengert@redhat.com>
  611. - Adressed review comments by Wan-Teh Chang, Bob Relyea,
  612. Christopher Aillon.
  613. * Sat Jul 9 2005 Rob Crittenden <rcritten@redhat.com> 3.10-1
  614. - Initial build