From eugen@grosbein.pp.ru  Sun Feb 26 17:25:52 2006
Return-Path: <eugen@grosbein.pp.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A8BBC16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Feb 2006 17:25:52 +0000 (GMT)
	(envelope-from eugen@grosbein.pp.ru)
Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.166])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A54A143D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Feb 2006 17:25:51 +0000 (GMT)
	(envelope-from eugen@grosbein.pp.ru)
Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1])
	by grosbein.pp.ru (8.13.4/8.13.4) with ESMTP id k1QHPmce000737
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Feb 2006 00:25:48 +0700 (KRAT)
	(envelope-from eugen@grosbein.pp.ru)
Received: (from eugen@localhost)
	by grosbein.pp.ru (8.13.4/8.13.4/Submit) id k1QHPl48000736;
	Mon, 27 Feb 2006 00:25:47 +0700 (KRAT)
	(envelope-from eugen)
Message-Id: <200602261725.k1QHPl48000736@grosbein.pp.ru>
Date: Mon, 27 Feb 2006 00:25:47 +0700 (KRAT)
From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] minor error in ports/sysutils/apcupsd/files/apcupsd.sh.sample
X-Send-Pr-Version: 3.113
X-GNATS-Notify: itetcu@people.tecnik93.com

>Number:         93862
>Category:       ports
>Synopsis:       [patch] minor error in ports/sysutils/apcupsd/files/apcupsd.sh.sample
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 26 17:30:12 GMT 2006
>Closed-Date:    Mon Feb 27 14:25:38 GMT 2006
>Last-Modified:  Mon Feb 27 14:25:38 GMT 2006
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun Feb 26 21:18:47 KRAT 2006 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386

>Description:
	There is small literal error in the file
	ports/sysutils/apcupsd/files/apcupsd.sh.sample
	that leads to wrong processing of "apcupsd_lockfile"
	parameter from /etc/rc.conf

>How-To-Repeat:
	Just look at the patch

>Fix:

--- apcupsd.sh.sample.orig	Mon Feb 27 00:22:40 2006
+++ apcupsd.sh.sample	Mon Feb 27 00:22:51 2006
@@ -19,7 +19,7 @@
 apcupsd_program=${apcupsd_program:-${PREFIX}/sbin/apcupsd}
 apcupsd_flags=${apcupsd_flags:-"--kill-on-powerfail"}
 apcupsd_pidfile=${apcupsd_pidfile:-/var/run/apcupsd.pid}
-apcupsd_lockfile=${apcupsd_pidfile:-/var/spool/lock/apcupsd.lock}
+apcupsd_lockfile=${apcupsd_lockfile:-/var/spool/lock/apcupsd.lock}
 
 case $1 in
     start)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Feb 26 17:32:10 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93862 

From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To: Eugene Grosbein <eugen@grosbein.pp.ru>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/93862: [patch] minor error in
 ports/sysutils/apcupsd/files/apcupsd.sh.sample
Date: Mon, 27 Feb 2006 11:37:30 +0200

 Approved, thanks for you patch.
 
 -- 
 IOnut
 Unregistered ;) FreeBSD "user"
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Mon Feb 27 09:43:52 UTC 2006 
State-Changed-Why:  
Approved by maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93862 
Responsible-Changed-From-To: freebsd-ports-bugs->vd 
Responsible-Changed-By: vd 
Responsible-Changed-When: Mon Feb 27 14:10:03 UTC 2006 
Responsible-Changed-Why:  
I will take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93862 
State-Changed-From-To: open->closed 
State-Changed-By: vd 
State-Changed-When: Mon Feb 27 14:19:56 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93862 
>Unformatted:
