Learn about Centmin Mod LEMP Stack today
Register Now

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

    48,977
    11,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,474
    Local Time:
    1:41 AM
    Nginx 1.21.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

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

    Code:
    yum -y install redis --enablerepo=remi --disableplugin=priorities
    Custom hiredis 0.13 RPMs
    Code:
    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

    Code:
    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
    Code:
    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
    
    Code:
    rpm -qa --changelog hiredis | head -n6
    * Fri Jul 10 2015 George Liu <centminmod.com> - 0.13.1-1
    - Update to 0.13.1 custom build for centminmod LEMP stack
    
    * Fri Jan 30 2015 Christopher Meng <rpm@cicku.me> - 0.12.1-1
    - Update to 0.12.1
    Code:
    rpm -ql hiredis
    /usr/lib64/libhiredis.so.0
    /usr/lib64/libhiredis.so.0.13
    /usr/share/doc/hiredis-0.13.1
    /usr/share/doc/hiredis-0.13.1/COPYING
    Code:
    rpm -ql hiredis-devel
    /usr/include/hiredis
    /usr/include/hiredis/adapters
    /usr/include/hiredis/adapters/ae.h
    /usr/include/hiredis/adapters/glib.h
    /usr/include/hiredis/adapters/libev.h
    /usr/include/hiredis/adapters/libevent.h
    /usr/include/hiredis/adapters/libuv.h
    /usr/include/hiredis/async.h
    /usr/include/hiredis/hiredis.h
    /usr/include/hiredis/read.h
    /usr/include/hiredis/sds.h
    /usr/lib64/libhiredis.so
    /usr/lib64/pkgconfig/hiredis.pc
    /usr/share/doc/hiredis-devel-0.13.1
    /usr/share/doc/hiredis-devel-0.13.1/CHANGELOG.md
    /usr/share/doc/hiredis-devel-0.13.1/README.md
    CentOS 7 hiredis-debuginfo contents
    Code:
    rpm -ql hiredis-debuginfo
    /usr/lib/debug
    /usr/lib/debug/.build-id
    /usr/lib/debug/.build-id/3a
    /usr/lib/debug/.build-id/3a/92b9792f2c58203d7b442959559fb7b60ab0fb
    /usr/lib/debug/.build-id/3a/92b9792f2c58203d7b442959559fb7b60ab0fb.debug
    /usr/lib/debug/usr
    /usr/lib/debug/usr/lib64
    /usr/lib/debug/usr/lib64/libhiredis.so.0.13.debug
    /usr/lib/debug/usr/lib64/libhiredis.so.0.debug
    /usr/lib/debug/usr/lib64/libhiredis.so.debug
    /usr/src/debug/hiredis-0.13.1
    /usr/src/debug/hiredis-0.13.1/async.c
    /usr/src/debug/hiredis-0.13.1/async.h
    /usr/src/debug/hiredis-0.13.1/dict.c
    /usr/src/debug/hiredis-0.13.1/dict.h
    /usr/src/debug/hiredis-0.13.1/hiredis.c
    /usr/src/debug/hiredis-0.13.1/hiredis.h
    /usr/src/debug/hiredis-0.13.1/net.c
    /usr/src/debug/hiredis-0.13.1/net.h
    /usr/src/debug/hiredis-0.13.1/read.c
    /usr/src/debug/hiredis-0.13.1/read.h
    /usr/src/debug/hiredis-0.13.1/sds.c
    /usr/src/debug/hiredis-0.13.1/sds.h
    contents of /usr/share/doc/hiredis-devel-0.13.1/CHANGELOG.md


    Code:
    ### 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.