Commit Graph

207 Commits

Author SHA256 Message Date
Johannes Meixner
e8ec02bc9d Accepting request 925363 from home:jsegitz:branches:systemdhardening:Printing
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/925363
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=379
2021-11-24 10:41:59 +00:00
Johannes Meixner
bb08f7c7ef Accepting request 898072 from home:jsmeix:branches:Printing
Fixed "ppdc: Unable to find include file ... Bad driver information file /usr/share/cups/drv/sample.drv" (bsc#1186843)

OBS-URL: https://build.opensuse.org/request/show/898072
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=377
2021-06-07 12:13:39 +00:00
Johannes Meixner
a7fdee7896 Accepting request 889938 from home:jsmeix:branches:Printing
Fixed CVE-2021-25317 (bsc#1184161)

OBS-URL: https://build.opensuse.org/request/show/889938
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=375
2021-05-03 08:34:56 +00:00
Johannes Meixner
5df04109a3 Accepting request 886931 from home:jsmeix:branches:Printing
Fix printing with older USB printers https://github.com/OpenPrinting/cups/pull/174

OBS-URL: https://build.opensuse.org/request/show/886931
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=373
2021-04-20 09:14:33 +00:00
Johannes Meixner
43801330ab Accepting request 883250 from home:jsmeix:branches:Printing
Disable testsuite for now until https://github.com/OpenPrinting/cups/issues/155 is fixed. Additionally improved syntax of some recent changes entries.

OBS-URL: https://build.opensuse.org/request/show/883250
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=371
2021-04-06 10:09:56 +00:00
Johannes Meixner
84eb7906f6 Accepting request 881387 from home:sp1rit:branches:Printing
I messed up with the changes file - here is the fixed version.

For now I've disabled the testsuite with %bcond_without testsuite, that it can be enabled for testing.

- Wrap make check and make test in bash, to "prevent" race-condition
- fix-negotiate-authentication-between-CGIs-and-scheduler.patch
fixes web UI Kerberos authentication (bsc#1175960)
- Upstream changed to https://github.com/OpenPrinting/cups
- Added %check section to specfile that executes the old `make check` and the new (see 2.3.3op1) `make test` (disabled for now)
- Version upgrade to 2.3.3op2

OBS-URL: https://build.opensuse.org/request/show/881387
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=370
2021-03-31 09:01:50 +00:00
Johannes Meixner
349342e05e Accepting request 880085 from home:scabrero:branches:Printing
- fix-negotiate-authentication-between-CGIs-and-scheduler.patch
  fixes web UI Kerberos authentication (bsc#1175960)

OBS-URL: https://build.opensuse.org/request/show/880085
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=368
2021-03-19 12:58:06 +00:00
Johannes Meixner
8bc3e5eae8 Accepting request 879976 from home:olh:branches:Printing
- Remove code comments from expanded scriptlets to reduce size

- Also run tmpfiles first because service_add_post may exit the script early

OBS-URL: https://build.opensuse.org/request/show/879976
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=367
2021-03-19 08:01:02 +00:00
Johannes Meixner
67bca8bef8 Accepting request 868665 from home:jsmeix:branches:Printing
CUPS security fix CVE-2020-10001 (bsc#1180520)

OBS-URL: https://build.opensuse.org/request/show/868665
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=365
2021-02-02 13:43:11 +00:00
Johannes Meixner
d3428777cd Accepting request 841832 from home:mgorse:branches:Printing
- Version upgrade to 2.3.3

OBS-URL: https://build.opensuse.org/request/show/841832
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=363
2020-10-22 08:44:04 +00:00
Martin Wilck
5be55f0190 Accepting request 817055 from home:lnussel:branches:Printing
- make cups-devel pull in cups-rpm-helper to fix printer driver provides
  (boo#1172407)

OBS-URL: https://build.opensuse.org/request/show/817055
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=361
2020-06-25 15:01:23 +00:00
Martin Wilck
27e0bf0852 Accepting request 811744 from home:gmbr3:branches:Base:System3
- Fixes for %_libexecdir changing to /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/811744
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=359
2020-06-08 13:11:58 +00:00
Johannes Meixner
5427169286 Accepting request 677995 from home:vliaskovitis:branches:Printing
Add issue5509-fix-utf-8-validation-issue.patch (bsc#1118118)

OBS-URL: https://build.opensuse.org/request/show/677995
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=357
2019-02-21 12:56:32 +00:00
Johannes Meixner
c732cbbd95 Accepting request 656859 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.3b6

OBS-URL: https://build.opensuse.org/request/show/656859
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=356
2018-12-10 14:55:11 +00:00
Dr. Werner Fink
adac94ced2 Fix boo#1111351
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=353
2018-10-18 05:50:09 +00:00
Tomáš Chvátal
c2cffb1fe3 Accepting request 636236 from home:1Antoine1:branches:Printing
- Fix warning message upon update (boo#1050845): Remove template
  service cups-lpd@ from service_* macro in scriptlets.

OBS-URL: https://build.opensuse.org/request/show/636236
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=351
2018-09-19 08:39:04 +00:00
Johannes Meixner
f9ebe8e151 Accepting request 597767 from home:jsmeix:branches:Printing
CUPS bugfix for https://github.com/apple/cups/issues/5296 (follow-up of boo#936309 and bsc#577936 starting at comment 13)

OBS-URL: https://build.opensuse.org/request/show/597767
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=349
2018-04-18 12:39:26 +00:00
Johannes Meixner
83580d13b3 Accepting request 592040 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.3b4 (fourth beta of the CUPS 2.3 series) that fixes in particular bsc#1061066 and bsc#1087018 CVE-2017-18248 (see also bsc#1087072)

OBS-URL: https://build.opensuse.org/request/show/592040
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=348
2018-03-28 12:57:32 +00:00
Johannes Meixner
5102c11539 Accepting request 574615 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.3b3 (second beta of the CUPS 2.3 series)

OBS-URL: https://build.opensuse.org/request/show/574615
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=347
2018-02-09 11:12:59 +00:00
Johannes Meixner
d1fa420638 Accepting request 567339 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.3b2 (second beta of the CUPS 2.3 series)

OBS-URL: https://build.opensuse.org/request/show/567339
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=346
2018-01-18 10:51:51 +00:00
Johannes Meixner
222f712ef5 Accepting request 558807 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.3b1 (first beta of the CUPS 2.3 series)

OBS-URL: https://build.opensuse.org/request/show/558807
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=344
2017-12-20 11:43:22 +00:00
Johannes Meixner
7f34900587 Accepting request 541811 from home:cgiboudeaux:branches:Printing
- Make sure cups-libs-<targettype> is removed

OBS-URL: https://build.opensuse.org/request/show/541811
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=342
2017-11-14 16:13:38 +00:00
Johannes Meixner
0cb1d8d857 Accepting request 539582 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.2.6 that fixes in particular bsc#1061066 (upstream issue https://github.com/apple/cups/issues/5143)

OBS-URL: https://build.opensuse.org/request/show/539582
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=340
2017-11-07 14:56:40 +00:00
Johannes Meixner
fa0b90c8fe Accepting request 535460 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.2.5 plus fixed baselibs.conf that got broken by the previous change

OBS-URL: https://build.opensuse.org/request/show/535460
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=338
2017-10-20 12:22:46 +00:00
Johannes Meixner
7f9aac93ef Accepting request 534877 from home:dstoecker
- Fix typo in requires

OBS-URL: https://build.opensuse.org/request/show/534877
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=337
2017-10-18 07:29:02 +00:00
Johannes Meixner
c750c051a2 Accepting request 533920 from home:jengelh:branches:Printing
- Implement shared library packaging guideline [boo#862112]

OBS-URL: https://build.opensuse.org/request/show/533920
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=336
2017-10-17 09:55:46 +00:00
Johannes Meixner
94d66159be Accepting request 527482 from home:Andreas_Schwab:Factory
- Pre-require user(lp) in cups-libs

OBS-URL: https://build.opensuse.org/request/show/527482
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=334
2017-09-20 11:07:34 +00:00
Johannes Meixner
99dd69c2f1 Accepting request 502381 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.2.3 and fix for boo#1042916

OBS-URL: https://build.opensuse.org/request/show/502381
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=331
2017-06-08 14:03:34 +00:00
Johannes Meixner
c6aad1844d Accepting request 500573 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.2.3

OBS-URL: https://build.opensuse.org/request/show/500573
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=329
2017-06-02 09:41:37 +00:00
Johannes Meixner
a4cb636138 Accepting request 497323 from home:dimstar:Factory
Resubmit - only conditionally change to pkgconfig; openSUSE 13.1 did not yet support this. I enabled build targets as requested in home:dimstar:Factory/cups"

OBS-URL: https://build.opensuse.org/request/show/497323
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=328
2017-05-23 08:06:08 +00:00
Johannes Meixner
6f9127aa90 Accepting request 489647 from home:alarrosa:branches:Printing
- Drop cups-1.7.5-cupsEnumDests-react-to-all-for-now.diff and add
  0001-Update-cupsEnumDests-implementation-to-return-early-if-all.patch,
  0002-Save-work-on-Avahi-code.patch and
  0003-Avahi-fixes-for-cupsEnumDests.patch which is what upstream
  finally commited to cups 2.2 sources in response to
  https://github.com/apple/cups/pull/4989 in order to fix cupsEnumDests
  to react to the ALL_FOR_NOW avahi event (and also include a similar
  fix for the dnssd case). Related to bsc#955432.

OBS-URL: https://build.opensuse.org/request/show/489647
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=326
2017-04-21 08:44:45 +00:00
Johannes Meixner
31b8620fa3 Accepting request 487560 from home:alarrosa:branches:Printing
- Add cups-2.1.3-cupsEnumDests-react-to-all-for-now.diff .
  Avahi sends an ALL_FOR_NOW event when it finishes sending
  its cache contents. This patch makes cupsEnumDests finish
  when the signal is received so it doesn't block the caller
  doing nothing until the timeout finishes (related to bsc#955432,
  submitted upstream at https://github.com/apple/cups/pull/4989)

OBS-URL: https://build.opensuse.org/request/show/487560
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=324
2017-04-12 14:14:55 +00:00
Johannes Meixner
47dbebda3e Accepting request 483861 from home:kukuk:branches:Printing
- Add /etc/cups to cups-libs package [bsc#1025689]

OBS-URL: https://build.opensuse.org/request/show/483861
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=323
2017-03-31 11:31:24 +00:00
Johannes Meixner
adb2892f0e Accepting request 445542 from home:dimstar:Factory
- Replace pkgconfig(libsystemd-daemon) BuildRequires with
  pkgconfig(libsystemd) on openSUSE 13.2 and newer: the various
  sub-libraries have been merged into libsystemd since version 209.
  openSUSE 13.1 was the last product to ship systemd 208.

NOTE: for SLE, this should also not break: SLE11 is disabled in Printing (and was not systemd based at all, so the old package already could not have worked); SLE12 GA already shipped systemd 210 (as did openSUSE 13.2).

OBS-URL: https://build.opensuse.org/request/show/445542
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=321
2016-12-13 14:20:06 +00:00
Tomáš Chvátal
7afe9155e7 * Obsoletes patch cups-1.3.9-desktop_file.patch
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=319
2016-07-01 18:18:13 +00:00
Tomáš Chvátal
5fddc273ed Accepting request 405210 from home:KAMiKAZOW:Test
Remove desktop icon as requested by Johannes Meixner.

This is an alternative to
https://build.opensuse.org/request/show/405109

OBS-URL: https://build.opensuse.org/request/show/405210
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=318
2016-07-01 13:52:54 +00:00
Johannes Meixner
5adc7729c7 Reformatted cangelog entry to match the structure
of the other cangelog entries.

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=316
2016-03-01 10:19:22 +00:00
Johannes Meixner
e97c9645e2 Accepting request 363008 from home:stroeder:branches:Printing
update to 2.1.3 (with security hardening fixes, successfully tested on Tumbleweed x86_64)

OBS-URL: https://build.opensuse.org/request/show/363008
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=315
2016-03-01 09:53:13 +00:00
Tomáš Chvátal
35e205776c Accepting request 332211 from home:msmeissn:branches:Printing
- add -devel to build a 32bit wine on 64bit only Leap systems.

OBS-URL: https://build.opensuse.org/request/show/332211
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=313
2015-09-20 09:27:18 +00:00
Johannes Meixner
66634be810 Removed duplicate "bnc/boo#943950" in a cups.changes entry.
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=310
2015-09-02 09:39:40 +00:00
Johannes Meixner
7def2ac872 Accepting request 328313 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.1.0

OBS-URL: https://build.opensuse.org/request/show/328313
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=309
2015-09-01 12:47:12 +00:00
Tomáš Chvátal
3473e08841 - Fix bnc#943950, escape the macro call %systemd-tmpfiles in comment
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=308
2015-09-01 07:38:56 +00:00
Tomáš Chvátal
60fd2664b9 Accepting request 324682 from home:scarabeus_iv:branches:Printing
- Add gpg verification for the tarball
- Version update to 2.0.4:
  * Fixed a bug in cupsRasterWritePixels (STR #4650)
  * Fixed redirection in the web interface (STR #4538)
  * The IPP backend did not respond to side-channel requests (STR #4645)
  * The scheduler did not start all pending jobs at once (STR #4646)
  * The web search incorrectly searched time-at-xxx values (STR #4652)
  * Fixed an RPM spec file issue (STR #4657)
  * The scheduler incorrectly started jobs while canceling multiple jobs (STR
    #4648)
  * Fixed processing of server overrides without port numbers (STR #4675)
  * Documentation changes (STR #4651, STR #4674)

OBS-URL: https://build.opensuse.org/request/show/324682
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=306
2015-08-21 07:09:25 +00:00
Johannes Meixner
f6694a79fc Accepting request 314729 from home:jsmeix:branches:Printing
CUPS bugfix for allowallforanybody policy https://www.cups.org/str.php?L4659 (boo#936309)

OBS-URL: https://build.opensuse.org/request/show/314729
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=304
2015-07-01 13:50:32 +00:00
Tomáš Chvátal
696007e744 Accepting request 313641 from home:scarabeus_iv:branches:Printing
- Fix the previous commit by using direct systemd call and ensuring we
  work even on older distros

OBS-URL: https://build.opensuse.org/request/show/313641
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=302
2015-06-25 08:03:07 +00:00
Tomáš Chvátal
dd365fbbe6 - Fix postin-without-tmpfile-creation and run %tmpfiles_create
macro on our cups.conf

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=301
2015-06-22 12:23:06 +00:00
Johannes Meixner
8c43ac6bd5 Accepting request 311253 from home:jsmeix:branches:Printing
CUPS version upgrade to 2.0.3 that fixes in particular CERT VU #810572 CVE-2015-1158 CVE-2015-1159 (bsc#924208)

OBS-URL: https://build.opensuse.org/request/show/311253
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=299
2015-06-09 09:10:04 +00:00
Tomáš Chvátal
f1b1e22e12 Accepting request 293563 from home:mimi_vx:branches:Printing
- Add patch cups-busy-loop.patch to fix rh#1179596 , cups#4605

OBS-URL: https://build.opensuse.org/request/show/293563
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=297
2015-03-28 13:42:00 +00:00
Tomáš Chvátal
221b21587d - Removed patches:
* cups-0001-systemd-add-systemd-socket-activation-and-unit-files.patch
  * cups-0002-systemd-listen-only-on-localhost-for-socket-activation.patch
  * cups-0003-systemd-secure-cups.service-unit-file.patch
  * cups-1.3.6-access_conf.patch
  * cups-1.5-additional_policies.patch
  * cups-1.5.4-CVE-2012-5519.patch
  * cups-1.5.4-strftime.patch
  * cups-move-everything-to-run.patch
  * cups-polld_avoid_busy_loop.patch
  * cups-provides-cupsd-service.patch
  * str4190.patch
  * str4351.patch
  * str4450.CVE-2014-3537.str4455.CVE-2014-5029.CVE-2014-5030.CVE-2014-5031.CUPS-1.5.4.patch
- Refreshed patches:
  * cups-1.3.9-desktop_file.patch
  * cups-config-libs.patch
- Added patches:
  * cups-1.7-additional_policies.patch
  * cups-systemd-socket.patch

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=295
2015-02-16 15:45:11 +00:00
Tomáš Chvátal
c7ccef2b9b Accepting request 286363 from home:scarabeus_iv:branches:Printing
Final submission, there seem to be no activity on factory so it works
or nobody cares :)

- Add back the posttrans cleanup script as it is needed
- Add patch cups-systemd-socket.patch to fix socket activation
  and to match socket approach Fedora has.
- Version bump to 2.0.2:
  * Security: cupsRasterReadPixels buffer overflow with invalid page header and
    compressed raster data (STR #4551)
  * Mapping of PPD keywords to IPP keywords did not work if the PPD keyword was
    already an IPP keyword (<rdar://problem/19121005>)
  * cupsGetPPD* sent bad requests (STR #4567)
  * For detailed list see CHANGES.txt file
- Enable PIE for build
- Remove legacy paralel-port support as it is not really needed
  as most do not want it
- Update descriptions to just state what changed and let user
  find it out.
- Add back comment about %fdupes
- Remove exit 0 on scriptlets as it is provided by the %service bla
  ones already
- Fix the comment about openSUSE version on tmpfilesdir declaration
- cups-2.0.1 update:
  * lengthy list of changes see the upstream CHANGES.txt that is
    distributed with the package
  * Disabling of sslv3 to mitigate poodle
- Use gnutls to provide SSLOPtions configuration directive
  * openssl is no longer supported upstream
  * Remove the with-openssl-exception from license
- Remove cups.sysconfig as it is not used with systemd based distros
- Purposely lose support for SLE11 as it doubles size of some of the
  sections and keep suppor for openSUSE+SLE12
  * even with the conditions we would have to go unencrypted only

OBS-URL: https://build.opensuse.org/request/show/286363
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=294
2015-02-16 15:27:41 +00:00