nss-vl.spec 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define nspr_version 4.35
  3. %define pem_version 1.1.0
  4. %define unsupported_tools_directory %{_libdir}/nss/unsupported-tools
  5. %global allTools "certutil cmsutil crlutil derdump modutil pk12util pp signtool signver ssltap vfychain vfyserv"
  6. # Produce .chk files for the final stripped binaries
  7. #
  8. # NOTE: The LD_LIBRARY_PATH line guarantees shlibsign links
  9. # against the freebl that we just built. This is necessary
  10. # because the signing algorithm changed on 3.14 to DSA2 with SHA256
  11. # whereas we previously signed with DSA and SHA1. We must Keep this line
  12. # until all mock platforms have been updated.
  13. # After %%{__os_install_post} we would add
  14. # export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%%{_libdir}
  15. %define __spec_install_post \
  16. %{?__debug_package:%{__debug_install_post}} \
  17. %{__arch_install_post} \
  18. %{__os_install_post} \
  19. $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.so \
  20. $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreeblpriv3.so \
  21. $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libnssdbm3.so \
  22. $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libsoftokn3.so \
  23. %{nil}
  24. Summary: Network Security Services
  25. Name: nss
  26. Version: 3.101.1
  27. Release: 1%{?_dist_release}
  28. Group: system
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. License: MPLv1.1 or GPLv2+ or LGPLv2+
  32. URL: http://www.mozilla.org/projects/security/pki/nss/
  33. %define altver %(echo %{version} | sed -e 's/\\./_/g')
  34. Source0: https://archive.mozilla.org/pub/security/nss/releases/NSS_%{altver}_RTM/src/%{name}-%{version}.tar.gz
  35. Source1: nss.pc.in
  36. Source2: nss-config.in
  37. Source3: blank-cert8.db
  38. Source4: blank-key3.db
  39. Source5: blank-secmod.db
  40. Source6: blank-cert9.db
  41. Source7: blank-key4.db
  42. Source8: system-pkcs11.txt
  43. Source9: setup-nsssysinit.sh
  44. Source20: nss-config.xml
  45. Source21: setup-nsssysinit.xml
  46. Source22: pkcs11.txt.xml
  47. Source23: cert8.db.xml
  48. Source24: cert9.db.xml
  49. Source25: key3.db.xml
  50. Source26: key4.db.xml
  51. Source27: secmod.db.xml
  52. Source101: nss-util.pc.in
  53. Source102: nss-util-config.in
  54. Source103: nss-softokn.pc.in
  55. Source104: nss-softokn-config.in
  56. Source1000: https://github.com/kdudka/nss-pem/releases/download/nss-pem-%{pem_version}/nss-pem-%{pem_version}.tar.xz
  57. Source1001: pem-makefile.tar.gz
  58. # This patch uses the GCC -iquote option documented at
  59. # http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options
  60. # to give the in-tree headers a higher priority over the system headers,
  61. # when they are included through the quote form (#include "file.h").
  62. #
  63. # This ensures a build even when system headers are older. Such is the
  64. # case when starting an update with API changes or even private export
  65. # changes.
  66. #
  67. # Once the buildroot has been bootstrapped the patch may be removed
  68. # but it doesn't hurt to keep it.
  69. Patch4: iquote.patch
  70. Patch12: nss-signtool-format.patch
  71. # fedora disabled dbm by default
  72. Patch40: nss-no-dbm-man-page.patch
  73. # allow crypto policies to enable kyber
  74. Patch41: nss-3.101-enable-kyber-policy.patch
  75. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  76. BuildRequires: nspr-devel >= %{nspr_version}
  77. BuildRequires: sqlite3-devel
  78. BuildRequires: pkgconfig(zlib)
  79. BuildRequires: pkgconfig
  80. BuildRequires: gawk
  81. BuildRequires: psmisc
  82. BuildRequires: perl
  83. Provides: mozilla-nss
  84. Obsoletes: mozilla-nss
  85. Requires: nspr >= %{nspr_version}
  86. %description
  87. Network Security Services (NSS) is a set of libraries designed to
  88. support cross-platform development of security-enabled client and
  89. server applications. Applications built with NSS can support SSL v2
  90. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  91. v3 certificates, and other security standards.
  92. %package tools
  93. Summary: Tools for the Network Security Services
  94. Group: security
  95. Requires: nss = %{version}-%{release}
  96. %description tools
  97. Network Security Services (NSS) is a set of libraries designed to
  98. support cross-platform development of security-enabled client and
  99. server applications. Applications built with NSS can support SSL v2
  100. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  101. v3 certificates, and other security standards.
  102. Install the nss-tools package if you need command-line tools to
  103. manipulate the NSS certificate and key database.
  104. %package devel
  105. Summary: Development libraries for Network Security Services
  106. Group: programming
  107. Requires: nss = %{version}-%{release}
  108. Requires: nspr-devel >= %{nspr_version}
  109. Provides: mozilla-nss-devel
  110. Obsoletes: mozilla-nss-devel
  111. %description devel
  112. Header and Library files for doing development with Network Security Services.
  113. %package pkcs11-devel
  114. Summary: Development libraries for PKCS #11 (Cryptoki) using NSS
  115. Group: programming
  116. Requires: nss-devel = %{version}-%{release}
  117. %description pkcs11-devel
  118. Library files for developing PKCS #11 modules using basic NSS
  119. low level services.
  120. ## to build compat32 for x86_64 architecture support
  121. %package -n compat32-%{name}
  122. Summary: Network Security Services
  123. Group: system,legacy
  124. %description -n compat32-%{name}
  125. Network Security Services (NSS) is a set of libraries designed to
  126. support cross-platform development of security-enabled client and
  127. server applications. Applications built with NSS can support SSL v2
  128. and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
  129. v3 certificates, and other security standards.
  130. %debug_package
  131. %prep
  132. %setup -q
  133. %setup -q -T -D -n %{name}-%{version} -a 1000
  134. %{__mv} nss-pem-%{pem_version}/src nss/lib/ckfw/pem
  135. pushd nss/lib/ckfw/pem/
  136. tar xvf %{SOURCE1001}
  137. perl -pi -e 's/^#define USE_UTIL_DIRECTLY.*$//' ckpem.h
  138. popd
  139. pushd nss
  140. %autopatch -p1 -M 99
  141. popd
  142. # enable nss-pem
  143. sed -i -e 's/^DIRS = \. builtins/DIRS = . builtins pem/' \
  144. nss/lib/ckfw/manifest.mn
  145. pemNeedsFromSoftoken="lowkeyi lowkeyti softoken softoknt"
  146. for file in ${pemNeedsFromSoftoken}; do
  147. %{__cp} ./nss/lib/softoken/${file}.h ./nss/lib/ckfw/pem/
  148. done
  149. %{__cp} ./nss/lib/softoken/lowkeyi.h ./nss/cmd/rsaperf
  150. %{__cp} ./nss/lib/softoken/lowkeyti.h ./nss/cmd/rsaperf
  151. pushd nss/tests/ssl
  152. # Create versions of sslcov.txt and sslstress.txt that disable tests
  153. # for SSL2 and EXPORT ciphers.
  154. cat sslcov.txt| sed -r "s/^([^#].*EXPORT|^[^#].*SSL2)/#disabled \1/" > sslcov.noSSL2orExport.txt
  155. cat sslstress.txt| sed -r "s/^([^#].*EXPORT|^[^#].*SSL2)/#disabled \1/" > sslstress.noSSL2orExport.txt
  156. popd
  157. %build
  158. export NSS_NO_SSL2=1
  159. export NSS_NO_PKCS11_BYPASS=1
  160. # partial RELRO support as a security enhancement
  161. #LDFLAGS+=-Wl,-z,relro
  162. #export LDFLAGS
  163. export FREEBL_NO_DEPEND=1
  164. # Must export FREEBL_LOWHASH=1 for nsslowhash.h so that it gets
  165. # copied to dist and the rpm install phase can find it
  166. # This due of the upstream changes to fix
  167. # https://bugzilla.mozilla.org/show_bug.cgi?id=717906
  168. export FREEBL_LOWHASH=1
  169. # Enable compiler optimizations and disable debugging code
  170. export BUILD_OPT=1
  171. # Generate symbolic info for debuggers
  172. export XCFLAGS=$RPM_OPT_FLAGS
  173. # for gcc10
  174. export XCFLAGS="$XCFLAGS -Wno-nonnull"
  175. export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
  176. export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
  177. export NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nspr | sed 's/-I//'`
  178. export NSPR_LIB_DIR=`/usr/bin/pkg-config --libs-only-L nspr | sed 's/-L//'`
  179. #export FREEBL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-softokn | sed 's/-I//'`
  180. #export FREEBL_LIB_DIR=%{_libdir}
  181. export USE_SYSTEM_FREEBL=0
  182. export NSS_USE_SYSTEM_SQLITE=1
  183. export NSS_ALLOW_SSLKEYLOGFILE=1
  184. export USE_SYSTEM_ZLIB=1
  185. export ZLIB_LIBS=%{_libdir}
  186. %ifarch x86_64 ppc64 ia64 s390x
  187. export USE_64=1
  188. %endif
  189. # uncomment if the iquote patch is activated
  190. export IN_TREE_FREEBL_HEADERS_FIRST=1
  191. #export NSS_BLTEST_NOT_AVAILABLE=1
  192. #
  193. #%{__make} -C ./nss/coreconf
  194. #%{__make} -C ./nss/lib/dbm
  195. %{__make} -C ./nss prepare_build
  196. %{__make} -C ./nss/lib/freebl
  197. %{__make} -C ./nss
  198. %install
  199. # There is no make install target so we'll do it ourselves.
  200. %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3
  201. %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3/templates
  202. %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
  203. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}
  204. %{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory}
  205. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  206. # Copy the binary libraries we want
  207. for file in \
  208. libfreebl3.so \
  209. libfreeblpriv3.so \
  210. libnss3.so \
  211. libnssckbi.so \
  212. libnssdbm3.so \
  213. libnsspem.so \
  214. libnsssysinit.so \
  215. libnssutil3.so \
  216. libsmime3.so \
  217. libsoftokn3.so \
  218. libssl3.so
  219. do
  220. %{__install} -m 755 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
  221. done
  222. # Install the empty NSS db files
  223. # Legacy db
  224. %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb
  225. %{__install} -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert8.db
  226. %{__install} -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key3.db
  227. %{__install} -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/secmod.db
  228. # Shared db
  229. %{__install} -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert9.db
  230. %{__install} -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key4.db
  231. %{__install} -p -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/pkcs11.txt
  232. # Copy the development libraries we want
  233. for file in libcrmf.a libnssb.a libnssckfw.a
  234. do
  235. %{__install} -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
  236. done
  237. # Copy the binaries we want
  238. for file in certutil cmsutil crlutil modutil pk12util signtool signver ssltap
  239. do
  240. %{__install} -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{_bindir}
  241. done
  242. # Copy the binaries we ship as unsupported
  243. for file in atob btoa derdump ocspclnt pp selfserv shlibsign strsclnt symkeyutil tstclnt vfyserv vfychain
  244. do
  245. %{__install} -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
  246. done
  247. # Copy the include files
  248. for file in dist/public/nss/*.h
  249. do
  250. %{__install} -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3
  251. done
  252. # Copy the template files we want
  253. for file in nss/lib/ckfw/nssck.api
  254. do
  255. %{__install} -p -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3/templates
  256. done
  257. # Copy some freebl include files we also want
  258. for file in blapi.h alghmac.h
  259. do
  260. %{__install} -p -m 644 dist/private/nss/$file $RPM_BUILD_ROOT/%{_includedir}/nss3
  261. done
  262. # Copy the static freebl library
  263. for file in libfreebl.a
  264. do
  265. %{__install} -p -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
  266. done
  267. # Set up our package file
  268. %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  269. %{__cat} %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \
  270. -e "s,%%prefix%%,%{_prefix},g" \
  271. -e "s,%%exec_prefix%%,%{_prefix},g" \
  272. -e "s,%%includedir%%,%{_includedir}/nss3,g" \
  273. -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
  274. -e "s,%%NSS_VERSION%%,%{version},g" \
  275. -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \
  276. $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc
  277. NSS_VMAJOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
  278. NSS_VMINOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
  279. NSS_VPATCH=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
  280. export NSS_VMAJOR
  281. export NSS_VMINOR
  282. export NSS_VPATCH
  283. %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
  284. %{__cat} %{SOURCE2} | sed -e "s,@libdir@,%{_libdir},g" \
  285. -e "s,@prefix@,%{_prefix},g" \
  286. -e "s,@exec_prefix@,%{_prefix},g" \
  287. -e "s,@includedir@,%{_includedir}/nss3,g" \
  288. -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
  289. -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
  290. -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
  291. > $RPM_BUILD_ROOT/%{_bindir}/nss-config
  292. chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config
  293. %{__cat} %{SOURCE101} | sed -e "s,%%libdir%%,%{_libdir},g" \
  294. -e "s,%%prefix%%,%{_prefix},g" \
  295. -e "s,%%exec_prefix%%,%{_prefix},g" \
  296. -e "s,%%includedir%%,%{_includedir}/nss3,g" \
  297. -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
  298. -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \
  299. $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss-util.pc
  300. NSSUTIL_VMAJOR=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMAJOR" | awk '{print $3}'`
  301. NSSUTIL_VMINOR=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMINOR" | awk '{print $3}'`
  302. NSSUTIL_VPATCH=`cat nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VPATCH" | awk '{print $3}'`
  303. export NSSUTIL_VMAJOR
  304. export NSSUTIL_VMINOR
  305. export NSSUTIL_VPATCH
  306. %{__cat} %{SOURCE102} | sed -e "s,@libdir@,%{_libdir},g" \
  307. -e "s,@prefix@,%{_prefix},g" \
  308. -e "s,@exec_prefix@,%{_prefix},g" \
  309. -e "s,@includedir@,%{_includedir}/nss3,g" \
  310. -e "s,@MOD_MAJOR_VERSION@,$NSSUTIL_VMAJOR,g" \
  311. -e "s,@MOD_MINOR_VERSION@,$NSSUTIL_VMINOR,g" \
  312. -e "s,@MOD_PATCH_VERSION@,$NSSUTIL_VPATCH,g" \
  313. > $RPM_BUILD_ROOT/%{_bindir}/nss-util-config
  314. chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-util-config
  315. %{__cat} %{SOURCE103} | sed -e "s,%%libdir%%,%{_libdir},g" \
  316. -e "s,%%prefix%%,%{_prefix},g" \
  317. -e "s,%%exec_prefix%%,%{_prefix},g" \
  318. -e "s,%%includedir%%,%{_includedir}/nss3,g" \
  319. -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
  320. -e "s,%%NSSUTIL_VERSION%%,%{version},g" \
  321. -e "s,%%SOFTOKEN_VERSION%%,%{version},g" > \
  322. $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss-softokn.pc
  323. SOFTOKEN_VMAJOR=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VMAJOR" | awk '{print $3}'`
  324. SOFTOKEN_VMINOR=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VMINOR" | awk '{print $3}'`
  325. SOFTOKEN_VPATCH=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VPATCH" | awk '{print $3}'`
  326. export SOFTOKEN_VMAJOR
  327. export SOFTOKEN_VMINOR
  328. export SOFTOKEN_VPATCH
  329. %{__cat} %{SOURCE104} | sed -e "s,@libdir@,%{_libdir},g" \
  330. -e "s,@prefix@,%{_prefix},g" \
  331. -e "s,@exec_prefix@,%{_prefix},g" \
  332. -e "s,@includedir@,%{_includedir}/nss3,g" \
  333. -e "s,@MOD_MAJOR_VERSION@,$SOFTOKEN_VMAJOR,g" \
  334. -e "s,@MOD_MINOR_VERSION@,$SOFTOKEN_VMINOR,g" \
  335. -e "s,@MOD_PATCH_VERSION@,$SOFTOKEN_VPATCH,g" \
  336. > $RPM_BUILD_ROOT/%{_bindir}/nss-softokn-config
  337. chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-softokn-config
  338. %clean
  339. %{__rm} -rf $RPM_BUILD_ROOT
  340. %files
  341. %defattr(-,root,root)
  342. %{_libdir}/libfreebl3.so
  343. %{_libdir}/libfreeblpriv3.so
  344. %{_libdir}/libnss3.so
  345. %{_libdir}/libnssckbi.so
  346. %{_libdir}/libnssdbm3.so
  347. %{_libdir}/libnsspem.so
  348. %{_libdir}/libnsssysinit.so
  349. %{_libdir}/libnssutil3.so
  350. %{_libdir}/libsmime3.so
  351. %{_libdir}/libsoftokn3.so
  352. %{_libdir}/libssl3.so
  353. %{unsupported_tools_directory}/shlibsign
  354. %{_libdir}/libfreebl3.chk
  355. %{_libdir}/libfreeblpriv3.chk
  356. %{_libdir}/libnssdbm3.chk
  357. %{_libdir}/libsoftokn3.chk
  358. %dir %{_sysconfdir}/pki/nssdb
  359. %config(noreplace) %{_sysconfdir}/pki/nssdb/cert8.db
  360. %config(noreplace) %{_sysconfdir}/pki/nssdb/key3.db
  361. %config(noreplace) %{_sysconfdir}/pki/nssdb/secmod.db
  362. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/cert9.db
  363. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/key4.db
  364. %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/pkcs11.txt
  365. %files tools
  366. %defattr(-,root,root)
  367. %{_bindir}/certutil
  368. %{_bindir}/cmsutil
  369. %{_bindir}/crlutil
  370. %{_bindir}/modutil
  371. %{_bindir}/pk12util
  372. %{_bindir}/signtool
  373. %{_bindir}/signver
  374. %{_bindir}/ssltap
  375. %{unsupported_tools_directory}/atob
  376. %{unsupported_tools_directory}/btoa
  377. %{unsupported_tools_directory}/derdump
  378. %{unsupported_tools_directory}/ocspclnt
  379. %{unsupported_tools_directory}/pp
  380. %{unsupported_tools_directory}/selfserv
  381. %{unsupported_tools_directory}/strsclnt
  382. %{unsupported_tools_directory}/symkeyutil
  383. %{unsupported_tools_directory}/tstclnt
  384. %{unsupported_tools_directory}/vfyserv
  385. %{unsupported_tools_directory}/vfychain
  386. %files devel
  387. %defattr(-,root,root)
  388. %{_libdir}/libcrmf.a
  389. %{_libdir}/libfreebl.a
  390. %{_libdir}/pkgconfig/nss.pc
  391. %{_libdir}/pkgconfig/nss-softokn.pc
  392. %{_libdir}/pkgconfig/nss-util.pc
  393. %{_bindir}/nss-config
  394. %{_bindir}/nss-softokn-config
  395. %{_bindir}/nss-util-config
  396. %dir %{_includedir}/nss3
  397. %{_includedir}/nss3/alghmac.h
  398. %{_includedir}/nss3/base64.h
  399. %{_includedir}/nss3/blapi.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/eccutil.h
  415. %{_includedir}/nss3/ecl-exp.h
  416. %{_includedir}/nss3/hasht.h
  417. %{_includedir}/nss3/jar-ds.h
  418. %{_includedir}/nss3/jar.h
  419. %{_includedir}/nss3/jarfile.h
  420. %{_includedir}/nss3/key.h
  421. %{_includedir}/nss3/keyhi.h
  422. %{_includedir}/nss3/keyt.h
  423. %{_includedir}/nss3/keythi.h
  424. %{_includedir}/nss3/kyber.h
  425. %{_includedir}/nss3/lowkeyi.h
  426. %{_includedir}/nss3/lowkeyti.h
  427. %{_includedir}/nss3/nss.h
  428. %{_includedir}/nss3/nssb64.h
  429. %{_includedir}/nss3/nssb64t.h
  430. %{_includedir}/nss3/nssckbi.h
  431. %{_includedir}/nss3/nsshash.h
  432. %{_includedir}/nss3/nssilckt.h
  433. %{_includedir}/nss3/nssilock.h
  434. %{_includedir}/nss3/nsslocks.h
  435. %{_includedir}/nss3/nsslowhash.h
  436. %{_includedir}/nss3/nsspem.h
  437. %{_includedir}/nss3/nssrwlk.h
  438. %{_includedir}/nss3/nssrwlkt.h
  439. %{_includedir}/nss3/nssutil.h
  440. %{_includedir}/nss3/ocsp.h
  441. %{_includedir}/nss3/ocspt.h
  442. %{_includedir}/nss3/p12.h
  443. %{_includedir}/nss3/p12plcy.h
  444. %{_includedir}/nss3/p12t.h
  445. %{_includedir}/nss3/pk11func.h
  446. %{_includedir}/nss3/pk11hpke.h
  447. %{_includedir}/nss3/pk11pqg.h
  448. %{_includedir}/nss3/pk11priv.h
  449. %{_includedir}/nss3/pk11pub.h
  450. %{_includedir}/nss3/pk11sdr.h
  451. %{_includedir}/nss3/pkcs11.h
  452. %{_includedir}/nss3/pkcs11f.h
  453. %{_includedir}/nss3/pkcs11n.h
  454. %{_includedir}/nss3/pkcs11p.h
  455. %{_includedir}/nss3/pkcs11t.h
  456. %{_includedir}/nss3/pkcs11u.h
  457. %{_includedir}/nss3/pkcs11uri.h
  458. %{_includedir}/nss3/pkcs12.h
  459. %{_includedir}/nss3/pkcs12t.h
  460. %{_includedir}/nss3/pkcs7t.h
  461. %{_includedir}/nss3/pkcs1sig.h
  462. %{_includedir}/nss3/portreg.h
  463. %{_includedir}/nss3/preenc.h
  464. %{_includedir}/nss3/secasn1.h
  465. %{_includedir}/nss3/secasn1t.h
  466. %{_includedir}/nss3/seccomon.h
  467. %{_includedir}/nss3/secder.h
  468. %{_includedir}/nss3/secdert.h
  469. %{_includedir}/nss3/secdig.h
  470. %{_includedir}/nss3/secdigt.h
  471. %{_includedir}/nss3/secerr.h
  472. %{_includedir}/nss3/sechash.h
  473. %{_includedir}/nss3/secitem.h
  474. %{_includedir}/nss3/secmime.h
  475. %{_includedir}/nss3/secmod.h
  476. %{_includedir}/nss3/secmodt.h
  477. %{_includedir}/nss3/secoid.h
  478. %{_includedir}/nss3/secoidt.h
  479. %{_includedir}/nss3/secpkcs5.h
  480. %{_includedir}/nss3/secpkcs7.h
  481. %{_includedir}/nss3/secport.h
  482. %{_includedir}/nss3/shsign.h
  483. %{_includedir}/nss3/smime.h
  484. %{_includedir}/nss3/ssl.h
  485. %{_includedir}/nss3/sslerr.h
  486. %{_includedir}/nss3/sslexp.h
  487. %{_includedir}/nss3/sslproto.h
  488. %{_includedir}/nss3/sslt.h
  489. %{_includedir}/nss3/utilrename.h
  490. %{_includedir}/nss3/utilmodt.h
  491. %{_includedir}/nss3/utilpars.h
  492. %{_includedir}/nss3/utilparst.h
  493. %files pkcs11-devel
  494. %defattr(-, root, root)
  495. %{_includedir}/nss3/nssbase.h
  496. %{_includedir}/nss3/nssbaset.h
  497. %{_includedir}/nss3/nssckepv.h
  498. %{_includedir}/nss3/nssckft.h
  499. %{_includedir}/nss3/nssckfw.h
  500. %{_includedir}/nss3/nssckfwc.h
  501. %{_includedir}/nss3/nssckfwt.h
  502. %{_includedir}/nss3/nssckg.h
  503. %{_includedir}/nss3/nssckmdt.h
  504. %{_includedir}/nss3/nssckt.h
  505. %{_includedir}/nss3/templates/nssck.api
  506. %{_libdir}/libnssb.a
  507. %{_libdir}/libnssckfw.a
  508. ## to build compat32 for x86_64 architecture support
  509. %if %{build_compat32}
  510. %files -n compat32-%{name}
  511. %defattr(-,root,root)
  512. %{_libdir}/*.so
  513. %ghost %{_libdir}/libsoftokn3.chk
  514. %ghost %{_libdir}/libfreebl3.chk
  515. %ghost %{_libdir}/libfreeblpriv3.chk
  516. %ghost %{_libdir}/libnssdbm3.chk
  517. %{unsupported_tools_directory}/shlibsign
  518. %endif
  519. %changelog
  520. * Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.101.1-1
  521. - update to 3.101.1.
  522. * Mon Oct 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.94-1
  523. - update to 3.94.
  524. * Sun Nov 20 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.85-1
  525. - update to 3.85.
  526. * Fri Dec 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.73-1
  527. - update to 3.73.
  528. - updated nss-pem to 1.0.8.
  529. * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.69-1
  530. - update to 3.69.
  531. * Fri Jun 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.67-1
  532. - update to 3.67.
  533. - dropped ldconfig scriptlets.
  534. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.61-1
  535. - update to 3.61.
  536. - dropped Patch1001: fixed in upstream.
  537. * Fri Oct 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.58-1
  538. - update to 3.58.
  539. - imported Patch1001 from upstream of nss-pem.
  540. * Wed May 06 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.51.1-2
  541. - added missing libnsssysinit.so.
  542. * Sun Apr 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.51.1-1
  543. - update to 3.51.1.
  544. - updated nss-pem to 1.0.6.
  545. - dropped Patch1000: got same effect by sed.
  546. * Fri Sep 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.46-1
  547. - update to 3.46.
  548. - updated nss-pem to 1.0.5.
  549. - dropped Patch1001: fixed in upstream?
  550. * Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.40-1
  551. - update to 3.40.
  552. - dropped Patch40,59.
  553. - updated Patch3.
  554. - added Patch1001.
  555. * Mon Oct 09 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.33-1
  556. - update to 3.33.
  557. * Mon Jun 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.21.1-3
  558. - added libfreebl.a.
  559. * Mon Jun 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.21.1-2
  560. - enabled softokn and freebl.
  561. - dropped Patch47 and Patch49.
  562. * Tue May 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.21.1-1
  563. - update to 3.21.1
  564. - import patches from centos package
  565. * Thu Jun 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.16.1-1
  566. - update to 3.16.1
  567. * Thu Apr 04 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.3-1
  568. - update to 3.14.3
  569. - import patches from fedora package
  570. * Wed Jan 09 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.1-1
  571. - update to 3.14.1
  572. * Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.6-2
  573. - add Source101 (nss-util.pc.in)
  574. - add Source102 (nss-util-config.in)
  575. * Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.6-1
  576. - new upstream release
  577. * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.3-1
  578. - new upstream release
  579. * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-2
  580. - fix nss.pc
  581. * Wed Dec 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-1
  582. - new upstream release
  583. * Fri Sep 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.11-1
  584. - new upstram release
  585. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.10-1
  586. - update to 3.12.10
  587. * Tue Mar 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.9-1
  588. - update to 3.12.9.with.ckbi.1.82
  589. - update nss-pem source
  590. - define NSS_USE_SYSTEM_SQLITE, remove unneeded Patch2
  591. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.6-2
  592. - rebuild with rpm-4.8.1 for pkg-config file
  593. * Wed Apr 7 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12.6-1
  594. - new upstream release
  595. - update nss-pem Source12 to 20091210 (from 3.12.6-2.fc14)
  596. * Sat Jan 23 2010 NAKAMURA Kenta <kenta@vinelinux.org> 3.12.5-2
  597. - built with FREEBL_NO_DEPEND environmental variable to include nsslowhash.h
  598. * Sat Jan 09 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.5-1
  599. - new upstream release
  600. * Mon Jul 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-4
  601. - rebuild to fix the package built with broken environment.
  602. * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-3
  603. - fixed %%files for compat32
  604. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-2
  605. - added compat32 subpackages
  606. * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-1
  607. - new upstream release
  608. * Wed Jul 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12-1
  609. - new upstream release
  610. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.11.4-0vl1
  611. - initial build for Vine Linux
  612. * Fri Mar 02 2007 Kai Engert <kengert@redhat.com> - 3.11.5-2
  613. - Fix rhbz#230545, failure to enable FIPS mode
  614. - Fix rhbz#220542, make NSS more tolerant of resets when in the
  615. middle of prompting for a user password.
  616. * Sat Feb 24 2007 Kai Engert <kengert@redhat.com> - 3.11.5-1
  617. - Update to 3.11.5
  618. - This update fixes two security vulnerabilities with SSL 2
  619. - Do not use -rpath link option
  620. - Added several unsupported tools to tools package
  621. * Tue Jan 9 2007 Bob Relyea <rrelyea@redhat.com> - 3.11.4-4
  622. - disable ECC, cleanout dead code
  623. * Tue Nov 28 2006 Kai Engert <kengert@redhat.com> - 3.11.4-1
  624. - Update to 3.11.4
  625. * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-2
  626. - Revert the attempt to require latest NSPR, as it is not yet available
  627. in the build infrastructure.
  628. * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-1
  629. - Update to 3.11.3
  630. * Thu Aug 03 2006 Kai Engert <kengert@redhat.com> - 3.11.2-2
  631. - Add /etc/pki/nssdb
  632. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.11.2-1.1
  633. - rebuild
  634. * Fri Jun 30 2006 Kai Engert <kengert@redhat.com> - 3.11.2-1
  635. - Update to 3.11.2
  636. - Enable executable bit on shared libs, also fixes debug info.
  637. * Wed Jun 14 2006 Kai Engert <kengert@redhat.com> - 3.11.1-2
  638. - Enable Elliptic Curve Cryptography (ECC)
  639. * Fri May 26 2006 Kai Engert <kengert@redhat.com> - 3.11.1-1
  640. - Update to 3.11.1
  641. - Include upstream patch to limit curves
  642. * Wed Feb 15 2006 Kai Engert <kengert@redhat.com> - 3.11-4
  643. - add --noexecstack when compiling assembler on x86_64
  644. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.2
  645. - bump again for double-long bug on ppc(64)
  646. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.1
  647. - rebuilt for new gcc4.1 snapshot and glibc changes
  648. * Thu Jan 19 2006 Ray Strode <rstrode@redhat.com> 3.11-3
  649. - rebuild
  650. * Fri Dec 16 2005 Christopher Aillon <caillon@redhat.com> 3.11-2
  651. - Update file list for the devel packages
  652. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-1
  653. - Update to 3.11
  654. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs.2
  655. - Add patch to allow building on ppc*
  656. - Update the pkgconfig file to Require nspr
  657. * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs
  658. - Initial import into Fedora Core, based on a CVS snapshot of
  659. the NSS_3_11_RTM tag
  660. - Fix up the pkcs11-devel subpackage to contain the proper headers
  661. - Build with RPM_OPT_FLAGS
  662. - No need to have rpath of /usr/lib in the pc file
  663. * Thu Dec 15 2005 Kai Engert <kengert@redhat.com>
  664. - Adressed review comments by Wan-Teh Chang, Bob Relyea,
  665. Christopher Aillon.
  666. * Sat Jul 9 2005 Rob Crittenden <rcritten@redhat.com> 3.10-1
  667. - Initial build