[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
[7624] | 3 | %define nspr_version 4.9.6 |
---|
[521] | 4 | %define unsupported_tools_directory %{_libdir}/nss/unsupported-tools |
---|
| 5 | |
---|
| 6 | Summary: Network Security Services |
---|
| 7 | Name: nss |
---|
[7624] | 8 | Version: 3.14.3 |
---|
[7315] | 9 | Release: 1%{?_dist_release} |
---|
[3189] | 10 | License: MPLv1.1 or GPLv2+ or LGPLv2+ |
---|
[521] | 11 | URL: http://www.mozilla.org/projects/security/pki/nss/ |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | |
---|
[4016] | 14 | Source0: %{name}-%{version}.tar.gz |
---|
[521] | 15 | Source1: nss.pc.in |
---|
| 16 | Source2: nss-config.in |
---|
| 17 | Source3: blank-cert8.db |
---|
| 18 | Source4: blank-key3.db |
---|
| 19 | Source5: blank-secmod.db |
---|
[7315] | 20 | Source12: %{name}-pem-20120811.tar.bz2 |
---|
[6811] | 21 | Source101: nss-util.pc.in |
---|
| 22 | Source102: nss-util-config.in |
---|
[521] | 23 | |
---|
[7624] | 24 | Patch2: add-relro-linker-option.patch |
---|
| 25 | Patch3: renegotiate-transitional.patch |
---|
[521] | 26 | Patch6: nss-enable-pem.patch |
---|
[7624] | 27 | Patch16: nss-539183.patch |
---|
| 28 | Patch18: nss-646045.patch |
---|
| 29 | # must statically link pem against the freebl in the buildroot |
---|
| 30 | # Needed only when freebl on tree has new APIS |
---|
| 31 | #Patch25: nsspem-use-system-freebl.patch |
---|
| 32 | # This patch is currently meant for stable branches |
---|
| 33 | Patch29: nss-ssl-cbc-random-iv-off-by-default.patch |
---|
| 34 | # Prevent users from trying to enable ssl pkcs11 bypass |
---|
| 35 | Patch39: nss-ssl-enforce-no-pkcs11-bypass.path |
---|
| 36 | # TODO: Remove this patch when the ocsp test are fixed |
---|
| 37 | Patch40: nss-3.14.0.0-disble-ocsp-test.patch |
---|
| 38 | # Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=835919 |
---|
| 39 | Patch43: no-softoken-freebl-tests.patch |
---|
| 40 | Patch44: 0001-sync-up-with-upstream-softokn-changes.patch |
---|
| 41 | Patch45: Bug-896651-pem-dont-trash-keys-on-failed-login.patch |
---|
[521] | 42 | |
---|
| 43 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 44 | BuildRequires: nspr-devel >= %{nspr_version} |
---|
| 45 | BuildRequires: sqlite3-devel |
---|
| 46 | BuildRequires: zlib-devel |
---|
| 47 | BuildRequires: pkgconfig |
---|
| 48 | BuildRequires: gawk |
---|
| 49 | Provides: mozilla-nss |
---|
| 50 | Obsoletes: mozilla-nss |
---|
| 51 | Requires: nspr >= %{nspr_version} |
---|
| 52 | |
---|
| 53 | %description |
---|
| 54 | Network Security Services (NSS) is a set of libraries designed to |
---|
| 55 | support cross-platform development of security-enabled client and |
---|
| 56 | server applications. Applications built with NSS can support SSL v2 |
---|
| 57 | and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 |
---|
| 58 | v3 certificates, and other security standards. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %package tools |
---|
| 62 | Summary: Tools for the Network Security Services |
---|
| 63 | Group: System Environment/Base |
---|
| 64 | Requires: nss = %{version}-%{release} |
---|
| 65 | |
---|
| 66 | %description tools |
---|
| 67 | Network Security Services (NSS) is a set of libraries designed to |
---|
| 68 | support cross-platform development of security-enabled client and |
---|
| 69 | server applications. Applications built with NSS can support SSL v2 |
---|
| 70 | and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 |
---|
| 71 | v3 certificates, and other security standards. |
---|
| 72 | |
---|
| 73 | Install the nss-tools package if you need command-line tools to |
---|
| 74 | manipulate the NSS certificate and key database. |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %package devel |
---|
| 78 | Summary: Development libraries for Network Security Services |
---|
| 79 | Group: Development/Libraries |
---|
| 80 | Requires: nss = %{version}-%{release} |
---|
| 81 | Requires: nspr-devel >= %{nspr_version} |
---|
| 82 | Provides: mozilla-nss-devel |
---|
| 83 | Obsoletes: mozilla-nss-devel |
---|
| 84 | |
---|
| 85 | %description devel |
---|
| 86 | Header and Library files for doing development with Network Security Services. |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %package pkcs11-devel |
---|
| 90 | Summary: Development libraries for PKCS #11 (Cryptoki) using NSS |
---|
| 91 | Group: Development/Libraries |
---|
| 92 | Requires: nss-devel = %{version}-%{release} |
---|
| 93 | |
---|
| 94 | %description pkcs11-devel |
---|
| 95 | Library files for developing PKCS #11 modules using basic NSS |
---|
| 96 | low level services. |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | ## to build compat32 for x86_64 architecture support |
---|
| 100 | %package -n compat32-%{name} |
---|
| 101 | Summary: Network Security Services |
---|
| 102 | Group: System Environment/Libraries |
---|
| 103 | |
---|
| 104 | %description -n compat32-%{name} |
---|
| 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 | |
---|
| 111 | |
---|
| 112 | %prep |
---|
| 113 | %setup -q |
---|
| 114 | %setup -q -T -D -n %{name}-%{version} -a 12 |
---|
[7624] | 115 | |
---|
| 116 | %patch2 -p0 -b .relro |
---|
| 117 | %patch3 -p0 -b .transitional |
---|
[521] | 118 | %patch6 -p0 -b .libpem |
---|
[7624] | 119 | %patch16 -p0 -b .539183 |
---|
| 120 | %patch18 -p0 -b .646045 |
---|
| 121 | # link pem against buildroot's freebl, essential when mixing and matching |
---|
| 122 | #%patch25 -p0 -b .systemfreebl |
---|
| 123 | # activate for stable and beta branches |
---|
| 124 | #%patch29 -p0 -b .cbcrandomivoff |
---|
| 125 | %patch39 -p1 -b .nobypass |
---|
| 126 | %patch40 -p1 -b .noocsptest |
---|
| 127 | %patch43 -p0 -b .nosoftokentests |
---|
| 128 | %patch44 -p1 -b .syncupwithupstream |
---|
| 129 | %patch45 -p0 -b .notrash |
---|
[521] | 130 | |
---|
| 131 | %build |
---|
| 132 | |
---|
[7624] | 133 | #NSS_NO_PKCS11_BYPASS=1 |
---|
| 134 | #export NSS_NO_PKCS11_BYPASS |
---|
[521] | 135 | |
---|
[7624] | 136 | #FREEBL_NO_DEPEND=1 |
---|
| 137 | #export FREEBL_NO_DEPEND |
---|
[5920] | 138 | |
---|
[521] | 139 | # Enable compiler optimizations and disable debugging code |
---|
| 140 | BUILD_OPT=1 |
---|
| 141 | export BUILD_OPT |
---|
| 142 | |
---|
| 143 | # Generate symbolic info for debuggers |
---|
| 144 | XCFLAGS=$RPM_OPT_FLAGS |
---|
| 145 | export XCFLAGS |
---|
| 146 | |
---|
| 147 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 |
---|
| 148 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 |
---|
| 149 | |
---|
| 150 | export PKG_CONFIG_ALLOW_SYSTEM_LIBS |
---|
| 151 | export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS |
---|
| 152 | |
---|
| 153 | NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nspr | sed 's/-I//'` |
---|
| 154 | NSPR_LIB_DIR=`/usr/bin/pkg-config --libs-only-L nspr | sed 's/-L//'` |
---|
| 155 | |
---|
| 156 | export NSPR_INCLUDE_DIR |
---|
| 157 | export NSPR_LIB_DIR |
---|
| 158 | |
---|
[7624] | 159 | export FREEBL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-softokn | sed 's/-I//'` |
---|
| 160 | export FREEBL_LIB_DIR=%{_libdir} |
---|
| 161 | export USE_SYSTEM_FREEBL=1 |
---|
| 162 | |
---|
| 163 | NSS_USE_SYSTEM_SQLITE=1 |
---|
| 164 | export NSS_USE_SYSTEM_SQLITE |
---|
| 165 | |
---|
[521] | 166 | %ifarch x86_64 ppc64 ia64 s390x |
---|
| 167 | USE_64=1 |
---|
| 168 | export USE_64 |
---|
| 169 | %endif |
---|
| 170 | |
---|
[7624] | 171 | # |
---|
[521] | 172 | %{__make} -C ./mozilla/security/coreconf |
---|
| 173 | %{__make} -C ./mozilla/security/dbm |
---|
| 174 | %{__make} -C ./mozilla/security/nss |
---|
| 175 | |
---|
| 176 | # Set up our package file |
---|
| 177 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig |
---|
| 178 | %{__cat} %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \ |
---|
| 179 | -e "s,%%prefix%%,%{_prefix},g" \ |
---|
| 180 | -e "s,%%exec_prefix%%,%{_prefix},g" \ |
---|
| 181 | -e "s,%%includedir%%,%{_includedir}/nss3,g" \ |
---|
| 182 | -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \ |
---|
[6811] | 183 | -e "s,%%NSS_VERSION%%,%{version},g" \ |
---|
| 184 | -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \ |
---|
[521] | 185 | $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc |
---|
| 186 | |
---|
| 187 | NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'` |
---|
| 188 | NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'` |
---|
| 189 | NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'` |
---|
| 190 | |
---|
| 191 | export NSS_VMAJOR |
---|
| 192 | export NSS_VMINOR |
---|
| 193 | export NSS_VPATCH |
---|
| 194 | |
---|
| 195 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir} |
---|
| 196 | %{__cat} %{SOURCE2} | sed -e "s,@libdir@,%{_libdir},g" \ |
---|
| 197 | -e "s,@prefix@,%{_prefix},g" \ |
---|
| 198 | -e "s,@exec_prefix@,%{_prefix},g" \ |
---|
| 199 | -e "s,@includedir@,%{_includedir}/nss3,g" \ |
---|
| 200 | -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \ |
---|
| 201 | -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \ |
---|
| 202 | -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \ |
---|
| 203 | > $RPM_BUILD_ROOT/%{_bindir}/nss-config |
---|
| 204 | |
---|
| 205 | chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config |
---|
| 206 | |
---|
[6811] | 207 | %{__cat} %{SOURCE101} | sed -e "s,%%libdir%%,%{_libdir},g" \ |
---|
| 208 | -e "s,%%prefix%%,%{_prefix},g" \ |
---|
| 209 | -e "s,%%exec_prefix%%,%{_prefix},g" \ |
---|
| 210 | -e "s,%%includedir%%,%{_includedir}/nss3,g" \ |
---|
| 211 | -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \ |
---|
| 212 | -e "s,%%NSSUTIL_VERSION%%,%{version},g" > \ |
---|
| 213 | $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss-util.pc |
---|
[521] | 214 | |
---|
[6811] | 215 | NSSUTIL_VMAJOR=`cat mozilla/security/nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMAJOR" | awk '{print $3}'` |
---|
| 216 | NSSUTIL_VMINOR=`cat mozilla/security/nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VMINOR" | awk '{print $3}'` |
---|
| 217 | NSSUTIL_VPATCH=`cat mozilla/security/nss/lib/util/nssutil.h | grep "#define.*NSSUTIL_VPATCH" | awk '{print $3}'` |
---|
| 218 | |
---|
| 219 | export NSSUTIL_VMAJOR |
---|
| 220 | export NSSUTIL_VMINOR |
---|
| 221 | export NSSUTIL_VPATCH |
---|
| 222 | |
---|
| 223 | %{__cat} %{SOURCE102} | sed -e "s,@libdir@,%{_libdir},g" \ |
---|
| 224 | -e "s,@prefix@,%{_prefix},g" \ |
---|
| 225 | -e "s,@exec_prefix@,%{_prefix},g" \ |
---|
| 226 | -e "s,@includedir@,%{_includedir}/nss3,g" \ |
---|
| 227 | -e "s,@MOD_MAJOR_VERSION@,$NSSUTIL_VMAJOR,g" \ |
---|
| 228 | -e "s,@MOD_MINOR_VERSION@,$NSSUTIL_VMINOR,g" \ |
---|
| 229 | -e "s,@MOD_PATCH_VERSION@,$NSSUTIL_VPATCH,g" \ |
---|
| 230 | > $RPM_BUILD_ROOT/%{_bindir}/nss-util-config |
---|
| 231 | |
---|
| 232 | chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-util-config |
---|
| 233 | |
---|
[521] | 234 | %install |
---|
| 235 | |
---|
| 236 | # There is no make install target so we'll do it ourselves. |
---|
| 237 | |
---|
| 238 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3 |
---|
[7624] | 239 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3/templates |
---|
[521] | 240 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir} |
---|
| 241 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir} |
---|
| 242 | %{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory} |
---|
[7624] | 243 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig |
---|
[521] | 244 | |
---|
| 245 | # Copy the binary libraries we want |
---|
| 246 | for file in libsoftokn3.so libfreebl3.so libnss3.so libnssutil3.so \ |
---|
| 247 | libssl3.so libsmime3.so libnssckbi.so libnsspem.so libnssdbm3.so |
---|
| 248 | do |
---|
| 249 | %{__install} -m 755 mozilla/dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir} |
---|
| 250 | done |
---|
| 251 | |
---|
| 252 | # These ghost files will be generated in the post step |
---|
| 253 | touch $RPM_BUILD_ROOT/%{_libdir}/libsoftokn3.chk |
---|
| 254 | touch $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.chk |
---|
| 255 | |
---|
| 256 | # Install the empty NSS db files |
---|
| 257 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb |
---|
| 258 | %{__install} -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert8.db |
---|
| 259 | %{__install} -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key3.db |
---|
| 260 | %{__install} -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/secmod.db |
---|
| 261 | |
---|
| 262 | # Copy the development libraries we want |
---|
| 263 | for file in libcrmf.a libnssb.a libnssckfw.a |
---|
| 264 | do |
---|
| 265 | %{__install} -m 644 mozilla/dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir} |
---|
| 266 | done |
---|
| 267 | |
---|
| 268 | # Copy the binaries we want |
---|
| 269 | for file in certutil cmsutil crlutil modutil pk12util signtool signver ssltap |
---|
| 270 | do |
---|
| 271 | %{__install} -m 755 mozilla/dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{_bindir} |
---|
| 272 | done |
---|
| 273 | |
---|
| 274 | # Copy the binaries we ship as unsupported |
---|
| 275 | for file in atob btoa derdump ocspclnt pp selfserv shlibsign strsclnt symkeyutil tstclnt vfyserv vfychain |
---|
| 276 | do |
---|
| 277 | %{__install} -m 755 mozilla/dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory} |
---|
| 278 | done |
---|
| 279 | |
---|
| 280 | # Copy the include files |
---|
| 281 | for file in mozilla/dist/public/nss/*.h |
---|
| 282 | do |
---|
| 283 | %{__install} -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3 |
---|
| 284 | done |
---|
| 285 | |
---|
| 286 | |
---|
| 287 | %clean |
---|
| 288 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 289 | |
---|
| 290 | |
---|
| 291 | %post |
---|
| 292 | /sbin/ldconfig >/dev/null 2>/dev/null |
---|
| 293 | %{unsupported_tools_directory}/shlibsign -i %{_libdir}/libsoftokn3.so >/dev/null 2>/dev/null |
---|
| 294 | %{unsupported_tools_directory}/shlibsign -i %{_libdir}/libfreebl3.so >/dev/null 2>/dev/null |
---|
| 295 | |
---|
| 296 | |
---|
| 297 | %postun |
---|
| 298 | /sbin/ldconfig >/dev/null 2>/dev/null |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | %files |
---|
| 302 | %defattr(-,root,root) |
---|
| 303 | %{_libdir}/libnss3.so |
---|
| 304 | %{_libdir}/libnssutil3.so |
---|
| 305 | %{_libdir}/libnssdbm3.so |
---|
| 306 | %{_libdir}/libssl3.so |
---|
| 307 | %{_libdir}/libsmime3.so |
---|
| 308 | %{_libdir}/libsoftokn3.so |
---|
| 309 | %{_libdir}/libnssckbi.so |
---|
| 310 | %{_libdir}/libnsspem.so |
---|
| 311 | %{_libdir}/libfreebl3.so |
---|
| 312 | %{unsupported_tools_directory}/shlibsign |
---|
| 313 | %ghost %{_libdir}/libsoftokn3.chk |
---|
| 314 | %ghost %{_libdir}/libfreebl3.chk |
---|
| 315 | %dir %{_sysconfdir}/pki/nssdb |
---|
| 316 | %config(noreplace) %{_sysconfdir}/pki/nssdb/cert8.db |
---|
| 317 | %config(noreplace) %{_sysconfdir}/pki/nssdb/key3.db |
---|
| 318 | %config(noreplace) %{_sysconfdir}/pki/nssdb/secmod.db |
---|
| 319 | |
---|
| 320 | %files tools |
---|
| 321 | %defattr(-,root,root) |
---|
| 322 | %{_bindir}/certutil |
---|
| 323 | %{_bindir}/cmsutil |
---|
| 324 | %{_bindir}/crlutil |
---|
| 325 | %{_bindir}/modutil |
---|
| 326 | %{_bindir}/pk12util |
---|
| 327 | %{_bindir}/signtool |
---|
| 328 | %{_bindir}/signver |
---|
| 329 | %{_bindir}/ssltap |
---|
| 330 | %{unsupported_tools_directory}/atob |
---|
| 331 | %{unsupported_tools_directory}/btoa |
---|
| 332 | %{unsupported_tools_directory}/derdump |
---|
| 333 | %{unsupported_tools_directory}/ocspclnt |
---|
| 334 | %{unsupported_tools_directory}/pp |
---|
| 335 | %{unsupported_tools_directory}/selfserv |
---|
| 336 | %{unsupported_tools_directory}/strsclnt |
---|
| 337 | %{unsupported_tools_directory}/symkeyutil |
---|
| 338 | %{unsupported_tools_directory}/tstclnt |
---|
| 339 | %{unsupported_tools_directory}/vfyserv |
---|
| 340 | %{unsupported_tools_directory}/vfychain |
---|
| 341 | |
---|
| 342 | |
---|
| 343 | %files devel |
---|
| 344 | %defattr(-,root,root) |
---|
| 345 | %{_libdir}/libcrmf.a |
---|
| 346 | %{_libdir}/pkgconfig/nss.pc |
---|
[6811] | 347 | %{_libdir}/pkgconfig/nss-util.pc |
---|
[521] | 348 | %{_bindir}/nss-config |
---|
[6811] | 349 | %{_bindir}/nss-util-config |
---|
[521] | 350 | |
---|
| 351 | %dir %{_includedir}/nss3 |
---|
| 352 | %{_includedir}/nss3/base64.h |
---|
| 353 | %{_includedir}/nss3/blapit.h |
---|
| 354 | %{_includedir}/nss3/cert.h |
---|
| 355 | %{_includedir}/nss3/certdb.h |
---|
| 356 | %{_includedir}/nss3/certt.h |
---|
| 357 | %{_includedir}/nss3/ciferfam.h |
---|
| 358 | %{_includedir}/nss3/cmmf.h |
---|
| 359 | %{_includedir}/nss3/cmmft.h |
---|
| 360 | %{_includedir}/nss3/cms.h |
---|
| 361 | %{_includedir}/nss3/cmsreclist.h |
---|
| 362 | %{_includedir}/nss3/cmst.h |
---|
| 363 | %{_includedir}/nss3/crmf.h |
---|
| 364 | %{_includedir}/nss3/crmft.h |
---|
| 365 | %{_includedir}/nss3/cryptohi.h |
---|
| 366 | %{_includedir}/nss3/cryptoht.h |
---|
| 367 | %{_includedir}/nss3/ecl-exp.h |
---|
| 368 | %{_includedir}/nss3/hasht.h |
---|
| 369 | %{_includedir}/nss3/jar-ds.h |
---|
| 370 | %{_includedir}/nss3/jar.h |
---|
| 371 | %{_includedir}/nss3/jarfile.h |
---|
| 372 | %{_includedir}/nss3/key.h |
---|
| 373 | %{_includedir}/nss3/keyhi.h |
---|
| 374 | %{_includedir}/nss3/keyt.h |
---|
| 375 | %{_includedir}/nss3/keythi.h |
---|
| 376 | %{_includedir}/nss3/nss.h |
---|
| 377 | %{_includedir}/nss3/nssb64.h |
---|
| 378 | %{_includedir}/nss3/nssb64t.h |
---|
| 379 | %{_includedir}/nss3/nssckbi.h |
---|
| 380 | %{_includedir}/nss3/nssilckt.h |
---|
| 381 | %{_includedir}/nss3/nssilock.h |
---|
| 382 | %{_includedir}/nss3/nsslocks.h |
---|
| 383 | %{_includedir}/nss3/nsslowhash.h |
---|
| 384 | %{_includedir}/nss3/nsspem.h |
---|
| 385 | %{_includedir}/nss3/nssrwlk.h |
---|
| 386 | %{_includedir}/nss3/nssrwlkt.h |
---|
| 387 | %{_includedir}/nss3/nssutil.h |
---|
| 388 | %{_includedir}/nss3/ocsp.h |
---|
| 389 | %{_includedir}/nss3/ocspt.h |
---|
| 390 | %{_includedir}/nss3/p12.h |
---|
| 391 | %{_includedir}/nss3/p12plcy.h |
---|
| 392 | %{_includedir}/nss3/p12t.h |
---|
| 393 | %{_includedir}/nss3/pk11func.h |
---|
| 394 | %{_includedir}/nss3/pk11pqg.h |
---|
| 395 | %{_includedir}/nss3/pk11priv.h |
---|
| 396 | %{_includedir}/nss3/pk11pub.h |
---|
| 397 | %{_includedir}/nss3/pk11sdr.h |
---|
| 398 | %{_includedir}/nss3/pkcs11.h |
---|
| 399 | %{_includedir}/nss3/pkcs11f.h |
---|
| 400 | %{_includedir}/nss3/pkcs11n.h |
---|
| 401 | %{_includedir}/nss3/pkcs11p.h |
---|
| 402 | %{_includedir}/nss3/pkcs11t.h |
---|
| 403 | %{_includedir}/nss3/pkcs11u.h |
---|
| 404 | %{_includedir}/nss3/pkcs12.h |
---|
| 405 | %{_includedir}/nss3/pkcs12t.h |
---|
| 406 | %{_includedir}/nss3/pkcs7t.h |
---|
| 407 | %{_includedir}/nss3/portreg.h |
---|
| 408 | %{_includedir}/nss3/preenc.h |
---|
| 409 | %{_includedir}/nss3/secasn1.h |
---|
| 410 | %{_includedir}/nss3/secasn1t.h |
---|
| 411 | %{_includedir}/nss3/seccomon.h |
---|
| 412 | %{_includedir}/nss3/secder.h |
---|
| 413 | %{_includedir}/nss3/secdert.h |
---|
| 414 | %{_includedir}/nss3/secdig.h |
---|
| 415 | %{_includedir}/nss3/secdigt.h |
---|
| 416 | %{_includedir}/nss3/secerr.h |
---|
| 417 | %{_includedir}/nss3/sechash.h |
---|
| 418 | %{_includedir}/nss3/secitem.h |
---|
| 419 | %{_includedir}/nss3/secmime.h |
---|
| 420 | %{_includedir}/nss3/secmod.h |
---|
| 421 | %{_includedir}/nss3/secmodt.h |
---|
| 422 | %{_includedir}/nss3/secoid.h |
---|
| 423 | %{_includedir}/nss3/secoidt.h |
---|
| 424 | %{_includedir}/nss3/secpkcs5.h |
---|
| 425 | %{_includedir}/nss3/secpkcs7.h |
---|
| 426 | %{_includedir}/nss3/secport.h |
---|
| 427 | %{_includedir}/nss3/shsign.h |
---|
| 428 | %{_includedir}/nss3/smime.h |
---|
| 429 | %{_includedir}/nss3/ssl.h |
---|
| 430 | %{_includedir}/nss3/sslerr.h |
---|
| 431 | %{_includedir}/nss3/sslproto.h |
---|
| 432 | %{_includedir}/nss3/sslt.h |
---|
| 433 | %{_includedir}/nss3/utilrename.h |
---|
[7315] | 434 | %{_includedir}/nss3/utilmodt.h |
---|
| 435 | %{_includedir}/nss3/utilpars.h |
---|
| 436 | %{_includedir}/nss3/utilparst.h |
---|
| 437 | |
---|
[521] | 438 | |
---|
| 439 | %files pkcs11-devel |
---|
| 440 | %defattr(-, root, root) |
---|
| 441 | %{_includedir}/nss3/nssbase.h |
---|
| 442 | %{_includedir}/nss3/nssbaset.h |
---|
| 443 | %{_includedir}/nss3/nssckepv.h |
---|
| 444 | %{_includedir}/nss3/nssckft.h |
---|
| 445 | %{_includedir}/nss3/nssckfw.h |
---|
| 446 | %{_includedir}/nss3/nssckfwc.h |
---|
| 447 | %{_includedir}/nss3/nssckfwt.h |
---|
| 448 | %{_includedir}/nss3/nssckg.h |
---|
| 449 | %{_includedir}/nss3/nssckmdt.h |
---|
| 450 | %{_includedir}/nss3/nssckt.h |
---|
| 451 | %{_libdir}/libnssb.a |
---|
| 452 | %{_libdir}/libnssckfw.a |
---|
| 453 | |
---|
| 454 | |
---|
| 455 | ## to build compat32 for x86_64 architecture support |
---|
| 456 | %if %{build_compat32} |
---|
| 457 | %files -n compat32-%{name} |
---|
| 458 | %defattr(-,root,root) |
---|
| 459 | %{_libdir}/*.so |
---|
| 460 | %ghost %{_libdir}/libsoftokn3.chk |
---|
| 461 | %ghost %{_libdir}/libfreebl3.chk |
---|
| 462 | %{unsupported_tools_directory}/shlibsign |
---|
| 463 | %endif |
---|
| 464 | |
---|
| 465 | |
---|
| 466 | %changelog |
---|
[7624] | 467 | * Thu Apr 04 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.3-1 |
---|
| 468 | - update to 3.24.3 |
---|
| 469 | - import patches from fedora package |
---|
| 470 | |
---|
[7315] | 471 | * Wed Jan 09 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.14.1-1 |
---|
| 472 | - update to 3.14.1 |
---|
| 473 | |
---|
[6811] | 474 | * Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.6-2 |
---|
| 475 | - add Source101 (nss-util.pc.in) |
---|
| 476 | - add Source102 (nss-util-config.in) |
---|
| 477 | |
---|
[6792] | 478 | * Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.6-1 |
---|
| 479 | - new upstream release |
---|
| 480 | |
---|
[5920] | 481 | * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13.3-1 |
---|
| 482 | - new upstream release |
---|
| 483 | |
---|
[5305] | 484 | * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-2 |
---|
| 485 | - fix nss.pc |
---|
| 486 | |
---|
[5303] | 487 | * Wed Dec 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.1-1 |
---|
| 488 | - new upstream release |
---|
| 489 | |
---|
[4846] | 490 | * Fri Sep 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.11-1 |
---|
| 491 | - new upstram release |
---|
| 492 | |
---|
[4016] | 493 | * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.10-1 |
---|
| 494 | - update to 3.12.10 |
---|
| 495 | |
---|
[3189] | 496 | * Tue Mar 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.9-1 |
---|
| 497 | - update to 3.12.9.with.ckbi.1.82 |
---|
| 498 | - update nss-pem source |
---|
| 499 | - define NSS_USE_SYSTEM_SQLITE, remove unneeded Patch2 |
---|
| 500 | |
---|
[1883] | 501 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.6-2 |
---|
| 502 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 503 | |
---|
[753] | 504 | * Wed Apr 7 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12.6-1 |
---|
| 505 | - new upstream release |
---|
| 506 | - update nss-pem Source12 to 20091210 (from 3.12.6-2.fc14) |
---|
| 507 | |
---|
[521] | 508 | * Sat Jan 23 2010 NAKAMURA Kenta <kenta@vinelinux.org> 3.12.5-2 |
---|
| 509 | - built with FREEBL_NO_DEPEND environmental variable to include nsslowhash.h |
---|
| 510 | |
---|
| 511 | * Sat Jan 09 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.5-1 |
---|
| 512 | - new upstream release |
---|
| 513 | |
---|
| 514 | * Mon Jul 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-4 |
---|
| 515 | - rebuild to fix the package built with broken environment. |
---|
| 516 | |
---|
| 517 | * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-3 |
---|
| 518 | - fixed %%files for compat32 |
---|
| 519 | |
---|
| 520 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.12.3-2 |
---|
| 521 | - added compat32 subpackages |
---|
| 522 | |
---|
| 523 | * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12.3-1 |
---|
| 524 | - new upstream release |
---|
| 525 | |
---|
| 526 | * Wed Jul 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.12-1 |
---|
| 527 | - new upstream release |
---|
| 528 | |
---|
| 529 | * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.11.4-0vl1 |
---|
| 530 | - initial build for Vine Linux |
---|
| 531 | |
---|
| 532 | * Fri Mar 02 2007 Kai Engert <kengert@redhat.com> - 3.11.5-2 |
---|
| 533 | - Fix rhbz#230545, failure to enable FIPS mode |
---|
| 534 | - Fix rhbz#220542, make NSS more tolerant of resets when in the |
---|
| 535 | middle of prompting for a user password. |
---|
| 536 | |
---|
| 537 | * Sat Feb 24 2007 Kai Engert <kengert@redhat.com> - 3.11.5-1 |
---|
| 538 | - Update to 3.11.5 |
---|
| 539 | - This update fixes two security vulnerabilities with SSL 2 |
---|
| 540 | - Do not use -rpath link option |
---|
| 541 | - Added several unsupported tools to tools package |
---|
| 542 | |
---|
| 543 | * Tue Jan 9 2007 Bob Relyea <rrelyea@redhat.com> - 3.11.4-4 |
---|
| 544 | - disable ECC, cleanout dead code |
---|
| 545 | |
---|
| 546 | * Tue Nov 28 2006 Kai Engert <kengert@redhat.com> - 3.11.4-1 |
---|
| 547 | - Update to 3.11.4 |
---|
| 548 | |
---|
| 549 | * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-2 |
---|
| 550 | - Revert the attempt to require latest NSPR, as it is not yet available |
---|
| 551 | in the build infrastructure. |
---|
| 552 | |
---|
| 553 | * Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-1 |
---|
| 554 | - Update to 3.11.3 |
---|
| 555 | |
---|
| 556 | * Thu Aug 03 2006 Kai Engert <kengert@redhat.com> - 3.11.2-2 |
---|
| 557 | - Add /etc/pki/nssdb |
---|
| 558 | |
---|
| 559 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.11.2-1.1 |
---|
| 560 | - rebuild |
---|
| 561 | |
---|
| 562 | * Fri Jun 30 2006 Kai Engert <kengert@redhat.com> - 3.11.2-1 |
---|
| 563 | - Update to 3.11.2 |
---|
| 564 | - Enable executable bit on shared libs, also fixes debug info. |
---|
| 565 | |
---|
| 566 | * Wed Jun 14 2006 Kai Engert <kengert@redhat.com> - 3.11.1-2 |
---|
| 567 | - Enable Elliptic Curve Cryptography (ECC) |
---|
| 568 | |
---|
| 569 | * Fri May 26 2006 Kai Engert <kengert@redhat.com> - 3.11.1-1 |
---|
| 570 | - Update to 3.11.1 |
---|
| 571 | - Include upstream patch to limit curves |
---|
| 572 | |
---|
| 573 | * Wed Feb 15 2006 Kai Engert <kengert@redhat.com> - 3.11-4 |
---|
| 574 | - add --noexecstack when compiling assembler on x86_64 |
---|
| 575 | |
---|
| 576 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.2 |
---|
| 577 | - bump again for double-long bug on ppc(64) |
---|
| 578 | |
---|
| 579 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.1 |
---|
| 580 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 581 | |
---|
| 582 | * Thu Jan 19 2006 Ray Strode <rstrode@redhat.com> 3.11-3 |
---|
| 583 | - rebuild |
---|
| 584 | |
---|
| 585 | * Fri Dec 16 2005 Christopher Aillon <caillon@redhat.com> 3.11-2 |
---|
| 586 | - Update file list for the devel packages |
---|
| 587 | |
---|
| 588 | * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-1 |
---|
| 589 | - Update to 3.11 |
---|
| 590 | |
---|
| 591 | * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs.2 |
---|
| 592 | - Add patch to allow building on ppc* |
---|
| 593 | - Update the pkgconfig file to Require nspr |
---|
| 594 | |
---|
| 595 | * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs |
---|
| 596 | - Initial import into Fedora Core, based on a CVS snapshot of |
---|
| 597 | the NSS_3_11_RTM tag |
---|
| 598 | - Fix up the pkcs11-devel subpackage to contain the proper headers |
---|
| 599 | - Build with RPM_OPT_FLAGS |
---|
| 600 | - No need to have rpath of /usr/lib in the pc file |
---|
| 601 | |
---|
| 602 | * Thu Dec 15 2005 Kai Engert <kengert@redhat.com> |
---|
| 603 | - Adressed review comments by Wan-Teh Chang, Bob Relyea, |
---|
| 604 | Christopher Aillon. |
---|
| 605 | |
---|
[7624] | 606 | * Sat Jul 9 2005 Rob Crittenden <rcritten@redhat.com> 3.10-1 |
---|
[521] | 607 | - Initial build |
---|