Date: Thu, 21 Apr 2005 01:06:03 -0400 (EDT) From: Michael Johnson <ahze@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: seanc@FreeBSD.org Subject: ports/80183: [PATCH] databases/memcached: update to 1.1.12 Message-ID: <200504210506.j3L563ax068459@blueheron.ahze.net> Resent-Message-ID: <200504210510.j3L5AKB7005903@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80183 >Category: ports >Synopsis: [PATCH] databases/memcached: update to 1.1.12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 21 05:10:20 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD blueheron.ahze.net 5.4-STABLE FreeBSD 5.4-STABLE #81: Mon Apr 4 21:13:41 EDT >Description: - Update to 1.1.12 Added file(s): - files/memcached.sh.in Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- memcached-1.1.12.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/memcached/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 31 Aug 2004 19:30:29 -0000 1.10 +++ Makefile 21 Apr 2005 05:01:13 -0000 @@ -6,7 +6,7 @@ # PORTNAME= memcached -PORTVERSION= 1.1.11 +PORTVERSION= 1.1.12 CATEGORIES= databases MASTER_SITES= http://www.danga.com/memcached/dist/ @@ -17,6 +17,7 @@ USE_REINPLACE= YES GNU_CONFIGURE= YES +USE_RC_SUBR= YES CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-prefix= @@ -25,9 +26,13 @@ DOCS_LIST= memory_management.txt protocol.txt post-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g; \ + s|%%RC_SUBR%%|${RC_SUBR}|g' \ + ${FILESDIR}/memcached.sh.in > ${WRKDIR}/memcached.sh @${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/memcached.sh ${PREFIX}/etc/rc.d ${INSTALL_MAN} ${MAN1:S!^!${WRKSRC}/doc/!} ${MAN1PREFIX}/man/man1 .ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" Index: distinfo =================================================================== RCS file: /home/ncvs/ports/databases/memcached/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 31 Aug 2004 19:30:29 -0000 1.4 +++ distinfo 21 Apr 2005 04:39:27 -0000 @@ -1,2 +1,2 @@ -MD5 (memcached-1.1.11.tar.gz) = f42301c02e4223a1f2298dd3d3c30d90 -SIZE (memcached-1.1.11.tar.gz) = 112954 +MD5 (memcached-1.1.12.tar.gz) = a1236dad33e9ac6c36d53faa8da61780 +SIZE (memcached-1.1.12.tar.gz) = 114103 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/databases/memcached/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 28 Mar 2004 04:54:31 -0000 1.3 +++ pkg-plist 21 Apr 2005 05:01:30 -0000 @@ -1,4 +1,5 @@ bin/memcached +etc/rc.d/memcached.sh %%PORTDOCS%%%%DOCSDIR%%/memory_management.txt %%PORTDOCS%%%%DOCSDIR%%/protocol.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% Index: files/memcached.sh.in =================================================================== RCS file: files/memcached.sh.in diff -N files/memcached.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/memcached.sh.in 21 Apr 2005 04:59:31 -0000 @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: memcached +# REQUIRE: DAEMON +# BEFORE: LOGIN + +. %%RC_SUBR%% + +name=memcached +rcvar=`set_rcvar` + +command=%%PREFIX%%/bin/memcached + +# set default +memcached_enable=${memcached_enable:-"NO"} +memcached_flags=${memcached_flags-"-d -u nobody -p 11211"} + +load_rc_config $name +run_rc_command "$1" --- memcached-1.1.12.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504210506.j3L563ax068459>