From tingo@start.no  Tue Dec 27 18:55:25 2005
Return-Path: <tingo@start.no>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 939B516A420
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Dec 2005 18:55:25 +0000 (GMT)
	(envelope-from tingo@start.no)
Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2548C43D62
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Dec 2005 18:55:24 +0000 (GMT)
	(envelope-from tingo@start.no)
Received: from osl1sminn1.broadpark.no ([80.202.4.59])
 by osl1smout1.broadpark.no
 (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004))
 with ESMTP id <0IS600NPW7G82UB0@osl1smout1.broadpark.no> for
 FreeBSD-gnats-submit@freebsd.org; Tue, 27 Dec 2005 20:00:08 +0100 (CET)
Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no
 (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004))
 with ESMTP id <0IS600EO17CRRU60@osl1sminn1.broadpark.no> for
 FreeBSD-gnats-submit@freebsd.org; Tue, 27 Dec 2005 19:58:03 +0100 (CET)
Message-Id: <1135709724.0@kg-work.kg4.no>
Date: Tue, 27 Dec 2005 19:55:24 +0100
From: Torfinn Ingolfsen <tingo@start.no>
To: FreeBSD gnats submit <FreeBSD-gnats-submit@freebsd.org>
Subject: sane-backends overwrites and installed snapscan.conf file
X-Send-Pr-Version: gtk-send-pr 0.4.6
X-GNATS-Notify:

>Number:         90988
>Category:       ports
>Synopsis:       sane-backends overwrites and installed snapscan.conf file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 27 19:00:16 GMT 2005
>Closed-Date:    Sun Feb 19 22:10:46 GMT 2006
>Last-Modified:  Sun Feb 19 22:10:46 GMT 2006
>Originator:     Torfinn Ingolfsen
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.4-STABLE #3: Fri Jul  8 14:26:44 CEST 2005
    root@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G



>Description:


When upgrading the sane-backends port, it will overwrite my /usr/local/etc/sane.d/snapscan.conf file, thus making
sure that my firmware load command is not there, and thus the scanner fails after upgrading sane-backends.
A bit annoying.


>How-To-Repeat:


1) have sane-backends installed
2) upgrade it (with portupgrade or something else)


>Fix:


make the port check if the installed snapscan.conf is modified before overwriting it perhaps?


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jan 7 06:56:55 UTC 2006 
State-Changed-Why:  
Can you see if you can make patches for this problem? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90988 
State-Changed-From-To: feedback->open 
State-Changed-By: mnag 
State-Changed-When: Sun Feb 19 02:30:30 UTC 2006 
State-Changed-Why:  
Feedback timeout and no fix available. 

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

From: Torfinn Ingolfsen <tingo@start.no>
To: tingo@start.no
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/90988: sane-backends overwrites and installed snapscan.conf file
Date: Sun, 19 Feb 2006 22:18:48 +0100 (CET)

 ----- Forwarded message from Torfinn Ingolfsen <tingo@start.no> -----
 Date: Sun, 19 Feb 2006 12:25:04 +0100 (CET)
 From: Torfinn Ingolfsen <tingo@start.no>
 Reply-To: Torfinn Ingolfsen <tingo@start.no>
 Subject: Re: ports/90988: sane-backends overwrites and installed snapscan.conf file
 To: Marcus Alves Grando <mnag@FreeBSD.org>
 
 Quoting Marcus Alves Grando <mnag@FreeBSD.org>:
 
 > Synopsis: sane-backends overwrites and installed snapscan.conf file
 >
 > State-Changed-From-To: feedback->open
 > State-Changed-By: mnag
 > State-Changed-When: Sun Feb 19 02:30:30 UTC 2006
 > State-Changed-Why:
 > Feedback timeout and no fix available.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr988
 >
 
 I have sent feeedback (but no fix). Unfortunately, it seems that the feedback
 message didn't make it to GNATS for some reason.
 Original message below:
 Quoting Edwin Groothuis <edwin@FreeBSD.org>:
 
 > Synopsis: sane-backends overwrites and installed snapscan.conf file
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: edwin
 > State-Changed-When: Sat Jan 7 06:56:55 UTC 2006
 > State-Changed-Why:
 > Can you see if you can make patches for this problem?
 
 I have been thinking about this problem for some days now.
 Honestly, I don't know how to do this.
 I understand the problem (ie. do not overwrite a configuration file if it has
 been changed) but I do not know how to do that with ports. I have read the
 porters handbook lightly, perhaps I need to read it more deeply again.
 If my understanding is correct, the new snapscan.conf file should be copied as
 snapscan.conf.sample (if a snapscan.conf file exist already), that part is
 quite
 easy.
 What about the other configuration files? As far as I can tell, sane-backends
 has a total of 58 configuration files that could possibly be edited by the
 user.
 Should a patch handle all of them?
 
 Where can I find help from others with this question?
 --
 Torfinn Ingolfsen,
 Norway
 
 
 -------------------------------------------------------------------------
 Start.no tilbyr n raskere bredbnd til lavere pris.
 Sjekk http://www.start.no/bredband/ for mer informasjon
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Sun Feb 19 22:10:45 UTC 2006 
State-Changed-Why:  
Fixed. Thanks.y 

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