Commit Graph

196 Commits

Author SHA256 Message Date
Johannes Meixner
5e5a01d4ad Use RPM "License: Apache-2.0"
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=345
2017-12-20 16:43:16 +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
06a86a5b8e Use actually working URLs for Source0 and Source1
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=332
2017-06-19 08:33:49 +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
Johannes Meixner
a419140b09 Accepting request 263014 from home:jsmeix:branches:Printing
use %posttrans in cups RPM to clean up systemd units (boo#904215)

OBS-URL: https://build.opensuse.org/request/show/263014
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=292
2014-11-25 16:11:18 +00:00
Johannes Meixner
77577d6d5a - Also for SLE12 krb5-devel must be used for build
(cf. the entry below dated "Wed Jun 26 10:39:30 CEST 2013")
  because in contrast to IBS where krb5-mini-devel is available
  for build in SUSE:SLE-12:GA in OBS it cannot build for SLE_12
  with "unresolvable: nothing provides krb5-mini-devel".

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=290
2014-11-04 12:56:21 +00:00
Johannes Meixner
7170259edc Accepting request 255610 from home:gberh:branches:Printing
use the desktop file categories Settings;Printing;HardwareSettings designated for printer managers in the fdo spec

OBS-URL: https://build.opensuse.org/request/show/255610
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=288
2014-10-13 10:12:22 +00:00
Johannes Meixner
a3d3596ebb Accepting request 247233 from home:jsmeix:branches:Printing
CUPS additional fix for bnc#892587 a regression of the security fix bnc#887240

OBS-URL: https://build.opensuse.org/request/show/247233
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=286
2014-09-02 13:58:54 +00:00
Johannes Meixner
dd0e9ee7fb Accepting request 247228 from home:jsmeix:branches:Printing
CUPS security fix for CVE-2014-3537 STR#4450 plus the subsequent CVE-2014-5029 CVE-2014-5030 CVE-2014-5031 STR#4455 all in bnc#887240. All those CVEs are actually only one single issue. Regarding multiple CVEs for one single issue see in particular comment#25 in bnc#887240

OBS-URL: https://build.opensuse.org/request/show/247228
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=285
2014-09-02 13:39:36 +00:00
Dr. Werner Fink
6d9ce19146 .
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=283
2014-05-22 10:18:17 +00:00
Johannes Meixner
91a5ce19a1 Accepting request 229700 from home:jsmeix:branches:Printing
cups-1.5.4-strftime.patch fixes STR #4388 (bnc#873030)

OBS-URL: https://build.opensuse.org/request/show/229700
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=281
2014-04-11 08:08:52 +00:00
Johannes Meixner
bb6bef5a63 Accepting request 223231 from home:jsmeix:branches:Printing
In any case cups.socket and cups.path are stopped and disabled now because cautious clean up would leave a messsed up systemd setup for cupsd when YaST was used before (bnc#857372) plus CUPS upstream fix for STR #4351 cups-lpd hugh jobs (>2G) fail (bnc#864782)

OBS-URL: https://build.opensuse.org/request/show/223231
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=279
2014-02-20 13:44:57 +00:00
Johannes Meixner
57b52dd315 Accepting request 223099 from home:jsmeix:branches:Printing
Cautious clean up of systemd units via RPM scriptlets (related to bnc#857372)

OBS-URL: https://build.opensuse.org/request/show/223099
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=278
2014-02-19 15:37:56 +00:00
Johannes Meixner
ad3ceda791 Accepting request 222281 from home:jsmeix:branches:Printing
CUPS security fix for CVE-2012-5519 to have better default protection against misuse of CUPS admin privileges (bnc#789566) plus clean up of cups.spec by having strictly separated sections how cupsd is launched (either via SysVinit or via systemd)

OBS-URL: https://build.opensuse.org/request/show/222281
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=276
2014-02-14 08:37:00 +00:00
Johannes Meixner
29e44712ee Accepting request 215537 from home:jsmeix:branches:Printing
Solve bnc#857372 (and its various duplicates) by a major clean up and fix of the systemd unit files for CUPS that makes it again simple and secure to get cupsd working again as it did all the time in the past by a single simple and secure cups.service unit file. For experienced users cups.socket and cups.path are still provided as templates in /usr/share/doc/packages/cups/systemd/ so that experienced users can derive their own cups.socket and cups.path files according to their particular needs. When cupsd again "just works" as it did all the time in the past, then the next step is an optional systemd generator to create cups.socket that matches cupsd.conf see bnc#861084.

OBS-URL: https://build.opensuse.org/request/show/215537
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=274
2014-01-29 15:05:09 +00:00
Johannes Meixner
2252af0198 Accepting request 213436 from home:jsmeix:branches:Printing
fided the fixe for bnc#856731

OBS-URL: https://build.opensuse.org/request/show/213436
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=273
2014-01-10 11:35:07 +00:00
Johannes Meixner
53b9657b27 Revert last change that tried to remove the
/usr/share/cups/fonts -> ../ghostscript/fonts link
see https://bugzilla.novell.com/show_bug.cgi?id=856731#c8

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=272
2014-01-10 10:11:34 +00:00
Johannes Meixner
08b481d570 - If /usr/share/cups/fonts is a symbolic link
(usually /usr/share/cups/fonts -> ../ghostscript/fonts
   but it does not matter whereto such a link points)
  then remove the link because CUPS' own Monospace fonts
  are provided by this package in the /usr/share/cups/fonts/
  directory but RPM cannot replace a symbolic link by a directory
  (RPM would complain with "file /usr/share/cups/fonts
   from install of cups-<new.version> conflicts
   with file from package cups-<old.version>")
  see https://bugzilla.novell.com/show_bug.cgi?id=856731#c6

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=271
2014-01-09 16:43:13 +00:00
Johannes Meixner
77d03bb05f Accepting request 213204 from home:jsmeix:branches:Printing
cups fixes for bnc#857372 and bnc#856731

OBS-URL: https://build.opensuse.org/request/show/213204
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=269
2014-01-08 15:52:25 +00:00
Johannes Meixner
056668eb06 Accepting request 202658 from home:elvigia:branches:Printing
********* RECOMMENDED FOR 13.1 *************

- patch cups-move-everything-to-run.patch missed to move 
  CUPS_STATEDIR to run, so systemd sockets are still created
  in /var/run 
-  Add required tmpfiles.d config snippet to ensure /run/cups
   is always available.

OBS-URL: https://build.opensuse.org/request/show/202658
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=267
2013-10-09 08:41:40 +00:00
Johannes Meixner
0a15197641 Accepting request 182308 from home:jsmeix:branches:Printing
cups-polld_avoid_busy_loop.patch fixes bnc#828228

OBS-URL: https://build.opensuse.org/request/show/182308
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=265
2013-07-05 13:00:43 +00:00
Dr. Werner Fink
7d61be94c0 .
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=263
2013-07-01 07:23:09 +00:00