From d2391216d9f503c27c6cca3728ed540c51a50089 Mon Sep 17 00:00:00 2001 From: Steven Kreuzer Date: Mon, 12 May 2014 17:55:07 +0000 Subject: [PATCH] twemproxy, aka nutcracker is a fast and lightweight proxy for memcached and redis protocol. It was primarily built to reduce the connection count on the backend caching serve WWW: https://github.com/twitter/twemproxy --- databases/Makefile | 1 + databases/twemproxy/Makefile | 26 ++++++++++++++++++++++++++ databases/twemproxy/distinfo | 2 ++ databases/twemproxy/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) create mode 100644 databases/twemproxy/Makefile create mode 100644 databases/twemproxy/distinfo create mode 100644 databases/twemproxy/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index a7140d5d5ca8..066c0f3d052c 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -897,6 +897,7 @@ SUBDIR += tokyotyrant SUBDIR += tora SUBDIR += tuning-primer + SUBDIR += twemproxy SUBDIR += unixODBC SUBDIR += useracc SUBDIR += usogres diff --git a/databases/twemproxy/Makefile b/databases/twemproxy/Makefile new file mode 100644 index 000000000000..3d2e30380295 --- /dev/null +++ b/databases/twemproxy/Makefile @@ -0,0 +1,26 @@ +# Created by: Steven Kreuzer +# $FreeBSD$ + +PORTNAME= twemproxy +PORTVERSION= 0.3.0 +CATEGORIES= databases +MASTER_SITES= GOOGLE_CODE +DISTNAME= nutcracker-${PORTVERSION} + +MAINTAINER= skreuzer@FreeBSD.org +COMMENT= Fast, light-weight proxy for memcached and redis + +LICENSE= APACHE20 + +PLIST_FILES= sbin/nutcracker \ + man/man8/nutcracker.8.gz \ + etc/nutcracker.yml.sample + +HAS_CONFIGURE= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/nutcracker ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/man/nutcracker.8 ${STAGEDIR}${MANPREFIX}/man/man8/ + ${INSTALL_DATA} ${WRKSRC}/conf/nutcracker.yml ${STAGEDIR}${PREFIX}/etc/nutcracker.yml.sample + +.include diff --git a/databases/twemproxy/distinfo b/databases/twemproxy/distinfo new file mode 100644 index 000000000000..fc06cb0db6f6 --- /dev/null +++ b/databases/twemproxy/distinfo @@ -0,0 +1,2 @@ +SHA256 (nutcracker-0.3.0.tar.gz) = e9993d6827b2e93ee2b865e827acbf9efadbbfc81ccd9103a85948ee2580942a +SIZE (nutcracker-0.3.0.tar.gz) = 1825106 diff --git a/databases/twemproxy/pkg-descr b/databases/twemproxy/pkg-descr new file mode 100644 index 000000000000..4c309b9a78a9 --- /dev/null +++ b/databases/twemproxy/pkg-descr @@ -0,0 +1,5 @@ +twemproxy, aka nutcracker is a fast and lightweight proxy for memcached and +redis protocol. It was primarily built to reduce the connection count on the +backend caching serve + +WWW: https://github.com/twitter/twemproxy