From owner-svn-ports-head@FreeBSD.ORG Sun Oct 28 08:45:52 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB99E9D9; Sun, 28 Oct 2012 08:45:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B3B148FC08; Sun, 28 Oct 2012 08:45:51 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1697061bkc.13 for ; Sun, 28 Oct 2012 01:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=sEyqXBabeeyLITn0w6PkXVxmzHJ6HNhUW0DZI2Y9gFs=; b=zO3yGdPbfs/VxDK6B2jgrFnKABBUV1reOrGvDCg9+Wq4u/P/5wDYh+4yJlXyi/jjjN eb2+5DdwPEi+255VieYf89B/P8qaerf2ICiTChkihGEDzO6Ax3hEIWMpyr2ZU7skzhA+ iX3lXYADU8PhrHnxWJiHKaAg4kEcJSyfgTK+9sDYXAnG/4+1NhXw68jKZBm4+TuBhNAS DeO5hVcp7fK4yRm3EPy//J2M2sJ8OQms9oMQ91FzdRSqvbFXRQD/5otJoOnEf6frLEd8 uM1NYfnxIlcQUGEZ2qxZbirS3vdUlmH5yQQXOu8x1WrOa5I9hQP2DU1QWYpkcMYQUR/r d0eQ== Received: by 10.204.4.200 with SMTP id 8mr8668373bks.81.1351413950356; Sun, 28 Oct 2012 01:45:50 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sun, 28 Oct 2012 01:45:19 -0700 (PDT) In-Reply-To: <201210280839.q9S8dHVM065915@svn.freebsd.org> References: <201210280839.q9S8dHVM065915@svn.freebsd.org> From: Chris Rees Date: Sun, 28 Oct 2012 08:45:19 +0000 X-Google-Sender-Auth: eamUOIGy789k-A9L3pGTGYLZqvU Message-ID: Subject: Re: svn commit: r306540 - in head/databases/redis: . files To: "Sergey A. Osokin" Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 08:45:53 -0000 On 28 October 2012 08:39, Sergey A. Osokin wrote: > XXX Ports RC script present > Author: osa > Date: Sun Oct 28 08:39:17 2012 > New Revision: 306540 > URL: http://svn.freebsd.org/changeset/ports/306540 > > Log: > Update from 2.4.17 to latest stable version 2.6.2. > > Feature safe: yes > > Added: > head/databases/redis/files/patch-deps::Makefile (contents, props changed) > Deleted: > head/databases/redis/files/patch-deps::linenoise::Makefile > head/databases/redis/files/patch-src::redis.c > Modified: > head/databases/redis/Makefile > head/databases/redis/distinfo > head/databases/redis/files/patch-deps::hiredis::Makefile > head/databases/redis/files/patch-src::Makefile > head/databases/redis/files/redis.in > > Modified: head/databases/redis/Makefile > ============================================================================== > --- head/databases/redis/Makefile Sun Oct 28 06:41:48 2012 (r306539) > +++ head/databases/redis/Makefile Sun Oct 28 08:39:17 2012 (r306540) > @@ -1,12 +1,8 @@ > -# New ports collection makefile for: redis > -# Date created: 03 Jul 2009 > -# Whom: Sergey Skvortsov > -# > +# Created by: Sergey Skvortsov > # $FreeBSD$ > -# > > PORTNAME= redis > -PORTVERSION= 2.4.17 > +DISTVERSION= 2.6.2 > CATEGORIES= databases > MASTER_SITES= GOOGLE_CODE > > @@ -17,6 +13,15 @@ LICENSE= BSD > > LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo > > +OPTIONS_DEFINE= TESTS > +TESTS_DESC= Install lang/tcl for redis unit tests > + > +.include > + > +.if ${PORT_OPTIONS:MTESTS} > +USE_TCL_BUILD= yes > +.endif > + > CFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo > > @@ -63,4 +68,9 @@ post-install: > [ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d} > .endfor > > +test: build > + @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl > + > +regression-test: test > + > .include > > Modified: head/databases/redis/distinfo > ============================================================================== > --- head/databases/redis/distinfo Sun Oct 28 06:41:48 2012 (r306539) > +++ head/databases/redis/distinfo Sun Oct 28 08:39:17 2012 (r306540) > @@ -1,2 +1,2 @@ > -SHA256 (redis-2.4.17.tar.gz) = 3fae7c47ef84886ff65073593c91586bb675babaf702eb6f3b37855ab3066ebd > -SIZE (redis-2.4.17.tar.gz) = 656155 > +SHA256 (redis-2.6.2.tar.gz) = b3b2e74ec8a13337e5e17cc24b0fecf5d612d6a0835d99bd1e337b391f20a46d > +SIZE (redis-2.6.2.tar.gz) = 1000600 > > Added: head/databases/redis/files/patch-deps::Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/databases/redis/files/patch-deps::Makefile Sun Oct 28 08:39:17 2012 (r306540) > @@ -0,0 +1,17 @@ > +--- deps/Makefile.orig 2012-07-02 04:18:07.000000000 +0400 > ++++ deps/Makefile 2012-07-02 04:18:56.000000000 +0400 > +@@ -58,12 +58,12 @@ > + LUA_CFLAGS= -D__C99FEATURES__=1 > + endif > + > +-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI $(CFLAGS) > ++LUA_CFLAGS+= -Wall -DLUA_ANSI $(CFLAGS) > + LUA_LDFLAGS+= $(LDFLAGS) > + > + lua: .make-prerequisites > + @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR) > +- cd lua/src && $(MAKE) all CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" > ++ cd lua/src && $(MAKE) all CC="$(CC)" CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" > + > + .PHONY: lua > + > > Modified: head/databases/redis/files/patch-deps::hiredis::Makefile > ============================================================================== > --- head/databases/redis/files/patch-deps::hiredis::Makefile Sun Oct 28 06:41:48 2012 (r306539) > +++ head/databases/redis/files/patch-deps::hiredis::Makefile Sun Oct 28 08:39:17 2012 (r306540) > @@ -20,8 +20,8 @@ > endif > +ifeq ($(uname_S),FreeBSD) > + CFLAGS?=$(CFLAGS) > -+ CCLINK?=$(PTHREAD_LIBS) > -+ LDFLAGS?=$(LDFLAGS) > ++ CCLINK?=-pthread > ++ LDFLAGS?=-L. -Wl,-rpath,. > + DYLIBNAME?=libhiredis.so > + DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ} > + STLIBNAME?=libhiredis.a > > Modified: head/databases/redis/files/patch-src::Makefile > ============================================================================== > --- head/databases/redis/files/patch-src::Makefile Sun Oct 28 06:41:48 2012 (r306539) > +++ head/databases/redis/files/patch-src::Makefile Sun Oct 28 08:39:17 2012 (r306540) > @@ -1,24 +1,21 @@ > ---- src/Makefile.orig 2012-05-28 11:14:39.000000000 +0400 > -+++ src/Makefile 2012-05-28 11:15:45.000000000 +0400 > -@@ -28,6 +28,9 @@ > - CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6 > - CCLINK?=-ldl -lnsl -lsocket -lm -lpthread > - DEBUG?=-g -ggdb > +--- src/Makefile.orig 2012-08-01 14:06:03.000000000 +0400 > ++++ src/Makefile 2012-08-02 22:24:01.000000000 +0400 > +@@ -50,6 +50,9 @@ > + FINAL_LDFLAGS= $(LDFLAGS) $(REDIS_LDFLAGS) -g -ggdb > + FINAL_LIBS= -ldl -lnsl -lsocket -lm -lpthread > + DEBUG= -g -ggdb > +else ifeq ($(uname_S),FreeBSD) > -+ CFLAGS?= $(CFLAGS) > -+ CCLINK?= $(LDFLAGS) > ++ FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include > ++ FINAL_LDFLAGS= $(LDFLAGS) > else > - CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF) > - CCLINK?=-lm -pthread > -@@ -52,9 +55,9 @@ > - ALLOC_FLAGS=-DUSE_JEMALLOC -I../deps/jemalloc/include > - endif > - > --CCOPT= $(CFLAGS) $(ARCH) $(PROF) > -+CCOPT= $(CFLAGS) $(PROF) > + FINAL_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS) > + FINAL_LDFLAGS= $(LDFLAGS) $(REDIS_LDFLAGS) -g -rdynamic -ggdb > +@@ -79,7 +82,7 @@ > + REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) > + REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS) > > -PREFIX?=/usr/local > -+PREFIX:= ${PREFIX} > ++PREFIX:=${PREFIX} > INSTALL_BIN= $(PREFIX)/bin > INSTALL= cp -pf > > > Modified: head/databases/redis/files/redis.in > ============================================================================== > --- head/databases/redis/files/redis.in Sun Oct 28 06:41:48 2012 (r306539) > +++ head/databases/redis/files/redis.in Sun Oct 28 08:39:17 2012 (r306540) > @@ -16,7 +16,7 @@ > . /etc/rc.subr > > name="redis" > -rcvar=redis_enable > +rcvar=`set_rcvar` Please revert this change to the RC script-- you have broken redis on HEAD. http://svnweb.freebsd.org/base/head/etc/rc.subr?r1=230007&r2=230103 Chris