Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 11:19:13 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472865 - in head/databases: . p5-Redis-Fast p5-Redis-Fast/files
Message-ID:  <201806201119.w5KBJDN8065924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Wed Jun 20 11:19:12 2018
New Revision: 472865
URL: https://svnweb.freebsd.org/changeset/ports/472865

Log:
  New port: databases/p5-Redis-Fast
  
  Perl binding for Redis database.
  Redis::Fast is 4x faster than Redis.pm in pipeline mode.
  
  WWW: https://metacpan.org/release/Redis-Fast
  
  PR:		229141
  Submitted by:	Tomohiro Hosaka <bokutin@bokut.in>

Added:
  head/databases/p5-Redis-Fast/
  head/databases/p5-Redis-Fast/Makefile   (contents, props changed)
  head/databases/p5-Redis-Fast/distinfo   (contents, props changed)
  head/databases/p5-Redis-Fast/files/
  head/databases/p5-Redis-Fast/files/patch-deps_hiredis_Makefile   (contents, props changed)
  head/databases/p5-Redis-Fast/pkg-descr   (contents, props changed)
  head/databases/p5-Redis-Fast/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed Jun 20 10:35:47 2018	(r472864)
+++ head/databases/Makefile	Wed Jun 20 11:19:12 2018	(r472865)
@@ -473,6 +473,7 @@
     SUBDIR += p5-Protocol-CassandraCQL
     SUBDIR += p5-RRD-Simple
     SUBDIR += p5-Redis
+    SUBDIR += p5-Redis-Fast
     SUBDIR += p5-Redis-hiredis
     SUBDIR += p5-RedisDB
     SUBDIR += p5-RedisDB-Parser

Added: head/databases/p5-Redis-Fast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Redis-Fast/Makefile	Wed Jun 20 11:19:12 2018	(r472865)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	Redis-Fast
+PORTVERSION=	0.21
+CATEGORIES=	databases perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	bokutin@bokut.in
+COMMENT=	Perl binding for Redis database
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	p5-File-Which>=0:sysutils/p5-File-Which \
+		p5-Module-Build>=0.4005:devel/p5-Module-Build \
+		p5-Module-Build-XSUtil>=0.02:devel/p5-Module-Build-XSUtil \
+		gmake:devel/gmake
+RUN_DEPENDS=	p5-Try-Tiny>=0:lang/p5-Try-Tiny
+TEST_DEPENDS=	p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \
+		p5-Test-Deep>=0:devel/p5-Test-Deep \
+		p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+		p5-Test-LeakTrace>=0:devel/p5-Test-LeakTrace \
+		p5-Test-SharedFork>=0:devel/p5-Test-SharedFork \
+		p5-Test-TCP>=0:devel/p5-Test-TCP \
+		p5-Test-UNIXSock>=0:devel/p5-Test-UNIXSock \
+		redis>=0:databases/redis
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+.include <bsd.port.mk>

Added: head/databases/p5-Redis-Fast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Redis-Fast/distinfo	Wed Jun 20 11:19:12 2018	(r472865)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529459970
+SHA256 (Redis-Fast-0.21.tar.gz) = 02fea8928075fdb8b0de4882b3f455b2af74106d9d73c1b080fec45b2e2ad986
+SIZE (Redis-Fast-0.21.tar.gz) = 106672

Added: head/databases/p5-Redis-Fast/files/patch-deps_hiredis_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Redis-Fast/files/patch-deps_hiredis_Makefile	Wed Jun 20 11:19:12 2018	(r472865)
@@ -0,0 +1,11 @@
+--- deps/hiredis/Makefile.orig	2016-01-26 13:11:38 UTC
++++ deps/hiredis/Makefile
+@@ -41,7 +41,7 @@ CXX:=$(shell sh -c 'type $(CXX) >/dev/nu
+ OPTIMIZATION?=-O3
+ WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
+ DEBUG?= -g -ggdb
+-REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH)
++REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG)
+ REAL_LDFLAGS=$(LDFLAGS) $(ARCH)
+ 
+ DYLIBSUFFIX=so

Added: head/databases/p5-Redis-Fast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Redis-Fast/pkg-descr	Wed Jun 20 11:19:12 2018	(r472865)
@@ -0,0 +1,4 @@
+Perl binding for Redis database.
+Redis::Fast is 4x faster than Redis.pm in pipeline mode.
+
+WWW: https://metacpan.org/release/Redis-Fast

Added: head/databases/p5-Redis-Fast/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Redis-Fast/pkg-plist	Wed Jun 20 11:19:12 2018	(r472865)
@@ -0,0 +1,9 @@
+%%SITE_ARCH%%/Redis/Fast.pm
+%%SITE_ARCH%%/Redis/Fast/Hash.pm
+%%SITE_ARCH%%/Redis/Fast/List.pm
+%%SITE_ARCH%%/Redis/Fast/Sentinel.pm
+%%SITE_ARCH%%/auto/Redis/Fast/Fast.so
+%%PERL5_MAN3%%/Redis::Fast.3.gz
+%%PERL5_MAN3%%/Redis::Fast::Hash.3.gz
+%%PERL5_MAN3%%/Redis::Fast::List.3.gz
+%%PERL5_MAN3%%/Redis::Fast::Sentinel.3.gz



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