Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 14:50:33 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384651 - in head/irc/anope: . files
Message-ID:  <201504241450.t3OEoXOD027907@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Fri Apr 24 14:50:32 2015
New Revision: 384651
URL: https://svnweb.freebsd.org/changeset/ports/384651

Log:
  rc script improvements
  
  It was not setting user to "nobody" correctly

Modified:
  head/irc/anope/Makefile
  head/irc/anope/files/anope.in

Modified: head/irc/anope/Makefile
==============================================================================
--- head/irc/anope/Makefile	Fri Apr 24 14:36:57 2015	(r384650)
+++ head/irc/anope/Makefile	Fri Apr 24 14:50:32 2015	(r384651)
@@ -3,7 +3,7 @@
 
 PORTNAME=	anope
 PORTVERSION=	2.0.2
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	irc
 
 MAINTAINER=	feld@FreeBSD.org

Modified: head/irc/anope/files/anope.in
==============================================================================
--- head/irc/anope/files/anope.in	Fri Apr 24 14:36:57 2015	(r384650)
+++ head/irc/anope/files/anope.in	Fri Apr 24 14:50:32 2015	(r384651)
@@ -19,10 +19,10 @@ rcvar=anope_enable
 
 load_rc_config $name
 
-command=%%PREFIX%%/anope/bin/services
+: ${anope_enable:=NO}
+: ${anope_user:=nobody}
 
-anope_enable=${anope_enable:-"NO"}
-anope_user:=nobody
+command=%%PREFIX%%/anope/bin/services
 pidfile=%%PREFIX%%/anope/data/services.pid
 
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504241450.t3OEoXOD027907>