Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 19:22:00 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171619: databases/hiredis updated to 0.11.0
Message-ID:  <201209131922.q8DJM0oi032380@red.freebsd.org>
Resent-Message-ID: <201209131930.q8DJU2jH033163@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171619
>Category:       ports
>Synopsis:       databases/hiredis updated to 0.11.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 19:30:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        9.1-RC1
>Organization:
>Environment:
FreeBSD silver.nine 9.1-RC1 FreeBSD 9.1-RC1 #7 r240316: Mon Sep 10 19:53:24 CEST 2012     magik@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
Port databases/hiredis updated to 0.11.0
Switched to USE_GITHUB

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN databases/hiredis/Makefile databases/hiredis/Makefile
--- databases/hiredis/Makefile	2011-06-20 05:13:57.000000000 +0200
+++ databases/hiredis/Makefile	2012-09-10 16:52:23.000000000 +0200
@@ -6,20 +6,20 @@
 #
 
 PORTNAME=	hiredis
-DISTVERSION=	0.10.1
+DISTVERSION=	0.11.0
 CATEGORIES=	databases
-MASTER_SITES=	https://github.com/antirez/hiredis/tarball/v${DISTVERSION}/
-DISTNAME=	antirez-${PORTNAME}-v${DISTVERSION}-0-g${GITVERSION}
 
 MAINTAINER=	magik@roorback.net
 COMMENT=	Minimalistic C client library for the Redis database
 
 LICENSE=	BSD
 
-GITVERSION=	3cc6a7f
-FETCH_ARGS=	-pRr
-WRKSRC=		${WRKDIR}/antirez-${PORTNAME}-${GITVERSION}
+USE_GITHUB=	yes
+GH_ACCOUNT=	antirez
+GH_TAGNAME=	v${DISTVERSION}
+GH_COMMIT=	0fff0f1
 
+ARCH=
 USE_GMAKE=	yes
 CFLAGS+=	-fPIC
 USE_LDCONFIG=	yes
diff -ruN databases/hiredis/distinfo databases/hiredis/distinfo
--- databases/hiredis/distinfo	2011-06-20 05:13:57.000000000 +0200
+++ databases/hiredis/distinfo	2012-09-10 16:52:23.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (antirez-hiredis-v0.10.1-0-g3cc6a7f.tar.gz) = fed36cc82220a1e1232380ddf3d346956e8fa09708ca87c958371bdd594bcbae
-SIZE (antirez-hiredis-v0.10.1-0-g3cc6a7f.tar.gz) = 40024
+SHA256 (hiredis-0.11.0.tar.gz) = 9340e3cb0f0daedd115b1fb5b2a631d5d8aaa3d460423f3a2a06f198d85959ff
+SIZE (hiredis-0.11.0.tar.gz) = 42159
diff -ruN databases/hiredis/files/patch-hiredis.c databases/hiredis/files/patch-hiredis.c
--- databases/hiredis/files/patch-hiredis.c	2011-09-16 09:14:52.000000000 +0200
+++ databases/hiredis/files/patch-hiredis.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- hiredis.c.orig	2011-09-16 15:11:57.000000000 +0800
-+++ hiredis.c	2011-09-16 15:12:19.000000000 +0800
-@@ -796,7 +796,7 @@ int redisvFormatCommand(char **target, c
-                     }
- 
-                     /* Consume and discard vararg */
--                    va_arg(ap,void);
-+                    va_arg(ap, void*);
-                 }
-             }
- 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209131922.q8DJM0oi032380>