update memcached 1.4.5 -> 1.4.10.

Added rc script.

tested with www/sogo on i386 by me, and with devel/subversion by stsp@ on amd64

OK stsp@
This commit is contained in:
sebastia 2011-12-25 14:37:28 +00:00
parent d5178881fd
commit d679f3a100
5 changed files with 21 additions and 20 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.15 2011/07/11 12:13:03 jasper Exp $
# $OpenBSD: Makefile,v 1.16 2011/12/25 14:37:28 sebastia Exp $
COMMENT= distributed memory object caching system
DISTNAME= memcached-1.4.5
REVISION= 0
DISTNAME = memcached-1.4.10
CATEGORIES= misc
HOMEPAGE= http://www.danga.com/memcached/

View File

@ -1,5 +1,5 @@
MD5 (memcached-1.4.5.tar.gz) = WDRBol+Tc2BiQCTyiB5eqA==
RMD160 (memcached-1.4.5.tar.gz) = wfU0+8WFoeoDO70S1vyUx3oIUDI=
SHA1 (memcached-1.4.5.tar.gz) = x9ZRd2S4LSOuLedrVsJJQ0PFPwI=
SHA256 (memcached-1.4.5.tar.gz) = lXG0uFSE5Gs7EPB8y6d6H6l9YGYLMoWfmQ7/77MAX5E=
SIZE (memcached-1.4.5.tar.gz) = 302516
MD5 (memcached-1.4.10.tar.gz) = jhgFTsXt/Zb33ofwJiIFKg==
RMD160 (memcached-1.4.10.tar.gz) = Z/Rne6ZEsbFRUaaGWoN3lm/hlwY=
SHA1 (memcached-1.4.10.tar.gz) = CuMA+Fi3Z6v4EgCdU+1YZHzrSYo=
SHA256 (memcached-1.4.10.tar.gz) = LMPeNBtWFGTaKfxdXipPrMD2qvwVHw4dlCKHBeB1j98=
SIZE (memcached-1.4.10.tar.gz) = 311926

View File

@ -1,13 +1,3 @@
To start memcached at boot time, add the following to /etc/rc.local:
if [ -x ${PREFIX}/bin/memcached ]; then
echo -n ' memcached'
${PREFIX}/bin/memcached -d \
-u _memcached -P /var/run/memcached.pid
fi
To see further configuration options, run "memcached -h".
Since memcached has no authentication mechanisms, it is designed for
internal use only, and should be firewalled accordingly. You may wish
to add a rule such as the following to /etc/pf.conf:

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2010/04/21 12:23:37 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2011/12/25 14:37:28 sebastia Exp $
@newgroup _memcached:637
@newuser _memcached:637:_memcached:daemon:memcache daemon:/var/empty:/sbin/nologin
@bin bin/memcached
@ -8,4 +8,4 @@ include/memcached/protocol_binary.h
share/doc/memcached/
share/doc/memcached/protocol.txt
share/doc/memcached/readme.txt
share/doc/memcached/threads.txt
@rcscript ${RCDIR}/memcached

View File

@ -0,0 +1,12 @@
#!/bin/sh
#
# $OpenBSD: memcached.rc,v 1.1 2011/12/25 14:37:28 sebastia Exp $
daemon="${TRUEPREFIX}/bin/memcached -d"
daemon_flags="-u _memcached -P /var/run/memcached.pid"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1