diff options
author | clsung <clsung@FreeBSD.org> | 2008-01-05 22:48:39 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2008-01-05 22:48:39 +0800 |
commit | 10fac10689b10032c9e7b2275ef2e3e3264e50e4 (patch) | |
tree | c41d711889a7d0b2e058dff4283333287332e1ba /databases/memcachedb/files | |
parent | 22d632ac96692831c37ad45e00d11c35c5ef1e3d (diff) | |
download | freebsd-ports-gnome-10fac10689b10032c9e7b2275ef2e3e3264e50e4.tar.gz freebsd-ports-gnome-10fac10689b10032c9e7b2275ef2e3e3264e50e4.tar.zst freebsd-ports-gnome-10fac10689b10032c9e7b2275ef2e3e3264e50e4.zip |
- Update to 0.1.0
PR: ports/117861
Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'databases/memcachedb/files')
-rw-r--r-- | databases/memcachedb/files/memcachedb.in | 15 | ||||
-rw-r--r-- | databases/memcachedb/files/patch-Makefile | 12 |
2 files changed, 9 insertions, 18 deletions
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} |