ports/94338: sane-backends STILL overwrites my snapscan.conf file
Torfinn Ingolfsen
torfinn.ingolfsen at broadpark.no
Mon Apr 10 08:07:13 UTC 2006
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 at 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 at 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 at 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 at kg-work# portinstall -PP sane-backends
...
...
root at 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 at kg-work# portupgrade sane-backends
...
...
root at 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
More information about the freebsd-ports-bugs
mailing list