summaryrefslogtreecommitdiff
path: root/print/cups-base/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Combine print/cups-base, print/cups-client and print/cups-image intoTijl Coosemans2016-03-119-277/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 have been moved from cups to cups-filters and they have been configured to use PDF as an intermediate format instead of PostScript. Merging of cups-base, cups-client and cups-image into print/cups: - cups-image provides a library to work with the cups raster format. It is only used to implement filters and printer drivers and these only exist in the context of a cups server so there's no need to separate this from cups-base. - cups-client provides a library that allows applications to print via cups. It is possible to use the library to access a remote cups server without running a local cups server, but such a setup is discouraged and the configuration file to set this up has been marked deprecated. It is better to run a local cups server and let that talk to the remote cups server because then you have the benefits of local job queuing in case the remote server is down or busy. Given this and the fact that without filters cups-base is now smaller than it used to be it makes sense to merge the ports. The patch also adds options IPPTOOL, DOCS and NLS which when disabled make the new cups package smaller than the current cups-client package. Merging the ports also prevents problems with options like ZEROCONF being configured differently in both ports. - print/cups was a metaport that depended on cups-base and some filters. There isn't really a need for such a metaport so cups-base can be renamed to cups. The filters can be depended on by printer drivers such as hplip if they need them. Additional changes to the new print/cups: - Clean up the patches. They seem to have been regenerated with post-patch changes included. - Add a patch to prevent intermediate conversion to PDF when a PostScript file is sent to a PostScript printer when cups-filters is installed. - Fix the PAM configuration file. - Add a patch to let the server search /usr/local/share/ppd like on Linux so other ports don't have to add links to it. - Remove ulpt(4) helper scripts. The port uses libusb with ugen(4). - Remove support for mDNSResponder. cups-filters only supports Avahi. - Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11. - Optionally depend on colord for ICC profile support. - Various smaller changes. Changes to print/cups-filters: - Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead of LOGIN. - Development of foomatic-filters has been moved to cups-filters so let this port install foomatic related files and add foomatic-filters to CONFLICTS. - Fix location of liblouis tables. - Add patch to fix ICC support. Changes to print/cups-pstoraster: This port is essentially an old version of Ghostscript plus a cups filter. It's no longer developed. This commit removes it and changes existing dependencies to print/cups-filters which depends on print/ghostscript* and includes a gstoraster filter that can handle both PostScript and PDF. Changes to print/foomatic-db*: Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX. Changes to print/foomatic-filters: Install beh backend with its original name again and add cups-filters to CONFLICTS. Changes to print/hplip: - Stop installing hpijs/foomatic-rip support. This is no longer supported upstream. - Stop installing hpcups PPDs. These are now automatically generated. The bundled PPDs are generated for an older version of cups. - Rename the QT option to X11 to support WITHOUT_X11. - Simplify the patches now that ports are installed in a staging area. - Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket like avahi-daemon does. This fixes Zeroconf support for HP network printers. PR: 207746 Exp-run by: antoine Approved by: portmgr (antoine) Notes: svn path=/head/; revision=410825
* Security update to 2.0.3.Xin LI2015-06-098-89/+79
| | | | Notes: svn path=/head/; revision=389006
* - Let the rc script require the mdnsd or avahi_daemon rc scripts [1]Tijl Coosemans2014-11-072-1/+21
| | | | | | | | | | | - Fix two getsockopt calls so they return peer credentials correctly [2] PR: 194856 [1], 191515 [2] Submitted by: Adrian Waters <draenan@gmail.com> [1] Submitted by: Bengt Ahlgren <bengta@sics.se> [2] Notes: svn path=/head/; revision=372260
* - Update to 1.7.3Jason E. Hale2014-07-012-12/+67
| | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=360086
* print/cups-base: remove files/cups_browsed.in, it does not belong hereBoris Samorodov2014-05-221-29/+0
| | | | | | | | | | | . remove using cups_browsed.in; [1] . bump PORTREVISION. PR: ports/190085 [1] Submitted by: Fafael Ostertag <rafi@guengel.ch> [1] Notes: svn path=/head/; revision=354831
* print/cups-base: unbreak AVAHI option and add missing rc scriptKurt Jaeger2014-05-191-0/+29
| | | | | | | | | | | | | | | | | - Add missing rc script for cups-browsed [1] - Enable building CUPS with native Avahi backend [2] - Disable AVAHI if not selected [3] PR: ports/188550 [1], ports/189757 [2], ports/188751 [3] Submitted by: Rafael Ostertag <rafi@guengel.ch> [1], Raivo Hool <raivo.hool@gmail.com> [2], Dan Lukes <dan@obluda.cz> [3] Approved by: culot (mentor) Notes: svn path=/head/; revision=354583
* print/cups-base: remove BLOCKS detection from cups/cups.hBoris Samorodov2014-04-221-0/+16
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=351878
* Update to cups to 1.7.1Baptiste Daroussin2014-03-303-38/+25
| | | | | | | | | | | | | - Stage all cups related ports - Cleanup (it still needs more cleanup) Base on [1] PR: ports/186824 [1] Submitted by: bsam Notes: svn path=/head/; revision=349679
* - Fix typo w.r.t. XDG_OPEN optionEitan Adler2013-06-021-0/+28
| | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=319651
* - update to 1.5.4Dirk Meyer2012-12-091-24/+16
| | | | Notes: svn path=/head/; revision=308569
* - update to 1.5.2Dirk Meyer2012-02-131-35/+0
| | | | | | | | PR: 164293 Submitted by: Eygene Ryabinkin Notes: svn path=/head/; revision=291303
* - escape shell namesDirk Meyer2012-01-141-5/+5
| | | | Notes: svn path=/head/; revision=289167
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=289156
* - update to 1.4.8Dirk Meyer2011-08-252-14/+49
| | | | | | | | - option GNUTLS default off Security: http://www.cups.org/str.php?L3914 Notes: svn path=/head/; revision=280379
* - preserve modified etc/pam.d/cupsDirk Meyer2011-03-071-0/+16
| | | | | | | | PR: 155218 Sumbitted by: mm Notes: svn path=/head/; revision=270467
* - add missing patchDirk Meyer2011-02-181-0/+7
| | | | Notes: svn path=/head/; revision=269316
* Fix typo in sample devd config.Lars Engels2011-02-091-3/+3
| | | | | | | | Approved by: dinoex (maintainer) Feature safe: yes Notes: svn path=/head/; revision=268833
* - better devd scriptsDirk Meyer2011-01-073-17/+85
| | | | | | | | | | PR: 150891 Submitted by: Garrett Wollman - udpate to 1.4.6 Notes: svn path=/head/; revision=267493
* - update to 1.4.4Dirk Meyer2010-07-271-36/+0
| | | | Notes: svn path=/head/; revision=258327
* - Security update to 1.4.4Dirk Meyer2010-06-191-0/+36
| | | | | | | | | | | | - Security fix for deny of service vulnerability Security: CVE-2009-3553 Security: CVE-2010-0302 PR: 147978 Approved by: portmgr (erwin) Feature safe: yes Notes: svn path=/head/; revision=256686
* - update to 1.4.3Dirk Meyer2010-04-071-16/+0
| | | | Notes: svn path=/head/; revision=252407
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* - fix crash using print command from ThunderbirdDirk Meyer2009-12-141-0/+16
| | | | | | | Submitted by: Alexander Kabaev Notes: svn path=/head/; revision=245761
* - Security update to 1.4.2Dirk Meyer2009-11-281-30/+0
| | | | | | | | Security: STR #3367 Security: STR #3401 Notes: svn path=/head/; revision=244942
* - update to 1.4.1Dirk Meyer2009-11-282-0/+40
| | | | Notes: svn path=/head/; revision=244941
* - fix buildDirk Meyer2009-05-051-5/+13
| | | | | | | - require ghostscript Notes: svn path=/head/; revision=233269
* - update to 1.3.10Dirk Meyer2009-05-042-206/+0
| | | | Notes: svn path=/head/; revision=233241
* - Fix integer overflow in PNG validationDirk Meyer2008-11-281-0/+27
| | | | | | | | Security: http://www.cups.org/str.php?L2974 PR: 129193 Notes: svn path=/head/; revision=223485
* - Fix NULL pointer dereference in MaxSubscriptionDirk Meyer2008-11-281-0/+179
| | | | | | | | | | Security: http://www.openwall.com/lists/oss-security/2008/11/19/4/ Security: http://www.openwall.com/lists/oss-security/2008/11/20/2 Obtained from: Michael Sweet PR: 129001 Notes: svn path=/head/; revision=223484
* - update to 1.3.8Dirk Meyer2008-09-061-72/+0
| | | | | | | | | | | | PR: 126881 Submitted by: Martin Matuska - fix pkg_plist PR: 127021 Submitted by: Sunpoet Po-Chuan Hsieh Notes: svn path=/head/; revision=219983
* - Security fixDirk Meyer2008-08-121-0/+72
| | | | | | | | | PR: 126447 Submitted by: Tsurutani Naoki Obtained from: http://www.cups.org/str.php?L2790 Notes: svn path=/head/; revision=218461
* - Security update to 1.3.7Dirk Meyer2008-04-022-16/+13
| | | | | | | | | - fix dbus link problem Security: CVE-2008-0047 Security: CVE-2008-1373 Notes: svn path=/head/; revision=210388
* - Fix crash in case of incorrectly configured PAMDirk Meyer2008-03-041-0/+12
| | | | | | | | | | | PR: 121105 Submitted by: Alexander V. Chernikov Obtained from: http://cups.org/str.php?L2734 - Fix /usr/local/etc/pam.d/cups Notes: svn path=/head/; revision=208423
* - add example for devd.confDirk Meyer2008-01-171-0/+17
| | | | | | | | PR: 119641 Submitted by: Andrew Reilly Notes: svn path=/head/; revision=205741
* - Security update to 1.3.5Dirk Meyer2007-12-231-607/+0
| | | | | | | | Security: http://www.cups.org/str.php?L2589 Reported by: Hilko Meyer Notes: svn path=/head/; revision=204383
* - update to 1.3.4Dirk Meyer2007-12-112-167/+0
| | | | Notes: svn path=/head/; revision=203001
* - fix vulnerability in pdftopsDirk Meyer2007-11-141-0/+607
| | | | | | | | | | | Security: arbitrary code execution vulnerability in pdftops Security: CVE-2007-4352 Submitted by: delphij (Xin LI) Approved by: portmgr (pav) Obtained from: cvs.fedora.redhat.com Notes: svn path=/head/; revision=202698
* - Security patch to solve remote code executionDirk Meyer2007-11-121-0/+153
| | | | | | | | | | Security: http://secunia.com/advisories/27233/ Security: CVE-2007-4351 Approved by: portmgr (linimon) Obtained from: http://www.cups.org/strfiles/2561/str2561-cups13v2.patch Notes: svn path=/head/; revision=202640
* - update to 1.3.3Dirk Meyer2007-09-301-10/+0
| | | | | | | | PR: 116743 Submitted by: Marcin Wisnicki Notes: svn path=/head/; revision=200405
* - fix build when an obsolete version of cups is installedDirk Meyer2007-09-291-0/+14
| | | | | | | | PR: 116721 Submitted by: Christoph Moench-Tegeder Notes: svn path=/head/; revision=200317
* - update to 1.30.0Dirk Meyer2007-09-282-0/+29
| | | | Notes: svn path=/head/; revision=200264
* - update to 1.30.0Dirk Meyer2007-09-282-34/+0
| | | | | | | | | | | | Tested by: Erik Van Benschoten - sort plist - fix pre-install for user Submitted by: brian (Brian Somers) Notes: svn path=/head/; revision=200263
* - Fix buffer overflow vulnerability.Martin Wilke2007-07-311-0/+23
| | | | | | | | | | - Bump PORTREVISION Approved by: simon (secteam) Security: http://www.vuxml.org/freebsd/0e43a14d-3f3f-11dc-a79a-0016179b2dd5.html Notes: svn path=/head/; revision=196823
* - drop defunct cups.desktopDirk Meyer2007-02-171-0/+11
| | | | | | | Reported by: Michael Johnson Notes: svn path=/head/; revision=185352
* - Update to 1.2.7Andrew Pantyukhin2006-12-061-60/+0
| | | | | | | | | | - Clean up a little bit - Clean up var at deinstallation Approved by: Sergey Akifyev <asa@agava.com> (months of timeouts) Notes: svn path=/head/; revision=179010
* - update to 1.2.2 [1]Ion-Mihai Tetcu2006-08-061-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - tell in pkg-message about permissions needed [2] [3] - fix man / mlink install [4] [5] - don't remove dirs listed in bsd.local.dist [6] - conflict with LPRng [7] - fix OPTIONS handling [8] - fix printing raw data using application/octet-stream [9] - some other small fixes Please note that the biggest part of the work was done by Marcin Wisnicki and this commit it's based manly on his work. PR: ports/99624 [1] ports/99460 [2] ports/99745 [3] ports/99798 [4] ports/101175 [5] ports/100865 [6] ports/99791 [7] ports/99786 [8] ports/99707 [9] Submitted by: Marcin Wisnicki [1] Nicolas Blais [2],Osamu Hasegawa [3] Tsurutani Naoki [4], Dominic Fandrey [5] Stanislav Sedov [6] Leif Pedersen [7] Harald Schmalzbauer [8] Jonathan Fosburgh [9] Rewiev by: many with no objections Approved by: maintainer timeout Notes: svn path=/head/; revision=169808
* - Update to 1.2.0Michael Johnson2006-06-226-382/+56
| | | | | | | | | PR: ports/97783 ports/97782 Submitted by: maintainer Notes: svn path=/head/; revision=166049
* - Add patch for security issuesMarcus Alves Grando2006-03-272-93/+253
| | | | | | | | | | | | | - Bump PORTREVISION - portlint(1) Approved by: maintainer timeout (2 days, security) Obtained from: gentoo Security: CVE-2005-3624, CVE-2005-3625, CVE-2005-3626, CVE-2005-3627, http://secunia.com/advisories/18303/ Notes: svn path=/head/; revision=158283
* Replace the old cups.sh script with a new rc.d style cupsd[.sh]Doug Barton2006-01-272-2/+46
| | | | | | | Approved by: Sergey Akifyev <asa@agava.com> (maintainer) Notes: svn path=/head/; revision=154585
* Backport xpdf vendor patch (affected part)Marcus Alves Grando2005-12-071-0/+93
| | | | | | | | | | | | | | | Bump PORTREVISION PR: 90072 Approved by: maintainer Security: http://www.idefense.com/application/poi/display?id=342&type=vulnerabilities http://www.idefense.com/application/poi/display?id=343&type=vulnerabilities http://www.idefense.com/application/poi/display?id=344&type=vulnerabilities http://secunia.com/advisories/17897/ CVE-2005-3191, CVE-2005-3192 Notes: svn path=/head/; revision=150603