]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoLet cups.1 point to client.conf.5, not client.conf.7 92/head
Didier Raboud [Fri, 12 Feb 2021 12:47:22 +0000 (13:47 +0100)] 
Let cups.1 point to client.conf.5, not client.conf.7

Debian-Bug: #982303

4 years agoBump version.
Michael R Sweet [Thu, 11 Feb 2021 20:40:13 +0000 (15:40 -0500)] 
Bump version.

4 years agoFix indentation for cupsfilter error messages (Issue #88)
Michael R Sweet [Thu, 11 Feb 2021 20:39:04 +0000 (15:39 -0500)] 
Fix indentation for cupsfilter error messages (Issue #88)

Update message catalogs for new messages.

Update changelog.

4 years agoMerge pull request #88 from surajkulriya/master
Michael R Sweet [Thu, 11 Feb 2021 20:26:51 +0000 (15:26 -0500)] 
Merge pull request #88 from surajkulriya/master

issue #87 cupsfilter showing particular errors.

4 years agoremoved extra test files 88/head
surajkulriya [Fri, 5 Feb 2021 16:21:32 +0000 (21:51 +0530)] 
removed extra test files

4 years agoRevert "coded changes as per guildlines"
surajkulriya [Fri, 5 Feb 2021 16:14:11 +0000 (21:44 +0530)] 
Revert "coded changes as per guildlines"

This reverts commit f2c438d4cfee2ec9b8d054d489f9de80e543ab4b.

4 years agocoded changes as per guildlines
surajkulriya [Fri, 5 Feb 2021 16:03:59 +0000 (21:33 +0530)] 
coded changes as per guildlines

4 years agocupsfilter showing particular errors.
surajkulriya [Thu, 4 Feb 2021 14:39:49 +0000 (20:09 +0530)] 
cupsfilter showing particular errors.

4 years agoUpdate test suite to timeout after 300 seconds, show error_log on failure in Github...
Michael R Sweet [Tue, 2 Feb 2021 14:40:39 +0000 (09:40 -0500)] 
Update test suite to timeout after 300 seconds, show error_log on failure in Github action.

4 years agoUpdate configure script. v2.3.3op2
Michael R Sweet [Mon, 1 Feb 2021 21:10:25 +0000 (16:10 -0500)] 
Update configure script.

4 years agoUpdate copyrights and versions for new release.
Michael R Sweet [Mon, 1 Feb 2021 21:09:03 +0000 (16:09 -0500)] 
Update copyrights and versions for new release.

4 years agoAdd Github Action to build and test
Michael R Sweet [Mon, 1 Feb 2021 20:56:18 +0000 (15:56 -0500)] 
Add Github Action to build and test

4 years agoChangelog.
Michael R Sweet [Mon, 1 Feb 2021 20:49:17 +0000 (15:49 -0500)] 
Changelog.

4 years agoJust use a simple 250ms sleep in the read loop (Issue #72)
Michael R Sweet [Mon, 1 Feb 2021 20:47:50 +0000 (15:47 -0500)] 
Just use a simple 250ms sleep in the read loop (Issue #72)

4 years agoUpdate config header files.
Michael R Sweet [Mon, 1 Feb 2021 20:29:04 +0000 (15:29 -0500)] 
Update config header files.

4 years agoFix snprintf emulation function (Issue #67)
Michael R Sweet [Mon, 1 Feb 2021 20:26:53 +0000 (15:26 -0500)] 
Fix snprintf emulation function (Issue #67)

4 years agoFix a buffer (read) overflow in ippReadIO (CVE-2020-10001)
Michael R Sweet [Mon, 1 Feb 2021 20:02:32 +0000 (15:02 -0500)] 
Fix a buffer (read) overflow in ippReadIO (CVE-2020-10001)

4 years agoChangelog.
Michael R Sweet [Mon, 1 Feb 2021 20:00:44 +0000 (15:00 -0500)] 
Changelog.

4 years agoMerge pull request #73 from tsite/master
Michael R Sweet [Mon, 1 Feb 2021 20:48:22 +0000 (15:48 -0500)] 
Merge pull request #73 from tsite/master

Ignore the APPrinterIconPath PPD attribute

4 years agoMerge pull request #81 from zdohnal/help-index-segfault
Michael R Sweet [Fri, 29 Jan 2021 15:11:41 +0000 (10:11 -0500)] 
Merge pull request #81 from zdohnal/help-index-segfault

cgi-bin/help-index.c: Check node->section before using it in strcmp()

4 years agocgi-bin/help-index.c: Check node->section before using it in strcmp() 81/head
Zdenek Dohnal [Fri, 29 Jan 2021 07:56:17 +0000 (08:56 +0100)] 
cgi-bin/help-index.c: Check node->section before using it in strcmp()

Fixes a segfault in help.cgi, which happens if user tries to search in man pages.
Fedora bug #1921881

4 years agoChangelog.
Michael R Sweet [Fri, 22 Jan 2021 21:46:22 +0000 (16:46 -0500)] 
Changelog.

4 years agoMerge pull request #78 from pranshukharkwal/issue64
Till Kamppeter [Fri, 22 Jan 2021 21:22:19 +0000 (22:22 +0100)] 
Merge pull request #78 from pranshukharkwal/issue64

PPD parsing: Add NULL check for option on (JCL)CloseUI

4 years agoAdd check for whether 'option' variable exists or not for closeUI and JCLCloseUI... 78/head
= [Fri, 22 Jan 2021 19:14:09 +0000 (00:44 +0530)] 
Add check for whether 'option' variable exists or not for closeUI and JCLCloseUI lines in ppd.c

4 years agoIgnore the APPrinterIconPath PPD attribute 73/head
Pranav Batra [Wed, 6 Jan 2021 22:34:22 +0000 (22:34 +0000)] 
Ignore the APPrinterIconPath PPD attribute

The icon file is only used on macOS (in which case
HAVE_APPLICATIONSERVICES_H is enabled).

BUG=none
TEST=cq

Change-Id: I58931df5788ab1c9f76b4cb2a958c51dc084083b

4 years agoChangelog.
Michael R Sweet [Sat, 19 Dec 2020 22:56:05 +0000 (17:56 -0500)] 
Changelog.

4 years agoMerge pull request #69 from OdyX/add-nslcd-after-service
Michael R Sweet [Sat, 19 Dec 2020 22:54:55 +0000 (17:54 -0500)] 
Merge pull request #69 from OdyX/add-nslcd-after-service

Systemd: Let cups.service start after nslcd.service

4 years agoSystemd: Let cups.service start after nslcd.service 69/head
Wolfgang Schweer [Sat, 12 Dec 2020 12:38:52 +0000 (13:38 +0100)] 
Systemd: Let cups.service start after nslcd.service

Bug-Debian: #977198
Bug-Upstream: https://github.com/OpenPrinting/cups/issues/69

4 years agoWith GNU TLS, generated certificates were incorrectly placed in $HOME for the
Michael R Sweet [Mon, 14 Dec 2020 16:12:51 +0000 (11:12 -0500)] 
With GNU TLS, generated certificates were incorrectly placed in $HOME for the
root UID.  They should be in /etc/cups (ServerRoot).

4 years agoChangelog.
Michael R Sweet [Thu, 3 Dec 2020 22:55:51 +0000 (17:55 -0500)] 
Changelog.

4 years agoMerge pull request #61 from OdyX/deb-kfreebsd-executables
Michael R Sweet [Thu, 3 Dec 2020 22:54:46 +0000 (17:54 -0500)] 
Merge pull request #61 from OdyX/deb-kfreebsd-executables

CUPS_EXE_FILE_PERM: also match host_os_name on *-gnu, to also catch kfreebsd-gnu

4 years agoCUPS_EXE_FILE_PERM: also match host_os_name on *-gnu, to also catch kfreebsd-gnu 61/head
Didier Raboud [Thu, 3 Dec 2020 17:33:35 +0000 (18:33 +0100)] 
CUPS_EXE_FILE_PERM: also match host_os_name on *-gnu, to also catch kfreebsd-gnu

Debian's kfreebsd-gnu architectures (kfreebsd-amd64 and kfreebsd-i386) work as Debian/GNU systems, hence with a 755 CUP_EXE_FILE_PERM, not 555

4 years agoDrop deprecated API warnings from normal builds.
Michael R Sweet [Thu, 3 Dec 2020 14:14:02 +0000 (09:14 -0500)] 
Drop deprecated API warnings from normal builds.

4 years agoChangelog and updated configure script (Issue #60)
Michael R Sweet [Thu, 3 Dec 2020 14:11:29 +0000 (09:11 -0500)] 
Changelog and updated configure script (Issue #60)

4 years agoMerge pull request #60 from OdyX/deb-kfreebsd-libexec
Michael R Sweet [Thu, 3 Dec 2020 14:10:16 +0000 (09:10 -0500)] 
Merge pull request #60 from OdyX/deb-kfreebsd-libexec

SERVERBIN: match host_os_name on *-gnu before *bsd* to catch kfreebsd-gnu's

4 years agoSERVERBIN: match host_os_name on *-gnu first, to catch kfreebsd-gnu before *bsd* 60/head
Didier Raboud [Thu, 3 Dec 2020 11:32:54 +0000 (12:32 +0100)] 
SERVERBIN: match host_os_name on *-gnu first, to catch kfreebsd-gnu before *bsd*

Debian's kfreebsd-gnu architectures (kfreebsd-amd64 and kfreebsd-i386) work as Debian/GNU systems, hence with a /usr/lib/cups SERVERBIN, not a /usr/libexec/cups.

4 years agoFix duplicate ColorModel entries for AirPrint printers (Issue #59)
Michael R Sweet [Thu, 3 Dec 2020 01:02:59 +0000 (20:02 -0500)] 
Fix duplicate ColorModel entries for AirPrint printers (Issue #59)

4 years agoUpdate cupsd.conf man page to talk about Listen * vs Listen address (Issue #53)
Michael R Sweet [Sat, 28 Nov 2020 13:55:31 +0000 (08:55 -0500)] 
Update cupsd.conf man page to talk about Listen * vs Listen address (Issue #53)

4 years agoForce a 5 second sleep to wait for the job control file to be written.
Michael R Sweet [Sat, 28 Nov 2020 13:43:46 +0000 (08:43 -0500)] 
Force a 5 second sleep to wait for the job control file to be written.

4 years agoAdd debugging output to test suite for Travis CI issue.
Michael R Sweet [Fri, 27 Nov 2020 15:17:17 +0000 (10:17 -0500)] 
Add debugging output to test suite for Travis CI issue.

4 years agoFix/tweak things for release. v2.3.3op1
Michael R Sweet [Fri, 27 Nov 2020 14:25:26 +0000 (09:25 -0500)] 
Fix/tweak things for release.

4 years agoUpdate URLs for OP-CUPS.
Michael R Sweet [Fri, 27 Nov 2020 13:35:00 +0000 (08:35 -0500)] 
Update URLs for OP-CUPS.

4 years agoPrep for 2.3.3op1 release.
Michael R Sweet [Fri, 27 Nov 2020 13:30:54 +0000 (08:30 -0500)] 
Prep for 2.3.3op1 release.

4 years agoEnable debug info for Travis builds.
Michael R Sweet [Thu, 26 Nov 2020 14:08:00 +0000 (09:08 -0500)] 
Enable debug info for Travis builds.

4 years agoSuppress not-useful GCC warnings on newer versions of GCC, too.
Michael R Sweet [Thu, 26 Nov 2020 14:06:36 +0000 (09:06 -0500)] 
Suppress not-useful GCC warnings on newer versions of GCC, too.

4 years agoFix printing on small format printers like label printers.
Michael R Sweet [Fri, 6 Nov 2020 23:11:02 +0000 (18:11 -0500)] 
Fix printing on small format printers like label printers.

4 years agoChangelog
Michael R Sweet [Wed, 25 Nov 2020 13:10:55 +0000 (08:10 -0500)] 
Changelog

4 years agoMerge pull request #51 from zdohnal/fedora-systemd-use-notify-type
Michael R Sweet [Wed, 25 Nov 2020 13:09:26 +0000 (08:09 -0500)] 
Merge pull request #51 from zdohnal/fedora-systemd-use-notify-type

[Fedora] cups.service.in: Use 'notify' service type and run after net…

4 years agoCoding style 51/head
Michael R Sweet [Wed, 25 Nov 2020 13:08:37 +0000 (08:08 -0500)] 
Coding style

4 years agoMerge pull request #52 from zdohnal/avahi_free_add_define
Michael R Sweet [Wed, 25 Nov 2020 13:03:17 +0000 (08:03 -0500)] 
Merge pull request #52 from zdohnal/avahi_free_add_define

http-support.c: Add avahi-common/malloc.h header for avahi_free() def…

4 years agohttp-support.c: Add avahi-common/malloc.h header for avahi_free() 52/head
Zdenek Dohnal [Wed, 25 Nov 2020 12:24:28 +0000 (13:24 +0100)] 
http-support.c: Add avahi-common/malloc.h header for avahi_free()

4 years ago[Fedora] cups.service.in: Start cupsd after NIS is started
Zdenek Dohnal [Wed, 25 Nov 2020 08:31:31 +0000 (09:31 +0100)] 
[Fedora] cups.service.in: Start cupsd after NIS is started

If an user has a NIS group as SystemGroup in cups-files.conf, then cupsd fails to start if it is activated before ypbind service. Setting 'After=ypbind.service' sets unit's order to cupsd being started after ypbind.

Fedora bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1494558

4 years ago[Fedora] cups.service.in: Use 'notify' service type and run after network.target
Zdenek Dohnal [Wed, 25 Nov 2020 07:12:32 +0000 (08:12 +0100)] 
[Fedora] cups.service.in: Use 'notify' service type and run after network.target

1) If the service is defined with 'simple' type, the result of 'systemctl' is 0 regardless of actual startup result, because it reports success/failure of forking process (even before cupsd is started). This way errors due bad configuration or programming errors are masked during systemctl invocation.
The 'notify' type depends on executable sending a 'Im running' type of message to systemd after successful start and systemctl's return code depends whether this message came or not, which solves the issue.
2) The service needs to be started after all units needed for network.target are activated. This prevents starting cupsd before we have ports ready.

Fedora bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1153660 (adding network.target)
https://bugzilla.redhat.com/show_bug.cgi?id=1088918 (change of the service type)

4 years agoMerge pull request #50 from zdohnal/remove-systemd-orgcups
Michael R Sweet [Tue, 24 Nov 2020 16:03:26 +0000 (11:03 -0500)] 
Merge pull request #50 from zdohnal/remove-systemd-orgcups

scheduler/Makefile: use new unit names in uninstall as well

4 years agoscheduler/Makefile: use new unit names in uninstall as well 50/head
Zdenek Dohnal [Tue, 24 Nov 2020 12:53:45 +0000 (13:53 +0100)] 
scheduler/Makefile: use new unit names in uninstall as well

4 years agoFix memory leak (Issue #49)
Michael R Sweet [Tue, 24 Nov 2020 03:15:26 +0000 (22:15 -0500)] 
Fix memory leak (Issue #49)

4 years agoTravis change for test target.
Michael R Sweet [Sun, 22 Nov 2020 22:25:13 +0000 (17:25 -0500)] 
Travis change for test target.

4 years ago"make test" now runs the automated test suite.
Michael R Sweet [Sun, 22 Nov 2020 13:49:56 +0000 (08:49 -0500)] 
"make test" now runs the automated test suite.

"make debugtest" now runs the automated test suite with debug printfs enabled.

The old "check" and "debugcheck" targets are still active, however "test" is the
canonical test suite target for most open source projects and CI environments.

The old "test" target behavior is available by running "make testserver" - as
before you can choose to run a more agressive automated test or just run the
test server in the background.

4 years agoFix default option values that start with "custom" that aren't custom values
Michael R Sweet [Sun, 22 Nov 2020 13:38:07 +0000 (08:38 -0500)] 
Fix default option values that start with "custom" that aren't custom values
(Issue #48)

4 years agoDon't show waiting for jobs unless we are waiting for jobs...
Michael R Sweet [Sun, 22 Nov 2020 13:37:49 +0000 (08:37 -0500)] 
Don't show waiting for jobs unless we are waiting for jobs...

4 years agoRename systemd service files to match what the Linux distros use (Issue #30)
Michael R Sweet [Sun, 15 Nov 2020 13:03:47 +0000 (08:03 -0500)] 
Rename systemd service files to match what the Linux distros use (Issue #30)

4 years agoChangelog.
Michael R Sweet [Sat, 14 Nov 2020 22:51:31 +0000 (17:51 -0500)] 
Changelog.

4 years agoUpdate cups-lpd man page (Issue #46)
Michael R Sweet [Sat, 14 Nov 2020 22:50:27 +0000 (17:50 -0500)] 
Update cups-lpd man page (Issue #46)

4 years agoUpdate copyright
Michael R Sweet [Sat, 14 Nov 2020 22:50:14 +0000 (17:50 -0500)] 
Update copyright

4 years agoFix typo in configure script.
Michael R Sweet [Sat, 14 Nov 2020 15:09:54 +0000 (10:09 -0500)] 
Fix typo in configure script.

4 years agoAdd LogFileGroup directive (Issue #34)
Michael R Sweet [Sat, 14 Nov 2020 15:04:43 +0000 (10:04 -0500)] 
Add LogFileGroup directive (Issue #34)

4 years agoAdd --enable-sync-on-close configure option (Issue #37)
Michael R Sweet [Sat, 14 Nov 2020 14:58:12 +0000 (09:58 -0500)] 
Add --enable-sync-on-close configure option (Issue #37)

4 years agoAdd --with-error-policy configure option (Issue #38)
Michael R Sweet [Sat, 14 Nov 2020 14:38:09 +0000 (09:38 -0500)] 
Add --with-error-policy configure option (Issue #38)

4 years agoChangelog.
Michael R Sweet [Sat, 14 Nov 2020 14:27:41 +0000 (09:27 -0500)] 
Changelog.

4 years agoDon't use "unknown" default InputSlot value for IPP Everywhere PPDs
Michael R Sweet [Sat, 14 Nov 2020 14:24:51 +0000 (09:24 -0500)] 
Don't use "unknown" default InputSlot value for IPP Everywhere PPDs
(Issue #44)

4 years agoMerge pull request #35 from OdyX/debian/deactivate-logrotation
Michael R Sweet [Sat, 14 Nov 2020 14:26:03 +0000 (09:26 -0500)] 
Merge pull request #35 from OdyX/debian/deactivate-logrotation

Debian: Allow configuration of MaxLogSize at configure-time

4 years agoAdd badges to README.
Michael R Sweet [Sat, 14 Nov 2020 14:13:23 +0000 (09:13 -0500)] 
Add badges to README.

4 years agoRemove a file that is no longer needed.
Michael R Sweet [Sat, 14 Nov 2020 14:10:31 +0000 (09:10 -0500)] 
Remove a file that is no longer needed.

4 years agoMake some changes to allow the automated test suite to run in certain restricted
Michael R Sweet [Sat, 14 Nov 2020 14:09:48 +0000 (09:09 -0500)] 
Make some changes to allow the automated test suite to run in certain restricted
build/CI setups (Issue #25)

4 years agoDon't log errors when IPv6 listeners fail because IPv6 is disabled (Issue #25)
Michael R Sweet [Sat, 14 Nov 2020 13:47:43 +0000 (08:47 -0500)] 
Don't log errors when IPv6 listeners fail because IPv6 is disabled (Issue #25)

4 years agoFix a logging regression that was detected by the automated test suite
Michael R Sweet [Sat, 14 Nov 2020 13:43:58 +0000 (08:43 -0500)] 
Fix a logging regression that was detected by the automated test suite
(Issue #25)

4 years agoAdd configure option to set MaxLogSize 35/head
Didier Raboud [Tue, 9 Aug 2016 16:11:40 +0000 (18:11 +0200)] 
Add configure option to set MaxLogSize

This allows distributions to turn off CUPS' internal logrotation by setting it to "0".

4 years agoFix the "uri-security-supported" value to be based on the current connection
Michael R Sweet [Tue, 10 Nov 2020 01:27:13 +0000 (20:27 -0500)] 
Fix the "uri-security-supported" value to be based on the current connection
(Issue #42)

4 years agoChangelog.
Michael R Sweet [Mon, 9 Nov 2020 13:58:02 +0000 (08:58 -0500)] 
Changelog.

4 years agoMerge pull request #41 from OdyX/debian/fix-rastertopwg-rounding-errors
Michael R Sweet [Mon, 9 Nov 2020 13:57:05 +0000 (08:57 -0500)] 
Merge pull request #41 from OdyX/debian/fix-rastertopwg-rounding-errors

Debian: Let the rastertopwg filter check rounding errors when calculating the page geometry

4 years agoMerge pull request #40 from OdyX/debian/fix-fax-fox
Michael R Sweet [Mon, 9 Nov 2020 13:55:53 +0000 (08:55 -0500)] 
Merge pull request #40 from OdyX/debian/fix-fax-fox

Debian: Fix fax numbers supplied via GTK print dialog

4 years agoMerge pull request #43 from zdohnal/printer-alert-err
Michael R Sweet [Mon, 9 Nov 2020 13:52:34 +0000 (08:52 -0500)] 
Merge pull request #43 from zdohnal/printer-alert-err

backend,scheduler/ipp.c: Fix 'printer-alert' invalid free

4 years agobackend,scheduler/ipp.c: Fix 'printer-alert' invalid free 43/head
Zdenek Dohnal [Mon, 9 Nov 2020 06:40:20 +0000 (07:40 +0100)] 
backend,scheduler/ipp.c: Fix 'printer-alert' invalid free

The fix is created by Bernhard Übelacker from apple/cups #5826.

4 years agoFix fax numbers supplied via GTK print dialog, removing a "Custom." prefix; do not... 40/head
Till Kamppeter [Wed, 26 Aug 2020 11:03:00 +0000 (13:03 +0200)] 
Fix fax numbers supplied via GTK print dialog, removing a "Custom." prefix; do not choke if the GTK dialog sends "None" as phone number or pre-dial prefix

4 years agoLet the rastertopwg filter check rounding errors when calculating the page geometry 41/head
Till Kamppeter [Thu, 27 Aug 2020 08:22:00 +0000 (10:22 +0200)] 
Let the rastertopwg filter check rounding errors when calculating the page geometry

4 years agoChangelog.
Michael R Sweet [Wed, 4 Nov 2020 21:31:13 +0000 (16:31 -0500)] 
Changelog.

4 years agoMerge pull request #32 from OdyX/debian/no-hostnames-for-broadcasting-print-queues
Michael R Sweet [Wed, 4 Nov 2020 21:10:25 +0000 (16:10 -0500)] 
Merge pull request #32 from OdyX/debian/no-hostnames-for-broadcasting-print-queues

Debian: Do not use host names for broadcasting print queues

4 years agoMerge pull request #31 from OdyX/debian/strengthen-systemd-unit-relationships
Michael R Sweet [Wed, 4 Nov 2020 21:07:53 +0000 (16:07 -0500)] 
Merge pull request #31 from OdyX/debian/strengthen-systemd-unit-relationships

Debian: Add Requires=cups.socket to cups.service, to make sure they start in order

4 years agoMerge pull request #30 from OdyX/debian/rename-systemd-files
Michael R Sweet [Wed, 4 Nov 2020 21:06:58 +0000 (16:06 -0500)] 
Merge pull request #30 from OdyX/debian/rename-systemd-files

Debian: Rename the systemd service file from org.cups.cups.* to cups.*

4 years agoMerge pull request #29 from OdyX/debian/disable-timestamps-in-conffiles
Michael R Sweet [Wed, 4 Nov 2020 21:05:45 +0000 (16:05 -0500)] 
Merge pull request #29 from OdyX/debian/disable-timestamps-in-conffiles

Debian: Disable time stamps in conffiles, to avoid ever-changing files in /etc.

4 years agoMerge pull request #28 from OdyX/debian/let-snmp-backend-use-manufacturer-MIBs
Michael R Sweet [Wed, 4 Nov 2020 21:04:22 +0000 (16:04 -0500)] 
Merge pull request #28 from OdyX/debian/let-snmp-backend-use-manufacturer-MIBs

Debian: Let snmp backend also use manufacturer-specific MIBs

4 years agoMerge pull request #24 from OdyX/debian/fix-scheduler-cupsd.conf-load
Michael R Sweet [Wed, 4 Nov 2020 20:38:39 +0000 (15:38 -0500)] 
Merge pull request #24 from OdyX/debian/fix-scheduler-cupsd.conf-load

Debian: Fix scheduler cupsd.conf load

4 years agoMerge pull request #23 from OdyX/debian/fix-conversion-of-PPD-InputSlot-choice-names
Michael R Sweet [Wed, 4 Nov 2020 20:36:31 +0000 (15:36 -0500)] 
Merge pull request #23 from OdyX/debian/fix-conversion-of-PPD-InputSlot-choice-names

Debian: Fix conversion of PPD InputSlot choice names

4 years agoMerge pull request #21 from OdyX/debian/install-root-backends-world-readable
Michael R Sweet [Wed, 4 Nov 2020 20:29:51 +0000 (15:29 -0500)] 
Merge pull request #21 from OdyX/debian/install-root-backends-world-readable

Debian: Install root backends world-readable

4 years agoDo not use host names for broadcasting print queues and 32/head
Till Kampetter [Tue, 9 Aug 2016 16:11:35 +0000 (18:11 +0200)] 
Do not use host names for broadcasting print queues and

 managing print queues broadcasted from other servers by default. Many
 networks do not have valid host names for all machines.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/449586
Patch-Name: do-not-broadcast-with-hostnames.patch

4 years agoAdd Requires=cups.socket to cups.service, to make sure they start in the right order 31/head
Didier Raboud [Mon, 24 Feb 2020 10:46:49 +0000 (11:46 +0100)] 
Add Requires=cups.socket to cups.service, to make sure they start in the right order

4 years agoRename the systemd service file from org.cups.cups.* to cups.* 30/head
Didier Raboud [Tue, 9 Aug 2016 16:11:34 +0000 (18:11 +0200)] 
Rename the systemd service file from org.cups.cups.* to cups.*

4 years agoDisable time stamps in conffiles, to avoid ever-changing files in /etc. 29/head
Joey Hess [Tue, 9 Aug 2016 16:11:31 +0000 (18:11 +0200)] 
Disable time stamps in conffiles, to avoid ever-changing files in /etc.

Bug: https://github.com/apple/cups/issues/3067
Bug-Debian: https://bugs.debian.org/549673

4 years agoLet snmp backend also use manufacturer-specific MIBs 28/head
Tim Waugh [Tue, 9 Aug 2016 16:11:30 +0000 (18:11 +0200)] 
Let snmp backend also use manufacturer-specific MIBs

 … of HP and Ricoh to obtain the device IDs of network-connected
 printers. This way we get more reliable information about make and model
 and in addition the supported page description languages, which allows one to
 identify whether an optional PostScript add-on is installed or for an
 unsupported printer which generic PPD is the best choice (requested by
 Ricoh).
Bug: https://github.com/apple/cups/issues/3552
Patch-Name: Let-snmp-backend-also-use-manufacturer-specific-MIBs.patch

4 years agoFix scheduler cupsd.conf load 24/head
Till Kamppeter [Sat, 22 Feb 2020 13:28:58 +0000 (14:28 +0100)] 
Fix scheduler cupsd.conf load

When running it without arguments it is supposed to read the local CUPS's
cupsd.conf and show a summary of the setting. in CUPS 2.3.1 it shows a mess
with a lot of HTML inside and this is due to the fact that when loading the
file via HTTP using the /admin/cups/cupsd.conf path the scheduler calls the
admin.cgi program which returns the admin front page of the web admin
interface. cupsctl then tries to interpret that as the config file and displays
garbage. Even worse is if you run cupsctl with command line argument (one of
the five switches or a key=value pair) to change a setting. It seems to load
cupsd.conf again and gets again the HTML code of the web interface page.
cupsctl tries to interpret this again, producing garbage, adds the
user-supplied setting and writes all this back into cupsd.conf. Then it tries
to restart the scheduler which fails due to the broken config file.
The problem is that in the file scheduler/client.conf, in the function
get_file() the URI from the client is at first checked whether it begins with
"/admin/" and in this case the CGI program admin.cgi is responsible. Only after
that the check for "/admin/conf/cupsd.conf" comes and is never reached.
I have changed the order now appropriately and this way cupsctl works again.
Note that the problem only occurs if the web interface is active and the
cupsctl command is issued by a non-root user.
This is a regression caused by issue #5652.

Bug: https://github.com/apple/cups/issues/5744