From alex@care.rheuma-online.de  Thu Oct 14 18:37:47 2004
Return-Path: <alex@care.rheuma-online.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0E1D016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 2004 18:37:47 +0000 (GMT)
Received: from care.rheuma-online.de (care.rheuma-online.de [217.115.138.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4E97743D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 2004 18:37:46 +0000 (GMT)
	(envelope-from alex@care.rheuma-online.de)
Received: from care.rheuma-online.de (localhost.rheuma-online.de [127.0.0.1])
	by care.rheuma-online.de (8.13.1/8.13.1) with ESMTP id i9EIbiD1004609
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 2004 20:37:44 +0200 (CEST)
	(envelope-from alex@care.rheuma-online.de)
Received: (from alex@localhost)
	by care.rheuma-online.de (8.13.1/8.13.1/Submit) id i9EIbiOO004608;
	Thu, 14 Oct 2004 20:37:44 +0200 (CEST)
	(envelope-from alex)
Message-Id: <200410141837.i9EIbiOO004608@care.rheuma-online.de>
Date: Thu, 14 Oct 2004 20:37:44 +0200 (CEST)
From: Alexander Langer <alex@big.endian.de>
Reply-To: Alexander Langer <alex@big.endian.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: misc/amanda: chg-disk script error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72704
>Category:       ports
>Synopsis:       misc/amanda-server: chg-disk script error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 18:40:25 GMT 2004
>Closed-Date:    Mon Jan 10 12:20:52 GMT 2005
>Last-Modified:  Mon Jan 10 12:20:52 GMT 2005
>Originator:     Alexander Langer
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD .. 5.3-BETA7 FreeBSD 5.3-BETA7 #2: Mon Oct 4 17:34:54 CEST 2004 alex@...:/usr/obj/usr/src/sys/CARE i386

>Description:

Amanbda's disk-changer script uses bash-syntax like the following:
VARNAME=$[ANOTHERVAR+1]

However, FreeBSD's /bin/sh doesn't support this.

So, either you need to patch the script to use bash (and depend on shells/bash2), or patch the script to use correct FreeBSD syntax.

>How-To-Repeat:

run amanda with chg-disk as changer configured

>Fix:

No patch included as I just run the script under bash for now.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jeh 
Responsible-Changed-By: pav 
Responsible-Changed-When: Fri Oct 15 11:44:48 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

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

From: "James E. Housley" <jeh@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, alex@big.endian.de
Cc:  
Subject: Re: ports/72704: misc/amanda: chg-disk script error
Date: Fri, 15 Oct 2004 08:33:44 -0400

 You should submit changes/requests like the amanda project too.
 
 Jim
 -- 
 /"\   ASCII Ribbon Campaign  .
 \ / - NO HTML/RTF in e-mail  .
   X  - NO Word docs in e-mail .
 / \ -----------------------------------------------------------------
 jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
 jim@TheHousleys.Net  http://www.TheHousleys.net
 ---------------------------------------------------------------------
 Studies show that 1 out of every 4 Americans suffer some form of
      mental illness.  So look at your three best friends, if they
      are okay it is YOU!
State-Changed-From-To: open->feedback 
State-Changed-By: jeh 
State-Changed-When: Mon Nov 22 11:07:03 GMT 2004 
State-Changed-Why:  
Does this problem still exist with the new version 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72704 
State-Changed-From-To: feedback->closed 
State-Changed-By: jeh 
State-Changed-When: Mon Jan 10 12:20:33 GMT 2005 
State-Changed-Why:  
Closed due to lack of feedback 

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