Index: Makefile =================================================================== --- Makefile (revision 357806) +++ Makefile (working copy) @@ -3,27 +3,26 @@ PORTNAME= memcachedb PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= meritus@innervision.pl -COMMENT= Distributed storage system designed for persistent +COMMENT= Distributed storage system designed for persistence +LICENSE= BSD3 + LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent -CFLAGS= -I"${BDB_INCLUDE_DIR}" +CFLAGS+= -I"${BDB_INCLUDE_DIR}" CONFIGURE_ARGS= --enable-threads --with-bdb="${LOCALBASE}" \ --with-libevent="${LOCALBASE}" GNU_CONFIGURE= yes LDFLAGS+= -l"${BDB_LIB_NAME}" -L"${LOCALBASE}/lib" -MCDBDIR?= /var/db/memcachedb -USE_BDB= 47+ +USE_BDB= 47 USE_RC_SUBR= ${PORTNAME} -NO_STAGE= yes post-install: - ${MKDIR} ${MCDBDIR} || ${TRUE} - ${CHOWN} nobody:nobody ${MCDBDIR} + ${MKDIR} ${STAGEDIR}/var/db/memcachedb .include Index: pkg-descr =================================================================== --- pkg-descr (revision 357806) +++ pkg-descr (working copy) @@ -1,10 +1,8 @@ -Memcachedb is a distributed storage system designed for persistent. We -simplely hacked from memcached and tugela. But neither of them. -Memcachedb is not a cache solution, it is a persistent solution for -high-frequency writing and reading. It conforms to memcache protocol -(not completed, see below), so any memcached client can have -connectivity with memcachedb. Memcachedb uses Berkeley DB as a storing -backend, so lots of features including transaction and replication are -supported. +MemcacheDB is a distributed storage system designed for persistence. +It is not a cache solution, but a persistent storage engine for fast and +reliable key-value based object storage and retrieval. It conforms to +memcache protocol (not complete), so any memcached client can connect to +it. MemcacheDB uses Berkeley DB as a storing backend, so lots of +features including transaction and replication are supported. -WWW: http://code.google.com/p/memcachedb/ +WWW: http://code.google.com/p/memcachedb/ Index: pkg-plist =================================================================== --- pkg-plist (revision 357806) +++ pkg-plist (working copy) @@ -1,3 +1,10 @@ @stopdaemon memcachedb bin/memcachedb +etc/rc.d/memcachedb +@owner nobody +@group nobody +@mode 770 @dirrmtry /var/db/memcachedb +@mode +@group +@owner