summaryrefslogtreecommitdiff
path: root/external/openssl
AgeCommit message (Collapse)AuthorFilesLines
2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl1-3/+3
This gets rid of the horrible hack in gbuild.mk to accomodate the case-incorrect iOS platform makefiles that cannot be renamed without upsetting git on file systems that sadly lack the case sensitivity feature. Keep the macro defined to IOS though. Change-Id: I1022bfef4900da00e75fc1ccce786b20f8673234 Reviewed-on: https://gerrit.libreoffice.org/62705 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-09-03define PURIFY for openssl for dbgutil to silence valgrind spewCaolán McNamara1-0/+1
Change-Id: I318ca368f26e42038a043b1e264a619795a9515e Reviewed-on: https://gerrit.libreoffice.org/59945 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-08openssl: fix MSVC 64-bit buildMichael Stahl3-13/+26
For whatever reason OpenSSL wants to use "masm" (ml.exe) on 32-bit builds but "nasm" on 64-bit builds - this despite INSTALL.W32 claiming that only nasm is "supported". But /safeseh doesn't make sense on 64-bit anyway because there is no "unsafe" SEH there, so just apply the patch only for 32-bit. Change-Id: Ie32b17dfeeaf11c49ee29c3181021ffa5bd99091
2018-01-08openssl: MSVC build: link and run MSASM with /SAFESEHMichael Stahl1-2/+13
Actually the assembler requires lowercase /safeseh, oddly enough. Change-Id: I1569409a2d6358282a7463ea996a6b1615e6ed8c
2017-11-01external: consistently use gb_ExternalProject_use_nmakeMichael Stahl1-4/+3
... instead of hard-coding some subset of the variables everywhere. Change-Id: I5eac5663563ee9d6cb7b57f5f6e9d55560587276 Reviewed-on: https://gerrit.libreoffice.org/44167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-30openssl: remove Windows XP patchMichael Stahl1-11/+1
Change-Id: I6e80c33d134100235ac1007154ca7f6151b59c2f
2017-02-10Remove MinGW supportStephan Bergmann3-129/+1
In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-01upload openssl 1.0.2kDavid Tardon1-1/+1
Change-Id: I26d49db0207b3f4f64aa9698da4cf3567d195834 Reviewed-on: https://gerrit.libreoffice.org/33800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-10-23cond. build is already handled in Module_external.mkDavid Tardon1-2/+0
Change-Id: I5efe3bafc4f0b97578a75dc1f43e6c130a93bc4a
2016-09-20[API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann1-3/+2
* GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09Revert "Add --with-prebuilt-openssl"Tor Lillqvist1-3/+1
Building OpenSSL works fine for me now with a fresh Cygwin. Change-Id: Ic824704746ab59324e7a533b6c5545b6f1aa59f6
2016-03-07openssl: fix WNT buildMichael Stahl1-0/+2
For reasons beyond human understanding, the many-tentacled horror that openssl calls its build system puts headers in "inc32" directory on Windows and "include" on other platforms in 1.0.2g. Change-Id: If03c80f5a31bb6e378cd187051b020579af7f7bd
2016-03-07upgrade openssl to 1.0.2gCaolán McNamara6-76/+89
We can't "break symlinks after extracting tarball" because they populate that dir during the build now. So instead cripple mklink.pl to copy instead of link. (Configure no-symlinks simply skips the symlink step instead of copying, so that appears useless) Change-Id: Ib30b2c1b8b3de72511d09c478297a7a5a4bc691e Reviewed-on: https://gerrit.libreoffice.org/21880 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-22Revert "More LTO fixes for android"Tor Lillqvist1-1/+0
Seems to cause tinderbox build breakage, sigh. This reverts commit 1c1b788f38da07aed268be3c515a096594a107dc. Change-Id: I5a69e186e0f8f71c2fcc81d27bebe2253fd240bb Reviewed-on: https://gerrit.libreoffice.org/21699 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-01-22More LTO fixes for androidPeter Foley1-0/+1
Change-Id: Id9b4873b8213d9913d54b3821ba0be6ffa7ac188 Reviewed-on: https://gerrit.libreoffice.org/21612 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-01-07configure: hard-code /usr/bin/{sort,find} for CygwinMichael Stahl1-1/+1
... to avoid calling C:/Windows/system32/{sort,find}.exe, if those happen to be first in PATH. On a Windows 7 system, the other conflicts appear to be harmless, we don't use "more", "expand", "timeout", "whoami". Change-Id: Iceefeb7ee6725291b04c0eba465991bb1df96b57 Reviewed-on: https://gerrit.libreoffice.org/21175 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2015-12-10Add --with-prebuilt-opensslTor Lillqvist1-1/+3
Don't ask. Oh well, if you want to know: For some people, like me, Cygwin and its Perl run into horrible trouble with the fork() emulation when building OpenSSL. (But my Cygwin works fine for all else in the build. Go figure.) So I came up with a way to use prebuilt OpenSSL binaries. Not to be used for release builds, of course (and the configury checks for that), as long as our policy is to build all we can from sources. Change-Id: Ic303bdf0c620c5122aca3d646fa1f0587221e70f
2015-04-14openssl: drop SunStudio specific patch hunkMichael Stahl1-13/+0
Besides, wtf is it using -fast by default so the binaries don't run on any system other than the one that did the build? Change-Id: I5adc26fb6370a5292721df3167afc5485c15cb0a
2015-04-09upgrade to openssl-1.0.2aCaolán McNamara8-141/+134
and de-ifdef-per-platform the patch makefile so an upgrade attempt on one platform tests the patchs applying on all platforms ubsan.patch.0 was effectively applied upstream while need to add http://rt.openssl.org/Ticket/Display.html?id=3650 to build under windows Change-Id: Ieffd9bc3dd861a94a083d8b6b8d4117bba7f527c Reviewed-on: https://gerrit.libreoffice.org/15183 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-06external/openssl: Work around -fsanitize=nullStephan Bergmann2-0/+11
Change-Id: Ic47a1b43323f84971aed9b3cdb2ec83f9e931d6a
2014-08-14fdo#82430: configure: MSVC build: avoid using SSE2 instructionsMichael Stahl1-1/+1
MSVC 2012 for x86 defaults to -arch:SSE2; binaries do not run on any AMD 32-bit CPU, neither on Intel Pentium III. http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd%28v=vs.110%29.aspx Change-Id: Ie8253137db2699f2a7fa69c4ac4e7ded90931e3e
2014-08-13win64: make openssl workThomas Arnhold2-0/+48
fix windows style path separator to unix style, needed for cygwin. Change-Id: I4de78d6901378644857c28a59467b59ef886f47b Reviewed-on: https://gerrit.libreoffice.org/10855 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-11avoid -arch for bundled OpenSSL, Python3, and nss/nspr on OSX@PowerPCDouglas Mencken2-0/+16
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-06-09openssl: stop (ab)using fix_end_of_line to break symlinksMichael Stahl1-78/+9
Win32 make has problems because the command line gets too long. Change-Id: I157b7b2b61353b158b1a3f412331e54aafec206c
2014-05-19fdo#77891 fix python crash when in GUI mode, target WinXP with VS2012Christian Lohmaier2-0/+21
VS2012 did change return value of fileno function, this results in a crash when run in GUI mode (but not when launching from a shell), as python tries to access the nonexisting stdin/stdout/stderr Also explicitly target Windows XP Change-Id: Ic783713b55453f3c38b2e766a664b7f4678711de
2014-04-08openssl: fix WNT patch to applyMichael Stahl1-4/+5
Change-Id: I31494d4314557672b7e3c2ff6846663fb9ed981a
2014-04-08bump to openssl-1.0.1gCaolán McNamara2-109/+0
Change-Id: I1e0ee6aa3d136c75309c5c70011da787806efa1f
2014-04-08CVE-2014-0160 heartbeatCaolán McNamara2-0/+109
Change-Id: I00ee89f69d85010be5d3a537092349fa9eeb71c8
2014-03-11normalize values of MINGW_SHARED_GCCLIB/MINGW_SHARED_GXXLIBMichael Stahl1-2/+2
Change-Id: I4f4cecd95f87b9d37fa1b1a270cf554d7707aaa2
2014-02-24OpenSSL @OS X: choose correct build targetDouglas Mencken1-1/+3
Change-Id: I58f3cc12f2fa177c26608d372f99c086503a13a5 Reviewed-on: https://gerrit.libreoffice.org/8205 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
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-01-20Get bundled openssl to be used on OS X too, at least on OS X <10.7Douglas Mencken1-1/+1
Also note that OpenSSL is incompatible with -fvisibility=hidden on OS X Change-Id: I1fc3cf4d515ef210f996cb04ba9c1b3216109137 Reviewed-on: https://gerrit.libreoffice.org/7233 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-07fdo#42783: remove CPU variable from environmentMichael Stahl1-8/+6
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 openssl to a subdir of externalKhaled Hosny11-0/+628
Change-Id: I10bf92b18ee5ad56f1b4fbee3e4008b35b822be4 Reviewed-on: https://gerrit.libreoffice.org/6547 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>