diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-01-05 14:48:39 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-01-05 14:48:39 +0000 |
commit | 51059a52a4a537065313b205dc495118d99b1c10 (patch) | |
tree | b846e9f303856a3da1957277431d907a29f84198 /databases/memcachedb | |
parent | f789e14057d97d4a16eb676fe4600d4a3e579413 (diff) | |
download | ports-51059a52a4a537065313b205dc495118d99b1c10.tar.gz ports-51059a52a4a537065313b205dc495118d99b1c10.zip |
Notes
Diffstat (limited to 'databases/memcachedb')
-rw-r--r-- | databases/memcachedb/Makefile | 5 | ||||
-rw-r--r-- | databases/memcachedb/distinfo | 6 | ||||
-rw-r--r-- | databases/memcachedb/files/memcachedb.in | 15 | ||||
-rw-r--r-- | databases/memcachedb/files/patch-Makefile | 12 |
4 files changed, 14 insertions, 24 deletions
diff --git a/databases/memcachedb/Makefile b/databases/memcachedb/Makefile index f682964ed24a..91c362727dfa 100644 --- a/databases/memcachedb/Makefile +++ b/databases/memcachedb/Makefile @@ -6,8 +6,7 @@ # PORTNAME= memcachedb -PORTVERSION= 0.0.3 -PORTREVISION= 1 +PORTVERSION= 0.1.0 CATEGORIES= databases MASTER_SITES= http://memcachedb.googlecode.com/files/ @@ -16,7 +15,7 @@ COMMENT= Distributed storage system designed for persistent LIB_DEPENDS= event-1.3e:${PORTSDIR}/devel/libevent -USE_BDB= 42+ +USE_BDB= 46+ USE_DOS2UNIX= YES USE_RC_SUBR= ${PORTNAME} diff --git a/databases/memcachedb/distinfo b/databases/memcachedb/distinfo index a690a7366818..2b1a15efe686 100644 --- a/databases/memcachedb/distinfo +++ b/databases/memcachedb/distinfo @@ -1,3 +1,3 @@ -MD5 (memcachedb-0.0.3.tar.gz) = 0cd7ee40e7fff94736a5befd1e6d8abb -SHA256 (memcachedb-0.0.3.tar.gz) = 3627005feda900b9aa9bbc2704e3c0201a13969a15e99d4e5272f0108fdffd51 -SIZE (memcachedb-0.0.3.tar.gz) = 12153 +MD5 (memcachedb-0.1.0.tar.gz) = 0384dd0ec076cb3405861c06c2e47dd7 +SHA256 (memcachedb-0.1.0.tar.gz) = 40cbb9cf860f359bd37ec45d597f366c63db8815b40638b49dfa6981f8c106e7 +SIZE (memcachedb-0.1.0.tar.gz) = 15679 diff --git a/databases/memcachedb/files/memcachedb.in b/databases/memcachedb/files/memcachedb.in index 5258ab910195..025c58ab85d0 100644 --- a/databases/memcachedb/files/memcachedb.in +++ b/databases/memcachedb/files/memcachedb.in @@ -18,18 +18,9 @@ rcvar=`set_rcvar` load_rc_config $name -: ${memcachedb_bind="127.0.0.1"} -: ${memcachedb_dbfile="/var/db/memcachedb/default.db"} -: ${memcachedb_dbpath="/var/db/memcachedb"} -: ${memcachedb_enable="NO"} -: ${memcachedb_pidfile="/var/run/memcachedb.pid"} -: ${memcachedb_port="11211"} -: ${memcachedb_user="nobody"} - -command=%%PREFIX%%/sbin/${name} -command_args="-p ${memcachedb_port} -l ${memcachedb_bind} -d -u ${memcachedb_user} -f ${memcachedb_dbfile} -H ${memcachedb_dbpath} -P ${memcachedb_pidfile}" - -unset memcachedb_user +command="%%PREFIX%%/sbin/${name}" + +: ${memcachedb_flags="-p11211 -l 127.0.0.1 -d -u nobody -f /var/db/memcachedb/default.db -H /var/db/memcachedb -P /var/run/memcachedb.pid"} run_rc_command "$1" diff --git a/databases/memcachedb/files/patch-Makefile b/databases/memcachedb/files/patch-Makefile index dca673aeed43..3ef1ea9ec76c 100644 --- a/databases/memcachedb/files/patch-Makefile +++ b/databases/memcachedb/files/patch-Makefile @@ -1,19 +1,19 @@ ---- Makefile.orig 2007-09-22 03:51:05.000000000 +0800 -+++ Makefile 2007-09-22 03:56:02.000000000 +0800 +--- Makefile.orig 2007-11-06 16:55:06.000000000 +0800 ++++ Makefile 2007-11-06 16:56:00.000000000 +0800 @@ -1,15 +1,15 @@ # $Id: Makefile 11833 2005-11-28 00:22:02Z midom $ # $Id: Makefile 11833 2007-09-06 10:56:02Z steve $ -LIBS=-ldb -levent --DBLIBPATH=/usr/local/BerkeleyDB.4.5/lib --DBINCPATH=/usr/local/BerkeleyDB.4.5/include +-DBLIBPATH=/usr/local/BerkeleyDB.4.6/lib +-DBINCPATH=/usr/local/BerkeleyDB.4.6/include +LIBS=-l%%BDB_LIB_NAME%% -levent +DBLIBPATH=%%BDB_LIB_DIR%% +DBINCPATH=%%BDB_INCLUDE_DIR%% LDFLAGS= -L/usr/local/lib/ -L${DBLIBPATH} --CFLAGS = -O2 -I/usr/local/include -I${DBINCPATH} -+CFLAGS+= -I/usr/local/include -I${DBINCPATH} +-CFLAGS =-Wall -O2 -I/usr/local/include -I${DBINCPATH} ++CFLAGS+=-Wall -I/usr/local/include -I${DBINCPATH} all: - cc -o memcachedb memcachedb.c ${LDFLAGS} ${CFLAGS} ${LIBS} |