summaryrefslogtreecommitdiff
path: root/external/nss
AgeCommit message (Collapse)AuthorFilesLines
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann1-1/+1
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-02Fix nss on MSVC 14.0David Ostrovsky2-1/+14
Change-Id: I8c2f18a509ae6686af4ede5b0daa8291d164c9fd Reviewed-on: https://gerrit.libreoffice.org/18211 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-07-03nss: upgrade to release 3.19.2Michael Stahl5-2589/+4
- drop nss-linux-x86-patch.0: this was actually patching OS/2-specific code so is evidently obsolete - drop nspr-build-config.patch: there does not appear to be any justification why this huge patch exists at all, so the only reasonable thing to do is to drop it - nss_macosx.patch: drop several hunks relevant only to unuspported MacOSX/PPC platform Change-Id: Id55fcb8eaa637c10a42203f1897480df8a6ec0fa
2015-06-13TyposJulien Nabet1-1/+1
Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
2015-06-12external/nss: -fsanitize=nonnull-attributeStephan Bergmann1-0/+11
Change-Id: Ic3a20f56250d99a347df5deaf785800a2f96e470
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos1-1/+1
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2014-11-13Work around InterlockedExchange not exported from kernel32.dll on x64Stephan Bergmann1-0/+11
...as reported in a comment on <http://msdn.microsoft.com/en-us/library/windows/ desktop/ms683590%28v=vs.85%29.aspx> "InterlockedExchange function" Change-Id: Ie71edd7a5ce8ff3c922d607e174a4c4d43c08c1d
2014-10-27nss: add libnsspem.dylib to macosx-change-install-names.pl callRobert Antoni Buj i Gelonch1-0/+1
Change-Id: If457f9e090a4ef3a5b2b8e4f09ce0b5e3b3d04ec Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-21Cross-compilation fixTor Lillqvist1-1/+5
Change-Id: I205afbd9c1cbe3a286359036cbdcf6aa9d986f71
2014-10-21Make the patch apply again after NSS updateTor Lillqvist1-2/+2
Change-Id: I935188ee90b4c56c5a4d7cc374a26e4b182beb5f
2014-10-16MAC_OS_X_VERSION_MIN_REQUIRED is always >= 1080 nowTor Lillqvist2-2/+1
Change-Id: I40d03ab9acb67ab72b9047017452f069ce88fd4b
2014-10-09bump nss from 3.15.3 to 3.16.5Caolán McNamara7-1629/+2073
Change-Id: I8318982eb1cee1a694dbdd504e0ca106a29d807e Reviewed-on: https://gerrit.libreoffice.org/11700 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-02fdo#82430: MSVC build: avoid using SSE2 instructions in some externalsMichael Stahl1-1/+1
Hopefully this should fix up the most important external libraries. Change-Id: I744cb5a2ce7fafb10852059050cf24589d6ca400
2014-08-13Make NSS build also as 64-bit ARM code for iOSTor Lillqvist2-0/+13
Change-Id: I03cda6ca1886a3cfad87cc438282eeea8c2a5299
2014-08-12More NSS static linking patchesTor Lillqvist2-0/+40
I noticed in the debugger that this code tried to load a freebl dylib, but after then making it link to the freebl entry point statically, I no longer see it being entered. Huh, confusing. Making NSS work on iOS to the extent we need is a pain. Change-Id: Iafc3785752587c38566441f566e187859022733e
2014-08-12Use Chromium's patch to build NSS statically for iOSTor Lillqvist2-0/+488
Change-Id: Ica2cf641bc54f6e924b759cd4cf96dd96347c53b
2014-08-11First attempt at building NSS for iOS, tooTor Lillqvist5-5/+115
Let's hope that the various static archives that get built by the NSS build machinery contain what an iOS app that needs NSS services requires. I patch out the construction of any dylibs and executables in nss. We don't use any dylibs on iOS anyway, and of course don't need any NSS executables either. Change-Id: Ic977c6e3d6c4e953202e78f8e08c4e61f6c9cb1b
2014-08-08Generalize -fsanitize=address checksStephan Bergmann1-1/+3
...that are at least also relevant for -fsanitize=undefined Change-Id: I39044d2a73912a605af8e965eb1cdf8dfd4f0051
2014-08-06left shift of 4276994303 by 32 places cannot be represented in type 'long'Stephan Bergmann2-1/+15
Change-Id: Ie9ddc5a42116720e0602d7fb38360f01b71df69c
2014-07-17fdo#72277: don't build and use nsspem when building against system curlCédric Bosdonnat2-4/+23
System CURL will know how to get the CA bundle from the system openSSL. There is no need to have internal NSS CA database support. Change-Id: Ie5074c78f7d78b2c2f452d4d4e11c98222529883
2014-07-16nss: document why --with-system-nss can't be used in generic buildsMichael Stahl1-0/+16
Change-Id: I93ce16b4dd059ca0ed79975cfb6373dd629f29a9
2014-07-15fdo#72277: NSS-PEM windows fixes.Cédric Bosdonnat1-7/+82
Added missing SEC_ASN1_MKSUB for windows to build Use PL_strcasecmp instead of strcasecmp. Fixed remaining declaration not at begining of a block Added missing nsspem.rc for windows Change-Id: I144f9cf19c0efe85ad68011cf81e0466aa1ac9f5
2014-07-15fdo#72277: NSS-PEM, use PR_snprintf instead of snprintfCédric Bosdonnat1-13/+18
Change-Id: I8aeb9a787992deb784e4e4430f7e0eab57f9a598
2014-07-15fdo#72277: NSS-PEM yet another build fix for MS compilerCédric Bosdonnat1-3/+4
Change-Id: I524a14cd124e69e288de5ae8464eb611989dffde
2014-07-15fdo#72277: nss-pem fixed windows and macos build errorsCédric Bosdonnat1-11/+10
Change-Id: I30b4036b6cf00dec753115bbc59990daec27ef20
2014-07-15fdo#72277: Use NSS CACERT in cmis ucp with internal curlCédric Bosdonnat3-0/+6285
This fix contains two parts: * initialize NSS in the CMIS UCP right before sending an HTTP request in case internal curl is used. This makes internal curl find the NSS CACERT database from the user mozilla profile. * add nsspem to allow curl to use CACERTs from libnssckbi. Without libnsspem curl is unable to read the certificates from the NSS database. The nss-pem code has been extracted from the fedora-hosted repository: https://git.fedorahosted.org/cgit/nss-pem.git Change-Id: Ie8dedf020480cca01bf9761382886566a1150778
2014-07-11avoid -arch for bundled OpenSSL, Python3, and nss/nspr on OSX@PowerPCDouglas Mencken2-16/+36
this fixes gcc: error: unrecognized command line option '-arch' The '-arch' option is part of Apple's extensions to GCC, and it is uncompatible with "vanilla" GCC from FSF. Also, we're not building "universal binaries". Change-Id: I44e7c72bbb1dd4be5ac9cdbc4f210aaccea513b4 Reviewed-on: https://gerrit.libreoffice.org/10117 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-10nss/nspr: update build/autoconf/config.{guess,sub}rbuj2-0/+2124
Update the file nss/nspr/build/autoconf/config.guess to the version 2014-03-23. Update the file nss/nspr/build/autoconf/config.sub to the version 2014-05-01. Create the file nss/nspr/build/autoconf/GPLv3.txt. Change-Id: Ifc508a3c1bee57f810588d0013971e4bf1984c10 Reviewed-on: https://gerrit.libreoffice.org/10148 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-09nss: build fails with Win32 make due to backslashesMichael Stahl2-0/+21
Change-Id: I9621b3ae12072634a707123ea375f6eb546d9cf9
2014-05-15-fsanitize=address does not like -z defsMarkus Mohrhard2-0/+18
Change-Id: Id2a5c3009b46f9f91706b433411ca9f9c3cb7e39 Reviewed-on: https://gerrit.libreoffice.org/9334 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-11normalize values of MINGW_SHARED_GCCLIB/MINGW_SHARED_GXXLIBMichael Stahl1-3/+3
Change-Id: I4f4cecd95f87b9d37fa1b1a270cf554d7707aaa2
2014-02-27normalize values of CROSS_COMPILINGMichael Stahl1-2/+2
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-24nss: continue delivering libsqlite on Mac OS X 10.5Douglas Mencken3-2/+4
Change-Id: Ibfd47071c73fc5f6c48d268a1f00d7f52762d0f2 Reviewed-on: https://gerrit.libreoffice.org/8204 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-14Linux x86 nss/lib/freebl/mpi/mpi_x86.s confusion of mp_digit sizeStephan Bergmann2-0/+11
see <https://groups.google.com/forum/#!topic/mozilla.dev.security/n16bQj4qZHc> Change-Id: I6635d187b29d6b50fbccaf3f4c29d72660fcaa5e
2014-02-12normalize values of SYSTEM_ZLIB, SYSTEM_DICTS, SYSTEM_FONTCONFIGMichael Stahl1-1/+1
Change-Id: I7530cb9d0797df5fc86695b0379cc44c159d2ab5
2014-02-12fdo#74825: fix missing lcms2/libxslt/curl in installation setsMichael Stahl1-1/+1
The assumption that all configure variables had been normalized to TRUE/<empty> turned out not to hold; convert a bit more in that direction. (regression from 4af38b099c741c3676aefeb20c515913aaeed666) Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
2014-02-05quote AR, etc. for AR='callcatcher ar'Caolán McNamara1-1/+1
Change-Id: I8dbaeb87e65114e8db4571fe5f9c58974ff4e701
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-1/+1
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-14nss: remove permission changes from nss_macosx.patchMichael Stahl2-46/+15
... and instead do that in ExternalProject, which should be more maintainable than patching. Change-Id: I0ccf5697976399cf4f92c53e896492044ee6492d
2013-11-14nss: move Darwin stuff from nss.patch to nss_macosx.patchMichael Stahl3-64/+60
Change-Id: I5fc7cdbcdf079edb101f6a8c3851c4cf4f92e258
2013-11-14nss: upgrade to 3.15.3Michael Stahl12-281/+195
- from nss_macosx.patch drop nmedit hunk (removed upstream) - adapt include and lib paths to changed tarball directory layout Change-Id: Ia5dcce8dfd9d10e7e4ba689eefa9f39a51596dfe Reviewed-on: https://gerrit.libreoffice.org/6670 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-13nss: remove obsolete signing-disabling patchMichael Stahl1-21/+0
Obsolete since the Mac build uses NSS_USE_SYSTEM_SQLITE=1 now. Change-Id: Ic02756c06a992d0f19849a4edf1e6305eafb8660
2013-11-07fdo#42783: remove CPU variable from environmentMichael Stahl1-3/+3
Replace uses with CPUNAME instead, and get rid of the horrible postgresql patch that worked around environment leakage. Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
2013-11-04fdo#70393: move nss to a subdir of externalKhaled Hosny16-0/+1623
Change-Id: Ibbeb6b284c6c5fb9bba4ad52abed69321bba90d8 Reviewed-on: https://gerrit.libreoffice.org/6545 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>