1. 28 2月, 2016 1 次提交
  2. 27 2月, 2016 1 次提交
  3. 23 2月, 2016 1 次提交
  4. 22 2月, 2016 1 次提交
  5. 20 2月, 2016 2 次提交
    • R
      Build dynamic engines even if configured "no-shared" · 343ec2b0
      Richard Levitte 提交于
      Until now, the engines in engines/ were only built as dynamicaly
      loadable ones if shared libraries were built.
      
      We not dissociate the two and can build dynamicaly loadable engines
      even if we only build static libcrypto and libssl.  This is controlled
      with the option (enable|disable|no)-static-engine, defaulting to
      no-static-engine.
      
      Note that the engines in crypto/engine/ (dynamic and cryptodev) will
      always be built into libcrypto.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      343ec2b0
    • R
      Always build library object files with shared library cflags · 45502bfe
      Richard Levitte 提交于
      This takes us away from the idea that we know exactly how our static
      libraries are going to get used.  Instead, we make them available to
      build shareable things with, be it other shared libraries or DSOs.
      
      On the other hand, we also have greater control of when the shared
      library cflags.  They will never be used with object files meant got
      binaries, such as apps/openssl or test/test*.
      
      With unified, we take this a bit further and prepare for having to
      deal with extra cflags specifically to be used with DSOs (dynamic
      engines), libraries and binaries (applications).
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      45502bfe
  6. 19 2月, 2016 7 次提交
    • R
      Big rename fest of MingW shared libraries · 520f434b
      Richard Levitte 提交于
      So far, MingW shared libraries were named like this
      
        libeay32.dll + libeay32.dll.a
        ssleay32.dll + ssleay32.dll.a
      
      That naming scheme is antiquated, a reminicense of SSLeay.  We're
      therefore changing the scheme to something that's more like the rest
      of OpenSSL.
      
      There are two factors to remember:
      
        - Windows libraries have no recorded SOvers, which means that the
          shared library version must be encoded in the name.  According to
          some, it's unwise to encode extra periods in a Windows file name,
          so we convert version number periods to underscores.
        - MingW has multilib ability.  However, DLLs need to reside with the
          binaries that use them, so to allow both 32-bit and 64-bit DLLs to
          reside in the same place, we add '-x64' in the name of the 64-bit
          ones.
      
      The resulting name scheme (for SOver 1.1) is this:
      
        on x86:
        libcrypto-1_1.dll + libcrypto.dll.a
        libssl-1_1.dll + libssl.dll.a
      
        on x86_64:
        libcrypto-1_1-x64.dll + libcrypto.dll.a
        libssl-1_1-x64.dll + libssl.dll.a
      
      An observation is that the import lib is the same for both
      architectures.  Not to worry, though, as they will be installed in
      PREFIX/lib/ for x86 and PREFIX/lib64/ for x86_64.
      
      As a side effect, MingW got its own targets in Makefile.shared.
      link_dso.mingw-shared and link_app.mingw-shared are aliases for the
      corresponding cygwin-shared targets.  link_shlib.mingw-shared is,
      however, a target separated from the cygwin one.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      520f434b
    • R
      Misc small fixes. · f99f91f1
      Richard Levitte 提交于
      Better libclean that removes the exact files that have been built,
      nothing more and nothing less.
      
      Corrected typo
      
      A couple of editorial changes.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      f99f91f1
    • R
      Big rename fest in makefile.shared: link_a / link_o -> link_shlib / link_dso · e048fd51
      Richard Levitte 提交于
      Originally, the Makefile.shared targets described what they used as
      input for a shared object, be it a shared library or a DSO.  It turned
      out, however, that the link_o targets were used exclusively for
      engines and the link_a targets were for libcrypto and libssl.
      
      This rename fest turns and indication on the kind of input the targets
      get to the intention with using them.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      e048fd51
    • R
      Let Configure figure out the diverse shared library and DSO extensions · e987f9f2
      Richard Levitte 提交于
      Then it can pass around the information where it belongs.  The
      Makefile templates pick it up along with other target data, the
      DSO module gets to pick up the information through
      crypto/include/internal/dso_conf.h
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      e987f9f2
    • R
      Rethink the uplink / applink story · 3a55c92b
      Richard Levitte 提交于
      Adding uplink and applink to some builds was done by "magic", the
      configuration for "mingw" only had a macro definition, the Configure
      would react to its presence by adding the uplink source files to
      cpuid_asm_src, and crypto/build.info inherited dance to get it
      compiled, and Makefile.shared made sure applink.o would be
      appropriately linked in.  That was a lot under the hood.
      
      To replace this, we create a few template configurations in
      Configurations/00-base-templates.conf, inherit one of them in the
      "mingw" configuration, the rest is just about refering to the
      $target{apps_aux_src} / $target{apps_obj} in the right places.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3a55c92b
    • R
      Fix uninstall_sw for the unixmake scheme · df302cdc
      Richard Levitte 提交于
      The uninstall_sw target tried to 'make uninstall' in all subdirs.
      Change it to only go into $(INSTALL_SUBS), just like install_sw does.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      df302cdc
    • R
      Remove all special make depend flags, as well as OPENSSL_DOING_MAKEDEPEND · ce192ebe
      Richard Levitte 提交于
      All those flags existed because we had all the dependencies versioned
      in the repository, and wanted to have it be consistent, no matter what
      the local configuration was.  Now that the dependencies are gone from
      the versioned Makefile.ins, it makes much more sense to use the exact
      same flags as when compiling the object files.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      ce192ebe
  7. 14 2月, 2016 1 次提交
  8. 13 2月, 2016 1 次提交
    • R
      Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefix · 3c65577f
      Richard Levitte 提交于
      INSTALL_PREFIX is a confusing name, as there's also --prefix.
      Instead, tag along with the rest of the open source world and adopt
      the Makefile variable DESTDIR to designate the desired staging
      directory.
      
      The Configure option --install_prefix is removed, the only way to
      designate a staging directory is with the Makefile variable (this is
      also implemented for VMS' descrip.mms et al).
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      3c65577f
  9. 12 2月, 2016 1 次提交
  10. 11 2月, 2016 2 次提交
  11. 10 2月, 2016 4 次提交
    • R
      unified build scheme: add the tweaks to build on Cygwin & Mingw · fcf80c46
      Richard Levitte 提交于
      Cygwin and Mingw name their libraries a bit differently from the rest
      of the POSIXly universe, we need to adapt to that.
      
      In Makefile.tmpl, it means that some hunks will only be output
      conditionally.
      
      This also means that shared_extension for the Cygwin and Mingw
      configurations in Configurations/10-main.conf are changing from .dll.a
      to .dll.  Makefile.shared does a fine job without having them
      specified, and it's much easier to work with tucking an extra .a at
      the end of files in the installation recipes than any amount of name
      rewrites, especially with the support of the SHARED_NAME in the top
      build.info.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      fcf80c46
    • R
      Configure et al: move the installation directory logic to Makefiles · 5482dac9
      Richard Levitte 提交于
      The logic to figure out the combinations of --prefix and --openssldir
      has stayed in Configure so far, with Unix paths as defaults.
      
      However, since we're making Configure increasingly platform agnostic,
      these defaults need to change and adapt to the platform, along with
      the logic to combine them.
      
      The easiest to provide for this is to move the logic and the defaults
      away from Configure and into the build files.
      
      This also means that the definition of the macros ENGINESDIR and
      OPENSSLDIR move away from include/openssl/opensslconf.h and into the
      build files.
      
      Makefile.in is adapted accordingly.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      5482dac9
    • R
      Configure et al: treat C defines separately · bcb1977b
      Richard Levitte 提交于
      With some compilers, C macros are defined differently on the command
      line than on Unix.  It could be that the flad to define them isn't -D,
      it could also be that they need to be grouped together and not be mixed
      in with the other compiler flags (that's how it's done on VMS, for
      example).
      
      On Unix family platform configurations, we can continue to have macro
      definitions mixed in with the rest of the flags, so the changes in
      Configurations/*.conf are kept to an absolute minimum.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      bcb1977b
    • R
      Remove store. · 7984f082
      Rich Salz 提交于
      Rebased and merged by me, with Ben's approval.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      Reviewed-by: NBen Laurie <ben@openssl.org>
      7984f082
  12. 07 2月, 2016 1 次提交
    • R
      Enhance and clear the support of linker flags · c86ddbe6
      Richard Levitte 提交于
      Some time ago, we had a ex_libs configuration setting that could be
      divided into lflags and ex_libs.  These got divided in two settings,
      lflags and ex_libs, and the former was interpreted to be general
      linking flags.
      
      Unfortunately, that conclusion wasn't entirely accurate.  Most of
      those linking were meant to end up in a very precise position on the
      linking command line, just before the spec of libraries the linking
      depends on.
      
      Back to the drawing board, we're diving things further, now having
      lflags, which are linking flags that aren't depending on command line
      position, plib_lflags, which are linking flags that should show up just
      before the spec of libraries to depend on, and finally ex_libs, which
      is the spec of extra libraries to depend on.
      
      Also, documentation is changed in Configurations/README.  This was
      previously forgotten.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      c86ddbe6
  13. 04 2月, 2016 1 次提交
  14. 30 1月, 2016 2 次提交
  15. 28 1月, 2016 1 次提交
  16. 27 1月, 2016 1 次提交
    • B
      Remove unused, undocumented clean-shared target · 289578b9
      Benjamin Kaduk 提交于
      Also removes the make variable SHARED_LIBS_LINK_EXTS, only used by
      the clean-shared target.
      
      When shared library linking was moved to the separate Makefile.shared
      in commit 30afcc07, this target was
      skipped.  Prior to that commit, clean-shared was invoked as a
      dependency of build-shared, but afterward it was no longer referenced
      anywhere in the tree.
      
      Instead of porting the functionality over to Makefile.shared, just
      remove it entirely, as it appears to be unused.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      289578b9
  17. 26 1月, 2016 4 次提交
  18. 25 1月, 2016 1 次提交
    • R
      Move pqueue into ssl · cf2cede4
      Rich Salz 提交于
      This is an internal facility, never documented, not for
      public consumption.  Move it into ssl (where it's only used
      for DTLS).
      
      I also made the typedef's for pqueue and pitem follow our style: they
      name structures, not pointers.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      cf2cede4
  19. 24 1月, 2016 1 次提交
  20. 22 1月, 2016 1 次提交
    • R
      Refresh the thinking of --prefix and --openssldir · d74dfafd
      Richard Levitte 提交于
      --prefix is now exclusively used for software and manual installation.
      --openssldir is not exclusively used as a default location for certs,
      keys and the default openssl.cnf.
      
      This change is made to bring clarity, to have the two less
      intertwined, and to be more compatible with the usual ways of software
      installation.
      
      Please change your habits and scripts to use --prefix rather than
      --openssldir for installation location now.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      d74dfafd
  21. 20 1月, 2016 2 次提交
  22. 19 1月, 2016 1 次提交
  23. 18 1月, 2016 1 次提交
  24. 14 1月, 2016 1 次提交