ports/187024: databases/redis-devel proper rcvar
Oleg Ginzburg
olevole at olevole.ru
Tue Feb 25 08:10:01 UTC 2014
>Number: 187024
>Category: ports
>Synopsis: databases/redis-devel proper rcvar
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 25 08:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Oleg Ginzburg
>Release: 11.0-CURRENT #0 r261907
>Organization:
>Environment:
>Description:
current port installs incorrect rc.d script:
% ps axf|grep redis
% make -C /usr/ports/databases/redis-devel install
% grep redis /etc/rc.conf
% service redis start
/usr/local/etc/rc.d/redis: set_rcvar: not found
Starting redis.
% ps axf | grep redis
20488 - Ss 0:00.00 redis-server: /usr/local/bin/redis-server *:6379 (redis-server)
Redis starts without redis_enable options
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN redis-devel.bak/files/redis.in redis-devel/files/redis.in
--- redis-devel.bak/files/redis.in 2014-02-22 10:21:29.000000000 +0400
+++ redis-devel/files/redis.in 2014-02-25 12:01:54.000000000 +0400
@@ -16,7 +16,7 @@
. /etc/rc.subr
name="redis"
-rcvar=`set_rcvar`
+rcvar=redis_enable
extra_commands="reload"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list