1. 19 Nov, 2019 1 commit
    • Johannes Truschnigg's avatar
      Auto-detect and link libsystemd at compile-time · 129d14e1
      Johannes Truschnigg authored
      This adds Makefile/build-system support for USE_SYSTEMD=(yes|no|*). This
      variable's value determines whether or not libsystemd will be linked at
      build-time.
      
      If USE_SYSTEMD is set to "yes", make will use PKG_CONFIG to check for
      libsystemd's presence, and fail the build early if it isn't
      installed/detected properly.
      
      If USE_SYSTEM is set to "no", libsystemd will *not* be linked, even if
      support for it is available on the system redis is being built on.
      
      For any other value that USE_SYSTEM might assume (e.g. "auto"),
      PKG_CONFIG will try to determine libsystemd's presence, and set up the
      build process to link against it, if it was indicated as being
      installed/available.
      
      This approach has a number of repercussions of its own, most importantly
      the following: If you build redis on a system that actually has systemd
      support, but no libsystemd-dev package(s) installed, you'll end up
      *without* support for systemd notification/status reporting support in
      redis-server. This changes established runtime behaviour.
      
      I'm not sure if the build system and/or the server binary should
      indicate this. I'm also wondering if not actually having
      systemd-notify-support, but requesting it via the server's config,
      should result in a fatal error now.
      129d14e1
  2. 16 Oct, 2019 1 commit
  3. 07 Oct, 2019 2 commits
    • Yossi Gottlieb's avatar
      TLS: Configuration options. · 61733ded
      Yossi Gottlieb authored
      Add configuration options for TLS protocol versions, ciphers/cipher
      suites selection, etc.
      61733ded
    • Yossi Gottlieb's avatar
      TLS: Connections refactoring and TLS support. · b087dd1d
      Yossi Gottlieb authored
      * Introduce a connection abstraction layer for all socket operations and
      integrate it across the code base.
      * Provide an optional TLS connections implementation based on OpenSSL.
      * Pull a newer version of hiredis with TLS support.
      * Tests, redis-cli updates for TLS support.
      b087dd1d
  4. 04 Oct, 2019 1 commit
  5. 12 Sep, 2019 1 commit
  6. 07 Jul, 2019 1 commit
  7. 29 Jun, 2019 1 commit
  8. 07 May, 2019 1 commit
  9. 06 May, 2019 1 commit
  10. 07 Mar, 2019 1 commit
    • Brad Solomon's avatar
      Provide an uninstall target in Makefile · d5b24d31
      Brad Solomon authored
      On `make uninstall`, removes:
      
      - /usr/local/bin/redis-benchmark
      - /usr/local/bin/redis-check-aof
      - /usr/local/bin/redis-check-rdb
      - /usr/local/bin/redis-cli
      - /usr/local/bin/redis-sentinel
      - /usr/local/bin/redis-server
      
      (Only the src/ versions are removed in `make clean`)
      d5b24d31
  11. 01 Mar, 2019 1 commit
  12. 21 Feb, 2019 1 commit
  13. 09 Jan, 2019 1 commit
  14. 25 Nov, 2018 2 commits
  15. 11 Nov, 2018 1 commit
  16. 08 Nov, 2018 1 commit
  17. 31 Oct, 2018 1 commit
  18. 30 Oct, 2018 3 commits
  19. 19 Oct, 2018 1 commit
  20. 14 Sep, 2018 1 commit
  21. 12 Sep, 2018 1 commit
  22. 04 Jul, 2018 1 commit
  23. 25 May, 2018 2 commits
  24. 23 Apr, 2018 2 commits
  25. 10 Apr, 2018 1 commit
  26. 15 Mar, 2018 1 commit
  27. 22 Feb, 2018 1 commit
  28. 01 Dec, 2017 1 commit
  29. 10 Jul, 2017 1 commit
  30. 05 Jul, 2017 1 commit
  31. 03 Jul, 2017 1 commit
  32. 26 Jun, 2017 1 commit
  33. 10 May, 2017 1 commit
    • antirez's avatar
      Modules TSC: use atomic var for server.unixtime. · 1f598fc2
      antirez authored
      This avoids Helgrind complaining, but we are actually not using
      atomicGet() to get the unixtime value for now: too many places where it
      is used and given tha time_t is word-sized it should be safe in all the
      archs we support as it is.
      
      On the other hand, Helgrind, when Redis is compiled with "make helgrind"
      in order to force the __sync macros, will detect the write in
      updateCachedTime() as a read (because atomic functions are used) and
      will not complain about races.
      
      This commit also includes minor refactoring of mutex initializations and
      a "helgrind" target in the Makefile.
      1f598fc2
  34. 17 Apr, 2017 1 commit