summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
Commit message (Collapse)AuthorAgeFilesLines
* cups: remove fakeroot from do_install()Robert Yang2015-01-161-1/+1
| | | | | | | | | The fakeroot is already set in base.bbclass. (From OE-Core rev: 921470e9a949d296cc9b829a8002ff289f01bdb7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: check avahi before use itRobert Yang2015-01-072-0/+35
| | | | | | | | | | | | | Fixed the error when --disable-avahi: ippserver.c:425:8: error: unknown type name 'AvahiThreadedPoll' The avahi is optional, we need check whether it is enabled before use as other code does. (From OE-Core rev: e69a1a583bf65dd2b6358c1d925d8de6419e3d76) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Upgrade to 2.0.1Chong Lu2014-12-232-6/+6
| | | | | | | (From OE-Core rev: e3ea2707432482bc7d713d9de25ca77965354f4d) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: remove unrecognised optionRoss Burton2014-11-201-1/+0
| | | | | | | | | --disable-openssl was removed in 2.0, so don't pass it to configure. (From OE-Core rev: 132f90b9bad068fc28c4b262c3b1dbd3e37a9169) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Upgrade to 2.0.0Saul Wold2014-11-095-74/+23
| | | | | | | | | | | Remove backported patch and rebase gcrypt patch Licence change updates the date and removes the OpenSSL exception (From OE-Core rev: bcf7691bb6be86b88c7f6d08d35c229b3f30a9f6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie2014-11-091-0/+2
| | | | | | | | | | | | | | It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this problem fixed, or have been reported to have make clean failures. (From OE-Core rev: 45b7d3add14eafc25da62bab68d4ae133f8dcb57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add systemd supportChen Qi2014-09-034-1/+45
| | | | | | | | | | | | Add systemd unit files. Also remove sysvinit related files if 'sysvinit' is not in DISTRO_FEATURES. (From OE-Core rev: 020065d3c57ccdc86c47cd0fc288071cdd194bbc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: make cups daemon start correctlyIn Long2014-09-031-1/+5
| | | | | | | | | | | | The cups daemon needs the lpadmin group to start correctly. Also add 'procps' to RDEPENDS if 'sysvinit' is in DISTRO_FEATURES, because the init script shipped with cups needs it. (From OE-Core rev: a8b2f086034585f3e115db3055575833922e3a59) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Upgrade to 1.7.5Saul Wold2014-08-232-6/+6
| | | | | | | (From OE-Core rev: 6743ab1641646d55fff2af9cc4dcc61d599e9065) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: regen configure so cups-no-gcrypt.patch has an effectPeter A. Bigot2014-08-061-0/+1
| | | | | | | | | | The existing patch backports a change to the m4 source file, but without a forced autoconf before configure it has no effect. (From OE-Core rev: 0262f83ec7d7e68c43c87d3b0a307744a32f6274) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Upgrade to 1.7.4Saul Wold2014-07-254-197/+6
| | | | | | | | | Remove patch that was backported (From OE-Core rev: 984c8d621a2c2315a6c18b0f0b2fc0b380e7ca4d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups.inc: Delete obsolete "PROVIDES" line.Robert P. J. Day2014-07-101-1/+0
| | | | | | | | | | Remove "PROVIDES =" line that refers back to CUPS version 1.4. (From OE-Core rev: 8e7898b2cf276977cf1c527b573a7192719a8c99) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: enable cups-str4402.patchRobert Yang2014-06-171-0/+1
| | | | | | | | | | | This patch is used for fixing build errors without dnssd/avahi, we already have this patch, but isn't added to SRC_URI: meta/recipes-extended/cups/cups/cups-str4402.patch (From OE-Core rev: 7c0fc920d41cdd74cb7bba72faef08afba09ed12) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* v4 cups: Shouldn't link against libgcrypt without using gcrypt functionsArmin Kuster2014-06-132-0/+50
| | | | | | | | | | | | Backported from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch This addresses the cryto dependency seen during build. (From OE-Core rev: e5f9166302baad837244e5a93bedb2797ab17e57) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Update to 1.7.3Saul Wold2014-06-032-6/+6
| | | | | | | (From OE-Core rev: bb80dd49b5631772276772f9551ca2b72b9e72d4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: fix for cups not building without avahiSaul Wold2014-05-211-0/+190
| | | | | | | | | | | Backport upstream patch for CUPS issue: STR #4402 [YOCTO #6325] (From OE-Core rev: 7decf9dce56868e39902dac5957eb72f6e1e9acd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-2/+2
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: update to 1.7.2Saul Wold2014-04-242-6/+6
| | | | | | | (From OE-Core rev: 7286cc71dc7641ce08bf0a0f13e1e90a4a5470c8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: upgrade to 1.7.1Saul Wold2014-01-142-6/+6
| | | | | | | (From OE-Core rev: 881c94aa291631cd65aecfceac8ebea1be892918) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: remove unrecognised optionRobert Yang2014-01-021-2/+0
| | | | | | | | | | | | | | | | | Remove the following 2 options: * --disable-tiff * --with-pdftops The tiff and pdftops filters have been moved into another package cups-filters, so these options are not valid any more. Please visit here for more info: http://www.cups.org/str.php?L3930 (From OE-Core rev: acf2aca0c6af216d2757b0591accd80608ac5898) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Don't set DESCRIPTION to the same value as SUMMARYPaul Eggleton2013-12-031-1/+0
| | | | | | | | | | | | Setting DESCRIPTION to the same value as SUMMARY doesn't do anything, since the value of DESCRIPTION will be derived from SUMMARY if not specified. (From OE-Core rev: e1e888585c84175580ad822d4a6c93f62e5ce16c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: upgrade to 1.7.0Saul Wold2013-10-303-22/+20
| | | | | | | | | | Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG for pam. (From OE-Core rev: b749bed86efcdc063d720fa095ffa7a7984cd53c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: upgrade to 1.6.4Saul Wold2013-10-141-2/+2
| | | | | | | (From OE-Core rev: b92d1d9bf3fbfd92d0baec7939e06505eaf45f09) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add PACKAGECONFIG for aclMartin Jansa2013-07-291-0/+1
| | | | | | | | | | | * acl is autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core rev: 4f0b420b8a64862e6caa53ba0653c27a3d2387c3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Update to 1.6.3Saul Wold2013-07-291-2/+2
| | | | | | | (From OE-Core rev: a41192f12bd3757be75a5f4781ceabba7315d214) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add PACKAGECONFIG for avahiMartin Jansa2013-07-241-0/+3
| | | | | | | | | | * it's autodetected from sysroot (From OE-Core rev: 0d6fa308e7c2838a51013b16b348e95f9e177105) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Update to 1.6.2Saul Wold2013-06-132-3/+3
| | | | | | | (From OE-Core rev: dc6d641ed00ef2426d6ca9f3966c4c5974aea053) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: remove /var/run from package as cupsd will populate it on startupJonathan Liu2013-05-291-3/+3
| | | | | | | | | | | | | The /var/run/cups and /var/run/cups/certs directories don't need to be included in the package as they are created by cupsd with the proper permissions if they don't exist. The /var/run directory is already created by base-files. (From OE-Core rev: af99c290a0f589a5cb1d6426c78804f2d99ae02a) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: remove old patch filesSaul Wold2013-03-023-3159/+0
| | | | | | | (From OE-Core rev: c3c51a5961f77d51e7f8eb1f0746d16576663bba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Update to 1.6.1Saul Wold2012-12-199-22/+20
| | | | | | | | | | | License change was due to update of Date. Remove CVE patches as they where backports from this release (From OE-Core rev: 9524c0ed85592c87ff30b54ca705b5d1b447eb6f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups CVE-2011-3170Li Wang2012-12-172-1/+56
| | | | | | | | | | | | | | | | | | | | | | the patch come from: http://cups.org/strfiles/3914/str3914.patch The gif_read_lzw function in filter/image-gif.c in CUPS 1.4.8 and earlier does not properly handle the first code word in an LZW stream, which allows remote attackers to trigger a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted stream, a different vulnerability than CVE-2011-2896. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3170 [YOCTO #3583] [ CQID: WIND00299594 ] Upstream-Status: Backport (From OE-Core rev: c82517bb667484854eaa05b6e9efd9ee0f164fec) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups - CVE-2011-2896Li Wang2012-12-172-1/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the patch come from: http://cups.org/strfiles/3867/str3867.patch The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows remote attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2895. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-2896 [YOCTO #3582] [ CQID: WIND00299595 ] Upstream-Status: Backport (From OE-Core rev: 0742b7aecaada435f90f39f26914906a5eb1fd4f) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: CVE-2012-5519Li Wang2012-12-172-1/+2967
| | | | | | | | | | | | | | | | lpadmin to (limited) root privilege escalation http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5519 http://www.cups.org/strfiles/4223/str4223v2-1.4.4-debian.patch [YOCTO #3579] [ CQID: WIND00392016 ] Upstream-Status: Backport (From OE-Core rev: 9f6964b489ef3e0f175bf33a94ab819408875da8) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: disable pdftopsSaul Wold2012-08-232-1/+2
| | | | | | | | | | | | This ensure a reliable built without host contamination, this will also disable the usage of ghostscript. [YOCTO #2966] (From OE-Core rev: 90bccaa290d2bc04c7ea1bbeb2cddb3509d0d380) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups_1.4.6.bb: Fix build on ppc64Khem Raj2012-07-263-16/+49
| | | | | | | | | | | ppc64 uses lib64 and usr/lib64 for library paths so we need to train cups build system (From OE-Core rev: c8de655e8f5b2ac8b72428252645022458460912) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-4/+4
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: clean up FILE after PACKAGE reorderSaul Wold2012-06-212-1/+2
| | | | | | | (From OE-Core rev: 83f5bd8d2ae2f83060851d76ab87d01da7c4278b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.system with subprocess.callRobert Yang2012-05-301-1/+2
| | | | | | | | | | | | | | | Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Ensure cups-config has correct target paths, not sysroot ones for ↵Richard Purdie2012-03-162-1/+6
| | | | | | | | | | | cups_serverbin and cups_datadir variables These are used by dependent packages to know where to install cups related pieces into therefore we need to remove the sysroot prefix from these. (From OE-Core rev: edb8eb566968d386f6995b95d54bc7c25a50b02a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-1/+1
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream Status UpdatesSaul Wold2011-12-152-0/+4
| | | | | | | (From OE-Core rev: 0eb139619301d0efee330932eba3617dcb39284e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-1/+1
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Fix recipe to use the correct cups directoriesMark Hatle2011-09-222-7/+15
| | | | | | | | | | ${libdir} is not used, instead they use a common ${exec_prefix}/lib directory structure for helpers, filters, renderers, etc. (From OE-Core rev: 24ae432b1a3906956381d83c1984687e45c5a1d1) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add pam supportKang Kai2011-07-271-3/+5
| | | | | | | | | According to distro_feature then add pam support for cups or not. (From OE-Core rev: d1e0482bf7fb8e31746cb0e53bbd708fc08c9846) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add cups 1.4.6Jingdong Lu2011-02-014-0/+181
This package has been added from meta-openembedded committed by Koen Kooi. Changes from the meta-openembedded version: * Add SUMMARY * Change dependence name: libusb * Add PR Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>