Date: Tue, 21 Feb 2006 11:53:54 -0300 (BRT) From: Marcus Alves Grando <mnag@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: seanc@FreeBSD.org Subject: ports/93645: Update port: databases/memcached litte fix in rc.d script Message-ID: <20060221145354.C055A2F@marcus.grupos.com.br> Resent-Message-ID: <200602211500.k1LF0GBJ092169@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93645 >Category: ports >Synopsis: Update port: databases/memcached litte fix in rc.d script >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: Tue Feb 21 15:00:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Marcus Alves Grando >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD marcus.grupos.com.br 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #16: Mon Feb 20 00:14:29 BRT 2006 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386 >Description: - *_flags are automatic added in startup command. Not need to include in command_args. This fix does not need to bump portrevision. >How-To-Repeat: >Fix: --- memcached.patch begins here --- Index: files/memcached.in =================================================================== RCS file: /home/pcvs/ports/databases/memcached/files/memcached.in,v retrieving revision 1.1 diff -u -r1.1 memcached.in --- files/memcached.in 2 Feb 2006 14:30:46 -0000 1.1 +++ files/memcached.in 21 Feb 2006 14:50:55 -0000 @@ -18,15 +18,14 @@ . %%RC_SUBR%% name="memcached" -rcvar=`set_rcvar` +rcvar=${name}_enable -load_rc_config $name +load_rc_config ${name} : ${memcached_enable="NO"} -: ${memcached_flags=""} : ${memcached_user="nobody"} command=%%PREFIX%%/bin/memcached -command_args="-d -u ${memcached_user} ${memcached_flags}" +command_args="-d -u ${memcached_user}" run_rc_command "$1" --- memcached.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?20060221145354.C055A2F>