summaryrefslogtreecommitdiff
path: root/openssl
AgeCommit message (Collapse)AuthorFilesLines
2013-09-12Unfortunately, openssl's "no-shared" apparently also implies no -fPICStephan Bergmann1-1/+1
...so building dynamic libraries down the road that link in the openssl archives fails. Band-aid fix that by always passing in -fPIC (alternatives would be to patch the openssl Makefiles to only build archives and no dynamic libraries even under "shared" or to find another fix for the original Mac OS X hiden visibility program that triggered 9f8736411d454bfd711ef964288c50aae9f9e375 "Only build in ExternalProject_openssl what's needed in ExternalPackage_openssl"). Change-Id: I6b92ab55b0bbd340aacf325823b1f297e95f9197
2013-09-12Looks like build_engines (incl. in build_libs) is needed afer allStephan Bergmann1-1/+1
...otherwise, building postgresql fails with missing "_ENGINE_load_4758cca" referenced from _ENGINE_load_builtin_engines in libcrypto.a(eng_all.o) etc. Change-Id: Ie3414164ee4f11a94cd59ec5ea072a40e99706fb
2013-09-12Only build in ExternalProject_openssl what's needed in ExternalPackage_opensslStephan Bergmann1-12/+11
...i.e., for non-MSC always use "non-shared" (this also prevents a build error when using -fvisibility-hidden on Mac OS X and linking fips_premain_dso misses symbols) and just build "lib_crypto lib_ssl". Also cleaned up the rest of the configure command line while trying not to change any of its meaning (and I have no idea about WNT-GCC lacking "no-idea", likely just lots of cargo cult there awaiting further clean-up). Change-Id: I34ec43975cda7af800eeba5d4f6a0beaeca6f6bc
2013-09-09openssl, libxmlsec: use gb_ExternalPackage_add_libraries_for_installMichael Stahl1-1/+1
Change-Id: I980307749c5fb6f3682374e091bbcb91cdebd5fa
2013-09-03Pass no-dso to the OpenSSL configuryTor Lillqvist1-0/+1
No idea why OpenSSL would need to load dynamic libraries. Avoid linking error on Linux when linking OpenSSL-using stuff (at least libpostgresql-sdbc-impl) as we don't use -ldl when linking it. Sure, we could instead add -ldl to the libraries used by libpostgresql-sdbc-impl I guess, but let's see first if this works. Change-Id: Ia4e5c6b8b08c127f378e1578de93c1fd5b213016
2013-09-03For some reason the asm code for rc4_md5_enc seems to go missing for x64 LinuxTor Lillqvist1-1/+1
So configure OpenSSL with the no-asm switch in that case. Change-Id: I3ac291a5ca7681c14c269682deaf82798d76f522
2013-09-03More headers need un-symlinking for MSVCTor Lillqvist1-0/+24
Change-Id: Ic5f0bfab4a729b0abca332454817aa899a5adc6f
2013-09-03Upgrade the bundled OpenSSL to 1.0.1eTor Lillqvist5-89/+21
Change-Id: I5bc15cd2a6e35a7e4dd203ceffb3b49e5949855c
2013-08-17enable binary package option for a set of 'stable' librariesNorbert Thiebaud1-1/+1
Change-Id: I8924ba22d178aa4d8e500ae3f484af654a37e87e Reviewed-on: https://gerrit.libreoffice.org/4765 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-06-10Revert "fix gold warning about hidden symbols"Stephan Bergmann1-0/+3
This reverts commit 9ff0ee4905068cbc85acf85da1b3ef762b324ed7. Whatever the gold warnings are exactly, this is apparently not the right fix. The change to openssl/ExternalProject_openssl.mk caused crashes when LO's libneon.so, statically linking in LO's libssl.a, started to export symbols like SSLv23_client_method as global, competing with the same symbol from a system's libssl.so. See the mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2013-June/053119.html> "strange crash in SSL code while opening some documents." Whether the change to expat/StaticLibrary_expat.mk caused similar problems is not clear to me, but it is probably best to revert both to be on the save side, and see what exactly the gold warning was about and how to fix it the right way if it ever shows up again.
2013-05-10Enable building OpenSSL for OS XTor Lillqvist1-1/+5
Note that this doesn't imply it *will* be built; that depends on configury options and changes to configure.ac. Change-Id: I5ed531bc8999f49b9e696523226454f99f253882
2013-05-10Attempt to clarify nested conditional messTor Lillqvist1-19/+40
Change-Id: I2c174e23b3f995d819ff8ab72281b386b26c1cfe
2013-05-07gbuild: ExternalProject: remove second parameter again...Michael Stahl1-1/+1
... now that everything is consistent. Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
2013-05-07gbuild: remove gb_ExternalProject_use_unpackedMichael Stahl1-3/+1
It must always be used exactly once, so replace it with constructor parameter. Change-Id: Ifbe87065c19a5185a5705dc461656179002ece5d
2013-04-20enable symbols and disable optimization in openssl for a dbgutil buildMarkus Mohrhard1-2/+3
Change-Id: I2100d40264c067b22548025ab3a3be32a23835a6 Reviewed-on: https://gerrit.libreoffice.org/3489 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Fix https://-related crashes.Jan Holesovsky1-3/+4
The internal openssl on 64bit linux was built as linux-generic32, instead of linux-generi64, which caused crashes later when used. This patch alignes it with the logic before gbuildization. Change-Id: I2919a91138e8f33ad50e64728496144bac815321
2013-04-15adapt all externals to build against MSVC debug runtimeMichael Stahl1-1/+1
Add patches and/or tweaks to the following modules: curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec, lpsolve, nss, openssl, python3 lcms2 has an inconsistency where the .lib and the .dll don't agree on the .dll name. openssl gets a honorable mention because apparently it's undocumented custom build system can build with /MDd if one picks the right configuration but i couldn't figure out how to do that in an hour of trying, and just patched the release config instead. Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-03-31fix gold warning about hidden symbolsPeter Foley1-3/+0
Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0
2013-03-21TypoTor Lillqvist1-1/+1
Change-Id: I32c5bc1736305d38fb86b1b8af7606ac6c7f0dd0
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28openssl: unset MAKEFLAGS on !MSC as wellMiklos Vajna1-4/+3
This fixes the following build error here: ar: creating ../libcrypto.a ar: cryptlib.o: No such file or directory make[2]: *** [../libcrypto.a] Error 1 Change-Id: I8f746f4ff44c3797583678e47956363c0cd49829
2013-02-22quiet external module build log unless failureNorbert Thiebaud1-27/+28
ExternalProject usually involve a configure and a make step that produce a bunch of output usually irrelevant including a large number of warning and other mess. now that everything is pretty much in tail_build these output get interleaved with useful output from the build of the product and actually drown them in a logorrhea of messy noise. This store the output of external modules in a log file and only print them as a whole if the module failed do build. on a non-verbose build. Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647 Reviewed-on: https://gerrit.libreoffice.org/2304 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-01-03Fix typo: s/VISIBILTIY/VISIBILITY/Tor Lillqvist1-1/+1
Change-Id: I6c031e9d2e9211409b28ce0c20a3cd11119ab86e
2012-12-31fix postgresql on winPeter Foley1-0/+2
Change-Id: I2c43441563cfb1237e6b2eaafe0acfaa5e952cde
2012-12-31convert openssl to gbuild and add to tail_buildPeter Foley16-11505/+238
Change-Id: I52c62a91e317f072237cf25ed54f3cc6456d82b3 Reviewed-on: https://gerrit.libreoffice.org/1495 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-10-07fix for openssl with MSVC when ccache is enabledPeter Foley1-1/+2
Change-Id: I93deea3a80178f51fff9a23328df7a67f308e052
2012-08-16fix openssl build with VS2012Peter Foley1-2/+2
Change-Id: Ic0e04ab920c50320785f2e1b847026cc4e7b1e0d
2012-06-22.patch files don't need executable bitsMichael Stahl1-0/+0
Change-Id: I0b370ac227bbd833078804d8a276b48666df734c
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-0/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-23update internal openssl to version 0.9.8vPetr Mladek9-68/+68
including important bug fixes
2012-03-20remove ToDouble/ToFloatCaolán McNamara1-1/+1
2012-03-20make ResId->OUString the primary routeCaolán McNamara1-1/+1
2012-03-16asm fixes in opensslLuboš Luňák2-5/+17
2012-03-16nss and openssl don't realiably build in paralleltinderbox1-1/+1
2012-03-06fix caseDavid Tardon1-1/+1
2012-02-29Simplify install name handling for external libraries on Mac OS XStephan Bergmann1-0/+5
...by allowing our special @___... tokens anywhere within an install name, so that external modules can configure --prefix=/@___... etc. This removes the need for the special extshl and EXTRPATH=LOADER. Also, a new OUT2BIN_NONE can be used for external modules where the generated libraries need the default EXTRPATH=OOO, but generated executables are only used during the build and such need RPATH=NONE.
2012-02-08Added and improved READMEs for modules whihc used to be in libs-externJosh Heidenreich1-0/+7
2012-01-21android: don't add -I/usr/include to the compile line - urkMichael Meeks1-0/+5
2011-08-26Bin USE_MINGWTor Lillqvist1-11/+0
Its alternative values as used by OOo is irrelevant to us as we don't intend to support building using MinGW on Windows itself. To us, MinGW always means cross-compilation. For us it is enough to look at $(OS)$(COM), and WNTGCC always implies cross-compilation. (OOo on the other hand attempts to support use of the Cygwin gcc with the -mno-cygwin option (which is practically considered an obsolete option), the normal MinGW compiler (but still from Cygwin), but not cros-compilation.)
2011-07-27Related: fdo#35404 force .a files to hidden visibilityCaolán McNamara1-1/+9
2011-07-01Don't hardcode -arch armv7 here, breaks build for simulatorTor Lillqvist1-1/+1
2011-06-13Enable building openssl for iOSTor Lillqvist2-0/+18
Wasn't that complicated after all.
2011-06-09First attempt at Android supportTor Lillqvist1-1/+1
2011-06-03Drop %_EXT% which was always emptyTor Lillqvist1-10/+10
2011-03-09Merge commit 'ooo/DEV300_m101' into intm101Jan Holesovsky2-2/+13
Conflicts: cppunit/ldflags.patch hyphen/hyphen-2.4.patch libegg/source/eggtrayicon.c libtextcat/makefile.mk
2011-01-24Fix typoTor Lillqvist1-1/+1
2011-01-24Fix OpenSSL build for x64 WindowsTor Lillqvist2-8/+24
For wntmscx, pass the platform code as VC-WIN64A to the OpenSSL build mechanism. Add the additional steps described in INSTALL.W64 to do_ms.bat: generate uptable.asm and assemble it. Avoid a problem with _vsnprintf by defining _CRT_NON_CONFORMING_SWPRINTFS.
2011-01-06mingwport33: i#116329: MinGW port enhancement: configurable libstdc++ nametono1-2/+2
2010-09-20sb126: #i110197# fixed merge conflictsb1-4/+4