Blame SOURCES/cups-lpd-manpage.patch

87cf9a
diff -up cups-1.6.3/man/cups-lpd.man.in.lpd-manpage cups-1.6.3/man/cups-lpd.man.in
87cf9a
--- cups-1.6.3/man/cups-lpd.man.in.lpd-manpage	2013-06-07 03:12:52.000000000 +0200
87cf9a
+++ cups-1.6.3/man/cups-lpd.man.in	2015-10-29 13:37:20.650824688 +0100
87cf9a
@@ -26,39 +26,8 @@ cups-lpd \- receive print jobs and repor
87cf9a
 \fIcups-lpd\fR is the CUPS Line Printer Daemon ("LPD")
87cf9a
 mini-server that supports legacy client systems that use the LPD
87cf9a
 protocol. \fIcups-lpd\fR does not act as a standalone network
87cf9a
-daemon but instead operates using the Internet "super-server"
87cf9a
-\fIinetd(8)\fR or \fIxinetd(8)\fR. If you are using \fIinetd\fR,
87cf9a
-add the following line to the \fIinetd.conf\fR file to enable the
87cf9a
-\fIcups-lpd\fR mini-server:
87cf9a
-.br
87cf9a
-.nf
87cf9a
-
87cf9a
-    printer stream tcp nowait lp @CUPS_SERVERBIN@/daemon/cups-lpd cups-lpd \\
87cf9a
-        -o document-format=application/octet-stream
87cf9a
-.fi
87cf9a
-.LP
87cf9a
-.LP
87cf9a
-\fBNote:\fR If you are using Solaris 10 or higher, you must run
87cf9a
-the \fIinetdconv(1m)\fR program to register the changes to the
87cf9a
-inetd.conf file.
87cf9a
-.LP
87cf9a
-If you are using the newer \fIxinetd(8)\fR daemon, create a file
87cf9a
-named \fI/etc/xinetd.d/cups\fR containing the following lines:
87cf9a
-.br
87cf9a
-.nf
87cf9a
-
87cf9a
-    service printer
87cf9a
-    {
87cf9a
-        socket_type = stream
87cf9a
-        protocol = tcp
87cf9a
-        wait = no
87cf9a
-        user = lp
87cf9a
-	group = sys
87cf9a
-	passenv =
87cf9a
-        server = @CUPS_SERVERBIN@/daemon/cups-lpd
87cf9a
-	server_args = -o document-format=application/octet-stream
87cf9a
-    }
87cf9a
-.fi
87cf9a
+daemon but instead operates as a socket-activatable \fIsystemd(1)\fR
87cf9a
+service.
87cf9a
 .SH OPTIONS
87cf9a
 .TP 5
87cf9a
 -h hostname[:port]
87cf9a
@@ -93,8 +62,7 @@ wrappers. Therefore, running \fIcups-lpd
87cf9a
 allow any computer on your network (and perhaps the entire
87cf9a
 Internet) to print to your server.
87cf9a
 .LP
87cf9a
-While \fIxinetd\fR has built-in access control support, you
87cf9a
-should use the TCP wrappers package with \fIinetd\fR to limit
87cf9a
+You should use configure the firewall to limit TCP port 515
87cf9a
 access to only those computers that should be able to print
87cf9a
 through your server.
87cf9a
 .LP
87cf9a
@@ -112,10 +80,18 @@ The output of the status requests follow
87cf9a
 between LPD and IPP Protocols. Since many LPD implementations
87cf9a
 stray from this definition, remote status reporting to LPD
87cf9a
 clients may be unreliable.
87cf9a
+.SH EXAMPLE
87cf9a
+CUPS includes configuration files for
87cf9a
+.BR systemd (8).
87cf9a
+Simply enable the
87cf9a
+.B cups-lpd
87cf9a
+socket using the corresponding control program.
87cf9a
+.nf
87cf9a
+    systemctl enable cups-lpd.socket
87cf9a
+    systemctl start cups-lpd.socket
87cf9a
+.fi
87cf9a
 .SH SEE ALSO
87cf9a
-\fIcups(1)\fR, \fIcupsd(8)\fR, \fIinetconv(1m)\fR,
87cf9a
-\fIinetd(8)\fR, \fIxinetd(8)\fR,
87cf9a
-.br
87cf9a
+\fIcups(1)\fR, \fIcupsd(8)\fR, \fIsystemd(1)\fR,
87cf9a
 http://localhost:631/help
87cf9a
 .SH COPYRIGHT
87cf9a
 Copyright 2007-2013 by Apple Inc.