CUPS provides a portable printing layer for UNIX-based operating
systems. It has been developed by Easy Software Products to promote a
standard printing solution for all UNIX vendors and users.
CUPS uses the Internet Printing Protocol ("IPP") as the basis for
managing print jobs and queues. The Line Printer Daemon ("LPD") Server
Message Block ("SMB"), and AppSocket (a.k.a. JetDirect) protocols are
also supported with reduced functionality. CUPS adds network printer
browsing and PostScript Printer Description ("PPD") based printing
options to support real-world printing under UNIX.
CUPS provides the System V and Berkeley command-line interfaces.
CUPS also supports a customized version of GNU Ghostscript (currently based
off GNU Ghostscript 5.50) and an image file RIP that are used to support
non-PostScript printers. Sample drivers for HP and EPSON printers are included
that use these filters. This software is available in the cups-pstoraster
port.
WWW: http://www.cups.org/
[original text by greid@ukug.uk.freebsd.org]
===> The following configuration options are available for cups-base-2.0.3_5:
DBUS=off: D-Bus IPC system support
ICONS=on: Desktop icons
LIBPAPER=on: Paper size selection support via libpaper
LIBUSB=off: USB support
PAM=off: Pluggable authentication module support
XDG_OPEN=off: Build with XDG_OPEN as browser
====> Interpreters for web interfaces
JAVA=off: Java platform support
PERL=off: Perl scripting language support
PHP=off: PHP bindings or support
PYTHON=off: Python bindings or support
====> Zeroconf support: you can only select none or one of them
AVAHI=off: Zeroconf support via Avahi
MDNSRESPONDER=on: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings
Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3. Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.
Long description:
First some background. When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain. Costs used to be configured in such a way that files were
first converted to PostScript. This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers. Nowadays most filters
(Only the first 15 lines of the commit message are shown above )
print/cups-base: rename ICONS option to X11
Why this change ?
- When compiling print/cups-base, if WITHOUT_X11=yes is present in
/etc/make.conf, CUPS still tries to update the "Icons cache".
- For this, it tries to build graphics/gtk-update-icon-cache,
which in turns requires graphics/cairo, but Cairo builds without
X11 support as requested, and graphics/gtk-update-icon-cache
fails to build because it needs X11.
PR: 190434
Submitted by: Tobias Kortkamp <t@tobik.me>
Reported by: hjf@hjf.com.ar
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
print/cups-client via print/cups-base: treat avahi/dnssd explicitely
1. The port's configure script is auto-detecting if avahi exists
(unless avahi is explicitely disabled):
---
9096 if test "x$PKGCONFIG" != x -a x$enable_avahi != xno; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Avahi" >&5
9098 $as_echo_n "checking for Avahi... " >&6; }
9099 if $PKGCONFIG --exists avahi-client; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes"
>&5
9101 $as_echo "yes" >&6; }
---
So if avahi-lib is installed one get config.log:
---
(Only the first 15 lines of the commit message are shown above )
security/libgcrypt: 1.6.1 -> 1.6.2, bump depends
Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code. Take
care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
(Only the first 15 lines of the commit message are shown above )
print/cups-base: Fix build when PAM option is enabled
The @sample keyword fixes the config file based error. While here,
clean refactor the port a bit.
PR: 194854
Submitted by: Adrian Waters
Final fix by: Takefu (airport.fm)
- Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
developers)
PR: 191274
Exp-run by: antoine
Approved by: portmgr (antoine)
- Update to 1.7.3
- Add DOCS option
- PHP option no longer installs a PHP module (it was eliminated in 1.6)
- Add options for other interpreters
- Add OPENSSL option to make it clearer that it is enabled instead of GNUTLS
- Fix build when ZEROCONF is disabled
- Fix detection of libusb on FreeBSD < 10 as they do not have .pc files for it
- Use @sample directive in pkg-plist
- Remove some old cruft
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
print/cups-base: remove files/cups_browsed.in, it does not belong here
. remove using cups_browsed.in; [1]
. bump PORTREVISION.
PR: ports/190085 [1]
Submitted by: Fafael Ostertag <rafi@guengel.ch> [1]
print/cups-base: add an options ICONS to install desktop icons
When unchecked this option greatly reduces the package depends list [1]
(from 82 to 42).
Defaults to "on" for ordinary package users sake.
Submitted by: Hilko Meyer <Hilko.Meyer@gmx.de> [1]
print/cups{,-base,-client,-image}: update to version 1.7.2
MDNSRESPONDER id now the default option for print/cups-base
(can't be compiled without dnssd).
print/cups-base: remove BLOCKS detection from cups/cups.h
It appears to be the best option here, i.e. just remove BLOCKS
detection from cups/cups.h: there are some other ports which
use cups/cups.h and get broken by a BLOCKS detection. So:
. patch cups/cups.h to remove the offending code;
. remove traces of previous attempts to fix cups-* ports;
. bump PORTREVISION;
. at PORTNAME block add a note that PORTREVISION is defined
later for all ports.
Discussed at: freebsd-ports
Suggested by: tijl
MFH: 2014Q2
- Fix plist to have proper 'rmdir DIR' ordering.
Pkgng will not detect the directory otherwise. This was due to
incorrectly advise in the check-stagedir.sh script, fixed in
r351587
With hat: portmgr
print/cups-base: add CFLAGS+=-fno-blocks to print/cups-image at gcc systems
In additiond to print/cups-client (r350154):
Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler.
This is a band-aid that should be reworked for systems with blocks
and libdispatch support.
Reported by: Anton Shterenlikht <mexas@bris.ac.uk>
Tested by: Anton Shterenlikht <mexas@bris.ac.uk>
Discussed at: freebsd-ports@
MVH: 2014Q2
Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler.
This is a band-aid that should be reworked for systems with blocks
and libdispatch support.
Reported by: Anton Shterenlikht <mexas@bris.ac.uk>
Discussed at: freebsd-ports@
MFH: 2014Q2
Fix installation of cups-base when libiconv is installed: do not descend
into the cups subdirectory. That directory is already installed by the
cups-client port and it requires USES=iconv.
Reported by: Mark Knight <markk@knigma.org>
Release cups-* nad foomatic-* ports. Currently I have no enough
spare time for those ports.
I've submitted ports/186824 to update cups-* ports to version 1.7.0.
Update master sites for some ports formerly hosted on easysw.com, now extinct.
Remove easysw.com domain from MASTER_SITE_EASYSW, and drop tu-bs.de from mirror
list (is no longer mirroring easysw.com).
- Fix typo w.r.t. XDG_OPEN option
- Add a a backported patch from cups 1.6 which fixes an issue with regard to a
timed out TCP connection. it should be
deleted once the port is updated to 1.6.
- Pet portlint a bit
- remove unused CONFLICTS line
PR: 178987
Submitted by: "r4721@tormail.org" <r4721@tormail.org>
PR: 179194
Submitted by: Sayetsky Anton <vsjcfm@gmail.com>
Approved by: c.petrik.sosa@gmail.com (maintainer)
In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.
Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
description from bsd.options.desc.mk
Approved by: portmgr (bapt)
- Please welcome back Chris Petrik as maintainer of
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines
PR: ports/175415 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with: bapt
new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility
This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG
it can take the following arguments:
- yes (meaning build only dep)
- build (meaning build only dep)
- run (meaning run only dep)
- both (meaning run and build dep)
From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.
While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config
With Hat: portmgr
Exp-runs by: bapt (pointhat-west), beat (pointyhat)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav