ports/graphics/sane-backends/patches/patch-doc_saned_man

43 lines
1.1 KiB
Text

Index: doc/saned.man
--- doc/saned.man.orig
+++ doc/saned.man
@@ -250,7 +250,7 @@ configuration file
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
@@ -264,16 +264,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
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).
@@ -298,8 +298,8 @@ service sane\-port
port = 6566
socket_type = stream
wait = no
- user = saned
- group = saned
+ user = _saned
+ group = _saned
server = @SBINDIR@/saned
}
.fi