From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 10 08:07:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD7016A400; Mon, 10 Apr 2006 08:07:13 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B2B443D45; Mon, 10 Apr 2006 08:07:12 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.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 <0IXH00JC1YJZ1L00@osl1smout1.broadpark.no>; Mon, 10 Apr 2006 10:07:11 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.172.162]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IXH008CIYJZN5N0@osl1sminn1.broadpark.no>; Mon, 10 Apr 2006 10:07:11 +0200 (CEST) Date: Mon, 10 Apr 2006 10:07:10 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <200604091444.k39EiJYO008757@freefall.freebsd.org> To: Volker Stolz Message-id: <20060410100710.746f5161.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200604091444.k39EiJYO008757@freefall.freebsd.org> Cc: freebsd-ports-bugs@FreeBSD.org, vs@FreeBSD.org Subject: Re: ports/94338: sane-backends STILL overwrites my snapscan.conf file X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 08:07:13 -0000 Sorry for the last mail, my butterfingers hit the send button while I was editing the message. :-/ On Sun, 09 Apr 2006 14:44:19 +0000 (GMT) Volker Stolz wrote: > Can you please try to repeat that behaviour once for installing from > the port and once for the package? I think the file might only get > overwritten in the installing-from-ports-case. Let's see: root@kg-work# ls -l /usr/local/etc/sane.d/snapscan.conf -rw-r--r-- 1 root wheel 2250 Mar 11 16:12 /usr/local/etc/sane.d/snapscan.conf root@kg-work# portversion -v | grep sane-backends sane-backends-1.0.17_2 < needs updating (port has 1.0.17_3) Hmm, there is no package og sane-backends 1.0.17_3. Ok, lets try to install that after uninstalling the port then. root@kg-work# portinstall -PP sane-backends ... ... root@kg-work# ls -l /usr/local/etc/sane.d/snapscan.conf -rw-r--r-- 1 root wheel 2250 Mar 11 16:12 /usr/local/etc/sane.d/snapscan.conf Ok, it seems that the package didn't touch the file. Now, lets use portupgrade to upgrade it from the port: root@kg-work# portupgrade sane-backends ... ... root@kg-work# ls -l /usr/local/etc/sane.d/snapscan.conf -rw-r--r-- 1 root wheel 2250 Mar 11 16:12 /usr/local/etc/sane.d/snapscan.conf Hmm, it seems that the latest version of the port (1.0.17_3) does the right thing with the config file too. It didn't do that in prevoius versions. -- Regards, Torfinn Ingolfsen, Norway