Bug 170326 - [PATCH] databases/redis: update to 2.4.16, Add LICENSE, Use LDFLAGS and PTHREAD_LIBS
Summary: [PATCH] databases/redis: update to 2.4.16, Add LICENSE, Use LDFLAGS and PTHRE...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 14:30 UTC by koobs
Modified: 2012-08-02 20:09 UTC (History)
1 user (show)

See Also:


Attachments
redis-2.4.16.patch (2.25 KB, patch)
2012-08-02 14:30 UTC, koobs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description koobs 2012-08-02 14:30:10 UTC
- Update to 2.4.16
- Add LICENSE
- Remove ABI version from LIB_DEPENDS (portlint)
- Update patches to replace hardcoded args with LDFLAGS and PTHREAD_LIBS
- Add LDFLAGS to Makefile accordingly

==[QA]==

Redports Clean: https://redports.org/buildarchive/20120802120704-7005/

Port maintainer (osa@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2012-08-02 14:30:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-08-02 19:20:21 UTC
Author: osa
Date: Thu Aug  2 18:20:11 2012
New Revision: 301867
URL: http://svn.freebsd.org/changeset/ports/301867

Log:
  Update from 2.4.15 to 2.4.16.
  
  Submitted by:	Kubilay Kocak aka koobs dot freebsd at gmail dot com
  Tests:		https://redports.org/buildarchive/20120802120704-7005/
  PR:		170326

Modified:
  head/databases/redis/Makefile
  head/databases/redis/distinfo
  head/databases/redis/files/patch-deps::hiredis::Makefile
  head/databases/redis/files/patch-src::Makefile

Modified: head/databases/redis/Makefile
==============================================================================
--- head/databases/redis/Makefile	Thu Aug  2 18:17:11 2012	(r301866)
+++ head/databases/redis/Makefile	Thu Aug  2 18:20:11 2012	(r301867)
@@ -6,16 +6,19 @@
 #
 
 PORTNAME=	redis
-PORTVERSION=	2.4.15
+PORTVERSION=	2.4.16
 CATEGORIES=	databases
 MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	osa@FreeBSD.org
 COMMENT=	A persistent key-value database with built-in net interface
 
-LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo
+LICENSE=	BSD
+
+LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo
 
 CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo
 
 CONFLICTS?=	redis-devel-2.6.*
 

Modified: head/databases/redis/distinfo
==============================================================================
--- head/databases/redis/distinfo	Thu Aug  2 18:17:11 2012	(r301866)
+++ head/databases/redis/distinfo	Thu Aug  2 18:20:11 2012	(r301867)
@@ -1,2 +1,2 @@
-SHA256 (redis-2.4.15.tar.gz) = 2e5467079aa130d9e968dd7b35411940f012d322bf68d287c7af6f4d40e393c4
-SIZE (redis-2.4.15.tar.gz) = 653949
+SHA256 (redis-2.4.16.tar.gz) = d35cc89d73aa1ff05af5f1380a4411c828979b3b446f5caf8b5720225b38e15b
+SIZE (redis-2.4.16.tar.gz) = 649908

Modified: head/databases/redis/files/patch-deps::hiredis::Makefile
==============================================================================
--- head/databases/redis/files/patch-deps::hiredis::Makefile	Thu Aug  2 18:17:11 2012	(r301866)
+++ head/databases/redis/files/patch-deps::hiredis::Makefile	Thu Aug  2 18:20:11 2012	(r301867)
@@ -20,8 +20,8 @@
  endif
 +ifeq ($(uname_S),FreeBSD)
 +  CFLAGS?=$(CFLAGS)
-+  CCLINK?=-pthread
-+  LDFLAGS?=-L. -Wl,-rpath,.
++  CCLINK?=$(PTHREAD_LIBS)
++  LDFLAGS?=$(LDFLAGS)
 +  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	Thu Aug  2 18:17:11 2012	(r301866)
+++ head/databases/redis/files/patch-src::Makefile	Thu Aug  2 18:20:11 2012	(r301867)
@@ -6,7 +6,7 @@
    DEBUG?=-g -ggdb
 +else ifeq ($(uname_S),FreeBSD)
 +  CFLAGS?= $(CFLAGS)
-+  CCLINK?= -pthread -lm -L$(PREFIX)/lib -lexecinfo
++  CCLINK?= $(LDFLAGS)
  else
    CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF)
    CCLINK?=-lm -pthread
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Sergey A. Osokin freebsd_committer 2012-08-02 20:08:59 UTC
State Changed
From-To: open->closed

Committed, thanks!