openbsd-ports/graphics/sane-backends/patches/patch-doc_saned_man
ajacoutot 01ffada18b - major update to sane-backends-1.0.20:
* new and updated backends
* 75 more scanner models supported
* epson backend deprecated, use epson2
* coolscan2 backend deprecated, use coolscan3
* improved saned configuration
* updated translations and documentations
* bugfixes
2009-05-06 10:23:21 +00:00

45 lines
1.3 KiB
Plaintext

$OpenBSD: patch-doc_saned_man,v 1.5 2009/05/06 10:23:21 ajacoutot Exp $
--- doc/saned.man.orig Tue May 5 10:05:38 2009
+++ doc/saned.man Tue May 5 10:06:49 2009
@@ -136,7 +136,7 @@ support IPv6, check the documentation for your inetd d
The configuration line normally looks like this:
.PP
.RS
-sane\-port stream tcp nowait saned.saned @SBINDIR@/saned saned
+sane\-port stream tcp nowait _saned._saned @SBINDIR@/saned saned
.RE
.PP
However, if your system uses
@@ -149,16 +149,16 @@ and use a line of the following form in
instead:
.PP
.RS
-sane\-port stream tcp nowait saned.saned /usr/sbin/tcpd @SBINDIR@/saned
+sane\-port stream tcp nowait _saned._saned /usr/sbin/tcpd @SBINDIR@/saned
.RE
.PP
Note that both examples assume that there is a
-.B saned
+.B _saned
group and a
-.B saned
+.B _saned
user. If you follow this example, please make sure that the
access permissions on the special device are set such that
-.B saned
+.B _saned
can access the scanner (the program generally needs read and
write access to scanner devices).
.PP
@@ -177,8 +177,8 @@ service sane\-port
port = 6566
socket_type = stream
wait = no
- user = saned
- group = saned
+ user = _saned
+ group = _saned
server = @SBINDIR@/saned
}
.fi