]>
git.ipfire.org Git - thirdparty/cups.git/log
Michael R Sweet [Thu, 31 Mar 2022 13:23:41 +0000 (09:23 -0400)]
Windows build fixes.
Michael R Sweet [Thu, 31 Mar 2022 11:41:56 +0000 (07:41 -0400)]
Force i386 Linux builds to use GNU TLS for build tests while x86_64 Linux builds use OpenSSL.
Michael R Sweet [Thu, 31 Mar 2022 11:31:11 +0000 (07:31 -0400)]
Fix remaining OpenSSL BIO issues.
Michael R Sweet [Thu, 31 Mar 2022 01:09:27 +0000 (21:09 -0400)]
Use more modern BIO_METHOD APIs to work on current OpenSSL.
Michael R Sweet [Wed, 30 Mar 2022 22:13:18 +0000 (18:13 -0400)]
Use BIO methods to write cert files.
Michael R Sweet [Wed, 30 Mar 2022 22:09:02 +0000 (18:09 -0400)]
Implement subject alternate name support for cupsMakeServerCredentials.
Michael R Sweet [Wed, 30 Mar 2022 21:38:52 +0000 (17:38 -0400)]
Implement cupsMakeServerCredentials.
Michael R Sweet [Wed, 30 Mar 2022 21:05:40 +0000 (17:05 -0400)]
Finish up all of the client-side certificate stuff.
Michael R Sweet [Wed, 30 Mar 2022 18:31:22 +0000 (14:31 -0400)]
Fix bug in tlscheck utility - wasn't retrying connections and used "host"
instead of "server" when constructing the printer URI.
Continue OpenSSL implementations of http_create_credentials,
httpCopyCredentials, and httpCredentialString.
Michael R Sweet [Tue, 29 Mar 2022 21:42:04 +0000 (17:42 -0400)]
Save work on certificate support code and tlscheck.
Michael R Sweet [Tue, 29 Mar 2022 20:34:32 +0000 (16:34 -0400)]
Implement http_create_credential, now working for HTTPS/IPPS clients.
Michael R Sweet [Tue, 29 Mar 2022 18:35:51 +0000 (14:35 -0400)]
Save core OpenSSL implementation.
Michael R Sweet [Wed, 23 Mar 2022 14:25:25 +0000 (10:25 -0400)]
Save work.
Michael R Sweet [Tue, 22 Mar 2022 21:49:59 +0000 (17:49 -0400)]
Save initial work on integrating OpenSSL support back into libcups.
Zdenek Dohnal [Tue, 15 Mar 2022 07:13:17 +0000 (08:13 +0100)]
scheduler/cups.socket.in: Add RemoveOnStop directive
Turn on RemoveOnStop directive, which removes the domain socket file
once the socket unit is stopped, which follows UNIX programming
practice.
Zdenek Dohnal [Tue, 8 Mar 2022 12:29:14 +0000 (13:29 +0100)]
Fix translations
Zdenek Dohnal [Tue, 8 Mar 2022 11:56:42 +0000 (12:56 +0100)]
Update CHANGES.md and trailer.tmpl
Michael R Sweet [Mon, 7 Mar 2022 17:31:40 +0000 (12:31 -0500)]
Fix printable stylesheet.
Michael R Sweet [Mon, 7 Mar 2022 17:14:29 +0000 (12:14 -0500)]
Fix some web interface issues:
- Transition web interface/stylesheet to use "cups-header", "cups-body", and
"cups-footer" classes.
- Tweak background colors for documentation sidebar, block quotes, and code.
zdohnal [Mon, 7 Mar 2022 13:25:08 +0000 (14:25 +0100)]
Merge pull request #349 from Rishabh-792/master
Fixed footer message for web pages
Rishabh-792 [Mon, 7 Mar 2022 12:43:06 +0000 (18:13 +0530)]
used escape sequence for copyright symbol
Rishabh-792 [Sat, 5 Mar 2022 12:21:31 +0000 (17:51 +0530)]
Footer message corrected
Zdenek Dohnal [Fri, 4 Mar 2022 07:23:22 +0000 (08:23 +0100)]
scheduler/ipp.c: Polish mDNS resolving
- no need to include http-private.h, cupsd.h has cups-private.h, which
includes http-private.h
- call _httpResolve() only for mDNS hostnames and then pass the pointer
to original printer->device_uri instead of copying
- add logging messages
Michael R Sweet [Fri, 4 Mar 2022 00:59:02 +0000 (19:59 -0500)]
Fix Windows build error.
Michael R Sweet [Fri, 4 Mar 2022 00:56:45 +0000 (19:56 -0500)]
Set last error string to Windows error message.
Zdenek Dohnal [Wed, 2 Mar 2022 12:42:59 +0000 (13:42 +0100)]
scheduler/ipp.c: Resolve possible mDNS uri (Fixes #340, #343)
Users sometimes pass URIs from dnssd and driverless backends as a
device URI for IPP Everywhere queues. These URIs have mDNS hostnames in
it, so they need to be resolved before used in connection.
Michael R Sweet [Tue, 1 Mar 2022 21:18:19 +0000 (16:18 -0500)]
Don't use the machine store for certs on Windows.
Michael R Sweet [Sat, 26 Feb 2022 22:07:30 +0000 (17:07 -0500)]
Fix syntax for excluding the sources under 'locale'.
Michael R Sweet [Thu, 24 Feb 2022 01:39:53 +0000 (20:39 -0500)]
Fix LGTM warning about a dead compare.
Michael R Sweet [Tue, 22 Feb 2022 15:35:56 +0000 (10:35 -0500)]
Disable bogus "cleartext password" error for "JobPassword" keyword in PPD file
(which contains the pattern for a PIN, *not* any password info...)
Also silence any testing in the "locale" directory.
zdohnal [Wed, 16 Feb 2022 10:40:34 +0000 (11:40 +0100)]
Merge pull request #335 from jschwender/master
updated de translations
jschwender [Wed, 16 Feb 2022 09:26:12 +0000 (10:26 +0100)]
updated de translations
Michael R Sweet [Fri, 11 Feb 2022 12:51:07 +0000 (07:51 -0500)]
Fix testclient bug with too-long raster.
Zdenek Dohnal [Wed, 9 Feb 2022 08:39:13 +0000 (09:39 +0100)]
Update code style and CHANGES.md
zdohnal [Wed, 9 Feb 2022 08:30:00 +0000 (09:30 +0100)]
Merge pull request #329 from rikylescak/fix-uninit-memory-jump
Fix uninit value based jump in ppd.c
Richard Lescak [Fri, 28 Jan 2022 15:29:20 +0000 (16:29 +0100)]
Fix uninit value based jump in ppd.c
Zdenek Dohnal [Thu, 27 Jan 2022 11:11:42 +0000 (12:11 +0100)]
README.md: update version
Zdenek Dohnal [Thu, 27 Jan 2022 11:10:08 +0000 (12:10 +0100)]
Prepare for 2.4.1
Zdenek Dohnal [Thu, 27 Jan 2022 10:55:13 +0000 (11:55 +0100)]
Update copyrights
Zdenek Dohnal [Thu, 27 Jan 2022 07:01:48 +0000 (08:01 +0100)]
Removed purge-jobs legacy code from CGI scripts and templates
Fixes #325
Michael R Sweet [Wed, 12 Jan 2022 13:44:01 +0000 (08:44 -0500)]
Fix print-color-mode-default support so that it can be configured and defaults
to the printer's value (Issue #277)
Michael R Sweet [Wed, 12 Jan 2022 13:37:11 +0000 (08:37 -0500)]
Bump copyright.
Michael R Sweet [Wed, 12 Jan 2022 13:33:58 +0000 (08:33 -0500)]
Also fix cupsfilter (Issue #323)
Michael R Sweet [Wed, 12 Jan 2022 13:32:45 +0000 (08:32 -0500)]
Don't run fuzzing tests for every build.
Michael R Sweet [Wed, 12 Jan 2022 13:29:49 +0000 (08:29 -0500)]
Update copyright.
Michael R Sweet [Wed, 12 Jan 2022 13:12:24 +0000 (08:12 -0500)]
Remove legacy code for RIP_MAX_CACHE environment variable (Issue #323)
Zdenek Dohnal [Wed, 12 Jan 2022 07:19:52 +0000 (08:19 +0100)]
Merge branch 'rikylescak-memleak-fixes'
Richard Lescak [Tue, 11 Jan 2022 09:53:34 +0000 (10:53 +0100)]
cups/http.c,encode.c: Fix memory leaks
Zdenek Dohnal [Tue, 4 Jan 2022 07:43:23 +0000 (08:43 +0100)]
Makefile: Clean the correct generated files
This is a remain of renaming systemd services from org.cups* to cups.
Cleanup target in Makefile still expected the old names.
Zdenek Dohnal [Mon, 3 Jan 2022 14:56:51 +0000 (15:56 +0100)]
Update CHANGES.md
zdohnal [Mon, 3 Jan 2022 14:56:12 +0000 (15:56 +0100)]
Merge pull request #316 from lunaryorn/patch-1
Fix default wanted-by target to printer.target
Zdenek Dohnal [Mon, 3 Jan 2022 13:41:43 +0000 (14:41 +0100)]
Update CHANGES.md
zdohnal [Mon, 3 Jan 2022 13:37:07 +0000 (14:37 +0100)]
Merge pull request #317 from jwatt/master
Fix leak of data.devices in cups_enum_dests
zdohnal [Mon, 3 Jan 2022 13:36:14 +0000 (14:36 +0100)]
Merge pull request #313 from ryancaicse/master
Fix some minor resource leaks
Jonathan Watt [Sat, 1 Jan 2022 17:29:45 +0000 (17:29 +0000)]
Fix leak of data.devices in cups_enum_dests
lunaryorn [Sat, 1 Jan 2022 14:22:36 +0000 (15:22 +0100)]
Fix default wanted-by target to printer.target
There is no printers.target in systemd, only printer.target (see man bootup).
This regression was introduced in #143
ryancaicse [Tue, 21 Dec 2021 04:12:27 +0000 (12:12 +0800)]
Fix some minor resource leaks
Fix some minor resource leaks in test18n.c
Michael R Sweet [Fri, 17 Dec 2021 18:14:50 +0000 (13:14 -0500)]
Bump NuGet version.
Zdenek Dohnal [Fri, 17 Dec 2021 09:21:14 +0000 (10:21 +0100)]
templates: Apply fix from #242 to localized templates
Michael R Sweet [Wed, 15 Dec 2021 23:48:39 +0000 (18:48 -0500)]
Bump NuGet version.
Michael R Sweet [Wed, 15 Dec 2021 23:47:37 +0000 (18:47 -0500)]
Normalize debug logging.
Zdenek Dohnal [Tue, 7 Dec 2021 06:43:09 +0000 (07:43 +0100)]
Update configure after latest configuration fixes
Zdenek Dohnal [Tue, 7 Dec 2021 06:42:24 +0000 (07:42 +0100)]
Update CHANGES.md
zdohnal [Tue, 7 Dec 2021 06:37:00 +0000 (07:37 +0100)]
Merge pull request #304 from evanmiller/patch-4
Fix configure syntax error
zdohnal [Tue, 7 Dec 2021 06:36:11 +0000 (07:36 +0100)]
Merge pull request #303 from evanmiller/patch-3
Confirm that `-Wl,-pie` links on Darwin
Evan Miller [Mon, 6 Dec 2021 15:52:24 +0000 (10:52 -0500)]
Fix configure syntax error
Fixes https://github.com/OpenPrinting/cups/issues/301
Evan Miller [Mon, 6 Dec 2021 14:58:28 +0000 (09:58 -0500)]
Confirm that -Wl,-pie links on Darwin
The flag compiles but fails to link when the deployment target is OS X 10.4.
zdohnal [Fri, 3 Dec 2021 06:20:43 +0000 (07:20 +0100)]
Merge pull request #300 from tgurr/remove-deprecated
Remove obsolete config & server variables
Timo Gurr [Thu, 2 Dec 2021 16:51:09 +0000 (17:51 +0100)]
Remove obsolete server variables
Removed in
20d8b4bd361216edaa1b9d1c8289d20710c91afb .
Timo Gurr [Thu, 2 Dec 2021 16:47:21 +0000 (17:47 +0100)]
Remove obsolete config variables
As
20d8b4bd361216edaa1b9d1c8289d20710c91afb removed the relevant
parts from configure these variables never get substituted.
Zdenek Dohnal [Wed, 1 Dec 2021 11:00:16 +0000 (12:00 +0100)]
de/index.html: Fix missing bracket (fixes issue #299)
The bracket was unintentionally removed by commit
b76a97a .
Zdenek Dohnal [Mon, 29 Nov 2021 14:27:31 +0000 (15:27 +0100)]
Prepare for 2.4.0
zdohnal [Mon, 29 Nov 2021 14:07:25 +0000 (15:07 +0100)]
Merge pull request #298 from zdohnal/conf-timeoutstartsec
Add --with-systemd-timeoutstartsec configure option
Zdenek Dohnal [Mon, 29 Nov 2021 12:18:18 +0000 (13:18 +0100)]
Add --with-systemd-timeoutstartsec configure option
cupsd can be killed by systemd if the daemon takes too much time when
starting - f.e. when loading many queues and/or not enough memory for
loading the daemon quicker.
TimeoutStartSec directive for systemd services defines the time after
which the daemon is killed - if set to 'infinity', a service is not
killed.
zdohnal [Mon, 29 Nov 2021 13:50:02 +0000 (14:50 +0100)]
Merge pull request #294 from zdohnal/idletimeexit-unlimited
Add --with-idle-exit-timeout configure option
Zdenek Dohnal [Mon, 29 Nov 2021 08:30:26 +0000 (09:30 +0100)]
Add --with-idle-exit-timeout configure option
The option enables setting IdleExitTimeout to a desired value - f.e.
setting to zero will disable automatic shutdown, which is useful on servers,
where cupsd is expected to run even if there is no web interface, no jobs
and CUPS doesn't share queues.
Zdenek Dohnal [Mon, 29 Nov 2021 07:43:37 +0000 (08:43 +0100)]
Update CHANGES.md
zdohnal [Mon, 29 Nov 2021 07:35:52 +0000 (08:35 +0100)]
Merge pull request #297 from Atalanttore/patch-3
Improve German translation
zdohnal [Mon, 29 Nov 2021 05:40:58 +0000 (06:40 +0100)]
Merge pull request #296 from Atalanttore/patch-1
Fix typo in German translation
Ettore Atalan [Sun, 28 Nov 2021 16:15:40 +0000 (17:15 +0100)]
Improve German translation
I have partially corrected existing translations and added new translations.
Ettore Atalan [Sun, 28 Nov 2021 15:13:01 +0000 (16:13 +0100)]
Fix typo in German translation
zdohnal [Fri, 26 Nov 2021 05:03:27 +0000 (06:03 +0100)]
Merge pull request #293 from pekdon/master
cups/getifaddrs-internal.h: Include versioning.h if ! HAVE_GETIFADDRS
Claes Nästén [Wed, 24 Nov 2021 09:39:07 +0000 (10:39 +0100)]
cups/getifaddrs-internal.h: Include versioning.h for ! HAVE_GETIFADDRS
Without this compile fails on systems withou getifaddrs as _CUPS_PRIVATE
is undefined. Found on Solaris 10.
Zdenek Dohnal [Mon, 22 Nov 2021 08:35:21 +0000 (09:35 +0100)]
Update CHANGES.md
zdohnal [Mon, 22 Nov 2021 08:30:37 +0000 (09:30 +0100)]
Merge pull request #287 from zdohnal/digestoptions_rfc2069
cups/http-support.c: Apply DigestOptions to RFC 2069 support
Zdenek Dohnal [Fri, 19 Nov 2021 11:23:08 +0000 (12:23 +0100)]
cups/http-support.c: Apply DigestOptions to RFC 2069 support
Earlier we applied DigestOptions only for devices which implement RFC
2617 or RFC 7616, this commit applies it even for RFC 2069 support.
This issue came up during CentOS Stream/RHEL 9 development, where MD5
digest is marked as insecure for authentication/authorization, so it
should be turned off in default configurations to prevent security
issues.
Zdenek Dohnal [Fri, 12 Nov 2021 08:55:11 +0000 (09:55 +0100)]
systemv/lpadmin.c: Don't generate deprecation warning for driverless:
Zdenek Dohnal [Fri, 12 Nov 2021 06:44:38 +0000 (07:44 +0100)]
Prepare for 2.4rc1
Zdenek Dohnal [Thu, 11 Nov 2021 12:09:43 +0000 (13:09 +0100)]
run-stp-tests.sh: Update number of warning
Needed due issue #286.
Zdenek Dohnal [Thu, 11 Nov 2021 11:17:01 +0000 (12:17 +0100)]
configure: regenerate the file
We need to regenerate by 'autoconf -f' after PR for cups-compiler.m4.
Zdenek Dohnal [Thu, 11 Nov 2021 11:11:29 +0000 (12:11 +0100)]
Update CHANGES.md
zdohnal [Thu, 11 Nov 2021 09:12:50 +0000 (10:12 +0100)]
Merge pull request #285 from zdohnal/fstack-protector-strong
cups-compiler.m4: Check for -fstack-protector-strong
Zdenek Dohnal [Thu, 11 Nov 2021 09:11:13 +0000 (10:11 +0100)]
Update CHANGES.md
zdohnal [Thu, 11 Nov 2021 09:08:41 +0000 (10:08 +0100)]
Merge pull request #286 from zdohnal/printer_load_deprecation_warn
scheduler/printers.c: Add warning when loading printers
Zdenek Dohnal [Thu, 11 Nov 2021 08:14:44 +0000 (09:14 +0100)]
scheduler/printers.c: Add warning when loading printers
Since drivers and raw queues going are deprecated and going to be
removed, this change will introduce a warning during cupsd's start.
This way we have all print queue installation options covered - lpadmin
and web ui were enhanced with warning in the past.
Zdenek Dohnal [Wed, 10 Nov 2021 16:06:27 +0000 (17:06 +0100)]
cups-compiler.m4: Check for -fstack-protector-strong
GCC can provide even stronger stack protection, let's use it if
available. Otherwise fall back to -fstack-protector.
Till Kamppeter [Tue, 2 Nov 2021 23:10:03 +0000 (00:10 +0100)]
Client Snap support in cupsd: Additional NULL check
When testing the newest snapd whether it works correctly together
with CUPS, I hit a segfault in the chackwhether the client is a Snap
plugging cups-control, for the case when CUPS is not snapped.
Fixed this with an additional NULL check.
Michael R Sweet [Tue, 2 Nov 2021 20:05:09 +0000 (16:05 -0400)]
Rework change for coverity.
Michael R Sweet [Tue, 2 Nov 2021 19:39:28 +0000 (15:39 -0400)]
Another set of changes to resolve Coverity-detected issues.
Michael R Sweet [Tue, 2 Nov 2021 15:23:31 +0000 (11:23 -0400)]
More coverity fixes.