cups: some changes
- WITH_ and WITHOUT_ are outdated - make.conf is the wrong place for modern systems (which should be using poudriere) - only reference package installation. Ports users can use the port name and the normal ports documentation
This commit is contained in:
parent
1d154badb3
commit
30f1f1fe82
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46469
1 changed files with 2 additions and 36 deletions
|
@ -55,19 +55,12 @@
|
|||
<sect1 xml:id="printing-cups-install">
|
||||
<title>Installing the CUPS Print Server</title>
|
||||
|
||||
<para><application>CUPS</application> can be installed from ports or
|
||||
by using a precompiled binary package. To install
|
||||
<application>CUPS</application> from ports, issue the following
|
||||
command from a root terminal:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/print/cups && make install clean</userinput></screen>
|
||||
|
||||
<para>To install <application>CUPS</application> using a precompiled
|
||||
binary, issue the following command from a root terminal:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_add -r cups</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>pkg install cups</userinput></screen>
|
||||
|
||||
<para>Other optional, but recommended, ports or packages are
|
||||
<para>Other optional, but recommended, packages are
|
||||
<package>print/gutenprint-cups</package> and
|
||||
<package>print/hplip</package>, both of which add
|
||||
drivers and utilities for a variety of printers. Once installed,
|
||||
|
@ -353,32 +346,5 @@ CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
|
|||
</Limit>
|
||||
</Policy></programlisting>
|
||||
</sect1>
|
||||
|
||||
<sect1 xml:id="printing-cups-ports-knobs">
|
||||
<title>Fine Tuning CUPS-Related Ports</title>
|
||||
|
||||
<para>If <application>CUPS</application> is going to serve as the
|
||||
primary printing system, then one may choose to optionally add
|
||||
certain knobs to <filename>/etc/make.conf</filename> that will
|
||||
emphasize <application>CUPS</application> over other printing
|
||||
options. Some of these <quote>knobs</quote> that one may want to
|
||||
add are:</para>
|
||||
|
||||
<programlisting>WITH_CUPS=YES
|
||||
CUPS_OVERWRITE_BASE=YES
|
||||
WITHOUT_LPR=YES</programlisting>
|
||||
|
||||
<para>The first knob, <varname>WITH_CUPS</varname>, adds
|
||||
<application>CUPS</application> support to ports where applicable.
|
||||
The second knob, <varname>CUPS_OVERWRITE_BASE</varname>, will fix
|
||||
certain symlinks and paths that would otherwise apply to the
|
||||
default &os; printing system, <application>LPR</application>, and
|
||||
will prevent these fixes from being reverted upon the next
|
||||
<buildtarget>buildworld</buildtarget> system upgrade. The third
|
||||
knob, <varname>WITHOUT_LPR</varname>, will prevent
|
||||
<application>LPR</application> support from being added to ports
|
||||
where applicable.</para>
|
||||
</sect1>
|
||||
|
||||
<index/>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue