ports/93645: Update port: databases/memcached litte fix in rc.d script

Marcus Alves Grando mnag at FreeBSD.org
Tue Feb 21 15:00:21 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list