Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch custom hiredis 0.13 RPM for CentOS 6.x

Discussion in 'Beta release code' started by eva2000, Jul 10, 2015.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    1:20 AM
    Nginx 1.25.x
    MariaDB 10.x
    Like custom curl 7.43 RPM and custon re2c RPM, tried my hand at building custom hiredis RPM for CentOS 6.x and CentOS 7.x as I need it for some stuff I am trying out.

    CentOS 6.x defaults to out dated 0.10 version and CentOS 7 defaults to 0.12 in both respective EPEL repositories.

    Installed with Redis 3.02 from Centmin Mod LEMP stack's Remi repo

    yum list redis --enablerepo=remi --disableplugin=priorities -q
    Installed Packages
    redis.x86_64     3.0.2-1.el6.remi        @remi

    yum -y install redis --enablerepo=remi --disableplugin=priorities
    Custom hiredis 0.13 RPMs
    ls -lah | grep hiredis
    -rw-r--r--  1 root root  61K Jul 10 04:29 hiredis-0.13.1-1.el6.src.rpm
    -rw-r--r--  1 root root  67K Jul 10 04:29 hiredis-0.13.1-1.el6.x86_64.rpm
    -rw-r--r--  1 root root  61K Jul 10 05:44 hiredis-0.13.1-1.el7.centos.src.rpm
    -rw-r--r--  1 root root  29K Jul 10 05:44 hiredis-0.13.1-1.el7.centos.x86_64.rpm
    -rw-r--r--  1 root root  82K Jul 10 05:44 hiredis-debuginfo-0.13.1-1.el7.centos.x86_64.rpm
    -rw-r--r--  1 root root  21K Jul 10 04:29 hiredis-devel-0.13.1-1.el6.x86_64.rpm
    -rw-r--r--  1 root root  22K Jul 10 05:44 hiredis-devel-0.13.1-1.el7.centos.x86_64.rpm
    -rw-r--r--  1 root root 4.6K Jul 10 04:24 hiredis.spec
    Install custom hiredis 0.13 RPMs for CentOS 6.x

    rpm -ivh hiredis-0.13.1-1.el6.x86_64.rpm
    rpm -ivh hiredis-devel-0.13.1-1.el6.x86_64.rpm
    For CentOS 7.x
    rpm -ivh hiredis-0.13.1-1.el7.centos.x86_64.rpm
    rpm -ivh hiredis-devel-0.13.1-1.el7.centos.x86_64.rpm
    rpm -qa --changelog hiredis | head -n6
    * Fri Jul 10 2015 George Liu <> - 0.13.1-1
    - Update to 0.13.1 custom build for centminmod LEMP stack
    * Fri Jan 30 2015 Christopher Meng <> - 0.12.1-1
    - Update to 0.12.1
    rpm -ql hiredis
    rpm -ql hiredis-devel
    CentOS 7 hiredis-debuginfo contents
    rpm -ql hiredis-debuginfo
    contents of /usr/share/doc/hiredis-devel-0.13.1/

    ### 0.13.1 - May 03, 2015
    This is a bug fix release.
    The new `reconnect` method introduced new struct members, which clashed with pre-defined names in pre-C99 code.
    Another commit forced C99 compilation just to make it work, but of course this is not desirable for outside projects.
    Other non-C99 code can now use hiredis as usual again.
    Sorry for the inconvenience.
    * Fix memory leak in async reply handling (Salvatore Sanfilippo)
    * Rename struct member to avoid name clash with pre-c99 code (Alex Balashov, ncopa)
    ### 0.13.0 - April 16, 2015
    This release adds a minimal Windows compatibility layer.
    The parser, standalone since v0.12.0, can now be compiled on Windows
    (and thus used in other client libraries as well)
    * Windows compatibility layer for parser code (tzickel)
    * Properly escape data printed to PKGCONF file (Dan Skorupski)
    * Fix tests when assert() undefined (Keith Bennett, Matt Stancliff)
    * Implement a reconnect method for the client context, this changes the structure of `redisContext` (Aaron Bedra)
    ### 0.12.1 - January 26, 2015
    * Fix `make install`: DESTDIR support, install all required files, install PKGCONF in proper location
    * Fix `make test` as 32 bit build on 64 bit platform
    ### 0.12.0 - January 22, 2015
    * Add optional KeepAlive support
    * Try again on EINTR errors
    * Add libuv adapter
    * Add IPv6 support
    * Remove possiblity of multiple close on same fd
    * Add ability to bind source address on connect
    * Add redisConnectFd() and redisFreeKeepFd()
    * Fix getaddrinfo() memory leak
    * Free string if it is unused (fixes memory leak)
    * Improve redisAppendCommandArgv performance 2.5x
    * Add support for SO_REUSEADDR
    * Fix redisvFormatCommand format parsing
    * Add GLib 2.0 adapter
    * Refactor reading code into read.c
    * Fix errno error buffers to not clobber errors
    * Generate pkgconf during build
    * Silence _BSD_SOURCE warnings
    * Improve digit counting for multibulk creation
    ### 0.11.0
    * Increase the maximum multi-bulk reply depth to 7.
    * Increase the read buffer size from 2k to 16k.
    * Use poll(2) instead of select(2) to support large fds (>= 1024).
    ### 0.10.1
    * Makefile overhaul. Important to check out if you override one or more
      variables using environment variables or via arguments to the "make" tool.
    * Issue #45: Fix potential memory leak for a multi bulk reply with 0 elements
      being created by the default reply object functions.
    * Issue #43: Don't crash in an asynchronous context when Redis returns an error
      reply after the connection has been made (this happens when the maximum
      number of connections is reached).
    ### 0.10.0
    * See commit log.

    Last edited: Sep 1, 2015
Thread Status:
Not open for further replies.