Date: Sat, 6 Oct 2012 23:08:02 +1000 (EST) From: Kubilay Kocak <koobs.freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: osa@FreeBSD.org Subject: ports/172396: [PATCH] databases/redis-devel: Update to 2.6.0.r8, Add TEST option, Add test targets Message-ID: <20121006130802.CF64439FDF@freebsd-9-amd64.localdomain> Resent-Message-ID: <201210061310.q96DA6XI047659@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172396 >Category: ports >Synopsis: [PATCH] databases/redis-devel: Update to 2.6.0.r8, Add TEST option, Add test targets >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 06 13:10:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kubilay Kocak >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul 7 21:26:56 EST >Description: - Update to 2.6.0.r8 - Add TEST optionNG for running unit tests - Add test: and regression-test targets - Remove patch for replication from rc7 that's now upstream - New Makefile header convention Changes: * [BUGFIX] Fixed compilation on FreeBSD. * [IMPROVED] SRANDMEMBER <count> that returns multiple random elements. * [IMPROVED] Sentinel backported to 2.6. It will be taken in sync with 2.8. * [IMPROVED] Helper function for scripting to return errors and status replies. * [IMPROVED] SORT by nosort [ASC|DESC] uses sorted set elements ordering. * [BUGFIX] Better resistence to system clock skew. * [IMPROVED] Warn the user when the configured maxmemory seems odd. * [BUGFIX] Hashing function is now murmurhash2 for security purposes. * [IMPROVED] Install script no longer uses a template but redis.conf itself. ====[QA]==== porttest: OK unittest: \o/ All tests passed without errors! (9.0 amd64 gcc (base)) unittest: \o/ All tests passed without errors! (9.0 amd64 clang (base)) redports: https://redports.org/buildarchive/20121006113826-56218/ Note: all redports builds include regression-test runs - \o/ ============ Removed file(s): - files/patch-src::replication.c Port maintainer (osa@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- redis-devel-2.6.0.r8.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/redis-devel/Makefile ./Makefile --- /usr/ports/databases/redis-devel/Makefile 2012-09-20 04:20:19.000000000 +1000 +++ ./Makefile 2012-10-06 23:03:29.000000000 +1000 @@ -1,12 +1,8 @@ -# New ports collection makefile for: redis -# Date created: 03 Jul 2009 -# Whom: Sergey Skvortsov <skv@protey.ru> -# -# $FreeBSD: ports/databases/redis-devel/Makefile,v 1.22 2012/09/19 18:20:19 osa Exp $ -# +# Created by: Sergey Skvortsov <skv@protey.ru> +# $FreeBSD: ports/databases/redis-devel/Makefile,v 1.21 2012/08/03 04:24:58 osa Exp $ PORTNAME= redis -DISTVERSION= 2.6.0-rc7 +DISTVERSION= 2.6.0-rc8 CATEGORIES= databases MASTER_SITES= GOOGLE_CODE PKGNAMESUFFIX= -devel @@ -18,6 +14,15 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install lang/tcl for redis unit tests + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTESTS} +USE_TCL_BUILD= yes +.endif + CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo @@ -64,4 +69,9 @@ [ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d} .endfor +test: build + @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl + +regression-test: test + .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/databases/redis-devel/distinfo ./distinfo --- /usr/ports/databases/redis-devel/distinfo 2012-09-20 04:20:19.000000000 +1000 +++ ./distinfo 2012-10-06 19:56:17.000000000 +1000 @@ -1,2 +1,2 @@ -SHA256 (redis-2.6.0-rc7.tar.gz) = 538e68479465b074497c1e76df70e40a61e6cfcb5e8f9dce5eaabc5448eedd43 -SIZE (redis-2.6.0-rc7.tar.gz) = 973045 +SHA256 (redis-2.6.0-rc8.tar.gz) = e3b843c960cb2d6512f208181880b4cb42877368f457d1df7af808918b97e36c +SIZE (redis-2.6.0-rc8.tar.gz) = 999715 diff -ruN --exclude=CVS /usr/ports/databases/redis-devel/files/patch-src::replication.c ./files/patch-src::replication.c --- /usr/ports/databases/redis-devel/files/patch-src::replication.c 2012-09-20 04:20:19.000000000 +1000 +++ ./files/patch-src::replication.c 1970-01-01 10:00:00.000000000 +1000 @@ -1,10 +0,0 @@ ---- src/replication.c.orig 2012-09-19 10:46:28.000000000 +0400 -+++ src/replication.c 2012-09-19 10:47:01.000000000 +0400 -@@ -1,5 +1,7 @@ - #include "redis.h" - -+#include <sys/types.h> -+#include <sys/socket.h> - #include <sys/time.h> - #include <unistd.h> - #include <fcntl.h> --- redis-devel-2.6.0.r8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121006130802.CF64439FDF>