summaryrefslogtreecommitdiff
path: root/databases/memcacheq
diff options
context:
space:
mode:
Diffstat (limited to 'databases/memcacheq')
-rw-r--r--databases/memcacheq/Makefile42
-rw-r--r--databases/memcacheq/distinfo2
-rw-r--r--databases/memcacheq/files/memcacheq.in38
-rw-r--r--databases/memcacheq/files/patch-bdb.c41
-rw-r--r--databases/memcacheq/files/patch-configure11
-rw-r--r--databases/memcacheq/pkg-descr11
-rw-r--r--databases/memcacheq/pkg-plist2
7 files changed, 0 insertions, 147 deletions
diff --git a/databases/memcacheq/Makefile b/databases/memcacheq/Makefile
deleted file mode 100644
index d85f4c8772bf..000000000000
--- a/databases/memcacheq/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# Created by: Mikhail T. <m.tsatsenko@gmail.com>
-# $FreeBSD$
-
-PORTNAME= memcacheq
-PORTVERSION= 0.2.0
-PORTREVISION= 7
-CATEGORIES= databases
-MASTER_SITES= GENTOO
-
-MAINTAINER= m.tsatsenko@gmail.com
-COMMENT= Simple queue service over Memcache
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-LICENSE= BSD3CLAUSE
-
-LIB_DEPENDS= libevent.so:devel/libevent
-
-USE_CSTD= gnu89
-CFLAGS+= -I"${BDB_INCLUDE_DIR}"
-LDFLAGS+= -l"${BDB_LIB_NAME}" -L"${LOCALBASE}/lib"
-
-USES= bdb:5
-USE_RC_SUBR= memcacheq
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --with-bdb=${LOCALBASE} --enable-threads
-
-PORTDOCS= README
-
-MCQDIR?= /var/db/memcacheq
-PLIST_SUB= MCQDIR=${MCQDIR}
-
-OPTIONS_DEFINE= DOCS
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- @${MKDIR} ${STAGEDIR}${MCQDIR}
-
-.include <bsd.port.mk>
diff --git a/databases/memcacheq/distinfo b/databases/memcacheq/distinfo
deleted file mode 100644
index 6cbc78eaa2cf..000000000000
--- a/databases/memcacheq/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (memcacheq-0.2.0.tar.gz) = b314c46e1fb80d33d185742afe3b9a4fadee5575155cb1a63292ac2f28393046
-SIZE (memcacheq-0.2.0.tar.gz) = 131519
diff --git a/databases/memcacheq/files/memcacheq.in b/databases/memcacheq/files/memcacheq.in
deleted file mode 100644
index e0384dbfef83..000000000000
--- a/databases/memcacheq/files/memcacheq.in
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: memcacheq
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to run memcacheq:
-#
-# memcacheq_enable (bool): Set it to "YES" to enable memcacheq.
-# Default is "NO".
-# memcacheq_flags (flags): Set extra flags here.
-# Default is "-N -H /var/db/memcacheq -R -L 1024 -B 1024"
-# memcacheq_user (user): Set user to run memcacheq.
-# Default is "nobody".
-#
-
-. /etc/rc.subr
-
-name="memcacheq"
-rcvar=memcacheq_enable
-sig_stop=KILL
-
-load_rc_config ${name}
-
-: ${memcacheq_enable="NO"}
-: ${memcacheq_user="nobody"}
-: ${memcacheq_flags="-N -H /var/db/memcacheq -R -L 1024 -B 1024"}
-
-start_precmd="install -d -o $memcacheq_user -g wheel -m 700 /var/run/${name}"
-
-command=%%PREFIX%%/bin/memcacheq
-command_args="-u ${memcacheq_user} -P /var/run/${name}/${name}.pid -d"
-
-run_rc_command "$1"
diff --git a/databases/memcacheq/files/patch-bdb.c b/databases/memcacheq/files/patch-bdb.c
deleted file mode 100644
index 042f37c2dd19..000000000000
--- a/databases/memcacheq/files/patch-bdb.c
+++ /dev/null
@@ -1,41 +0,0 @@
---- bdb.c.orig 2012-01-24 14:49:12.248201883 +0400
-+++ bdb.c 2012-01-24 14:50:35.801194396 +0400
-@@ -264,8 +264,6 @@
- }
-
- int bdb_create_queue(char *queue_name) {
-- pthread_rwlock_wrlock(&qlist_ht_lock);
--
- char *k = strdup(queue_name);
- assert(k != NULL);
- queue_t *q = (queue_t *)calloc(1, sizeof(queue_t));
-@@ -309,14 +307,12 @@
- CHECK_DB_RET(ret);
- int result = hashtable_insert(qlist_htp, (void *)k, (void *)q);
- assert(result != 0);
-- pthread_rwlock_unlock(&qlist_ht_lock);
- return 0;
- dberr:
- if (txnp != NULL){
- txnp->abort(txnp);
- }
- fprintf(stderr, "bdb_create_queue: %s %s\n", queue_name, db_strerror(ret));
-- pthread_rwlock_unlock(&qlist_ht_lock);
- return -1;
- }
-
-@@ -554,12 +550,13 @@
-
- if (NULL == q) {
- pthread_rwlock_unlock(&qlist_ht_lock);
-+ /* switch to write lock */
-+ pthread_rwlock_wrlock(&qlist_ht_lock);
- ret = bdb_create_queue(key);
- if (0 != ret){
- return -1;
- }
- /* search again */
-- pthread_rwlock_rdlock(&qlist_ht_lock);
- q = (queue_t *)hashtable_search(qlist_htp, (void *)key);
- }
-
diff --git a/databases/memcacheq/files/patch-configure b/databases/memcacheq/files/patch-configure
deleted file mode 100644
index c06952420e93..000000000000
--- a/databases/memcacheq/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig 2011-10-14 14:34:47.367393592 +0400
-+++ configure 2011-10-14 14:34:57.769420421 +0400
-@@ -5505,7 +5505,7 @@
- enableval=$enable_threads;
- fi
-
--if test "x$enable_threads" == "xyes"; then
-+if test "x$enable_threads" = "xyes"; then
- { echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
- echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; }
- if test "${ac_cv_search_pthread_create+set}" = set; then
diff --git a/databases/memcacheq/pkg-descr b/databases/memcacheq/pkg-descr
deleted file mode 100644
index 2102ae62fa31..000000000000
--- a/databases/memcacheq/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-MemcacheQ is a Simple Queue Service over Memcache.
-
-Features:
-
- * damn simple
- * very fast
- * multiple queue
- * concurrent well
- * memcache protocol compatible
-
-WWW: http://memcachedb.org/memcacheq/
diff --git a/databases/memcacheq/pkg-plist b/databases/memcacheq/pkg-plist
deleted file mode 100644
index ab7da355aa62..000000000000
--- a/databases/memcacheq/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/memcacheq
-@dir(nobody,nobody,) %%MCQDIR%%