pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import twemproxy v0.4.1



Module Name:	pkgsrc-wip
Committed By:	Gianni D'Aprile <giannidaprile+pkgsrc-wip%gmail.com@localhost>
Pushed By:	giannidaprile
Date:		Sun Jan 3 10:36:23 2016 -0600
Changeset:	f7cc5c579dd6b82a7485daef8c104493cb946b96

Added Files:
	twemproxy/DESCR
	twemproxy/Makefile
	twemproxy/PLIST
	twemproxy/TODO
	twemproxy/distinfo

Log Message:
import twemproxy v0.4.1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f7cc5c579dd6b82a7485daef8c104493cb946b96

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 twemproxy/DESCR    |  5 +++++
 twemproxy/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
 twemproxy/PLIST    |  6 ++++++
 twemproxy/TODO     |  2 ++
 twemproxy/distinfo |  5 +++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/twemproxy/DESCR b/twemproxy/DESCR
new file mode 100644
index 0000000..85553d2
--- /dev/null
+++ b/twemproxy/DESCR
@@ -0,0 +1,5 @@
+twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight
+proxy for memcached and redis protocol. It was built primarily to reduce the
+number of connections to the caching servers on the backend. This, together
+with protocol pipelining and sharding enables you to horizontally scale your
+distributed caching architecture.
diff --git a/twemproxy/Makefile b/twemproxy/Makefile
new file mode 100644
index 0000000..c3f449e
--- /dev/null
+++ b/twemproxy/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	twemproxy
+DISTNAME=	v0.4.1
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	databases
+MASTER_SITES=	${MASTER_SITE_GITHUB:=twitter/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	gianni-pkgsrc-wip%daprile.net@localhost
+HOMEPAGE=	${MASTER_SITE_GITHUB:=twitter/twemproxy/}
+COMMENT=	Fast, light-weight proxy for memcached and redis
+LICENSE=	apache-2.0
+
+EGFILES=	conf/nutcracker.yml
+EGFILES+=	conf/nutcracker.leaf.yml conf/nutcracker.root.yml
+EGDIR=		share/examples/twemproxy
+INSTALLATION_DIRS=	${EGDIR}
+
+GNU_CONFIGURE=  YES
+USE_LIBTOOL=    yes
+USE_TOOLS+=	autoreconf automake m4
+
+WRKSRC=	${WRKDIR}/twemproxy-0.4.1
+
+CONF_FILES+=	${EGDIR}/nutcracker.yml ${PKG_SYSCONFDIR}/nutcracker.yml
+CONF_FILES+=	${EGDIR}/nutcracker.root.yml ${EG_DIR}/nutcracker.leaf.yml
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -fvi
+
+post-install:
+.for f in ${EGFILES}
+	${INSTALL_DATA} ${WRKSRC}/${f} \
+		${DESTDIR}${PREFIX}/${EGDIR}/`basename ${f}`
+.endfor
+
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/twemproxy/PLIST b/twemproxy/PLIST
new file mode 100644
index 0000000..df9a88a
--- /dev/null
+++ b/twemproxy/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+man/man8/nutcracker.8
+sbin/nutcracker
+share/examples/twemproxy/nutcracker.leaf.yml
+share/examples/twemproxy/nutcracker.root.yml
+share/examples/twemproxy/nutcracker.yml
diff --git a/twemproxy/TODO b/twemproxy/TODO
new file mode 100644
index 0000000..7eb1071
--- /dev/null
+++ b/twemproxy/TODO
@@ -0,0 +1,2 @@
+-init script
+-sensible conf file
diff --git a/twemproxy/distinfo b/twemproxy/distinfo
new file mode 100644
index 0000000..e105bce
--- /dev/null
+++ b/twemproxy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (twemproxy/v0.4.1.tar.gz) = 22a9fd4711dc682b9fde7c97b9fd7bc5525599ad
+RMD160 (twemproxy/v0.4.1.tar.gz) = b7366683eea156fe1cbc714f41271691bb656f62
+Size (twemproxy/v0.4.1.tar.gz) = 1163442 bytes


Home | Main Index | Thread Index | Old Index