aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2008-01-05 22:48:39 +0800
committerclsung <clsung@FreeBSD.org>2008-01-05 22:48:39 +0800
commit10fac10689b10032c9e7b2275ef2e3e3264e50e4 (patch)
treec41d711889a7d0b2e058dff4283333287332e1ba /databases
parent22d632ac96692831c37ad45e00d11c35c5ef1e3d (diff)
downloadfreebsd-ports-graphics-10fac10689b10032c9e7b2275ef2e3e3264e50e4.tar.gz
freebsd-ports-graphics-10fac10689b10032c9e7b2275ef2e3e3264e50e4.tar.zst
freebsd-ports-graphics-10fac10689b10032c9e7b2275ef2e3e3264e50e4.zip
- Update to 0.1.0
PR: ports/117861 Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'databases')
-rw-r--r--databases/memcachedb/Makefile5
-rw-r--r--databases/memcachedb/distinfo6
-rw-r--r--databases/memcachedb/files/memcachedb.in15
-rw-r--r--databases/memcachedb/files/patch-Makefile12
4 files changed, 14 insertions, 24 deletions
diff --git a/databases/memcachedb/Makefile b/databases/memcachedb/Makefile
index f682964ed24..91c362727df 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 a690a736681..2b1a15efe68 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 5258ab91019..025c58ab85d 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 dca673aeed4..3ef1ea9ec76 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}