Commit graph

304 commits

Author SHA1 Message Date
wiz
0602d449ce Recursive bump for png-1.6. 2013-02-16 11:17:56 +00:00
jperkin
e651eaefb1 Don't pull in sys/ucred.h on Solaris as it results in procfs.h being
included and conflicts between _FILE_OFFSET_BITS=64 and 32-bit procfs.
2013-02-12 14:12:19 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
asau
6ebceaf75d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 13:45:34 +00:00
marino
a8dd945230 print/cups: PR#46984 Remove libusb options from DragonFly, SunOS
The devel/libusb1 package is masked for both DragonFly and SunOS.  This
cups package set libusb on by default which means cups fails to build
with no set options on those two platforms.

Add an OPSYS check which prevents libusb from even being offered as an
option on DragonFly and SunOS.
2012-10-08 12:47:23 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
drochner
6f4cfd0bc6 fix libtool problem in unpriliged build
use the right libusb
2012-09-18 15:17:32 +00:00
bouyer
e68741e33e Update to 1.5.4 (ok by wiz@):
- Documentation updates (STR #4112, STR #4130, STR #4134)
        - Fixes for libusb-based USB backend (STR #4128)
        - The lpq command did not show the owner or title of jobs unless passed
          a username on the command-line (STR #4135)
        - Localized empty strings contained the message catalog metadata
          (STR #4119)
        - Fixed a crash in the libusb-based USB backend (STR #4099)
        - The cups-lpd mini-daemon no longer handled jobs with multiple copies
          (STR #4118)
        - Multiple libusb backend fixes (STR #4098, STR #4100)
        - The IPP backend no longer tries to get the job status for printers
          that do not implement the required operation (STR #4083)
        - Sending a document in an unsupported format to an IPP printer now
          automatically cancels the job (STR #4093)
        - Fix some error reporting issues when printing from /dev/null and
          other unusual situations (STR #4015)
        - The scheduler now sets the CUPS_MAX_MESSAGE environment variable for
          filters (STR #4074)
        - Fixed a build issue when using older versions of autoconf (STR #4084)
        - The IPP backend now treats the client-error-not-possible status code
          as a job history issue, allowing IPP printing to Windows to work
          (STR #4047)
        - The IPP backend incorrectly included the document-format and
          compression attributes in Create-Job requests (STR #4086)
        - The libusb-based USB backend did not work on non-Linux platforms
          (STR #4088)

        - httpReconnect() did not reset the read/write buffers (STR #4065)
        - Compiling without threading support failed (STR #4060)
        - Fixed compile problem with old versions of OpenSSL (STR #4036)
        - The network backends did not check SNMP supply levels regularly
          (STR #4040)
        - The online help always included the "help on help" text (STR #4042)
        - Fixed a SSL handshake issue on OS X (STR #4045)
        - The scheduler could crash if a PPD file contained an invalid paper
          size (STR #4049)
        - The CUPS polling daemon did not reinitialize its connection to the
          remote server on errors in all cases (STR #4031)
        - PostScript auto-configuration was slow and unreliable with some
          printers (STR #4028)
        - Missing localizations caused empty output (STR #4033)
        - The cups-driverd program could temporarily "forget" a PPD file if it
          was updated in place.
        - The dnssd backend now prefers IPPS over IPP.
        - The USB backend now uses and requires LIBUSB 1.0 or later (STR #3477)
        - The LIBUSB-based USB backend now supports the back-channel (STR #2890)
        - Changed how timeouts are implemented in the LPD backend (STR #4013)
        - Added more supported color names for SNMP supplies (STR #3981)
        - The default InputSlot setting was never used (STR #3957)
        - POSIX ACLs are now set properly on certificate files (STR #3970)
        - Supplies with commas in their names were not reported correctly
          (STR #4020)
        - The cupsGetPPD3() function created a temporary file when one was not
          needed (STR #4018)
        - The scheduler now ensures that job notifications contain a value for
          the notify-printer-uri attribute (STR #4014)
        - The lp and lpr commands did not cancel jobs queued from stdin on an
          error (STR #4015)
        - Fixed the IPP backend's handling of HTTP/1.0 compatibility (STR #3988)
        - The IPP backend did not always setup username/password authentication
          for printers (STR #3985)
        - The IPP backend no longer re-queues print jobs that are too large for
          the printer/server (STR #3977)
        - The RPM spec file did not work (STR #4021, STR #4057)
        - Encryption did not work when the server name ended with "."
          (STR #4011)
        - The multi-purpose tray is now mapped to the IPP "by-pass-tray"
          (STR #4009)
        - The correct media size was not always passed to IPP printers
          (STR #4001)
        - Finishing options were not passed to IPP printers (STR #3995)
        - Fixed iCloud-based Back to My Mac printing (STR #3996)
2012-09-18 07:17:28 +00:00
fhajny
06c694f8bb cups will search for iconv headers and use the library if it finds it.
Added libiconv bl3 to fix build on modern SunOS platforms.
2012-03-12 13:37:40 +00:00
sbd
98cf36db8d Update to cups-1.5.2
--------------------

CHANGES IN CUPS V1.5.2

	- Reposted what should have been CUPS 1.5.1.


CHANGES IN CUPS V1.5.1

	- Documentation updates (STR #3885, STR #3886, STR #3946, STR #3969)
	- Localization updates (STR #3840, STR #3989, STR #3997)
	- Build fixes (STR #3956, STR #3999)
	- The SNMP backend did not validate the device URIs reported by printers
	  (STR #4004)
	- cupsBackendReport() did not handle newlines in 1284 Device IDs
	  (STR #4005)
	- USB backend fixes for libusb (STR #3965, STR #3978)
	- The DBUS notifier did not validate string parameters (STR #3984)
	- Group quota ACLs did not work with Kerberos (STR #3972)
	- The IPP backend did not retry when a printer responded with
	  client-error-not-possible (STR #3963)
	- PostScript PPDs with filters used the wrong command filter (STR #3973)
	- The scheduler incorrectly used free() on a POSIX ACL value, which
	  could cause a crash (STR #3970)
	- PPD files using the MacStandard encoding did not work.
	- The web interface did not work on some platforms (STR #3902)
	- The lpstat command would crash when then "-u" option was used by a
	  non-administrator (STR #3953)
	- Japanese supply level reporting did not always work.
	- The DBUS notifier could crash (STR #3947)
	- Relaxed some of the page size checks in cupstestppd.
	- The ipptool program now reports attributes that are repeated within
	  the same attribute group.
	- Updated the PWG raster support to match the current draft
	  specification.
	- Fixed some IPP conformance issues in the scheduler.
	- Added ipptool support for repeating requests.
	- Added IPP/2.2 conformance tests and greatly improved the IPP/1.1,
	  IPP/2.0, and IPP/2.1 conformance testing.
	- IPP messages containing mixed integer/rangeOfInteger values did not
	  work (STR #3942)
	- The ipptool program now provides additional diagnostics for badly-
	  formatted responses (STR #3857)
	- When possible, the IPP backend now stops sending job data early on a
	  cancel.
	- cupsSendRequest and cupsWriteRequestData did not properly read all
	  HTTP headers, preventing authentication and encryption upgrades from
	  working in all cases.
	- The client.conf Server directive is no longer supported on Mac OS X
	  10.7 and later.
	- The IPP backend sent the wrong margins in media-col.
	- The scheduler did not save or restore large Kerberos credentials for
	  jobs.
	- The dnssd backend did not properly browse for secure IPP printers.
	- httpAssembleURI* did not properly escape all special characters in the
	  username/password field.
	- The scheduler now logs config file errors to stderr (STR #3936)
	- The configure script incorrectly used bundle-based localizations on
	  Linux (STR #3938)
	- The cups-driverd helper program did not cache .drv files properly,
	  sometimes leading to a crash (STR #3921)
	- CUPS did not build on stock Mac OS X installations.
	- Encryption was broken with OpenSSL.
	- ipptool's XML output used date/time values with timezone offsets,
	  which are not supported by Mac OS X's NSDate class.
	- Several programs did not support the cupsFilter2 keyword in PPD files.
	- The IPP backend incorrectly reported spool-area-full states.
	- cupsMarkOptions() did not protect against a bad PPD that was missing
	  one or more standard Duplex options.
	- The PostScript filter did not mirror N-up output properly.
	- The ipptool program did not validate UTF-8 strings in XML output.
	- Fixed supply level reporting for some printers.
	- The scheduler no longer automatically logs debug messages for jobs
	  that were held or canceled.
	- The cupsSendRequest function did not flush remaining response data
	  from a previous request, leading to apparent chunking issues.
	- The scheduler did not report the correct version in the Server: header
	  (STR #3903)
	- The scheduler did not support 1284 device IDs reported by driver
	  interface programs longer than 127 characters (STR #3871)
	- The image filters did not support loading images larger than the
	  RIPCache setting (STR #3901)
	- "PAGE: total NNN" messages did not get logged properly (STR #3887)
	- Updated the PWG Raster support to conform to the current draft of the
	  PWG Raster Format specification.
	- The PWG Raster filter did not always write the correct number of
	  padding lines on the bottom of the page (STR #3904)
	- When reporting a denial-of-service attack from the domain socket, the
	  address reported does not always contain the correct path (STR #3888)
	- Badly formed GIF files could cause the image filters to crash
	  (STR #3914)
	- Jobs canceled at the printer were retried by the IPP backend.
	- "cupsfilter -u" deleted the input file instead of the PPD file.
	- The scheduler did not compute the cost of PPD filters defined using
	  the cupsFilter2 keyword properly.
	- The scheduler did not correctly support the maxsize() attribute for
	  PPD filters.
2012-02-07 23:16:57 +00:00
wiz
5a1e8b0499 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:40:37 +00:00
sbd
ad7a61ca07 Disable automatic ldap detection. (Noted in PR/45824)
Bump PKGREVISION
2012-01-27 08:50:24 +00:00
sbd
9dbd033bed Don't use statfs() on SunOS (PR#44453). 2011-12-21 08:57:11 +00:00
hans
d23e388ffe Limit ssp fix to SunOS. 2011-12-02 14:14:58 +00:00
hans
6f4c2c0f75 Fix build with -fstack-protector. 2011-11-29 15:46:24 +00:00
sbd
f4e57b8cf1 Skip installing the config files in the ${INSTALL_TARGET} stage, instead
install them in the post-install target.

This allows the destdir stage-install target to run as non root.
2011-11-14 01:23:26 +00:00
sbd
70681678c2 Update to cups-1.5.0
--------------------

CHANGES IN CUPS V1.5.0

	- Documentation updates.
	- Localization update (STR #3865)
	- Needed to limit TLS to v1.0 on some versions of Mac OS X.
	- The snmp backend did not work with some printers.


CHANGES IN CUPS V1.5rc1

	- Compile fixes (STR #3849, STR #3850)
	- The scheduler didn't check for empty values for several configuration
	  directives (STR #3861)
	- ipptool didn't generate valid XML when a test was skipped.
	- Added additional error checking to the 1284 device ID code (STR #3858)
	- Fixed some compatibility issues migrating from the old usblp backend
	  to the libusb backend (STR #3860)
	- Fixed the wake-from-sleep printing behavior on Mac OS X.
	- The scheduler incorrectly allowed jobs to be held from a terminating
	  state.
	- The cups-driverd program could crash when a PPD was renamed.
	- The dnssd backend took too long to discover printers on large or busy
	  networks with the new default timeout used by lpinfo and the web
	  interface. This resulted in "lost" printers.


CHANGES IN CUPS V1.5b2

	- Documentation updates.
	- Localization updates (STR #3845)
	- Compiler warning cleanup.
	- Fixed PIE support for Linux (STR #3846)
	- Made httpSetTimeout API public and use it in the IPP backend to avoid
	  timeout errors.
	- The scheduler incorrectly set the "authenticated" printer-type bit for
	  remote queues using authentication.


CHANGES IN CUPS V1.5b1

	- The CUPS library now supports per-connection HTTP timeouts and
	  callbacks.
	- The CUPS library now supports (limited) SSL/TLS X.509 certificate
	  validation and revocation (STR #1616)
	- Updated the PostScript filter to support IncludeFeature in more
	  circumstances (STR #3417)
	- The schedule did not correctly parse some IPv6 addresses and masks in
	  the cupsd.conf file (STR #3533)
	- Fixed a case-insensitive string comparison issue for locales that do
	  not treat "I" and "i" as equivalent (STR #3800)
	- The scheduler reported an incorrect job-printer-uri value when sharing
	  was not enabled (STR #3639)
	- The scheduler now allows the ServerAlias directive to contain multiple
	  hostnames separated by spaces or commas (STR #3813)
	- The scheduler now sets the process group for child processes and
	  manages the group (STR #2829)
	- Fixed some minor issues discovered by a Coverity scan (STR #3838)
	- The scheduler now more carefully creates and removes configuration,
	  cache, and state files (STR #3715)
	- The lpadmin command now allows default option values to be deleted
	  (STR #2959)
	- The lpadmin command now allows the cupsIPPSupplies and
	  cupsSNMPSupplies keywords to be set in a PPD file (STR #3825)
	- Moving a held job no longer releases it (STR #3839)
	- Restored support for GNU TLS and OpenSSL with threading enabled
	  (STR #3605)
	- Fixed a confusing error message from cups-polld (STR #3806)
	- Increased the default RIPCache value to 128MB (STR #3535)
	- MIME errors are now routed to the error_log file (STR #2410)
	- Updated PDF filter to support new Ghostscript ps2write device
	  (STR #3766)
	- Updated PDF filter to support new Poppler option to preserve page
	  sizes in PDF files when the user has not selected a particular media
	  size (STR #3689)
	- Added new PWG Raster filter for IPP Everywhere printer support.
	- Added job-uuid, printer-uuid, and subscription-uuid attributes.
	- Added support for the cupsSingleFile PPD keyword.
	- Dropped support for the printer-state-history attribute (STR #3654)
	- Added support for a new cupsIPPSupplies keyword in PPD files to allow
	  drivers to disable IPP supply level reporting.
	- Added support for a new cupsFilter2 keyword in PPD files to allow for
	  the propagation of the actual MIME media type produced by a filter.
	- The scheduler did not always get the correct Kerberos username when
	  authenticating (STR #3670)
	- Added new cupsRasterOpenIO function and CUPS_RASTER_WRITE_PWG to the
	  CUPS imaging library to support printing to IPP Everywhere raster
	  printers.
	- The scheduler now provides default values for the pages-per-minute and
	  pages-per-minute-color attributes for PPD files that lack a
	  Throughput keyword.
	- Email notifications did not work on Mac OS X.
	- The cupstestppd program now shows an error for files missing a
	  CloseGroup keyword (STR #3668)
	- Name resolution errors no longer cause queues to stop (STR #3719,
	  STR #3753)
	- Added a new cups-exec helper program that applies security profiles
	  to filters, port monitors, backends, CGI programs, and mini-daemons.
	- The web interface can now be disabled using the WebInterface directive
	  in cupsd.conf (STR #2625)
	- The scheduler now provides privacy controls for jobs and subscriptions
	  (STR #2969)
	- Added new cupsArrayNew3 API which offers memory management of array
	  elements.
	- Added several new color spaces to the CUPS raster format (STR #3419)
	- The Validate-Job operation now uses the same policy as Print-Job by
	  default.
	- CUPS now uses iconv to implement all of its character encoding
	  support (STR #3097)
	- The scheduler now implements the Cancel-Jobs, Cancel-My-Jobs, and
	  Close-Job operations along with the job-ids operation attribute from
	  PWG 5100.11.
	- The main CUPS header (<cups/cups.h>) no longer includes the PPD header
	  (<cups/ppd.h>).
	- The scheduler and CUPS API now support the print-quality job template
	  attribute.
	- The scheduler no longer supports the old Mac OS X Server quota
	  plugin.
	- The scheduler now allows writing to /Users/Shared from print filters
	  on Mac OS X.
	- CUPS no longer supports the old ~/.cupsrc or ~/.lpoptions files from
	  CUPS 1.1.x.  The ~/.cups/client.conf and ~/.cups/lpoptions files that
	  were introduced in CUPS 1.2 must now be used.
	- The ipptest tool is now a first-class user program and has several
	  improvements along with new documentation (STR #3484)
	- The cupstestppd tool now warns about non-unique filenames and
	  provides a way to ignore all filename warnings.
	- Dropped support for the recoverable: and recovered: message prefixes.
	- The scheduler now requires that filters and backends have group write
	  permissions disabled.
	- The PPD compiler now checks for overlapping filenames when writing
	  PPD files.
	- The HP-GL/2 filter is no longer included with CUPS (STR #3322)
	- The SCSI backend is no longer included with CUPS (STR #3500)
2011-11-13 21:49:17 +00:00
sbd
46b92bb58d Remove the usb-backend-both-usblp-and-libusb.dpatch as it is has been dropped
by it original author.
2011-11-13 21:06:30 +00:00
sbd
6a83f4c744 Move the buildlink3 includes to the bottom of the Makefile and sort. 2011-11-13 20:40:48 +00:00
sbd
77754d18c0 Correct the comments for CUPS_USER and CUPS_GROUP and add CUPS_SYSTEM_GROUPS
comment.
2011-11-02 23:44:43 +00:00
hans
2cc09eebe5 Fix build on SunOS. 2011-10-13 13:05:57 +00:00
hans
0c4d283202 Fix detection of -fstack-protector. 2011-10-04 14:11:14 +00:00
wiz
00c06d2717 Revert previous and disable automatic gssapi/gnutls detection instead.
Confirmed to fix the issue by christos.
2011-09-17 14:12:11 +00:00
christos
a1a6a2703a add missing dependencies so that it builds. 2011-09-16 13:44:44 +00:00
sbd
7cacbd1755 Use str3914.patch from STR #3914 to fix CVE-2011-3170
Bump PKGREVISION
2011-08-28 07:22:12 +00:00
sbd
79743afe72 Update to cups-1.4.8
CHANGES IN CUPS V1.4.8

        - The scheduler would delete job data files when restarted (STR #3880)
        - The network backends could crash if a printer returned a value of 0
          for the maximum capacity for a supply (STR #3875)

CHANGES IN CUPS V1.4.7

        - Documentation changes (STR #3710, STR #3720, STR #3745, STR #3750,
          STR #3757, STR #3758, STR #3782, STR #3826, STR #3829, STR #3837)
        - Web interface fixes (STR #3412, STR #3345, STR #3455, STR #3707,
          STR #3755, STR #3769, STR #3783)
        - Configure script fixes (STR #3659, STR #3691)
        - Compilation fixes (STR #3718, STR #3771, STR #3774)
        - The imageto* filters could crash with bad GIF files (STR #3867)
        - The scheduler might leave old job data files in the spool directory
          (STR #3795)
        - CUPS did not work with locales using the ASCII character set
          (STR #3832)
        - httpAddrString() did not return a URI-style IPv6 numeric address
          (STR #3814)
        - Fixed an issue when reading compressed CUPS raster streams (STR #3812)
        - Fixed an issue with PostScript printer auto-configuration (STR #3443)
        - Fixed some compatibility issues with the libusb-based USB backend
          (STR #3799)
        - The network backends no longer try to collect SNMP supply and status
          information for raw queues (STR #3809)
        - The DBUS notifier did not report job state changes (STR #3805)
        - The scheduler did not always report that the "normal" print-quality
          value was supported (STR #3803)
        - The gziptoany filter did not report the correct error if it was unable
          to write the uncompressed document to the next filter or backend in
          the chain (STR #3797)
        - The Epson and Oki 9-pin drivers had a bad resolution option
          (STR #3798)
        - The scheduler did not always register the correct default ICC profile
          on Mac OS X.
        - The scheduler did not use the job owner when authorizing access for
          the CUPS-Get-Document operation, preventing non-admins from accessing
          their own jobs.
        - CUPS did not work with some printers that incorrectly implemented the
          HTTP/1.1 standard (STR #3778, STR #3791)
        - The scheduler did not retry fax jobs properly.
        - The scheduler now recognizes an empty cupsCommands PPD keyword as
          meaning that CUPS commands are not supported for a printer (STR #3773)
        - Fixed a crash bug in the scheduler when the application/octet-stream
          MIME type was not defined (STR #3690)
        - Polled printers were advertised more slowly than necessary (STR #3574)
        - cupsResolveConflicts() did not handle resolving multiple UIConstraints
          issues (STR #3705)
        - The SetEnv and PassEnv directives had no effect (STR #3664)
        - The web interface no longer tries to use multi-part delivery when
          adding printers (STR #3455)
        - The libusb-based USB backend printed slowly to the LaserJet 1300 and
          other printers (STR #3405)
        - "lp" and "lpr" failed to print with Kerberos enabled (STR #3768)
        - The cupsctl program now displays an error if you try to directly set
          the Port or Listen directives (STR #3749)
        - PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed
          conformance mode (STR #3747)
        - The scheduler generated a bad notify-text string for printer state
          change notifications (STR #3739)
        - The scheduler incorrectly updated printers.conf when it really needed
          to update classes.conf or remote.cache (STR #3726)
        - Hardwired remote printers with options did not work (STR #3717)
        - Accessing the CUPS web interface using a CNAME-based hostname would
          sometimes fail due to redirection to the actual hostname (STR #3701)
        - Subscription events had a misspelled attribute (STR #3693)
        - "make check" failed if LC_MESSAGES was set (STR #3765)
        - Fixed the configure script to always look for the pkg-config script
          (STR #3761)
        - The scheduler now only looks up interface hostnames if HostNameLookups
          are enabled (STR #3737)
        - Fixed a compilation problem on DragonFly BSD (STR #3738)
        - The default PageLogFormat value had the username and job ID swapped
          from CUPS 1.3.x (STR #3727)
        - The scheduler could crash if a browsed printer times out while a job
          is printing (STR #3754)
        - The scheduler incorrectly mapped custom page sizes to standard sizes
          (STR #3764)
        - cupsfilter and pstops did not map IPP attributes to PPD options due to
          a change in cupsMarkOptions (STR #3756)
        - The scheduler did not always show the most recent status message from
          the print filters (STR #3731)
        - The PostScript filter did not apply the mirror and number-up options
          properly, leading to offset and clipped output (STR #3732)
        - The network backends always reported "low toner" or "out of toner"
          states, even for inkjet printers (STR #3733)
2011-08-28 07:11:00 +00:00
sbd
37df6a1189 Fix Unprivileged builds. 2011-08-12 02:03:14 +00:00
drochner
efd55e3b14 build fix: on semi-new NetBSD, statfs() is present in libc for binary
compatibility and thus found by autoconf, but the API was removed.
Don't try to use it.
2011-01-19 17:09:19 +00:00
sbd
e5535c684b Update to cups 1.4.6
CHANGES IN CUPS V1.4.6

	- Fixed a "make check" issue on Solaris (STR #3729)
	- Regression: The pstops filter did not support landscape printing of
	  PostScript files (STR #3722)
	- The scheduler killed retried (fax) jobs after restarting them
	  (STR #3697)
	- The cupsAdminSetServerSettings() function disabled sharing when
	  debug logging was enabled (STR #3712)


CHANGES IN CUPS V1.4.5

	- Documentation fixes (STR #3542, STR #3650)
	- Localization fixes (STR #3635, STR #3636, STR #3647, STR #3666)
	- Security: Fixed a memory corruption bug reported in CVE-2010-2941
	  (STR #3648)
	- The CUPS API incorrectly mapped the HTTP_UNAUTHORIZED status to the
	  IPP_NOT_AUTHORIZED status code, when IPP_NOT_AUTHENTICATED would be
	  the correct mapping (STR #3684)
	- The scheduler would restart jobs while shutting down (STR #3679)
	- Fixed a PPD loader bug that could cause a crash in cupsd (STR #3680)
	- Improved the mapping of non-standard PPD and PWG names (STR #3671)
	- The scheduler did not initialize Kerberos in all cases (STR #3662)
	- cupsAdminSetServerSettings duplicated Listen and Order lines
	  (STR #3645)
	- Added DeviceN colorspace support to the CUPS Raster format (STR #3419)
	- ppdMarkDefaults() did not clear the marked field of the previous
	  choices (STR #3642)
	- The serial backend would not allow a raw job to be canceled
	  (STR #3649)
	- The socket backend could go into an infinite loop with certain
	  printers (STR #3622)
	- Setting the PRINTER or LPDEST environment variables to "name/instance"
	  did not work (STR #3485)
	- The scheduler did not handle the JobRetryLimit setting properly
	  (STR #3466)
	- The lpstat command always showed a remote job ID of 0 for shared
	  printers (STR #3627)
	- Increased the write timeout for the libusb-based USB backend to 5
	  minutes (STR #3595)
	- The libusb-base USB backend did not check whether the printer has a
	  serial number (STR #3590)
	- The lpadmin command did not support setting of custom option values
	  (STR #3631)
	- The lpadmin command did not support setting of the location or
	  description of a class (STR #3613)
	- The cupsaddsmb command did not give up after too many failed attempts
	  (STR #3615)
	- The CUPS library no longer uses certain problematic ctype macros that
	  change based on the locale's character set.
	- PJL value substitution of more than 9 values was broken (STR #3621)
	- Custom options with missing string values caused ppdEmit* to segfault
	  (STR #3620)
	- Fixed an issue with the Italian version of the web interface
	  (STR #3624)
	- Fixed the Solaris SMF configuration file for cups-lpd (STR #3611)
	- The scheduler did not set the notify-subscribed-event attribute when
	  delivering printer-added or printer-modified events (STR #3608)
	- The mailto notifier could get into an infinite loop (STR #3609)
	- Date/time information was not shown in banner pages.
	- Relational operators were broken in #if/#elif/#else/#endif expressions
	  for the PPD compiler.
	- Moving a job via the web interface failed without asking for
	  authentication (STR #3559)
	- The scheduler now clears the printer-state-reasons when the driver is
	  changed (STR #3570)
	- The web interface did not allow a user to change the driver
	  (STR #3537, STR #3601)
	- The scheduler was not setting the PATH_INFO environment variable when
	  needed (STR #3600)
	- The scheduler incorrectly set the CUPSD_AUTH_TYPE environment
	  variable instead of AUTH_TYPE (STR #3599)
	- Fixed a buffer overrun in the PPD compiler (STR #3594)
	- Fixed some additional IPP job template attribute mapping issues in the
	  scheduler.
2011-01-19 03:28:42 +00:00
sbd
fd0ec90abb Remove PIE flags from LDFLAGS on NetBSD/powerpc they cause runtime
problems in resultant binarys. Closes PR#43826.  Thanks to joerg@ for
suggesting it was the PIE flags.
2011-01-19 03:01:06 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
adam
0bb36053f3 PLIST fix: some files are not installed on Mac OS X; pkglint clean-up 2011-01-03 05:58:49 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
sbd
34cba5a36a using wildcards with 'cvs delete' dose not work\! 2010-11-12 08:59:42 +00:00
sbd
2ca5c97a27 Update to cups 1.4.4
CHANGES IN CUPS V1.4.4

	- Documentation updates (STR #3453, STR #3527, STR #3528, STR #3529)
	- Security: The texttops filter did not check the results of allocations
	  (STR #3516)
	- Security: The fix for CVE-2009-3553 was incomplete (STR #3490)
	- Security: The web admin interface could disclose the contents of
	  memory (STR #3577)
	- Security: CUPS could overwrite files as root in directories owned or
	  writable by non-root users (STR #3510)
	- The cups-config utility did not return the correct linker options on
	  AIX (STR #3587)
	- Fixed some IPP conformance issues with the scheduler's
	  ippget-event-life, operations-supported, output-bin, and sides
	  attributes (STR #3554)
	- The OpenSSL interfaces have been made thread-safe and the GNU TLS
	  interface is explicitly forbidden when threading is enabled
	  (STR #3461)
	- Fixed an IPP conformance issue with the scheduler's Send-Document
	  implementation (STR #3514)
	- Added additional validation checks for the 1284 device ID (STR #3534)
	- Fixed a problem with the RPM spec file (STR #3544)
	- The lpstat command did not limit the job list to the specified
	  printers (STR #3541)
	- The cupsfilter command did not set the RIP_MAX_CACHE environment
	  variable (STR #3531)
	- Fixed support for media-col and page size variants (STR #3394)
	- The PostScript filter did not support all media selection options for
	  the first page (STR #3525)
	- The scheduler did not always remove job control files (STR #3425)
	- The scheduler could crash on restart if classes were defined
	  (STR #3524)
	- The scheduler no longer looks up network interface hostnames by
	  default on Mac OS X (STR #3523)
	- ippWriteIO did not write collection (member) attributes properly in
	  all cases (STR #3521)
	- The "cupsctl --remote-any" and corresponding web interface check box
	  (allow printing from the Internet) did not work reliably (STR #3520)
	- The lpq and lpr commands would sometimes choose different default
	  printers (STR #3503)
	- cupsDo*Request did not flush error text, leading to multiple issues
	  (STR #3325, STR #3519)
	- cupsDoAuthentication did not cancel password authentication after 3
	  failures (STR #3518)
	- Fixed several LDAP browsing bugs (STR #3392)
	- The Dymo driver did not support copies (STR #3457)
	- The scheduler did not update the classes.conf file when deleting a
	  printer belonging to a class (STR #3505)
	- The lppasswd command did not use localized password prompts
	  (STR #3492)
	- The socket backend no longer waits for back-channel data on platforms
	  other than Mac OS X (STR #3495)
	- The scheduler didn't send events when a printer started accepting or
	  rejecting jobs (STR #3480)
	- The web interface now includes additional CSRF protection (STR #3498)
2010-11-12 08:54:58 +00:00
sbd
d56a49750f Add str3648.patch by Mike Sweet to address CVE-2010-2941.
Obtained from https://bugzilla.redhat.com/show_bug.cgi?id=624438
as Cups STR#3648 (http://www.cups.org/str.php?L3648) is not public yet!
2010-11-12 08:24:31 +00:00
sbd
cb68566856 If the dnssd options is enabled net/mDNSResponder must be buildlinked 2010-07-21 03:17:33 +00:00
sbd
4694ed0c74 Remove unneeded @pkgdir entrys I add 2010-07-20 00:01:22 +00:00
sbd
f9a1a3437f Now that net/mDNSResponder has been update fix the dnssd build
Bump PKGREVISION (again!)
2010-07-14 11:25:19 +00:00
sbd
b8bc9cb60c the st_gen member of stat(2) is a BSD extension 2010-07-13 10:59:42 +00:00
sbd
c799392a5e Add patch comments to patch-b? 2010-06-16 21:15:17 +00:00
drochner
085f81e3d3 add some patches from upstream to fix security problems:
-use-after-free problem (CVE-2010-0302)
-information disclosure (CVE-2010-1748)
-unchecked memory allocation is texttops
-file overwrite problem
(I didn't find references from cups patches to CVE #s, or vice versa,
so the CVE #s are not certain.)
The missing http session check problem (CVE-2010-0540?) is not fixed,
this would be a large patch affecting tens of files.
bump PKGREVISION
2010-06-16 18:18:26 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
gdt
f5b576b40a Improve libusb-specific MESSAGE by pointing out the big picture about
the shift from traditional ulpt(4)/usblp to libusb.  Clarify that the
backend, when run without arguments, also prints out DeviceURIs of
traditional printers.  PKGREVISION++.

ok sbd@
2010-06-10 10:28:35 +00:00
sbd
d8a54aa2d3 The usb-backend-both-usblp-and-libusb.dpatch does not make an allowance for
"--disable-libusb", fix that!

Bump PKGREVISION.
2010-06-09 09:01:43 +00:00
sbd
e04722892c Include a MESSAGE on how to use libusb DeviceURI's if the libusb option is on. 2010-06-09 08:58:05 +00:00
sbd
5fe2e1d24e Incorporate:
usb-backend-both-usblp-and-libusb.dpatch by  <till.kamppeter@gmail.com>

http://www.cups.org/str.php?L3357
One "usb" CUPS backend for both libusb-based and usblp-based access.

Bump PKGREVISION.
2010-06-05 23:03:15 +00:00
sbd
f833cc66e8 Move pkg-config from default USE_TOOLS in to the dbus section of options.mk
so its only added when needed.
2010-05-26 09:18:48 +00:00
sbd
75dc291e33 Add pkg-config (needed for dbus support) to USE_TOOLS 2010-05-25 11:23:46 +00:00