1. 27 7月, 2017 1 次提交
    • R
      Simplify the handling of shared library version numbers · d4453024
      Richard Levitte 提交于
      $(SHLIB_MAJOR).$(SHLIB_MINOR) is really a synonym for
      $(SHLIB_VERSION_NUMBER), and is therefore an added complexity,
      so better to use $(SHLIB_VERSION_NUMBER) directly.  SHLIB_MAJOR and
      SHLIB_MINOR are now unused, but are kept around purely as information
      in case someone relies on their existence.
      
      At the same time, add support for custom shared library extensions
      with the three new Makefile variables SHLIB_EXT, SHLIB_EXT_SIMPLE and
      SHLIB_EXT_IMPORT.  By default, they hold the variants of shared
      library extensions we support.  On mingw and cygwin, SHLIB_EXT_IMPORT
      is defined; on all other Unix platforms, it's empty.
      
      An example to get shared libraries with a slightly different SOVER name:
      
          $ make SHLIB_EXT='.$(SHLIB_VERSION_NUMBER).so'
      
      Fixes #3902
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3964)
      d4453024
  2. 24 7月, 2017 1 次提交
    • R
      Simplify Makefile.shared · d07abe13
      Richard Levitte 提交于
      Makefile.shared was designed to figure out static library names,
      shared library names, library version compatibility, import library
      names and the like on its own.  This was a design for pre-1.1.0
      OpenSSL because the main Makefile didn't have all that knowledge.
      
      With 1.1.0, the situation isn't the same, a lot more knowledge is
      included in the main Makefile, and while Makefile.shared did things
      right most of the time (there are some corner cases, such as the
      choice of .sl or .so as DSO extension on some HPUX versions), there's
      still an inherent fragility when one has to keep an eye on
      Makefile.shared to make sure it produces what the main Makefile
      produces.
      
      This change simplifies Makefile.shared by removing all its
      "intelligence" and have it depend entirely on the input from the main
      Makefile instead.  That way, all the naming is driven from
      configuration data.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3983)
      d07abe13
  3. 30 6月, 2017 1 次提交
  4. 16 6月, 2017 2 次提交
  5. 09 6月, 2017 1 次提交
  6. 08 6月, 2017 1 次提交
    • R
      make error tables const and separate header file · 52df25cf
      Rich Salz 提交于
      Run perltidy on util/mkerr
      Change some mkerr flags, write some doc comments
      Make generated tables "const" when genearting lib-internal ones.
      Add "state" file for mkerr
      Renerate error tables and headers
      Rationalize declaration of ERR_load_XXX_strings
      Fix out-of-tree build
      Add -static; sort flags/vars for options.
      Also tweak code output
      Moved engines/afalg to engines (from master)
      Use -static flag
      Standard engine #include's of errors
      Don't linewrap err string tables unless necessary
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3392)
      52df25cf
  7. 25 4月, 2017 1 次提交
  8. 11 3月, 2017 2 次提交
  9. 07 3月, 2017 1 次提交
  10. 02 2月, 2017 1 次提交
  11. 12 1月, 2017 2 次提交
  12. 10 11月, 2016 1 次提交
  13. 09 11月, 2016 1 次提交
  14. 04 11月, 2016 2 次提交
  15. 01 11月, 2016 1 次提交
  16. 27 10月, 2016 1 次提交
  17. 13 10月, 2016 2 次提交
    • R
      Remove automatic RPATH - add user rpath support · fad599f7
      Richard Levitte 提交于
      Make Configure recognise -rpath and -R to support user added rpaths
      for OSF1 and Solaris.  For convenience, add a variable LIBRPATH in the
      Unix Makefile, which the users can use as follows:
      
          ./config [options] -Wl,-rpath,\$(LIBRPATH)
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      fad599f7
    • R
      Remove automatic RPATH · 075f7e2c
      Richard Levitte 提交于
      Before OpenSSL 1.1.0, binaries were installed in a non-standard
      location by default, and runpath directories were therefore added in
      those binaries, to make sure the executables would be able to find the
      shared libraries they were linked with.
      
      With OpenSSL 1.1.0 and on, binaries are installed in standard
      directories by default, and the addition of runpath directories is
      therefore not needed any more.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      075f7e2c
  18. 12 10月, 2016 1 次提交
  19. 03 10月, 2016 2 次提交
  20. 18 9月, 2016 1 次提交
  21. 16 9月, 2016 2 次提交
  22. 15 9月, 2016 1 次提交
  23. 12 9月, 2016 1 次提交
  24. 08 9月, 2016 1 次提交
    • R
      Allow asan, msan and ubsan to be configured with shared libraries · 342a1a23
      Richard Levitte 提交于
      The background story is that util/shlib_wrap.sh was setting LD_PRELOAD
      or similar platform dependent variables, just in case the shared
      libraries were built with -rpath.  Unfortunately, this doesn't work
      too well with asan, msan or ubsan.
      
      So, the solution is to forbid the combination of shared libraries,
      -rpath and any of the sanity analyzers we can configure.
      
      This changes util/shlib_wrap.sh so it only contains the code that sets
      LD_PRELOAD when -rpath has been used when configuring.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      342a1a23
  25. 05 9月, 2016 1 次提交
    • R
      Unix build: have the makedepend and cc actions in one recipe · 7e5b8b93
      Richard Levitte 提交于
      In the case of using an independent makedepend, we had split that into
      two separate recipes, one depending on the other.  However, there are
      cases where the makedepend recipe was always trying, but doesn't
      update the time stamp of the .d file because there are no actual
      changes, and thereby causing constant updates of the object files.
      
      This change makes one recipe that takes care of both makedepend och
      cc, thereby avoiding these extra updates.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      7e5b8b93
  26. 05 8月, 2016 1 次提交
  27. 02 8月, 2016 2 次提交
  28. 31 7月, 2016 1 次提交
  29. 20 7月, 2016 1 次提交
  30. 19 7月, 2016 2 次提交
  31. 15 7月, 2016 1 次提交