Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 10:07:10 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        Volker Stolz <vs@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, vs@FreeBSD.org
Subject:   Re: ports/94338: sane-backends STILL overwrites my snapscan.conf file
Message-ID:  <20060410100710.746f5161.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <200604091444.k39EiJYO008757@freefall.freebsd.org>
References:  <200604091444.k39EiJYO008757@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <vs@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060410100710.746f5161.torfinn.ingolfsen>