256 Commits

Autor SHA1 Mensagem Data
steve algernon 82e3ee0e32 Update version to 2.3.3 for:
CVE-2020-3898 - cups/ppd.c, ppdc/ppdc-source.cxx
CVE-2019-8842 - cups/ipp.c: ippReadIO

And build issues due to warnings.
2020-04-27 11:04:29 -07:00
Michael R Sweet 397eefaa69 Another fix for DBUSDIR (Issue #5671) 2019-10-21 11:12:11 -04:00
Michael R Sweet 9e82c53ebc Fix --with-dbusdir (Issue #5671) 2019-10-21 10:55:57 -04:00
Michael R Sweet 998a43a0dd Revert GNU TLS FIPS-140 changes. 2019-09-03 10:29:07 -04:00
Nicolas Fella 89fabc72df Add wheel to system groups 2019-08-23 14:43:19 +02:00
Michael R Sweet 9ec6124c37 GNU TLS FIPS140 support (Issue #5601, Issue #5622) 2019-08-01 14:24:58 -04:00
Michael R Sweet 43c0e4a9d5 Update GCC options (hopefully will cover more future versions...) 2019-08-01 11:45:45 -04:00
Michael R Sweet 3001a140d6 Use GZIPPROG instead of GZIP to avoid install issues (Issue #5595) 2019-06-12 08:36:28 -04:00
Michael R Sweet 3e391a8e76 Update build system and cups-config script to not add extra libraries to the
"--libs" output (Issue #5261)
2019-05-15 18:35:58 -04:00
Michael R Sweet 8dabd1442f Fix Linux RPM builds. 2019-05-02 12:14:05 -04:00
Michael R Sweet 87030afb3a Greatly simplify the man page handling. 2019-04-26 23:10:09 -04:00
Michael R Sweet f1ac9f5889 Move example ipptool files to the examples directory.
Build tools directory for IPP tools.
2019-04-26 11:05:27 -04:00
Michael R Sweet 6641bd0d3f Stub out the PS and PCL print commands for ippeveprinter.
Add a "corelite" value for --with-components that builds the tools as well as
the PPD-free libcups.

Add a "CUPS_LITE" define in config.h.
2019-03-22 13:01:16 -04:00
Michael R Sweet 3c2cb8228e Clean up some build issues on certain platforms. 2019-03-21 18:20:40 -04:00
Michael R Sweet fa26ab9573 Eliminate use of private macOS security headers/APIs (Issue #5516)
Eliminate use of deprecated cssmErrorString function.

Switch to using SecCertificateCreateWithData.

Clean out unused private header availability checks.
2019-02-14 11:53:23 -05:00
Michael R Sweet ffbf1e61ff Fix some build issues with the "core" component selection (rdar://47394086)
- Availability macros were incorrect.
- Some driver headers/definitions were installed even when the core library
  does not contain them.
- Fix up the macOS/iOS detection of keychain/API availability - just need to
  use the TARGET_OS_xxx macros instead.
- When installing private headers, install config.h so that the private
  headers actually work.
2019-01-23 12:15:38 -05:00
Michael R Sweet e13e173f26 Remove macOS version check. 2019-01-23 12:14:12 -05:00
Michael R Sweet 48cc38928a Revert previous change - need explicit AC_PROG_CPP for the header checks. 2019-01-22 17:48:17 -05:00
Michael R Sweet 971a6b5d79 Don't need AC_PROG_CPP. Greatly simplifies things when cross-compiling! 2019-01-22 16:05:36 -05:00
Michael R Sweet 7d730d0ce7 Don't error out on deprecations. 2018-12-06 09:21:58 -05:00
Michael R Sweet c028bdf75e Fix bogus indentation. 2018-12-05 12:37:23 -05:00
Michael R Sweet f518bf7ea1 Support AddressSanitizer in builds.
Fix a compiler warning on macOS.
2018-12-04 09:36:02 -05:00
Michael R Sweet a8a73fd881 Update default compiler options for GCC 8.x. 2018-11-16 15:58:29 -05:00
Michael R Sweet 6276d173b6 Fix compiler warnings (Issue #5423) 2018-11-06 16:16:16 -05:00
Michael R Sweet 58b64dbba8 Add new libcupslite component that builds a libcups without driver/PPD support. 2018-10-29 17:56:28 -04:00
Michael R Sweet 171c38f224 Add libcups component name, localization bundle support for iOS. 2018-10-29 16:36:11 -04:00
Michael R Sweet 144351068c Don't install cupscgi, cupsmime, or cupsppdc shared libraries. 2018-10-29 12:12:41 -04:00
Michael R Sweet 171b7064c6 Drop -Wno-format-truncation since only newer versions of GCC support it and the configure check has never worked. 2018-10-18 22:00:43 -04:00
Michael R Sweet e4b72d7ee1 Update the location of strings files on newer versions of macOS.
Don't install debug symbols for static libraries.
2018-10-18 21:53:15 -04:00
Michael R Sweet c8c5ec3b57 Search for codesign/true, use LDFLAGS for shared libraries (Issue #5411) 2018-10-15 21:03:40 -04:00
Michael R Sweet 137fa9a836 Code signing changes. 2018-09-18 11:27:20 -04:00
Michael R Sweet 00dbe99f3f Add code signing for macOS Mojave. 2018-09-18 11:02:51 -04:00
Michael R Sweet 123979a9db Move libcupsimage to the "cups" subdirectory, along with its unit tests and
benchmark.
2018-01-18 17:20:18 -05:00
Michael Sweet ac05c63065 Fix PAM module detection and add support for the "common-*" includes used on
Ubuntu (Issue #5185)

conf/pam.common: PAM definition that uses system-wide default (common) modules.

config-scripts/cups-pam.m4: Add PAM module directory search paths, look for common includes.

configure: Regenerate.
2017-12-07 11:50:32 -05:00
Michael R Sweet e310189747 License change: Apache License, Version 2.0. 2017-11-07 12:11:35 -05:00
Michael R Sweet 98491ecc6f Drop hard-coded CGI scripting language support (Issue #5124) 2017-11-01 12:00:13 -04:00
Michael Sweet b889560c05 Fixed the script interpreter detection in the configure script (Issue #5122) 2017-10-12 10:43:35 -04:00
Michael R Sweet 9d4ae311cb Merge pull request #5112 from paulmenzel/remove-libgcrypt-detection
Remove Libgcrypt detection
2017-09-28 13:12:01 -04:00
Michael Sweet 4279822fe4 Suppress new GCC warning about snprintf truncation (Issue #5110) 2017-09-24 11:51:07 -04:00
Paul Menzel 0728c89bcf config-scripts/cups-ssl.m4: Remove Libgcrypt detection
Upstream a change from the book *Beyond Linux From Scratch* [1].

> Prevent configure script from searching libgcrypt-config, because
> libgcrypt is not used anywere else in the package.

[1] http://www.linuxfromscratch.org/blfs/view/svn/pst/cups.html
2017-09-12 13:18:21 +02:00
Michael Sweet 9964a31a77 Fix the localization unit test on Linux (Issue #5097)
Makefile needed to create locale directory for tests.

Also, localization test needs to allow string pointers to match for the POSIX
locale and differ for other languages.
2017-08-28 12:19:58 -04:00
Michael R Sweet 07cb72471a Fix builds without libtool. 2017-07-17 20:44:20 -04:00
Michael R Sweet b94f7488e8 Fix more issues with libtool support (Issue #5050) 2017-07-17 19:58:53 -04:00
Michael R Sweet d2d605ff77 Fix authorization checks on macOS (no longer /etc/authorization, but now we don't need
to look for the old names from 10.5...)
2017-07-17 19:49:27 -04:00
Michael R Sweet 6eda776e8a Update help text so everything lines up properly and is consistent and spelled correctly. 2017-07-17 18:28:27 -04:00
Michael R Sweet a621d151e7 Update libtool support to include --mode=foo stuff - surprise, libtool changed in
incompatible ways again...  (Issue #5050)
2017-07-17 18:23:00 -04:00
Roland Hieber 7a0e5acde2 configure: don't accidentally set @LIBTOOL@ to 'yes'
Substituting @LIBTOOL@ with 'yes' would result in a lot of console
output (34 GB in my case, before SIGKILL), without getting anything
compiled at all.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
2017-07-17 14:23:39 +02:00
Michael R Sweet 8d7d268f61 Fix typo that slipped in with the changes for Issue #4897. 2017-06-26 12:28:07 -04:00
Michael R Sweet 4466c8ca87 Fix manpage test. 2017-06-16 21:18:33 -04:00
Michael R Sweet 134d057955 Fix some typos. 2017-06-16 21:11:42 -04:00