Commit Graph

1334 Commits

Author SHA1 Message Date
Zdenek Dohnal
966561c44c 1960170 - PreserveJobHistory/JobFiles aren't applied after the first cupsd restart right after successful print 2021-05-13 12:36:32 +02:00
Zdenek Dohnal
5d9ab87476 reflect change of upstream in url too 2021-05-06 07:35:08 +02:00
Zdenek Dohnal
c9add81243 cups.spec: set 'lp' group for /var/log/cups and set perms to 755
Synch with SUSE and let others to see logs
2021-04-30 07:40:33 +02:00
Zdenek Dohnal
64bf0a98ee cups.spec: remove info messages in cups log files
It's about 4 releases since this change, no need to carry it further.
2021-04-30 07:37:32 +02:00
Zdenek Dohnal
20a9e563d9 1955090 - CVE-2021-25317 cups: insecure permissions of /var/log/cups allows for symlink attack 2021-04-30 07:23:37 +02:00
Zdenek Dohnal
2f930c8c15 backport setting multi-user.target via configure, not via drop-in 2021-04-14 12:50:26 +02:00
Zdenek Dohnal
1cf873fe1d 1949068 - Print queue is paused after ipp backend ends with CUPS_BACKEND_STOP 2021-04-14 12:39:04 +02:00
Zdenek Dohnal
ef9c2561d5 1949054 - Use nss-user-lookup.target instead of sssd.service and ypbind.service 2021-04-14 12:30:36 +02:00
Zdenek Dohnal
2dc0cce99a 1935318 - old samsung USB devices malfunction with the current (250ms) timeout for usb bulk transaction 2021-04-14 12:23:49 +02:00
Zdenek Dohnal
e1122ab84c cups.spec: change patch numbering 2021-03-22 07:01:22 +01:00
Zdenek Dohnal
9b153242e7 Add [Job N] string into journal 2021-03-22 06:52:23 +01:00
Zbigniew Jędrzejewski-Szmek
0d9410846c Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:14:00 +01:00
Zbigniew Jędrzejewski-Szmek
798ac163bc Prune scriptlets a bit
No functional change.
2021-03-02 15:54:47 +01:00
Zdenek Dohnal
7083485948 1923828 - cups-2.3.3op2 is available 2021-02-02 07:45:15 +01:00
Zdenek Dohnal
062d1b76c5 1909980 - cupsd crashes on parsing malformed Brother PPD 2021-02-01 14:34:02 +01:00
Zdenek Dohnal
bc234104ab 1921881 - [abrt] cups: __strcmp_avx2(): help.cgi killed by SIGSEGV 2021-02-01 12:07:03 +01:00
Zdenek Dohnal
9b79825f32 recommend nss-mdns for Fedora to have a working default for now
Recommending nss-mdns will create a working default and it will not hardwire nss-mdns
for users which want to use Avahi+resolved instead of Avahi+nss-mdns
2021-02-01 12:01:27 +01:00
Zdenek Dohnal
2b9fae5a8c fix for CVE-2020-10001 2021-02-01 11:52:16 +01:00
Zdenek Dohnal
6afae10a5e remove nss-mdns dependency - let the user decide whether use resolved or nss-mdns
remove cups dependency on cups-ipptool - actually not needed
2021-01-28 10:05:24 +01:00
Fedora Release Engineering
62b30a8b5e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:50:03 +00:00
Zdenek Dohnal
48e9d6b921 2.3.3op1 2020-11-30 14:04:18 +01:00
Zdenek Dohnal
68dc1f2b34 Revert "remove cups-dymo-deviceid.patch"
This reverts commit b96b449a51.
2020-11-30 09:28:48 +01:00
Zdenek Dohnal
f6119ede15 backport cups-synconclose.patch from upstream
Setting SyncOnClose is now doable via configure option.
2020-11-27 10:31:20 +01:00
Zdenek Dohnal
b96b449a51 remove cups-dymo-deviceid.patch
The patch is no longer needed, the correct driver is now set in preferreddrivers.xml in system-config-printer. It makes gnome-control-center to install the print queue with this chosen driver.
2020-11-27 10:14:26 +01:00
Zdenek Dohnal
5255d71b29 Fix patch numbering 2020-11-27 08:26:32 +01:00
Zdenek Dohnal
0069406221 Update patch numbering 2020-11-27 08:19:14 +01:00
Zdenek Dohnal
ead8199677 Remove cups-filter-debug.patch
It is no longer needed - we check whether we have filters to do the job before the job is created.
2020-11-27 08:03:52 +01:00
Zdenek Dohnal
60b98c4f8e make unit files writeable by root
remove %post scriptlet - it is covered by drop-in now
2020-11-27 07:38:35 +01:00
Zdenek Dohnal
f0890ee44d remove downstream autostart patch - use systemd drop-in 2020-11-26 14:15:11 +01:00
Zdenek Dohnal
b8742b0d7b Put back setup 2020-11-25 12:49:15 +01:00
Zdenek Dohnal
0db2f50030 Use autosetup and renumber the patches 2020-11-25 12:41:05 +01:00
Zdenek Dohnal
a5ebccbfb5 Sort stuff alphabetically 2020-11-25 12:30:19 +01:00
Zdenek Dohnal
66f882d58a rename unit files and update their patches 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
bee9347973 take SNMP OID from upstream 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
ee29f5adf0 fix requires on nss-mdns for cups-printerapp 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
9e561a77d8 CREDITS is now in markdown format, so we don't need to convert 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
46c15ef1e0 remove old scripts for older migrations 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
9dbf92c04b wheel is now in system groups by default 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
1336470f23 Fix packaging of printerapp man pages 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
191124043b Remove note that syslog is journal 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
5d79c444d7 Remove eggcups patch 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
2dd8422034 Remove logrotate settings and related patches
The default logging is now set to journal. If user especially wants logging into a file, cupsd has its own, though with several issues, logrotating.
2020-11-25 12:04:56 +01:00
Zdenek Dohnal
66289fe35d Fix numbering and add comment 2020-11-25 12:04:56 +01:00
Zdenek Dohnal
a4442f752a Remove ncp backend
It uses 'nprint' command, which is no longer available.
2020-11-25 12:04:56 +01:00
Zdenek Dohnal
82c55743e5 fix memory leak during device discovery 2020-11-24 11:56:24 +01:00
Zdenek Dohnal
68ee05f690 1897023 - Cups service restart sequence during upgrade incorrect 2020-11-12 14:46:50 +01:00
Zdenek Dohnal
738416d420 1892426 - Crash:free(): invalid pointer in cups backend 2020-11-10 14:50:59 +01:00
Zdenek Dohnal
c6b1d204d1 make is no longer in buildroot 2020-11-05 07:08:00 +01:00
Zdenek Dohnal
3beb10c19a backport cups-prioritize-print-color-mode.patch from upstream 2020-11-02 13:13:09 +01:00
Zdenek Dohnal
68523cbe08 backport cups-ipptool-mdns-uri.patch from upstream 2020-11-02 13:09:49 +01:00
Zdenek Dohnal
d1b1c28d68 revert previous commit - resolved doesn't work with avahi due missing link
in NetworkManager
2020-09-03 12:48:11 +02:00
Zdenek Dohnal
08ba69e055 Add ifdefs 2020-08-31 16:24:32 +02:00
Zdenek Dohnal
5e39069580 MDNS resolving should be done by systemd-resolved now 2020-08-31 16:17:20 +02:00
Zdenek Dohnal
48605a7fe9 CUPS exception isn't in spdx database, use only ASL 2.0 2020-08-10 13:27:34 +02:00
Zdenek Dohnal
5534b36886 own 'new' directories 2020-08-05 09:24:50 +02:00
Zdenek Dohnal
96ccd58daa typo in DESTDIR during 'make install' 2020-08-04 07:46:42 +02:00
Fedora Release Engineering
3628ee0e80 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:31:12 +00:00
Fedora Release Engineering
87d07878d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:51:20 +00:00
Zdenek Dohnal
1e1d3cbbf0 use %make_build and %make_install macros 2020-07-22 11:30:14 +02:00
Zdenek Dohnal
c18b39d97d 1848575 - [cups, cups-filters] PPD generators creates invalid cupsManualCopies entry 2020-07-20 14:59:41 +02:00
Zdenek Dohnal
4f76e31688 spec cleanup 2020-07-17 07:24:21 +02:00
Zdenek Dohnal
8b7ff19931 ipptool doesn't support mdns uris 2020-06-11 10:34:41 +02:00
Zdenek Dohnal
5e54701556 cgi script creates a bad uri in web ui 2020-06-11 09:04:31 +02:00
Zdenek Dohnal
fb0beccc59 fix patch errors in failover patch 2020-06-11 09:01:49 +02:00
Zdenek Dohnal
e1a0284d6e remove os ci tests, we use baseos ci 2020-06-02 08:32:40 +02:00
Zdenek Dohnal
c9349a3af9 fix space errors in failover patch 2020-05-22 09:04:54 +02:00
Zdenek Dohnal
dacb3dad16 use _rundir instead of hardcode /run 2020-05-21 11:44:15 +02:00
Zdenek Dohnal
79f23cfa69 1838455 - ipp/socket backends connect to turned off device for eternity (contimeout is not applied) 2020-05-21 10:16:24 +02:00
Zdenek Dohnal
701bef73e8 2.3.3 2020-05-19 10:42:33 +02:00
Zdenek Dohnal
c1920d09b8 1826330 - CVE-2020-3898 cups: heap based buffer overflow in libcups's ppdFindOption() in ppd-mark.c 2020-04-22 09:43:23 +02:00
Zdenek Dohnal
66b8b42030 1822154 - cups.service doesn't execute automatically on request 2020-04-20 15:07:39 +02:00
Zdenek Dohnal
714f449ece make avahi and nss-mdns recommended in main package - so users with older printers
can install cups without it
2020-04-06 13:29:37 +02:00
Zdenek Dohnal
e3fadd0cf5 add requires on nss-mdns, because getaddrinfo needs it for resolving .local addresses 2020-03-20 06:41:44 +01:00
Fedora Release Engineering
8edb3eeb3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 15:09:55 +00:00
Tom Stellard
b9f1f6282b Replace hard-coded gcc and g++ with __cc and __cxx macros 2020-01-18 02:07:39 +00:00
Zdenek Dohnal
69152c2d1d Add buildrequires systemd-rpm-macros 2020-01-15 17:56:34 +01:00
Zdenek Dohnal
a261c1f516 do not ship ipp backend as 755, breaks kerberized printing
https://github.com/apple/cups/pull/5710
2020-01-02 10:35:02 +01:00
Zdenek Dohnal
4e73347b89 2.3.1 - fix attr in %%files section 2019-12-16 13:51:05 +01:00
Zdenek Dohnal
9776733d08 2.3.1 2019-12-16 13:37:06 +01:00
Zdenek Dohnal
69caed9f03 1777921 - cups unit file makes systemd to complain 2019-11-29 09:45:54 +01:00
Zdenek Dohnal
8313ea2b0c 2.3.0 - new printerapp subpackage 2019-11-18 19:00:44 +01:00
Zdenek Dohnal
775c3bb584 1750904 - cups is unable to add ppd with custom/Custom option 2019-10-16 15:52:01 +02:00
Zdenek Dohnal
47ff5d0a0d 1720688 - [abrt] cups: __strlen_avx2(): printers.cgi killed by SIGSEGV 2019-10-16 14:34:03 +02:00
Zdenek Dohnal
b4ae40bd82 fix cupsctl usage 2019-09-13 08:32:12 +02:00
Zdenek Dohnal
9cdd138e05 2.2.12 2019-08-19 12:34:37 +02:00
Fedora Release Engineering
9fbbcf38fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:20:09 +00:00
Zdenek Dohnal
9f87e922b2 1708988 - Samsung ML-1676P Laser printer fails to print document 2019-05-31 08:27:04 +02:00
Zdenek Dohnal
798d194948 1700664 - Stop advertising the HTTP methods that are supported 2019-04-17 14:43:21 +02:00
Zdenek Dohnal
891224fd44 2.2.11 2019-03-26 16:14:01 +01:00
Zdenek Dohnal
57cfbdef2a 1689209 - Add failover backend 2019-03-15 14:03:31 +01:00
Zdenek Dohnal
793b9d663c automake sometimes fails to generate correct macros - so force it 2019-02-19 10:17:32 +01:00
Zdenek Dohnal
7ce59207bb 1672715 - cups fails to build if clang is installed 2019-02-05 17:55:51 +01:00
Fedora Release Engineering
6b1f48693e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:34:11 +00:00
Zdenek Dohnal
2c90aaa699 2.2.10, libcupsmime, libcupscgi, libcupsppdc libraries were removed 2019-01-08 13:13:58 +01:00
Zdenek Dohnal
27fa47b60c previous commit - fix for previous releases 2018-12-14 12:21:27 +01:00
Zdenek Dohnal
cbcd84d292 logs need to have correct permissions 2018-12-13 18:24:41 +01:00
Zdenek Dohnal
769585d165 1658673 - Main index.html of web interface doesn't get installed when not installing documentation 2018-12-13 10:31:01 +01:00
Zdenek Dohnal
13d9a7ab2b 1657750 - CVE-2018-4700 cups: Predictable session cookie breaks CSRF protection [fedora-all] 2018-12-10 15:29:24 +01:00
Zdenek Dohnal
f68ad8183f 1648396 - 'cupsd[998]: [CGI] Unable to execute ippfind utility: No such file or directory' in journal 2018-11-09 16:33:21 +01:00
Zdenek Dohnal
ce05ab2831 1622432 - Jobs with multiple files don't complete when backend fails 2018-11-09 16:23:16 +01:00